Searched refs:sdc_no (Results 1 – 2 of 2) sorted by relevance
41 static int sunxi_mmc_getcd_gpio(int sdc_no) in sunxi_mmc_getcd_gpio() argument43 switch (sdc_no) { in sunxi_mmc_getcd_gpio()52 static int mmc_resource_init(int sdc_no) in mmc_resource_init() argument54 struct sunxi_mmc_priv *priv = &mmc_host[sdc_no]; in mmc_resource_init()58 debug("init mmc %d resource\n", sdc_no); in mmc_resource_init()60 switch (sdc_no) { in mmc_resource_init()78 printf("Wrong mmc number %d\n", sdc_no); in mmc_resource_init()81 priv->mmc_no = sdc_no; in mmc_resource_init()83 cd_pin = sunxi_mmc_getcd_gpio(sdc_no); in mmc_resource_init()483 struct mmc *sunxi_mmc_init(int sdc_no) in sunxi_mmc_init() argument[all …]
133 struct mmc *sunxi_mmc_init(int sdc_no);