Lines Matching refs:bus_width
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;
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 != -1) {
5763 if ((bus_width == 16)
5768 } else if ((bus_width == 32)
5773 } else if ((bus_width != 8)
5774 && (bus_width != 16)
5775 && (bus_width != 32)) {
5776 warnx("Invalid bus width %d", bus_width);
5781 spi->bus_width = bus_width >> 4;
8879 " [-U][-W bus_width]\n"
9038 "-W bus_width set the bus width in bits (8, 16 or 32)\n"