| /netbsd-src/sys/arch/arm/nxp/ |
| H A D | imx_sdhc.c | 112 u_int bus_width; in imx_sdhc_attach() local 128 if (of_getprop_uint32(phandle, "bus-width", &bus_width)) in imx_sdhc_attach() 129 bus_width = 4; in imx_sdhc_attach() 147 if (bus_width == 8) in imx_sdhc_attach()
|
| /netbsd-src/sys/arch/arm/nvidia/ |
| H A D | tegra_sdhc.c | 103 u_int bus_width; in tegra_sdhc_attach() local 111 if (of_getprop_uint32(faa->faa_phandle, "bus-width", &bus_width)) in tegra_sdhc_attach() 112 bus_width = 4; in tegra_sdhc_attach() 134 if (bus_width == 8) { in tegra_sdhc_attach()
|
| /netbsd-src/sys/dev/fdt/ |
| H A D | arasan_sdhc_fdt.c | 236 u_int bus_width; in arasan_sdhc_attach() local 264 if (of_getprop_uint32(phandle, "bus-width", &bus_width) != 0) in arasan_sdhc_attach() 265 bus_width = 4; in arasan_sdhc_attach() 299 if (bus_width == 8) { in arasan_sdhc_attach()
|
| /netbsd-src/sys/dev/sdmmc/ |
| H A D | sdmmcchip.h | 50 int (*bus_width)(sdmmc_chipset_handle_t, int); member 90 ((tag)->bus_width((handle), (width)))
|
| H A D | sdmmcvar.h | 71 int bus_width; 69 int bus_width; global() member
|
| H A D | sdmmc_mem.c | 826 ISSET(sf->scr.bus_width, SCR_SD_BUS_WIDTHS_4BIT)) { in sdmmc_mem_sd_init() 1345 sf->scr.bus_width = SCR_SD_BUS_WIDTHS(resp); in sdmmc_mem_send_ssr() 1352 ver, sf->scr.sd_spec, sf->scr.sd_spec3, sf->scr.sd_spec4, sf->scr.bus_width)); in sdmmc_mem_send_ssr() 1448 const int bus_width = SSR_DAT_BUS_WIDTH(ssr); in sdmmc_mem_decode_ssr() 1464 switch (bus_width) { in sdmmc_mem_send_cxd_data() 1411 const int bus_width = SSR_DAT_BUS_WIDTH(ssr); sdmmc_mem_decode_ssr() local
|
| /netbsd-src/sys/dev/ic/ |
| H A D | aic7xxx.c | 181 u_int bus_width); 185 u_int bus_width, u_int ppr_options); 1820 u_int *bus_width, role_t role) in ahc_validate_width() argument 1822 switch (*bus_width) { in ahc_validate_width() 1826 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahc_validate_width() 1831 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahc_validate_width() 1836 *bus_width = MIN(tinfo->user.width, *bus_width); in ahc_validate_width() 1838 *bus_width = MIN(tinfo->goal.width, *bus_width); in ahc_validate_width() 2478 u_int bus_width) in ahc_construct_wdtr() argument 2483 ahc->msgout_buf[ahc->msgout_index++] = bus_width; in ahc_construct_wdtr() [all …]
|
| H A D | aic79xx.c | 157 u_int bus_width); 161 u_int bus_width, u_int ppr_options); 2884 u_int *bus_width, role_t role) in ahd_validate_width() argument 2886 switch (*bus_width) { in ahd_validate_width() 2890 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahd_validate_width() 2895 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahd_validate_width() 2900 *bus_width = MIN(tinfo->user.width, *bus_width); in ahd_validate_width() 2902 *bus_width = MIN(tinfo->goal.width, *bus_width); in ahd_validate_width() 3690 u_int bus_width) in ahd_construct_wdtr() argument 3695 ahd->msgout_buf[ahd->msgout_index++] = bus_width; in ahd_construct_wdtr() [all …]
|
| H A D | rtsx.c | 183 .bus_width = rtsx_bus_width, 719 uint32_t bus_width; in rtsx_set_bus_width() local 725 bus_width = RTSX_BUS_WIDTH_8; in rtsx_set_bus_width() 728 bus_width = RTSX_BUS_WIDTH_4; in rtsx_set_bus_width() 731 bus_width = RTSX_BUS_WIDTH_1; in rtsx_set_bus_width() 737 if (bus_width == RTSX_BUS_WIDTH_1) in rtsx_set_bus_width() 740 RTSX_SET(sc, RTSX_SD_CFG1, bus_width); in rtsx_set_bus_width()
|
| H A D | siopreg.h | 468 uint8_t bus_width; member
|
| H A D | pl181.c | 94 .bus_width = plmmc_bus_width,
|
| H A D | w83l518d_sdmmc.c | 89 .bus_width = wb_sdmmc_bus_width,
|
| H A D | dwc_mmc.c | 72 .bus_width = dwc_mmc_bus_width,
|
| /netbsd-src/sys/arch/arm/ti/ |
| H A D | ti_sdhc.c | 172 u_int bus_width; in ti_sdhc_attach() local 217 if (of_getprop_uint32(phandle, "bus-width", &bus_width) != 0) in ti_sdhc_attach() 218 bus_width = 4; in ti_sdhc_attach() 224 if (bus_width == 8) in ti_sdhc_attach()
|
| /netbsd-src/sys/arch/evbarm/stand/boot2440/ |
| H A D | dev_sdmmc.c | 108 int (*bus_width)(void*, int); member 426 ISSET(sc->scr.bus_width, SCR_SD_BUS_WIDTHS_4BIT)) { in sdmmc_init() 1310 sc->scr.bus_width = SCR_SD_BUS_WIDTHS(resp); in sdmmc_mem_decode_scr() 1313 sc->scr.sd_spec, sc->scr.bus_width)); in sdmmc_mem_decode_scr() 1351 error = sc->sdifdv->bus_width(sc->sdifdv->priv, width); in sdmmc_set_bus_width()
|
| H A D | dev_sdmmc.h | 80 int bus_width; member
|
| /netbsd-src/sys/arch/evbsh3/t_sh7706lan/ |
| H A D | ssumci.c | 89 .bus_width = ssumci_bus_width,
|
| H A D | scimci.c | 87 .bus_width = scimci_bus_width,
|
| /netbsd-src/sys/arch/arm/amlogic/ |
| H A D | meson_sdio.c | 120 .bus_width = meson_sdio_bus_width,
|
| H A D | meson_sdhc.c | 129 .bus_width = meson_sdhc_bus_width,
|
| /netbsd-src/sys/dev/marvell/ |
| H A D | mvsdio.c | 122 .bus_width = mvsdio_bus_width,
|
| /netbsd-src/sys/arch/arm/broadcom/ |
| H A D | bcm2835_sdhost.c | 130 .bus_width = sdhost_bus_width,
|
| /netbsd-src/sys/arch/arm/s3c2xx0/ |
| H A D | s3c2440_sdi.c | 154 .bus_width = sssdi_bus_width,
|
| /netbsd-src/sys/arch/arm/imx/ |
| H A D | imx23_ssp.c | 124 .bus_width = issp_bus_width,
|
| /netbsd-src/sys/arch/arm/xscale/ |
| H A D | pxa2x0_mci.c | 125 .bus_width = pxamci_bus_width,
|