Lines Matching refs:master_ctl
30 ureg(master_ctl);
105 ctl = readw(&twi->master_ctl); in wait_for_completion()
108 &twi->master_ctl); in wait_for_completion()
110 writew(ctl | STOP, &twi->master_ctl); in wait_for_completion()
119 ctl = readw(&twi->master_ctl); in wait_for_completion()
120 writew(ctl | STOP, &twi->master_ctl); in wait_for_completion()
130 ctl = readw(&twi->master_ctl); in wait_for_completion()
133 writew(ctl, &twi->master_ctl); in wait_for_completion()
194 ctl = readw(&twi->master_ctl); in i2c_transfer()
197 writew(ctl, &twi->master_ctl); in i2c_transfer()
203 ctl = readw(&twi->master_ctl) & ~MEN; in i2c_transfer()
204 writew(ctl, &twi->master_ctl); in i2c_transfer()
226 writew(speed > 100000 ? FAST : 0, &twi->master_ctl); in adi_i2c_setspeed()