Home
last modified time | relevance | path

Searched refs:id_bit (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/w1/
H A Dw1-gpio.c125 u8 id_bit = w1_gpio_read_bit(dev); in w1_gpio_triplet() local
129 if (id_bit && comp_bit) in w1_gpio_triplet()
132 if (!id_bit && !comp_bit) { in w1_gpio_triplet()
137 bdir = id_bit; in w1_gpio_triplet()
138 retval = id_bit ? 0x05 : 0x02; in w1_gpio_triplet()
H A Dmxc_w1.c145 u8 id_bit = mxc_w1_touch_bit(pdata, 1); in mxc_w1_triplet() local
149 if (id_bit && comp_bit) in mxc_w1_triplet()
152 if (!id_bit && !comp_bit) { in mxc_w1_triplet()
157 bdir = id_bit; in mxc_w1_triplet()
158 retval = id_bit ? 0x05 : 0x02; in mxc_w1_triplet()
/openbmc/linux/drivers/w1/
H A Dw1_io.c198 u8 id_bit = w1_touch_bit(dev, 1); in w1_triplet() local
202 if (id_bit && comp_bit) in w1_triplet()
205 if (!id_bit && !comp_bit) { in w1_triplet()
210 bdir = id_bit; in w1_triplet()
211 retval = id_bit ? 0x05 : 0x02; in w1_triplet()
/openbmc/linux/drivers/w1/masters/
H A Domap_hdq.c361 u8 id_bit, comp_bit; in omap_w1_triplet() local
396 id_bit = (hdq_reg_in(_hdq, OMAP_HDQ_RX_DATA) & 0x01); in omap_w1_triplet()
414 if (id_bit && comp_bit) { in omap_w1_triplet()
418 if (!id_bit && !comp_bit) { in omap_w1_triplet()
423 bdir = id_bit; in omap_w1_triplet()
424 ret = id_bit ? 0x05 : 0x02; in omap_w1_triplet()