Lines Matching defs:bit
46 * cbus_send_bit - sends one bit over the bus
48 * @bit: one bit of information to send
50 static void cbus_send_bit(struct cbus_host *host, unsigned bit)
52 gpiod_set_value(host->dat, bit ? 1 : 0);
72 * cbus_receive_bit - receives one bit from the bus
86 * cbus_receive_word - receives 16-bit word from the bus
95 int bit = cbus_receive_bit(host);
97 if (bit < 0)
98 return bit;
100 if (bit)