Lines Matching refs:pdrv
19 static DSTATUS ff_sdmmc_card_available(BYTE pdrv) in ff_sdmmc_card_available() argument
21 sdmmc_card_t* card = s_cards[pdrv]; in ff_sdmmc_card_available()
36 DSTATUS ff_sdmmc_initialize (BYTE pdrv) in ff_sdmmc_initialize() argument
38 return ff_sdmmc_card_available(pdrv); in ff_sdmmc_initialize()
41 DSTATUS ff_sdmmc_status (BYTE pdrv) in ff_sdmmc_status() argument
43 return ff_sdmmc_card_available(pdrv); in ff_sdmmc_status()
46 DRESULT ff_sdmmc_read (BYTE pdrv, BYTE* buff, DWORD sector, UINT count) in ff_sdmmc_read() argument
48 sdmmc_card_t* card = s_cards[pdrv]; in ff_sdmmc_read()
58 DRESULT ff_sdmmc_write (BYTE pdrv, const BYTE* buff, DWORD sector, UINT count) in ff_sdmmc_write() argument
60 sdmmc_card_t* card = s_cards[pdrv]; in ff_sdmmc_write()
70 DRESULT ff_sdmmc_ioctl (BYTE pdrv, BYTE cmd, void* buff) in ff_sdmmc_ioctl() argument
72 sdmmc_card_t* card = s_cards[pdrv]; in ff_sdmmc_ioctl()
89 void ff_diskio_register_sdmmc(BYTE pdrv, sdmmc_card_t* card) in ff_diskio_register_sdmmc() argument
98 s_cards[pdrv] = card; in ff_diskio_register_sdmmc()
99 ff_diskio_register(pdrv, &sdmmc_impl); in ff_diskio_register_sdmmc()