/freebsd-11.0-release/sys/dev/mmc/ |
H A D | mmcvar.h | 90 MMC_ACCESSOR(bus_width, BUS_WIDTH, int)
|
H A D | bridge.h | 118 enum mmc_bus_width bus_width; member in struct:mmc_ios
|
H A D | mmcbrvar.h | 86 MMCBR_ACCESSOR(bus_width, BUS_WIDTH, int)
|
H A D | mmc.c | 103 u_char bus_width; /* Bus width to use */ member in struct:mmc_ivars 310 (ivar->bus_width == bus_width_4) ? 4 : 311 (ivar->bus_width == bus_width_8) ? 8 : 1); 313 mmc_set_card_bus_width(sc, rca, ivar->bus_width); 314 mmcbr_set_bus_width(busdev, ivar->bus_width); 1087 sd_status->bus_width = mmc_get_bits(raw_sd_status, 512, 510, 2); 1276 (ivar->bus_width == bus_width_1 ? 1 : 1277 (ivar->bus_width == bus_width_4 ? 4 : 8)), 1332 ivar->bus_width = bus_width_1; 1407 ivar->bus_width [all...] |
H A D | mmcreg.h | 428 uint8_t bus_width; member in struct:mmc_sd_status
|
/freebsd-11.0-release/lib/libcam/ |
H A D | camlib.h | 122 u_int8_t bus_width; /* Negotiated bus width */ member in struct:cam_device
|
H A D | camlib.c | 642 device->bus_width = spi->bus_width; 646 device->bus_width = 0;
|
/freebsd-11.0-release/sys/arm/allwinner/ |
H A D | a10_mmc.c | 155 uint32_t bus_width; local 257 if (OF_getencprop(node, "bus-width", &bus_width, sizeof(uint32_t)) <= 0) 258 bus_width = 1; 265 if (bus_width >= 4) 267 if (bus_width >= 8) 717 *(int *)result = sc->a10_host.ios.bus_width; 771 sc->a10_host.ios.bus_width = value; 873 switch (ios->bus_width) {
|
/freebsd-11.0-release/sys/arm/amlogic/aml8726/ |
H A D | aml8726_mmc.c | 222 uint32_t bus_width; local 297 * on the mode) which is why bus_width is subtracted. 299 bus_width = (ios->bus_width == bus_width_4) ? 4 : 1; 300 nbits_per_pkg = block_size * 8 + 16 * bus_width - bus_width; 861 switch (ios->bus_width) { 945 *(int *)result = sc->host.ios.bus_width; 998 sc->host.ios.bus_width = value;
|
H A D | aml8726_sdxc-m8.c | 1048 switch (ios->bus_width) { 1224 *(int *)result = sc->host.ios.bus_width; 1277 sc->host.ios.bus_width = value;
|
/freebsd-11.0-release/sys/dev/aic7xxx/ |
H A D | aic7xxx.c | 178 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 D | aic79xx_osm.c | 784 &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 D | aic7xxx_osm.c | 667 &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 D | aic79xx.c | 151 u_int bus_width); 155 u_int bus_width, u_int ppr_options); 3002 u_int *bus_width, role_t role) 3004 switch (*bus_width) { 3008 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; 3013 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; 3018 *bus_width = MIN(tinfo->user.width, *bus_width); 3020 *bus_width = MIN(tinfo->goal.width, *bus_width); 3001 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 3818 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument 3838 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 4415 u_int bus_width; local 4513 u_int bus_width; local [all...] |
/freebsd-11.0-release/sys/dev/mmc/host/ |
H A D | dwmmc.c | 683 dprintf("Setting up clk %u bus_width %d\n", 684 ios->clock, ios->bus_width); 688 if (ios->bus_width == bus_width_8) 690 else if (ios->bus_width == bus_width_4) 1075 *(int *)result = sc->host.ios.bus_width; 1128 sc->host.ios.bus_width = value;
|
/freebsd-11.0-release/sys/dev/sdhci/ |
H A D | sdhci.c | 736 if (ios->bus_width == bus_width_8) { 739 } else if (ios->bus_width == bus_width_4) { 742 } else if (ios->bus_width == bus_width_1) { 746 panic("Invalid bus width: %d", ios->bus_width); 1394 *result = slot->host.ios.bus_width; 1448 slot->host.ios.bus_width = value;
|
/freebsd-11.0-release/sys/dev/buslogic/ |
H A D | bt.c | 1295 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 1297 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-11.0-release/sys/arm/lpc/ |
H A D | lpc_mmc.c | 552 *(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-11.0-release/sys/cam/scsi/ |
H A D | scsi_xpt.c | 2759 spi->bus_width = cur_spi->bus_width; 2761 spi->bus_width = 0; 2777 switch (spi->bus_width) { 2790 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 2797 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT; 2816 if (spi->bus_width == 0) 3030 speed *= (0x01 << spi->bus_width); 3067 && spi->bus_width > 0) { 3073 printf("%dbit)", 8 * (0x01 << spi->bus_width)); [all...] |
/freebsd-11.0-release/sys/dev/advansys/ |
H A D | adwcam.c | 508 switch (spi->bus_width) { 612 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 614 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT; 641 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 643 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT;
|
/freebsd-11.0-release/sys/dev/nxge/include/ |
H A D | xgehal-device.h | 392 xge_hal_pci_bus_width_e bus_width; member in struct:__anon11196 799 xge_hal_pci_bus_width_e *bus_width);
|
/freebsd-11.0-release/sys/arm/at91/ |
H A D | at91_mci.c | 600 if (ios->bus_width == bus_width_4) 1282 *(int *)result = sc->host.ios.bus_width; 1348 sc->host.ios.bus_width = value;
|
/freebsd-11.0-release/sys/powerpc/mpc85xx/ |
H A D | fsl_sdhc.c | 1145 *(int *)result = host->ios.bus_width; 1192 host->ios.bus_width = value; 1243 set_bus_width(sc, ios->bus_width);
|
/freebsd-11.0-release/sbin/camcontrol/ |
H A D | camcontrol.c | 1087 speed *= (0x01 << spi->bus_width); 1136 && (spi->bus_width > 0)) { 1143 fprintf(stdout, "%dbit)", 8 * (0x01 << spi->bus_width)); 4759 (0x01 << spi->bus_width) * 8); 5488 int bus_width = -1; local 5564 bus_width = strtol(optarg, NULL, 0); 5565 if (bus_width < 0) { 5566 warnx("bus width %d is < 0", bus_width); 5748 * The bus_width argument goes like this: 5756 if (spi && bus_width ! [all...] |
/freebsd-11.0-release/sys/dev/amr/ |
H A D | amr_cam.c | 380 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
|