/freebsd-11-stable/sys/dev/mmc/ |
H A D | mmcvar.h | 92 MMC_ACCESSOR(bus_width, BUS_WIDTH, int)
|
H A D | mmcbrvar.h | 89 MMCBR_ACCESSOR(bus_width, BUS_WIDTH, int)
|
H A D | mmc.c | 94 enum mmc_bus_width bus_width; /* Bus width to use */ member in struct:mmc_ivars 369 (ivar->bus_width == bus_width_4) ? 4 : 370 (ivar->bus_width == bus_width_8) ? 8 : 1, 380 mmcbr_set_bus_width(busdev, ivar->bus_width); 766 switch (ivar->bus_width) { 779 switch (ivar->bus_width) { 832 enum mmc_bus_width bus_width; local 836 bus_width = ivar->bus_width; 838 timing == bus_timing_normal || bus_width [all...] |
H A D | bridge.h | 128 enum mmc_bus_width bus_width; member in struct:mmc_ios
|
H A D | mmcreg.h | 570 uint8_t bus_width; member in struct:mmc_sd_status
|
/freebsd-11-stable/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 | 647 device->bus_width = spi->bus_width; 651 device->bus_width = 0;
|
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | a10_mmc.c | 145 uint32_t bus_width; local 228 if (OF_getencprop(node, "bus-width", &bus_width, sizeof(uint32_t)) <= 0) 229 bus_width = 4; 236 if (bus_width >= 4) 238 if (bus_width >= 8) 673 *(int *)result = sc->a10_host.ios.bus_width; 727 sc->a10_host.ios.bus_width = value; 804 switch (ios->bus_width) {
|
/freebsd-11-stable/sys/arm/amlogic/aml8726/ |
H A D | aml8726_mmc.c | 220 uint32_t bus_width; local 295 * on the mode) which is why bus_width is subtracted. 297 bus_width = (ios->bus_width == bus_width_4) ? 4 : 1; 298 nbits_per_pkg = block_size * 8 + 16 * bus_width - bus_width; 859 switch (ios->bus_width) { 943 *(int *)result = sc->host.ios.bus_width; 996 sc->host.ios.bus_width = value;
|
H A D | aml8726_sdxc-m8.c | 1047 switch (ios->bus_width) { 1223 *(int *)result = sc->host.ios.bus_width; 1276 sc->host.ios.bus_width = value;
|
/freebsd-11-stable/sys/dev/jedec_dimm/ |
H A D | jedec_dimm.c | 421 uint32_t bus_width; local 451 device_printf(sc->dev, "failed to read bus_width: %d\n", rc); 491 bus_width = 1 << bus_width_byte; 492 bus_width *= 8; 565 *capacity_mb = sdram_capacity / 8 * bus_width / sdram_width *
|
/freebsd-11-stable/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 | 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_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 | 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-stable/sys/dev/mmc/host/ |
H A D | dwmmc.c | 680 dprintf("Setting up clk %u bus_width %d\n", 681 ios->clock, ios->bus_width); 685 if (ios->bus_width == bus_width_8) 687 else if (ios->bus_width == bus_width_4) 1072 *(int *)result = sc->host.ios.bus_width; 1125 sc->host.ios.bus_width = value;
|
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt.c | 1291 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 1293 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT; 2139 u_int bus_width; local 2181 bus_width = MSG_EXT_WDTR_BUS_8_BIT; 2190 bus_width = MSG_EXT_WDTR_BUS_16_BIT; 2206 bus_width = MSG_EXT_WDTR_BUS_16_BIT; 2243 spi->bus_width = bus_width;
|
/freebsd-11-stable/sys/arm/lpc/ |
H A D | lpc_mmc.c | 539 *(int *)result = sc->lm_host.ios.bus_width; 592 sc->lm_host.ios.bus_width = value; 630 if (ios->bus_width == bus_width_4) 642 if (ios->bus_width == bus_width_4) {
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_xpt.c | 2798 spi->bus_width = cur_spi->bus_width; 2800 spi->bus_width = 0; 2816 switch (spi->bus_width) { 2829 spi->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 2836 spi->bus_width = MSG_EXT_WDTR_BUS_8_BIT; 2855 if (spi->bus_width == 0) 3069 speed *= (0x01 << spi->bus_width); 3106 && spi->bus_width > 0) { 3112 printf("%dbit)", 8 * (0x01 << spi->bus_width)); [all...] |
/freebsd-11-stable/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-stable/sys/dev/nxge/include/ |
H A D | xgehal-device.h | 392 xge_hal_pci_bus_width_e bus_width; member in struct:__anon11198 799 xge_hal_pci_bus_width_e *bus_width);
|
/freebsd-11-stable/sys/arm/at91/ |
H A D | at91_mci.c | 590 if (ios->bus_width == bus_width_4) 1272 *(int *)result = sc->host.ios.bus_width; 1338 sc->host.ios.bus_width = value;
|
/freebsd-11-stable/sys/dev/sdhci/ |
H A D | sdhci.c | 1185 if (ios->bus_width == bus_width_8) { 1188 } else if (ios->bus_width == bus_width_4) { 1191 } else if (ios->bus_width == bus_width_1) { 1195 panic("Invalid bus width: %d", ios->bus_width); 1317 ios->bus_width == bus_width_8) ? MMC_TUNING_LEN_HS200 : 2149 *result = slot->host.ios.bus_width; 2238 slot->host.ios.bus_width = value;
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | camcontrol.c | 1109 speed *= (0x01 << spi->bus_width); 1158 && (spi->bus_width > 0)) { 1165 fprintf(stdout, "%dbit)", 8 * (0x01 << spi->bus_width)); 5062 (0x01 << spi->bus_width) * 8); 5835 int bus_width = -1; local 5911 bus_width = strtol(optarg, NULL, 0); 5912 if (bus_width < 0) { 5913 warnx("bus width %d is < 0", bus_width); 6076 * The bus_width argument goes like this: 6084 if (spi && bus_width ! [all...] |
/freebsd-11-stable/sys/dev/amr/ |
H A D | amr_cam.c | 380 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
|