Lines Matching defs:spi
134 " spi [-f device] [-d r|w|rw] [-m mode] [-s max-speed] [-c count]\n"
136 " spi -i [-f device] [-v]\n"
137 " spi -h\n"
680 struct spigen_transfer spi;
691 bzero(&spi, sizeof(spi)); /* zero structure first */
695 spi.st_command.iov_base = bufr;
696 spi.st_command.iov_len = cbrw;
699 * The remaining members for spi.st_data are zero - all bytes are
705 err = ioctl(hdev, SPIGENIOC_TRANSFER, &spi) < 0 ? -1 : 0;