Searched refs:bus_width (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-9.3-release/sys/dev/mmc/
H A Dbridge.h116 enum mmc_bus_width bus_width; member in struct:mmc_ios
H A Dmmcvar.h89 MMC_ACCESSOR(bus_width, BUS_WIDTH, int)
H A Dmmcbrvar.h86 MMCBR_ACCESSOR(bus_width, BUS_WIDTH, int)
H A Dmmc.c97 u_char bus_width; /* Bus width to use */ member in struct:mmc_ivars
301 (ivar->bus_width == bus_width_4) ? 4 :
302 (ivar->bus_width == bus_width_8) ? 8 : 1);
304 mmc_set_card_bus_width(sc, rca, ivar->bus_width);
305 mmcbr_set_bus_width(busdev, ivar->bus_width);
1031 sd_status->bus_width = mmc_get_bits(raw_sd_status, 512, 510, 2);
1214 (ivar->bus_width == bus_width_1 ? 1 :
1215 (ivar->bus_width == bus_width_4 ? 4 : 8)),
1270 ivar->bus_width = bus_width_1;
1331 ivar->bus_width
[all...]
H A Dmmcreg.h423 uint8_t bus_width; member in struct:mmc_sd_status
/freebsd-9.3-release/sys/boot/arm/at91/libat91/
H A Dsd-card.c322 char bus_width; local
334 bus_width = AT91C_BUS_WIDTH_4BITS;
336 bus_width = AT91C_BUS_WIDTH_1BIT;
339 SDCARD_SET_BUS_WIDTH_CMD,bus_width) != AT91C_CMD_SEND_OK)
/freebsd-9.3-release/lib/libcam/
H A Dcamlib.h122 u_int8_t bus_width; /* Negotiated bus width */ member in struct:cam_device
H A Dcamlib.c641 device->bus_width = spi->bus_width;
645 device->bus_width = 0;
/freebsd-9.3-release/sys/dev/aic7xxx/
H A Daic7xxx.c178 u_int bus_width);
182 u_int bus_width, u_int ppr_options);
1836 u_int *bus_width, role_t role)
1838 switch (*bus_width) {
1842 *bus_width = MSG_EXT_WDTR_BUS_16_BIT;
1847 *bus_width = MSG_EXT_WDTR_BUS_8_BIT;
1852 *bus_width = MIN(tinfo->user.width, *bus_width);
1854 *bus_width = MIN(tinfo->goal.width, *bus_width);
1835 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
2496 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument
2516 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) argument
3212 u_int bus_width; local
3311 u_int bus_width; local
[all...]
H A Daic79xx_osm.c784 &spi->bus_width, ROLE_UNKNOWN);
785 ahd_set_width(ahd, &devinfo, spi->bus_width,
816 if (spi->bus_width != MSG_EXT_WDTR_BUS_16_BIT)
826 spi->bus_width, ROLE_UNKNOWN);
887 spi->bus_width = tinfo->width;
H A Daic7xxx_osm.c667 &spi->bus_width, ROLE_UNKNOWN);
668 ahc_set_width(ahc, &devinfo, spi->bus_width,
705 if (spi->bus_width != MSG_EXT_WDTR_BUS_16_BIT)
713 spi->bus_width, ROLE_UNKNOWN);
871 spi->bus_width = tinfo->width;
H A Daic79xx.c151 u_int bus_width);
155 u_int bus_width, u_int ppr_options);
3008 u_int *bus_width, role_t role)
3010 switch (*bus_width) {
3014 *bus_width = MSG_EXT_WDTR_BUS_16_BIT;
3019 *bus_width = MSG_EXT_WDTR_BUS_8_BIT;
3024 *bus_width = MIN(tinfo->user.width, *bus_width);
3026 *bus_width = MIN(tinfo->goal.width, *bus_width);
3007 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
3825 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument
3845 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) argument
4422 u_int bus_width; local
4520 u_int bus_width; local
[all...]
/freebsd-9.3-release/sys/dev/buslogic/
H A Dbt.c1297 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
1299 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
2143 u_int bus_width; local
2185 bus_width = MSG_EXT_WDTR_BUS_8_BIT;
2194 bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2210 bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2247 spi->bus_width = bus_width;
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_xpt.c2706 spi->bus_width = cur_spi->bus_width;
2708 spi->bus_width = 0;
2724 switch (spi->bus_width) {
2737 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2744 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
2763 if (spi->bus_width == 0)
2973 speed *= (0x01 << spi->bus_width);
3010 && spi->bus_width > 0) {
3016 printf("%dbit)", 8 * (0x01 << spi->bus_width));
[all...]
/freebsd-9.3-release/sys/dev/advansys/
H A Dadwcam.c510 switch (spi->bus_width) {
614 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
616 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
643 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
645 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
/freebsd-9.3-release/sys/dev/nxge/include/
H A Dxgehal-device.h392 xge_hal_pci_bus_width_e bus_width; member in struct:__anon8578
799 xge_hal_pci_bus_width_e *bus_width);
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_mci.c365 if (ios->bus_width == bus_width_4)
706 *(int *)result = sc->host.ios.bus_width;
764 sc->host.ios.bus_width = value;
/freebsd-9.3-release/sbin/camcontrol/
H A Dcamcontrol.c1057 speed *= (0x01 << spi->bus_width);
1106 && (spi->bus_width > 0)) {
1113 fprintf(stdout, "%dbit)", 8 * (0x01 << spi->bus_width));
4514 (0x01 << spi->bus_width) * 8);
4939 int bus_width = -1; local
5015 bus_width = strtol(optarg, NULL, 0);
5016 if (bus_width < 0) {
5017 warnx("bus width %d is < 0", bus_width);
5201 * The bus_width argument goes like this:
5209 if (spi && bus_width !
[all...]
/freebsd-9.3-release/sys/dev/amr/
H A Damr_cam.c380 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
/freebsd-9.3-release/sys/dev/nxge/xgehal/
H A Dxgehal-device.c2291 * @bus_width: pointer to a variable of enumerated type
2306 xge_hal_pci_bus_width_e *bus_width)
2325 *bus_width = XGE_HAL_PCI_BUS_WIDTH_32BIT;
2327 *bus_width = XGE_HAL_PCI_BUS_WIDTH_64BIT;
2385 "%d frequency %d", *pci_mode, *bus_width,
2399 *bus_width = XGE_HAL_PCI_BUS_WIDTH_UNKNOWN;
2421 *bus_width = XGE_HAL_PCI_BUS_WIDTH_64BIT;
2777 &hldev->bus_frequency, &hldev->bus_width) != XGE_HAL_OK){
2780 hldev->bus_width = XGE_HAL_PCI_BUS_WIDTH_UNKNOWN;
5822 * @bus_width
2304 __hal_device_pci_info_get(xge_hal_device_h devh, xge_hal_pci_mode_e *pci_mode, xge_hal_pci_bus_frequency_e *bus_frequency, xge_hal_pci_bus_width_e *bus_width) argument
5832 xge_hal_device_pci_info_get(xge_hal_device_h devh, xge_hal_pci_mode_e *pci_mode, xge_hal_pci_bus_frequency_e *bus_frequency, xge_hal_pci_bus_width_e *bus_width) argument
[all...]
/freebsd-9.3-release/sys/dev/sdhci/
H A Dsdhci.c880 if (ios->bus_width == bus_width_4)
1474 *result = slot->host.ios.bus_width;
1528 slot->host.ios.bus_width = value;
/freebsd-9.3-release/sys/dev/sym/
H A Dsym_defs.h196 u_char bus_width; /* 0x08/0x10 */ member in struct:Symbios_nvram::Symbios_target
/freebsd-9.3-release/sys/pci/
H A Dncr.c4238 if (spi->bus_width > np->maxwide)
4239 spi->bus_width = np->maxwide;
4262 tp->tinfo.user.width = spi->bus_width;
4272 tp->tinfo.goal.width = spi->bus_width;
4323 spi->bus_width = tinfo->width;
5039 neg.xport_specific.spi.bus_width = (scntl3 & EWS) ?
/freebsd-9.3-release/sys/dev/esp/
H A Dncr53c9x.c1044 spi->bus_width = ti->curr.width;
1060 spi->bus_width = sc->sc_maxwidth;
1151 ti->goal.width = spi->bus_width;
/freebsd-9.3-release/sys/dev/mly/
H A Dmly.c2131 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
2134 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2138 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;

Completed in 258 milliseconds

12