Home
last modified time | relevance | path

Searched full:sdhc (Results 1 – 25 of 173) sorted by relevance

1234567

/Zephyr-latest/drivers/sdhc/
DKconfig4 menuconfig SDHC config
5 bool "Secure Digital High Capacity (SDHC) drivers"
9 if SDHC
11 source "drivers/sdhc/Kconfig.ifx_cat1"
12 source "drivers/sdhc/Kconfig.imx"
13 source "drivers/sdhc/Kconfig.spi"
14 source "drivers/sdhc/Kconfig.mcux_sdif"
15 source "drivers/sdhc/Kconfig.rcar"
16 source "drivers/sdhc/Kconfig.sam_hsmci"
17 source "drivers/sdhc/Kconfig.intel"
[all …]
DKconfig.ifx_cat11 # Infineon CAT1 SDHC configuration options
9 bool "Infineon CAT1 SDHC driver"
16 This option enables the SDHC driver for Infineon CAT1 family.
DKconfig.sdhc_cdns5 bool "CDNS SDHC"
14 # Cadence SDHC DMA needs 64 bit aligned buffers
/Zephyr-latest/dts/bindings/sdhc/
Dcdns,sdhc.yaml4 description: Cadence SDHC Controller node
6 compatible: "cdns,sdhc"
8 include: [sdhc.yaml, reset-device.yaml]
13 description: clock-frequency for SDHC
20 description: delay required to switch on the SDHC
Dzephyr,sdhc-spi-slot.yaml1 description: Generic Zephyr SPI based SDHC controller
3 compatible: "zephyr,sdhc-spi-slot"
12 Time in ms for SPI SDHC to delay when toggling power to the SD card. This
19 Clock polarity to use for SPI SDHC. Some cards respond properly
34 This pin defaults to active high when consumed by the SPI SDHC driver.
Dinfineon,cat1-sdhc-sdio.yaml6 description: Infineon CAT1 SDHC/SDIO controller
8 compatible: "infineon,cat1-sdhc-sdio"
10 include: [sdhc.yaml, pinctrl-device.yaml]
Drenesas,ra-sdhc.yaml4 description: Renesas RA SDHC
6 compatible: "renesas,ra-sdhc"
9 include: [sdhc.yaml, pinctrl-device.yaml]
Despressif,esp32-sdhc.yaml4 description: Espressif ESP32 SDHC controller
6 compatible: "espressif,esp32-sdhc"
Dsdhc.yaml37 the SDHC is capable of negotiating with cards on the bus.
44 cards first will select when attached to the SDHC bus
50 time in ms for SDHC to delay when toggling power to the SD card. This
/Zephyr-latest/tests/drivers/sdhc/
DREADME.txt1 SDHC API Test
8 * Reset test: Verify the SDHC can successfully reset the host controller state.
10 the reset left the SDHC in a bad state subsequent tests may fail.
12 * Host props: Get host properties structure from SDHC. This verifies that
16 * Set_IO test: Verify that the SDHC will reject clock frequencies outside of
19 * Card presence test. Verify that the SDHC detects card presence.
25 specification is state based, and testing these portions of the SDHC would
Dtestcase.yaml2 depends_on: sdhc
5 - sdhc
7 drivers.sdhc.sdhc_api:
12 tags: sdhc
/Zephyr-latest/tests/drivers/sdhc/src/
Dmain.c8 #include <zephyr/drivers/sdhc.h>
26 zassert_equal(ret, 0, "SDHC host props api call failed"); in sdhc_power_on()
42 ZTEST(sdhc, test_reset) in ZTEST() argument
46 zassert_true(device_is_ready(sdhc_dev), "SDHC device is not ready"); in ZTEST()
49 zassert_equal(ret, 0, "SDHC HW reset failed"); in ZTEST()
53 ZTEST(sdhc, test_host_props) in ZTEST() argument
57 zassert_true(device_is_ready(sdhc_dev), "SDHC device is not ready"); in ZTEST()
67 zassert_equal(ret, 0, "SDHC host props api call failed"); in ZTEST()
78 ZTEST(sdhc, test_set_io) in ZTEST() argument
82 zassert_true(device_is_ready(sdhc_dev), "SDHC device is not ready"); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/sd/sdio/
Dtestcase.yaml2 depends_on: sdhc
5 - sdhc
12 tags: sdhc
/Zephyr-latest/tests/subsys/sd/sdmmc/
Dtestcase.yaml2 depends_on: sdhc
5 - sdhc
12 tags: sdhc
/Zephyr-latest/tests/subsys/sd/mmc/
Dtestcase.yaml2 depends_on: sdhc
5 - sdhc
10 tags: sdhc
/Zephyr-latest/tests/drivers/disk/disk_performance/
Dtestcase.yaml5 drivers.disk.disk_performance.sdhc:
6 depends_on: sdhc
10 tags: sdhc
/Zephyr-latest/include/zephyr/drivers/
Dsdhc.h20 * @brief SDHC interface
21 * @defgroup sdhc_interface SDHC interface
68 unsigned int bytes_xfered; /*!< populated with number of bytes sent by SDHC */
77 * SDHC controllers that implement SD host specification can support open
160 * SD host controller capability flags. These flags should be set by the SDHC
206 * Controls I/O settings for the SDHC. Note that only a subset of these settings
249 * @brief SDHC card interrupt callback prototype
251 * Function prototype for SDHC card interrupt callback.
252 * @param dev: SDHC device that produced interrupt
277 * @brief reset SDHC controller state
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dsdhc.rst4 Secure Digital High Capacity (SDHC)
7 The SDHC api offers a generic interface for interacting with an SD host
20 The SDHC api is designed to provide a generic way to send commands to and
26 The core of the SDHC api is the :c:func:`sdhc_request` api. Requests contain a
30 SDHC request succeeded. The data structure allows the caller to specify a
/Zephyr-latest/subsys/sd/
Dsd.c8 #include <zephyr/drivers/sdhc.h>
32 return sdhc_request(card->sdhc, &cmd, NULL); in sd_idle()
60 ret = sdhc_request(card->sdhc, &cmd, NULL); in sd_send_interface_condition()
80 LOG_DBG("Found SDHC with CMD8 support"); in sd_send_interface_condition()
97 return sdhc_request(card->sdhc, &cmd, NULL); in sd_enable_crc()
130 /* SPI requires SDHC PUSH PULL, and open drain buses use more power */ in sd_init_io()
154 ret = sdhc_set_io(card->sdhc, bus_io); in sd_init_io()
156 LOG_ERR("Could not disable card power via SDHC"); in sd_init_io()
161 ret = sdhc_set_io(card->sdhc, bus_io); in sd_init_io()
163 LOG_ERR("Could not disable card power via SDHC"); in sd_init_io()
[all …]
Dmmc.c7 #include <zephyr/drivers/sdhc.h>
86 /* Sets SDHC max frequency in legacy timing */
92 /* Sets card to the fastest timing mode (using CMD6) and SDHC to max frequency */
132 /* Modern SDHC always at least supports 512 byte block sizes, in mmc_card_init()
219 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()
[all …]
/Zephyr-latest/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";
/Zephyr-latest/tests/subsys/fs/ext2/boards/
Dhifive_unmatched_fu740_s7.overlay10 sdhc0: sdhc@0 {
11 compatible = "zephyr,sdhc-spi-slot";
Dhifive_unmatched_fu740_u74.overlay10 sdhc0: sdhc@0 {
11 compatible = "zephyr,sdhc-spi-slot";
/Zephyr-latest/tests/drivers/build_all/disk/
Dspi.dtsi6 sdhc@0 {
7 compatible = "zephyr,sdhc-spi-slot";

1234567