Searched refs:id_bit (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/w1/
H A Dw1_io.c182 * @bdir: the bit to write if both id_bit and comp_bit are 0
185 * bit 0 = id_bit
198 u8 id_bit = w1_touch_bit(dev, 1); local
202 if (id_bit && comp_bit)
205 if (!id_bit && !comp_bit) {
210 bdir = id_bit;
211 retval = id_bit ? 0x05 : 0x02;
/linux-master/drivers/w1/masters/
H A Domap_hdq.c361 u8 id_bit, comp_bit; local
382 /* read id_bit */
396 id_bit = (hdq_reg_in(_hdq, OMAP_HDQ_RX_DATA) & 0x01);
414 if (id_bit && comp_bit) {
418 if (!id_bit && !comp_bit) {
423 bdir = id_bit;
424 ret = id_bit ? 0x05 : 0x02;

Completed in 112 milliseconds