Home
last modified time | relevance | path

Searched refs:sd_card (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.5.0/subsys/sd/
Dsd_ops.h15 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 …]
Dsd_init.h14 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);
Dmmc.c55 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 …]
Dsdmmc.c64 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 …]
Dsd.c22 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()
Dsd_utils.h50 static inline int sd_retry(int(*cmd)(struct sd_card *card), in sd_retry()
51 struct sd_card *card, in sd_retry()
Dsd_ops.c20 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 …]
Dsdio.c21 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/
Dsdmmc.h37 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);
Dmmc.h37 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);
Dsd.h50 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/
Dmmc_subsys.c28 struct sd_card card;
Dsdmmc_subsys.c27 struct sd_card card;
/Zephyr-Core-3.5.0/tests/subsys/sd/mmc/src/
Dmain.c17 static struct sd_card card;
/Zephyr-Core-3.5.0/tests/subsys/sd/sdmmc/src/
Dmain.c18 static struct sd_card card;