Home
last modified time | relevance | path

Searched refs:sdhc (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-Core-3.5.0/drivers/sdhc/
DKconfig11 source "drivers/sdhc/Kconfig.imx"
12 source "drivers/sdhc/Kconfig.spi"
13 source "drivers/sdhc/Kconfig.mcux_sdif"
14 source "drivers/sdhc/Kconfig.sam_hsmci"
15 source "drivers/sdhc/Kconfig.intel"
51 module-str = sdhc
Dintel_emmc_host.c766 static int read_data_port(const struct device *dev, struct sdhc_data *sdhc) in read_data_port() argument
770 uint32_t block_size = sdhc->block_size; in read_data_port()
771 uint32_t i, block_cnt = sdhc->blocks; in read_data_port()
772 uint32_t *data = (uint32_t *)sdhc->data; in read_data_port()
775 if (sdhc->timeout_ms == SDHC_TIMEOUT_FOREVER) { in read_data_port()
778 wait_time = K_MSEC(sdhc->timeout_ms); in read_data_port()
792 (sdhc->blocks - block_cnt)); in read_data_port()
809 return wait_xfr_complete(dev, sdhc->timeout_ms); in read_data_port()
812 static int write_data_port(const struct device *dev, struct sdhc_data *sdhc) in write_data_port() argument
816 uint32_t block_size = sdhc->block_size; in write_data_port()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/sdhc/src/
Dmain.c19 ZTEST(sdhc, test_reset) in ZTEST() argument
30 ZTEST(sdhc, test_host_props) in ZTEST() argument
53 ZTEST(sdhc, test_set_io) in ZTEST() argument
78 ZTEST(sdhc, test_card_presence) in ZTEST() argument
95 ZTEST(sdhc, test_card_if_cond) in ZTEST() argument
147 ZTEST_SUITE(sdhc, NULL, NULL, NULL, NULL, NULL);
/Zephyr-Core-3.5.0/subsys/sd/
Dsd.c31 return sdhc_request(card->sdhc, &cmd, NULL); in sd_idle()
45 ret = sdhc_request(card->sdhc, &cmd, NULL); in sd_send_interface_condition()
81 return sdhc_request(card->sdhc, &cmd, NULL); in sd_enable_crc()
149 ret = sdhc_set_io(card->sdhc, bus_io); in sd_init_io()
156 ret = sdhc_set_io(card->sdhc, bus_io); in sd_init_io()
169 ret = sdhc_set_io(card->sdhc, bus_io); in sd_init_io()
236 card->sdhc = sdhc_dev; in sd_init()
237 ret = sdhc_get_host_props(card->sdhc, &card->host_props); in sd_init()
Dmmc.c219 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_send_op_cond()
247 ret = sdhc_set_io(card->sdhc, &card->bus_io); in mmc_send_op_cond()
276 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_set_rca()
300 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_read_csd()
369 ret = sdhc_set_io(card->sdhc, &card->bus_io); in mmc_set_max_freq()
398 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_set_bus_width()
406 ret = sdhc_set_io(card->sdhc, &card->bus_io); in mmc_set_bus_width()
425 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_set_hs_timing()
436 ret = sdhc_set_io(card->sdhc, &card->bus_io); in mmc_set_hs_timing()
453 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_set_power_class_HS200()
[all …]
Dsd_ops.c32 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_read_status()
69 busy = sdhc_card_busy(card->sdhc); in sdmmc_wait_ready()
215 ret = sdhc_request(card->sdhc, &cmd, &data); in sdmmc_spi_read_cxd()
237 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_read_cxd()
329 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_switch_voltage()
345 if (!(sdhc_card_busy(card->sdhc))) { in sdmmc_switch_voltage()
348 if (!sdhc_card_busy(card->sdhc)) { in sdmmc_switch_voltage()
360 ret = sdhc_set_io(card->sdhc, &card->bus_io); in sdmmc_switch_voltage()
367 ret = sdhc_set_io(card->sdhc, &card->bus_io); in sdmmc_switch_voltage()
375 ret = sdhc_set_io(card->sdhc, &card->bus_io); in sdmmc_switch_voltage()
[all …]
Dsdmmc.c79 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_spi_send_ocr()
115 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_send_ocr()
180 ret = sdhc_request(card->sdhc, &cmd, &data); in sdmmc_read_scr()
215 return sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_set_blocklen()
251 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_set_bus_width()
263 ret = sdhc_set_io(card->sdhc, &card->bus_io); in sdmmc_set_bus_width()
295 return sdhc_request(card->sdhc, &cmd, &data); in sdmmc_switch()
472 ret = sdhc_set_io(card->sdhc, &card->bus_io); in sdmmc_set_bus_speed()
518 ret = sdhc_execute_tuning(card->sdhc); in sdmmc_init_uhs()
686 ret = sdhc_set_io(card->sdhc, &card->bus_io); in sdmmc_card_init()
Dsdio.c33 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdio_send_ocr()
/Zephyr-Core-3.5.0/samples/subsys/fs/fs_sample/boards/
Dhifive_unmatched.overlay10 sdhc0: sdhc@0 {
11 compatible = "zephyr,sdhc-spi-slot";
Dnrf52840_blip.overlay11 sdhc0: sdhc@0 {
12 compatible = "zephyr,sdhc-spi-slot";
Dnucleo_f429zi.overlay8 sdhc0: sdhc@0 {
9 compatible = "zephyr,sdhc-spi-slot";
Desp_wrover_kit.overlay25 sdhc0: sdhc@0 {
26 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/tests/subsys/fs/ext2/boards/
Dhifive_unmatched.overlay10 sdhc0: sdhc@0 {
11 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/shields/waveshare_epaper/dts/
Dwaveshare_epaper_common.dtsi12 waveshare_epaper_sdhc: sdhc@1 {
13 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/shields/v2c_daplink/
Dv2c_daplink_cfg.overlay30 sdhc0_v2c_daplink_cfg: sdhc@0 {
31 compatible = "zephyr,sdhc-spi-slot";
Dv2c_daplink.overlay38 sdhc0_v2c_daplink: sdhc@0 {
39 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/shields/adafruit_2_8_tft_touch_v2/dts/
Dadafruit_2_8_tft_touch_v2.dtsi46 adafruit_2_8_tft_touch_v2_sdhc: sdhc@1 {
47 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/shields/adafruit_data_logger/
Dadafruit_data_logger.overlay38 sdhc0_adafruit_data_logger: sdhc@0 {
39 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/include/zephyr/sd/
Dsd.h51 const struct device *sdhc; /*!< SD host controller for card */ member
/Zephyr-Core-3.5.0/boards/arm/arduino_mkrzero/
Darduino_mkrzero.dts85 sdhc0: sdhc@0 {
86 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/arm/olimexino_stm32/
Dolimexino_stm32.dts132 sdhc0: sdhc@0 {
133 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/riscv/longan_nano/
Dlongan_nano-common.dtsi156 sdhc0: sdhc@0 {
157 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/doc/hardware/peripherals/
Dindex.rst51 sdhc.rst
/Zephyr-Core-3.5.0/boards/xtensa/odroid_go/
Dodroid_go.dts137 sdhc0: sdhc@1 {
138 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-Core-3.5.0/boards/arm/mg100/
Dmg100.dts145 sdhc0: sdhc@0 {
146 compatible = "zephyr,sdhc-spi-slot";

12