Lines Matching full:bus_master

54 	if (dev->bus_master->touch_bit)  in w1_touch_bit()
55 return dev->bus_master->touch_bit(dev->bus_master->data, bit); in w1_touch_bit()
70 * Only call if dev->bus_master->touch_bit is NULL
79 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_write_bit()
81 dev->bus_master->write_bit(dev->bus_master->data, 1); in w1_write_bit()
84 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_write_bit()
86 dev->bus_master->write_bit(dev->bus_master->data, 1); in w1_write_bit()
104 dev->enable_pullup && dev->bus_master->set_pullup) { in w1_pre_write()
105 dev->bus_master->set_pullup(dev->bus_master->data, in w1_pre_write()
121 if (dev->enable_pullup && dev->bus_master->set_pullup) in w1_post_write()
122 dev->bus_master->set_pullup(dev->bus_master->data, 0); in w1_post_write()
138 if (dev->bus_master->write_byte) { in w1_write_8()
140 dev->bus_master->write_byte(dev->bus_master->data, byte); in w1_write_8()
157 * Only call if dev->bus_master->touch_bit is NULL
166 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_read_bit()
168 dev->bus_master->write_bit(dev->bus_master->data, 1); in w1_read_bit()
171 result = dev->bus_master->read_bit(dev->bus_master->data); in w1_read_bit()
195 if (dev->bus_master->triplet) in w1_triplet()
196 return dev->bus_master->triplet(dev->bus_master->data, bdir); in w1_triplet()
214 if (dev->bus_master->touch_bit) in w1_triplet()
234 if (dev->bus_master->read_byte) in w1_read_8()
235 res = dev->bus_master->read_byte(dev->bus_master->data); in w1_read_8()
254 if (dev->bus_master->write_block) { in w1_write_block()
256 dev->bus_master->write_block(dev->bus_master->data, buf, len); in w1_write_block()
301 if (dev->bus_master->read_block) in w1_read_block()
302 ret = dev->bus_master->read_block(dev->bus_master->data, buf, len); in w1_read_block()
325 if (dev->bus_master->reset_bus) in w1_reset_bus()
326 result = dev->bus_master->reset_bus(dev->bus_master->data) & 0x1; in w1_reset_bus()
328 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_reset_bus()
337 dev->bus_master->write_bit(dev->bus_master->data, 1); in w1_reset_bus()
340 result = dev->bus_master->read_bit(dev->bus_master->data) & 0x1; in w1_reset_bus()
369 if (dev->bus_master->search) in w1_search_devices()
370 dev->bus_master->search(dev->bus_master->data, dev, in w1_search_devices()