Home
last modified time | relevance | path

Searched refs:sdio_func (Results 1 – 5 of 5) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/
A Dsdio.h286 extern uint16_t sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret);
298 extern void sdio_writew(struct sdio_func *func, uint16_t b, unsigned int addr, int *err_ret);
310 extern uint32_t sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret);
322 extern void sdio_writel(struct sdio_func *func, uint32_t b, unsigned int addr, int *err_ret);
363 extern int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler);
373 extern int sdio_release_irq(struct sdio_func *func);
390 unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz);
447 extern struct sdio_func ** get_mmc_card_func(uint8_t card_id);
A Dcard.h49 struct sdio_func;
50 typedef void (sdio_irq_handler_t)(struct sdio_func *);
55 struct sdio_func { struct
279 struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ member
284 struct sdio_func *sdio_single_irq; /* SDIO function when only one IRQ active */
311 struct sdio_func sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ member
/bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/
A Dsdio.c422 int sdio_read_func_cis(struct sdio_func *func) in sdio_read_func_cis()
1024 struct sdio_func *func; in sdio_alloc_func()
1054 void sdio_remove_func(struct sdio_func *func) in sdio_remove_func()
1063 struct sdio_func *func; in sdio_init_func()
1090 card->sdio_func[fn - 1] = func; in sdio_init_func()
1120 if (host->card->sdio_func[i]) { in mmc_sdio_remove()
1122 host->card->sdio_func[i] = NULL; in mmc_sdio_remove()
1848 sdio_free_func_cis((struct sdio_func *)card->sdio_func); in mmc_sdio_init_card()
1929 struct sdio_func *func = host->card->sdio_func[i]; in mmc_sdio_suspend()
1938 struct sdio_func *func = host->card->sdio_func[i]; in mmc_sdio_suspend()
[all …]
A Dsdio_irq.c42 struct sdio_func *func;
87 func = card->sdio_func[i - 1];
280 struct sdio_func *func;
288 func = card->sdio_func[i];
306 int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler)
350 int sdio_release_irq(struct sdio_func *func)
A Dcore.c983 struct sdio_func ** get_mmc_card_func(uint8_t card_id) in get_mmc_card_func()
989 return card->sdio_func; in get_mmc_card_func()
1117 extern struct sdio_func *sdio_alloc_func(struct mmc_card *card);
1118 extern int32_t sdio_add_func(struct sdio_func *func, uint32_t id);
1143 memcpy(&s_card_info->sdio_func[i], card->sdio_func[i], sizeof(struct sdio_func)); in mmc_card_save()
1154 …tic int32_t sdio_init_func_by_func(struct mmc_card *card, uint32_t fn, struct sdio_func *sdio_func) in sdio_init_func_by_func() argument
1157 struct sdio_func *func; in sdio_init_func_by_func()
1167 memcpy(func, sdio_func, sizeof(struct sdio_func)); in sdio_init_func_by_func()
1169 card->sdio_func[fn - 1] = func; in sdio_init_func_by_func()
1243 err = sdio_init_func_by_func(card, i + 1, &(s_card_info->sdio_func[i])); in mmc_card_restore()
[all …]

Completed in 19 milliseconds