Home
last modified time | relevance | path

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

/openbsd-src/sys/arch/octeon/dev/
H A Doctmmc.c153 .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 Dsdmmcchip.h40 int (*bus_width)(sdmmc_chipset_handle_t, int); member
71 ((tag)->bus_width((handle), (width)))
H A Dsdmmcvar.h55 int bus_width; member
H A Dsdmmc_mem.c506 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 Dsdhc.c130 .bus_width = sdhc_bus_width,
/openbsd-src/sys/dev/fdt/
H A Ddwmshc.c212 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 Dbcm2835_sdhost.c171 .bus_width = bcmsdhost_bus_width,
H A Damlmmc.c191 .bus_width = amlmmc_bus_width,
H A Dsximmc.c234 .bus_width = sximmc_bus_width,
H A Ddwmmc.c255 .bus_width = dwmmc_bus_width,
/openbsd-src/sys/dev/ic/
H A Daic7xxx.c178 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 Daic79xx.c176 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 Drtsx.c553 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 Dsiopreg.h470 u_int8_t bus_width; member
H A Daic7xxxvar.h1258 u_int *bus_width,
H A Daic79xx.h1436 u_int *bus_width,
/openbsd-src/sys/dev/pci/
H A Dif_em_hw.c8396 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 Dif_em_hw.h1414 em_bus_width bus_width;
1416 em_bus_width bus_width; global() member