| /openbsd-src/sys/arch/octeon/dev/ |
| H A D | octmmc.c | 153 .bus_width = octmmc_bus_width, 181 uint32_t bus_id, bus_width; in octmmc_attach() local 286 bus_width = OF_getpropint(node, "bus-width", 0); in octmmc_attach() 287 if (bus_width == 0) in octmmc_attach() 288 bus_width = OF_getpropint(node, in octmmc_attach() 308 if (bus_width >= 8) in octmmc_attach() 310 if (bus_width >= 4) in octmmc_attach() 561 uint64_t bus_width; in octmmc_bus_width() local 565 bus_width = 0; in octmmc_bus_width() 568 bus_width = 1; in octmmc_bus_width() [all …]
|
| /openbsd-src/sys/dev/sdmmc/ |
| H A D | sdmmcchip.h | 40 int (*bus_width)(sdmmc_chipset_handle_t, int); member 71 ((tag)->bus_width((handle), (width)))
|
| H A D | sdmmcvar.h | 55 int bus_width; member
|
| H A D | sdmmc_mem.c | 506 sf->scr.bus_width = SCR_SD_BUS_WIDTHS(resp); in sdmmc_mem_decode_scr() 510 ver, sf->scr.sd_spec, sf->scr.bus_width)); in sdmmc_mem_decode_scr() 769 ISSET(sf->scr.bus_width, SCR_SD_BUS_WIDTHS_4BIT)) { in sdmmc_mem_sd_init()
|
| H A D | sdhc.c | 130 .bus_width = sdhc_bus_width,
|
| /openbsd-src/sys/dev/fdt/ |
| H A D | dwmshc.c | 212 int bus_width; in dwmshc_attach() local 261 bus_width = OF_getpropint(faa->fa_node, "bus-width", 1); in dwmshc_attach() 262 if (bus_width < 8) in dwmshc_attach()
|
| H A D | bcm2835_sdhost.c | 171 .bus_width = bcmsdhost_bus_width,
|
| H A D | amlmmc.c | 191 .bus_width = amlmmc_bus_width,
|
| H A D | sximmc.c | 234 .bus_width = sximmc_bus_width,
|
| H A D | dwmmc.c | 255 .bus_width = dwmmc_bus_width,
|
| /openbsd-src/sys/dev/ic/ |
| H A D | aic7xxx.c | 178 u_int bus_width); 182 u_int bus_width, u_int ppr_options); 1860 u_int *bus_width, role_t role) in ahc_validate_width() argument 1862 switch (*bus_width) { in ahc_validate_width() 1866 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahc_validate_width() 1871 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahc_validate_width() 1876 *bus_width = MIN(tinfo->user.width, *bus_width); in ahc_validate_width() 1878 *bus_width = MIN(tinfo->goal.width, *bus_width); in ahc_validate_width() 2521 ahc_construct_wdtr(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,u_int bus_width) ahc_construct_wdtr() argument 2541 ahc_construct_ppr(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,u_int period,u_int offset,u_int bus_width,u_int ppr_options) ahc_construct_ppr() argument 3163 u_int bus_width; ahc_parse_msg() local 3262 u_int bus_width; ahc_parse_msg() local [all...] |
| H A D | aic79xx.c | 176 u_int bus_width); 180 u_int bus_width, u_int ppr_options); 2980 u_int *bus_width, role_t role) in ahd_validate_width() argument 2982 switch (*bus_width) { in ahd_validate_width() 2986 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahd_validate_width() 2991 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahd_validate_width() 2996 *bus_width = MIN(tinfo->user.width, *bus_width); in ahd_validate_width() 2998 *bus_width = MIN(tinfo->goal.width, *bus_width); in ahd_validate_width() 3799 ahd_construct_wdtr(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,u_int bus_width) ahd_construct_wdtr() argument 3819 ahd_construct_ppr(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,u_int period,u_int offset,u_int bus_width,u_int ppr_options) ahd_construct_ppr() argument 4395 u_int bus_width; ahd_parse_msg() local 4493 u_int bus_width; ahd_parse_msg() local [all...] |
| H A D | rtsx.c | 553 u_int32_t bus_width; in rtsx_set_bus_width() local 558 bus_width = RTSX_BUS_WIDTH_8; in rtsx_set_bus_width() 561 bus_width = RTSX_BUS_WIDTH_4; in rtsx_set_bus_width() 565 bus_width = RTSX_BUS_WIDTH_1; in rtsx_set_bus_width() 569 error = rtsx_write(sc, RTSX_SD_CFG1, RTSX_BUS_WIDTH_MASK, bus_width); in rtsx_set_bus_width()
|
| H A D | siopreg.h | 470 u_int8_t bus_width; member
|
| H A D | aic7xxxvar.h | 1258 u_int *bus_width,
|
| H A D | aic79xx.h | 1436 u_int *bus_width,
|
| /openbsd-src/sys/dev/pci/ |
| H A D | if_em_hw.c | 8396 hw->bus_width = em_bus_width_unknown; in em_get_bus_info() 8401 hw->bus_width = em_bus_width_unknown; in em_get_bus_info() 8418 hw->bus_width = em_bus_width_unknown; in em_get_bus_info() 8420 hw->bus_width = (pci_ex_link_status & in em_get_bus_info() 8435 hw->bus_width = em_bus_width_pciex_1; in em_get_bus_info() 8464 hw->bus_width = (status & E1000_STATUS_BUS64) ? in em_get_bus_info()
|
| H A D | if_em_hw.h | 1414 em_bus_width bus_width; 1416 em_bus_width bus_width; global() member
|