Lines Matching defs:bus_width
1360 speed *= (0x01 << spi->bus_width);
1409 && (spi->bus_width > 0)) {
1416 fprintf(stdout, "%dbit)", 8 * (0x01 << spi->bus_width));
5300 (0x01 << spi->bus_width) * 8);
6104 int bus_width = -1;
6180 bus_width = strtol(optarg, NULL, 0);
6181 if (bus_width < 0) {
6182 warnx("bus width %d is < 0", bus_width);
6344 * The bus_width argument goes like this:
6352 if (spi && bus_width != -1) {
6359 if ((bus_width == 16)
6364 } else if ((bus_width == 32)
6369 } else if ((bus_width != 8)
6370 && (bus_width != 16)
6371 && (bus_width != 32)) {
6372 warnx("Invalid bus width %d", bus_width);
6377 spi->bus_width = bus_width >> 4;
8056 cts->ios.bus_width = is_bw_4 == 1 ? bus_width_4 : bus_width_1;
8160 switch (cts->ios.bus_width) {
10023 " [-U][-W bus_width]\n"
10204 "-W bus_width set the bus width in bits (8, 16 or 32)\n"