Searched refs:bitpos (Results 1 – 1 of 1) sorted by relevance
219 unsigned char bitpos; /* bit position to receive */ in soft_spi_send() local223 bitpos = 0x80; in soft_spi_send()229 if (n & bitpos) in soft_spi_send()238 bitpos >>= 1; /* Shift for next bit position */ in soft_spi_send()250 unsigned char bitpos; /* bit position to receive */ in soft_spi_read() local254 bitpos = 0x80; in soft_spi_read()261 spi_byte |= bitpos; /* Set data accordingly */ in soft_spi_read()264 bitpos >>= 1; /* Shift for next bit position */ in soft_spi_read()