Searched refs:bdir (Results 1 – 3 of 3) sorted by relevance
185 u8 w1_triplet(struct w1_master *dev, int bdir) in w1_triplet() argument188 return dev->bus_master->triplet(dev->bus_master->data, bdir); in w1_triplet()199 retval = bdir ? 0x04 : 0; in w1_triplet()202 bdir = id_bit; in w1_triplet()207 w1_touch_bit(dev, bdir); in w1_triplet()209 w1_write_bit(dev, bdir); in w1_triplet()
207 u8 w1_triplet(struct w1_master *dev, int bdir);
343 int b, int bdir, in boundary_sub() argument347 bdir = bdir < 0 ? -1 : (bdir > 0 ? 1 : 0); in boundary_sub()349 *cdir = adir - bdir; in boundary_sub()359 unsigned int b, int bdir) in boundary_lt() argument366 if (bdir < 0) { in boundary_lt()368 bdir = 1; in boundary_lt()369 } else if (bdir > 0) in boundary_lt()370 bdir = 1; in boundary_lt()371 return a < b || (a == b && adir < bdir); in boundary_lt()