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

12

/freebsd-10.1-release/sys/dev/mmc/
H A Dbridge.h116 enum mmc_bus_width bus_width; member in struct:mmc_ios
H A Dmmcvar.h90 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
304 (ivar->bus_width == bus_width_4) ? 4 :
305 (ivar->bus_width == bus_width_8) ? 8 : 1);
307 mmc_set_card_bus_width(sc, rca, ivar->bus_width);
308 mmcbr_set_bus_width(busdev, ivar->bus_width);
1060 sd_status->bus_width = mmc_get_bits(raw_sd_status, 512, 510, 2);
1249 (ivar->bus_width == bus_width_1 ? 1 :
1250 (ivar->bus_width == bus_width_4 ? 4 : 8)),
1303 ivar->bus_width = bus_width_1;
1364 ivar->bus_width
[all...]
H A Dmmcreg.h425 uint8_t bus_width; member in struct:mmc_sd_status
/freebsd-10.1-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-10.1-release/lib/libcam/
H A Dcamlib.h122 u_int8_t bus_width; /* Negotiated bus width */ member in struct:cam_device
H A Dcamlib.c642 device->bus_width = spi->bus_width;
646 device->bus_width = 0;
/freebsd-10.1-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-10.1-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;
2145 u_int bus_width; local
2187 bus_width = MSG_EXT_WDTR_BUS_8_BIT;
2196 bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2212 bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2249 spi->bus_width = bus_width;
/freebsd-10.1-release/sys/arm/lpc/
H A Dlpc_mmc.c552 *(int *)result = sc->lm_host.ios.bus_width;
605 sc->lm_host.ios.bus_width = value;
643 if (ios->bus_width == bus_width_4)
655 if (ios->bus_width == bus_width_4) {
/freebsd-10.1-release/sys/cam/scsi/
H A Dscsi_xpt.c2722 spi->bus_width = cur_spi->bus_width;
2724 spi->bus_width = 0;
2740 switch (spi->bus_width) {
2753 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
2760 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
2779 if (spi->bus_width == 0)
2993 speed *= (0x01 << spi->bus_width);
3030 && spi->bus_width > 0) {
3036 printf("%dbit)", 8 * (0x01 << spi->bus_width));
[all...]
/freebsd-10.1-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-10.1-release/sys/dev/nxge/include/
H A Dxgehal-device.h392 xge_hal_pci_bus_width_e bus_width; member in struct:__anon9398
799 xge_hal_pci_bus_width_e *bus_width);
/freebsd-10.1-release/sys/arm/at91/
H A Dat91_mci.c597 if (ios->bus_width == bus_width_4)
1282 *(int *)result = sc->host.ios.bus_width;
1348 sc->host.ios.bus_width = value;
/freebsd-10.1-release/sys/powerpc/mpc85xx/
H A Dfsl_sdhc.c1146 *(int *)result = host->ios.bus_width;
1193 host->ios.bus_width = value;
1244 set_bus_width(sc, ios->bus_width);
/freebsd-10.1-release/sbin/camcontrol/
H A Dcamcontrol.c1071 speed *= (0x01 << spi->bus_width);
1120 && (spi->bus_width > 0)) {
1127 fprintf(stdout, "%dbit)", 8 * (0x01 << spi->bus_width));
4528 (0x01 << spi->bus_width) * 8);
4953 int bus_width = -1; local
5029 bus_width = strtol(optarg, NULL, 0);
5030 if (bus_width < 0) {
5031 warnx("bus width %d is < 0", bus_width);
5215 * The bus_width argument goes like this:
5223 if (spi && bus_width !
[all...]
/freebsd-10.1-release/sys/arm/ti/
H A Dti_mmchs.c986 switch (ios->bus_width) {
1209 *(int *)result = sc->host.ios.bus_width;
1276 sc->host.ios.bus_width = value;
H A Dti_sdhci.c342 if (ios->bus_width == bus_width_8)
/freebsd-10.1-release/sys/dev/sdhci/
H A Dsdhci.c680 if (ios->bus_width == bus_width_4)
1318 *result = slot->host.ios.bus_width;
1372 slot->host.ios.bus_width = value;
/freebsd-10.1-release/sys/dev/amr/
H A Damr_cam.c380 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
/freebsd-10.1-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...]

Completed in 1009 milliseconds

12