Searched refs:sd_card (Results 1 – 15 of 15) sorted by relevance
/Zephyr-Core-3.5.0/subsys/sd/ |
D | sd_ops.h | 15 int sdmmc_switch_voltage(struct sd_card *card); 20 int card_read_cid(struct sd_card *card); 25 int sdmmc_read_csd(struct sd_card *card); 31 int sdmmc_request_rca(struct sd_card *card); 36 int sdmmc_select_card(struct sd_card *card); 48 int card_ioctl(struct sd_card *card, uint8_t cmd, void *buf); 50 int card_read_blocks(struct sd_card *card, uint8_t *rbuf, 53 int card_write_blocks(struct sd_card *card, const uint8_t *wbuf, 56 int card_app_command(struct sd_card *card, int relative_card_address); 58 int sdmmc_read_status(struct sd_card *card); [all …]
|
D | sd_init.h | 14 int sdio_card_init(struct sd_card *card); 16 int sdmmc_card_init(struct sd_card *card); 18 int mmc_card_init(struct sd_card *card);
|
D | mmc.c | 55 inline int mmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in mmc_write_blocks() 61 inline int mmc_read_blocks(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, in mmc_read_blocks() 67 inline int mmc_ioctl(struct sd_card *card, uint8_t cmd, void *buf) in mmc_ioctl() 73 static int mmc_send_op_cond(struct sd_card *card, int ocr); 76 static int mmc_set_rca(struct sd_card *card); 79 static int mmc_read_csd(struct sd_card *card, struct sd_csd *card_csd); 83 static int mmc_read_ext_csd(struct sd_card *card, struct mmc_ext_csd *card_ext_csd); 87 static inline int mmc_set_max_freq(struct sd_card *card, struct sd_csd *card_csd); 90 static int mmc_set_bus_width(struct sd_card *card); 93 static int mmc_set_timing(struct sd_card *card, struct mmc_ext_csd *card_ext_csd); [all …]
|
D | sdmmc.c | 64 static int sdmmc_app_command(struct sd_card *card, int relative_card_address) in sdmmc_app_command() 70 static int sdmmc_spi_send_ocr(struct sd_card *card, uint32_t arg) in sdmmc_spi_send_ocr() 96 static int sdmmc_send_ocr(struct sd_card *card, int ocr) in sdmmc_send_ocr() 153 static int sdmmc_read_scr(struct sd_card *card) in sdmmc_read_scr() 206 static int sdmmc_set_blocklen(struct sd_card *card, uint32_t block_len) in sdmmc_set_blocklen() 222 static int sdmmc_set_bus_width(struct sd_card *card, enum sdhc_bus_width width) in sdmmc_set_bus_width() 277 static int sdmmc_switch(struct sd_card *card, enum sd_switch_arg mode, in sdmmc_switch() 298 static int sdmmc_read_switch(struct sd_card *card) in sdmmc_read_switch() 337 static inline void sdmmc_select_bus_speed(struct sd_card *card) in sdmmc_select_bus_speed() 363 static int sdmmc_select_driver_type(struct sd_card *card) in sdmmc_select_driver_type() [all …]
|
D | sd.c | 22 static inline int sd_idle(struct sd_card *card) in sd_idle() 35 static int sd_send_interface_condition(struct sd_card *card) in sd_send_interface_condition() 71 static int sd_enable_crc(struct sd_card *card) in sd_enable_crc() 90 static int sd_common_init(struct sd_card *card) in sd_common_init() 117 static int sd_init_io(struct sd_card *card) in sd_init_io() 180 static int sd_command_init(struct sd_card *card) in sd_command_init() 229 int sd_init(const struct device *sdhc_dev, struct sd_card *card) in sd_init()
|
D | sd_utils.h | 50 static inline int sd_retry(int(*cmd)(struct sd_card *card), in sd_retry() 51 struct sd_card *card, in sd_retry()
|
D | sd_ops.c | 20 int sdmmc_read_status(struct sd_card *card) in sdmmc_read_status() 63 int sdmmc_wait_ready(struct sd_card *card) in sdmmc_wait_ready() 196 static int sdmmc_spi_read_cxd(struct sd_card *card, uint32_t opcode, uint32_t *cxd) in sdmmc_spi_read_cxd() 227 static int sdmmc_read_cxd(struct sd_card *card, uint32_t opcode, uint32_t rca, uint32_t *cxd) in sdmmc_read_cxd() 248 int sdmmc_read_csd(struct sd_card *card) in sdmmc_read_csd() 272 int card_read_cid(struct sd_card *card) in card_read_cid() 313 int sdmmc_switch_voltage(struct sd_card *card) in sdmmc_switch_voltage() 398 int sdmmc_request_rca(struct sd_card *card) in sdmmc_request_rca() 424 int sdmmc_select_card(struct sd_card *card) in sdmmc_select_card() 448 int card_app_command(struct sd_card *card, int relative_card_address) in card_app_command() [all …]
|
D | sdio.c | 21 int sdio_send_ocr(struct sd_card *card, uint32_t ocr) in sdio_send_ocr() 65 int sdio_card_init(struct sd_card *card) in sdio_card_init()
|
/Zephyr-Core-3.5.0/include/zephyr/sd/ |
D | sdmmc.h | 37 int sdmmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, 54 int sdmmc_read_blocks(struct sd_card *card, uint8_t *rbuf, 68 int sdmmc_ioctl(struct sd_card *card, uint8_t cmd, void *buf);
|
D | mmc.h | 37 int mmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, 54 int mmc_read_blocks(struct sd_card *card, uint8_t *rbuf, 70 int mmc_ioctl(struct sd_card *card, uint8_t cmd, void *buf);
|
D | sd.h | 50 struct sd_card { struct 84 int sd_init(const struct device *sdhc_dev, struct sd_card *card); argument
|
/Zephyr-Core-3.5.0/drivers/disk/ |
D | mmc_subsys.c | 28 struct sd_card card;
|
D | sdmmc_subsys.c | 27 struct sd_card card;
|
/Zephyr-Core-3.5.0/tests/subsys/sd/mmc/src/ |
D | main.c | 17 static struct sd_card card;
|
/Zephyr-Core-3.5.0/tests/subsys/sd/sdmmc/src/ |
D | main.c | 18 static struct sd_card card;
|