mmc device init and use