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

12

/freebsd-10.0-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
303 (ivar->bus_width == bus_width_4) ? 4 :
304 (ivar->bus_width == bus_width_8) ? 8 : 1);
306 mmc_set_card_bus_width(sc, rca, ivar->bus_width);
307 mmcbr_set_bus_width(busdev, ivar->bus_width);
1054 sd_status->bus_width = mmc_get_bits(raw_sd_status, 512, 510, 2);
1243 (ivar->bus_width == bus_width_1 ? 1 :
1244 (ivar->bus_width == bus_width_4 ? 4 : 8)),
1297 ivar->bus_width = bus_width_1;
1358 ivar->bus_width
[all...]
H A Dmmcreg.h425 uint8_t bus_width; member in struct:mmc_sd_status
/freebsd-10.0-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.0-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-10.0-release/sys/dev/aic7xxx/
H A Daic7xxx.c179 u_int bus_width);
183 u_int bus_width, u_int ppr_options);
1837 u_int *bus_width, role_t role)
1839 switch (*bus_width) {
1843 *bus_width = MSG_EXT_WDTR_BUS_16_BIT;
1848 *bus_width = MSG_EXT_WDTR_BUS_8_BIT;
1853 *bus_width = MIN(tinfo->user.width, *bus_width);
1855 *bus_width = MIN(tinfo->goal.width, *bus_width);
1836 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
2497 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument
2517 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
3213 u_int bus_width; local
3312 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.c152 u_int bus_width);
156 u_int bus_width, u_int ppr_options);
3009 u_int *bus_width, role_t role)
3011 switch (*bus_width) {
3015 *bus_width = MSG_EXT_WDTR_BUS_16_BIT;
3020 *bus_width = MSG_EXT_WDTR_BUS_8_BIT;
3025 *bus_width = MIN(tinfo->user.width, *bus_width);
3027 *bus_width = MIN(tinfo->goal.width, *bus_width);
3008 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
3826 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument
3846 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
4423 u_int bus_width; local
4521 u_int bus_width; local
[all...]
/freebsd-10.0-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-10.0-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.0-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-10.0-release/sys/dev/advansys/
H A Dadwcam.c517 switch (spi->bus_width) {
621 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
623 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
650 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
652 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
/freebsd-10.0-release/sys/dev/nxge/include/
H A Dxgehal-device.h392 xge_hal_pci_bus_width_e bus_width; member in struct:__anon9077
799 xge_hal_pci_bus_width_e *bus_width);
/freebsd-10.0-release/sys/arm/at91/
H A Dat91_mci.c587 if (ios->bus_width == bus_width_4)
1272 *(int *)result = sc->host.ios.bus_width;
1338 sc->host.ios.bus_width = value;
/freebsd-10.0-release/sys/powerpc/mpc85xx/
H A Dfsl_sdhc.c1148 *(int *)result = host->ios.bus_width;
1195 host->ios.bus_width = value;
1246 set_bus_width(sc, ios->bus_width);
/freebsd-10.0-release/sbin/camcontrol/
H A Dcamcontrol.c1056 speed *= (0x01 << spi->bus_width);
1105 && (spi->bus_width > 0)) {
1112 fprintf(stdout, "%dbit)", 8 * (0x01 << spi->bus_width));
4482 (0x01 << spi->bus_width) * 8);
4907 int bus_width = -1; local
4983 bus_width = strtol(optarg, NULL, 0);
4984 if (bus_width < 0) {
4985 warnx("bus width %d is < 0", bus_width);
5169 * The bus_width argument goes like this:
5177 if (spi && bus_width !
[all...]
/freebsd-10.0-release/sys/arm/ti/
H A Dti_mmchs.c987 switch (ios->bus_width) {
1210 *(int *)result = sc->host.ios.bus_width;
1277 sc->host.ios.bus_width = value;
H A Dti_sdhci.c289 if (ios->bus_width == bus_width_8)
/freebsd-10.0-release/sys/dev/sdhci/
H A Dsdhci.c688 if (ios->bus_width == bus_width_4)
1299 *result = slot->host.ios.bus_width;
1353 slot->host.ios.bus_width = value;
/freebsd-10.0-release/sys/dev/amr/
H A Damr_cam.c380 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
/freebsd-10.0-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 404 milliseconds

12