Lines Matching refs:bus_master
66 if (dev->bus_master->touch_bit)
67 return dev->bus_master->touch_bit(dev->bus_master->data, bit);
78 * Only call if dev->bus_master->touch_bit is NULL
83 dev->bus_master->write_bit(dev->bus_master->data, 0);
85 dev->bus_master->write_bit(dev->bus_master->data, 1);
88 dev->bus_master->write_bit(dev->bus_master->data, 0);
90 dev->bus_master->write_bit(dev->bus_master->data, 1);
105 dev->enable_pullup && dev->bus_master->set_pullup) {
106 dev->bus_master->set_pullup(dev->bus_master->data,
121 if (dev->enable_pullup && dev->bus_master->set_pullup)
122 dev->bus_master->set_pullup(dev->bus_master->data, 0);
139 if (dev->bus_master->write_byte) {
141 dev->bus_master->write_byte(dev->bus_master->data, byte);
156 * Only call if dev->bus_master->touch_bit is NULL
162 dev->bus_master->write_bit(dev->bus_master->data, 0);
164 dev->bus_master->write_bit(dev->bus_master->data, 1);
167 result = dev->bus_master->read_bit(dev->bus_master->data);
187 if (dev->bus_master->triplet)
188 return dev->bus_master->triplet(dev->bus_master->data, bdir);
206 if (dev->bus_master->touch_bit)
225 if (dev->bus_master->read_byte)
226 res = dev->bus_master->read_byte(dev->bus_master->data);
246 if (dev->bus_master->write_block) {
248 dev->bus_master->write_block(dev->bus_master->data, buf, len);
295 if (dev->bus_master->read_block)
296 ret = dev->bus_master->read_block(dev->bus_master->data, buf, len);
317 if (dev->bus_master->reset_bus)
318 result = dev->bus_master->reset_bus(dev->bus_master->data) & 0x1;
320 dev->bus_master->write_bit(dev->bus_master->data, 0);
329 dev->bus_master->write_bit(dev->bus_master->data, 1);
332 result = dev->bus_master->read_bit(dev->bus_master->data) & 0x1;
359 if (dev->bus_master->search)
360 dev->bus_master->search(dev->bus_master->data, dev,