Lines Matching refs:omap_i2c_write_reg
255 static inline void omap_i2c_write_reg(struct omap_i2c_dev *i2c_dev,
308 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, 0);
309 omap_i2c_write_reg(dev, OMAP_I2C_PSC_REG, dev->pscstate);
310 omap_i2c_write_reg(dev, OMAP_I2C_SCLL_REG, dev->scllstate);
311 omap_i2c_write_reg(dev, OMAP_I2C_SCLH_REG, dev->sclhstate);
312 omap_i2c_write_reg(dev, OMAP_I2C_BUF_REG, dev->bufstate);
313 omap_i2c_write_reg(dev, OMAP_I2C_SYSC_REG, dev->syscstate);
314 omap_i2c_write_reg(dev, OMAP_I2C_WE_REG, dev->westate);
315 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, OMAP_I2C_CON_EN);
324 omap_i2c_write_reg(dev, OMAP_I2C_IE_REG, dev->iestate);
335 omap_i2c_write_reg(dev, OMAP_I2C_IRQENABLE_CLR, 1);
337 omap_i2c_write_reg(dev, OMAP_I2C_IE_REG, 0);
342 omap_i2c_write_reg(dev, OMAP_I2C_STAT_REG, dev->iestate);
362 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG,
366 omap_i2c_write_reg(dev, OMAP_I2C_SYSC_REG, SYSC_SOFTRESET_MASK);
370 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, OMAP_I2C_CON_EN);
384 omap_i2c_write_reg(dev, OMAP_I2C_SYSC_REG,
395 omap_i2c_write_reg(dev, OMAP_I2C_SYSC_REG,
404 omap_i2c_write_reg(dev, OMAP_I2C_WE_REG,
408 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, 0);
489 omap_i2c_write_reg(dev, OMAP_I2C_PSC_REG, psc);
492 omap_i2c_write_reg(dev, OMAP_I2C_SCLL_REG, scll);
493 omap_i2c_write_reg(dev, OMAP_I2C_SCLH_REG, sclh);
499 omap_i2c_write_reg(dev, OMAP_I2C_BUF_REG, buf);
503 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, OMAP_I2C_CON_EN);
515 omap_i2c_write_reg(dev, OMAP_I2C_IE_REG, dev->iestate);
560 omap_i2c_write_reg(dev, OMAP_I2C_SA_REG, msg->addr);
566 omap_i2c_write_reg(dev, OMAP_I2C_CNT_REG, dev->buf_len);
571 omap_i2c_write_reg(dev, OMAP_I2C_BUF_REG, w);
590 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, w);
612 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, w);
650 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, w);
706 omap_i2c_write_reg(dev, OMAP_I2C_STAT_REG, stat);
759 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, OMAP_I2C_CON_STP);
784 omap_i2c_write_reg(dev, OMAP_I2C_DATA_REG, w);
853 omap_i2c_write_reg(dev, OMAP_I2C_STAT_REG, stat &
859 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG,
964 omap_i2c_write_reg(dev, OMAP_I2C_DATA_REG, w);
1128 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, 0);
1152 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, 0);