/* Generates a write-0 or write-1 cycle. Only call if dev->bus_master->touch_bit is NULL  */
static void w1_write_bit(struct w1_master *dev, int bit)
/* Generates a write-0 or write-1 cycle. Only call if dev->bus_master->touch_bit is NULL  */
static void w1_write_bit(struct w1_master *dev, int bit)
{
	if (bit) {
		dev->bus_master->write_bit(dev->bus_master->data, 0);
		w1_delay(6);
		dev->bus_master->write_bit(dev->bus_master->data, 1);
		w1_delay(64);
	} else {
		dev->bus_master->write_bit(dev->bus_master->data, 0);
		w1_delay(60);
		dev->bus_master->write_bit(dev->bus_master->data, 1);
		w1_delay(10);
	}
}