Home
last modified time | relevance | path

Searched refs:bus_width (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/drivers/disk/
Dmmc_subsys.c24 uint8_t bus_width; member
116 data->card.bus_width = config->bus_width; in disk_mmc_init()
124 .bus_width = DT_INST_PROP(n, bus_width), \
Dsdmmc_stm32.c788 #if DT_INST_PROP(0, bus_width) == 1
790 #elif DT_INST_PROP(0, bus_width) == 4
792 #elif DT_INST_PROP(0, bus_width) == 8
/Zephyr-latest/drivers/dma/
Ddma_smartbond.c113 enum bus_width { enum
148 enum dma_smartbond_bus_width bus_width; member
553 data->channel_data[channel].bus_width = cfg->source_data_size; in dma_smartbond_config()
678 if (src % data->channel_data[channel].bus_width) { in dma_smartbond_reload()
689 if (dst % data->channel_data[channel].bus_width) { in dma_smartbond_reload()
701 data->channel_data[channel].bus_width)) { in dma_smartbond_reload()
706 regs->DMA_LEN_REG = (size / data->channel_data[channel].bus_width) - 1; in dma_smartbond_reload()
709 regs->DMA_INT_REG = (size / data->channel_data[channel].bus_width) - 1; in dma_smartbond_reload()
804 uint8_t bus_width; in dma_smartbond_get_status() local
836 bus_width = DMA_CTRL_REG_GET_FIELD(BW, dma_ctrl_reg); in dma_smartbond_get_status()
[all …]
/Zephyr-latest/drivers/sdhc/
Dsdhc_cdns.c229 if (host_io->bus_width != ios->bus_width || host_io->clock != in sdhc_cdns_set_io()
231 host_io->bus_width = ios->bus_width; in sdhc_cdns_set_io()
233 return cdns_sdmmc_ops->set_ios(ios->clock, ios->bus_width); in sdhc_cdns_set_io()
282 .bus_width = SDHC_BUS_WIDTH1BIT, \
Dsdhc_renesas_ra.c59 uint8_t bus_width; member
454 uint8_t bus_width; in sdhc_ra_set_io() local
457 if (ios->bus_width > 0) { in sdhc_ra_set_io()
460 switch (ios->bus_width) { in sdhc_ra_set_io()
462 bus_width = 1; in sdhc_ra_set_io()
466 bus_width = 4; in sdhc_ra_set_io()
473 if (priv->bus_width != bus_width) { in sdhc_ra_set_io()
478 priv->bus_width = bus_width; in sdhc_ra_set_io()
576 priv->bus_width = SDMMC_BUS_WIDTH_1_BIT; in sdhc_ra_init()
687 .bus_width = DT_INST_PROP(index, bus_width), \
[all …]
Dsdhc_esp32.c80 uint8_t bus_width; /* Bus width used by the slot (can change during execution) */ member
963 uint8_t bus_width; in sdhc_esp32_set_io() local
967 cfg->slot, ios->bus_width, ios->clock, in sdhc_esp32_set_io()
993 if (ios->bus_width > 0) { in sdhc_esp32_set_io()
995 switch (ios->bus_width) { in sdhc_esp32_set_io()
997 bus_width = 1; in sdhc_esp32_set_io()
1000 bus_width = 4; in sdhc_esp32_set_io()
1006 if (data->bus_width != bus_width) { in sdhc_esp32_set_io()
1007 ret = sdmmc_host_set_bus_width(sdio_hw, cfg->slot, bus_width); in sdhc_esp32_set_io()
1010 LOG_INF("Bus width set successfully to %d bit", bus_width); in sdhc_esp32_set_io()
[all …]
Drcar_mmc.c86 uint8_t bus_width; member
350 data->host_io.bus_width = SDHC_BUS_WIDTH4BIT; in rcar_mmc_reset()
763 if (data->block_size == 1 && dev_data->host_io.bus_width == SDHC_BUS_WIDTH8BIT) { in rcar_mmc_sd_buf_rx_tx_data()
1196 if (host_io->bus_width == ios->bus_width) { in rcar_mmc_set_bus_width()
1200 if (!ios->bus_width) { in rcar_mmc_set_bus_width()
1204 switch (ios->bus_width) { in rcar_mmc_set_bus_width()
1243 host_io->bus_width = ios->bus_width; in rcar_mmc_set_bus_width()
1245 LOG_DBG("%s: set bus-width to %d", dev->name, host_io->bus_width); in rcar_mmc_set_bus_width()
1404 ios->bus_width, ios->clock, ios->power_mode == SDHC_POWER_ON ? "ON" : "OFF", in rcar_mmc_set_io()
1510 host_io->bus_width, ios->bus_width); in rcar_mmc_set_io()
[all …]
Dintel_emmc_host.c1014 LOG_DBG("emmc I/O: DW %d, Clk %d Hz, card power state %s, voltage %s", ios->bus_width, in emmc_set_io()
1040 if (host_io->bus_width != ios->bus_width) { in emmc_set_io()
1041 LOG_DBG("bus_width: %d", host_io->bus_width); in emmc_set_io()
1043 if (ios->bus_width == SDHC_BUS_WIDTH4BIT) { in emmc_set_io()
1046 ios->bus_width == SDHC_BUS_WIDTH8BIT ? 1 : 0); in emmc_set_io()
1050 ios->bus_width == SDHC_BUS_WIDTH4BIT ? 1 : 0); in emmc_set_io()
1052 host_io->bus_width = ios->bus_width; in emmc_set_io()
1336 .dw_4bit = DT_INST_ENUM_HAS_VALUE(n, bus_width, 4), \
1337 .dw_8bit = DT_INST_ENUM_HAS_VALUE(n, bus_width, 8), \
Dimx_usdhc.c297 ios->bus_width, in imx_usdhc_set_io()
328 if (host_io->bus_width != ios->bus_width) { in imx_usdhc_set_io()
329 switch (ios->bus_width) { in imx_usdhc_set_io()
342 host_io->bus_width = ios->bus_width; in imx_usdhc_set_io()
553 if (dev_data->host_io.bus_width == SDHC_BUS_WIDTH8BIT) { in imx_usdhc_execute_tuning()
1041 data->host_io.bus_width = SDHC_BUS_WIDTH1BIT; in imx_usdhc_init()
Dsam_hsmci.c125 ios->bus_width, ios->timing, ios->bus_mode); in sam_hsmci_set_io()
158 if (ios->bus_width) { in sam_hsmci_set_io()
161 switch (ios->bus_width) { in sam_hsmci_set_io()
Dsdhc_cdns_ll.c784 ((params->bus_width == MMC_BUS_WIDTH_1) || in sdhc_cdns_sdmmc_init()
785 (params->bus_width == MMC_BUS_WIDTH_4) || in sdhc_cdns_sdmmc_init()
786 (params->bus_width == MMC_BUS_WIDTH_8))); in sdhc_cdns_sdmmc_init()
Difx_cat1_sdio.c72 enum sdhc_bus_width bus_width; member
Dsdhc_cdns_ll.h474 int bus_width; member
Dmcux_sdif.c157 switch (ios->bus_width) { in mcux_sdif_set_io()
Dsdhc_spi.c754 if (ios->bus_width != SDHC_BUS_WIDTH1BIT) { in sdhc_spi_set_io()
/Zephyr-latest/drivers/video/
Dvideo_stm32_dcmi.c422 #define STM32_DCMI_GET_BUS_WIDTH(bus_width) \ argument
423 ((bus_width) == 8 ? DCMI_EXTEND_DATA_8B : \
424 (bus_width) == 10 ? DCMI_EXTEND_DATA_10B : \
425 (bus_width) == 12 ? DCMI_EXTEND_DATA_12B : \
426 (bus_width) == 14 ? DCMI_EXTEND_DATA_14B : \
450 DT_INST_PROP(0, bus_width)),
/Zephyr-latest/subsys/sd/
Dmmc.c383 if (card->host_props.host_caps.bus_8_bit_support && card->bus_width == 8) { in mmc_set_bus_width()
385 card->bus_io.bus_width = SDHC_BUS_WIDTH8BIT; in mmc_set_bus_width()
386 } else if (card->host_props.host_caps.bus_4_bit_support && card->bus_width >= 4) { in mmc_set_bus_width()
388 card->bus_io.bus_width = SDHC_BUS_WIDTH4BIT; in mmc_set_bus_width()
467 (card->bus_io.bus_width >= SDHC_BUS_WIDTH4BIT)) { in mmc_set_timing()
525 (card->bus_io.bus_width == SDHC_BUS_WIDTH8BIT)) { in mmc_set_timing()
604 ext->bus_width = raw[183U]; in mmc_decode_ext_csd()
Dsd.c133 bus_io->bus_width = SDHC_BUS_WIDTH1BIT; in sd_init_io()
Dsdmmc.c270 card->bus_io.bus_width = width; in sdmmc_set_bus_width()
Dsdio.c442 card->bus_io.bus_width = width; in sdio_set_bus_width()
/Zephyr-latest/include/zephyr/sd/
Dsd.h80 uint8_t bus_width; /*!< Desired bus width */ member
Dsd_spec.h675 uint8_t bus_width; member
/Zephyr-latest/tests/drivers/sdhc/src/
Dmain.c31 io.bus_width = SDHC_BUS_WIDTH1BIT; in sdhc_power_on()
87 io.bus_width = SDHC_BUS_WIDTH1BIT; in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Dsdhc.h214 enum sdhc_bus_width bus_width; /*!< SD bus width */ member