Lines Matching refs:iic_wr
169 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data)
185 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr);
244 iic_wr(pd, ICIC, 0);
247 iic_wr(pd, ICCL, pd->iccl);
248 iic_wr(pd, ICCH, pd->icch);
254 iic_wr(pd, ICSR, 0);
255 iic_wr(pd, ICIC, 0);
277 iic_wr(pd, ICCR, 0x94);
280 iic_wr(pd, ICIC, ICIC_WAITE | ICIC_ALE | ICIC_TACKE);
281 iic_wr(pd, ICDR, data);
284 iic_wr(pd, ICDR, data);
287 iic_wr(pd, ICDR, data);
288 iic_wr(pd, ICCR, 0x90);
291 iic_wr(pd, ICCR, 0x81);
297 iic_wr(pd, ICIC,
299 iic_wr(pd, ICCR, 0xc0);
302 iic_wr(pd, ICIC,
305 iic_wr(pd, ICCR, 0xc0);
420 iic_wr(pd, ICSR, sr & ~(ICSR_AL | ICSR_TACK));
428 iic_wr(pd, ICSR, sr & ~ICSR_WAIT);
452 iic_wr(pd, ICCL, pd->iccl);
453 iic_wr(pd, ICCH, pd->icch);
460 iic_wr(pd, ICIC, ICIC_DTEE | ICIC_WAITE | ICIC_ALE | ICIC_TACKE);