Lines Matching refs:kempld_write8
95 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_IACK); in kempld_i2c_process()
104 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process()
127 kempld_write8(pld, KEMPLD_I2C_DATA, addr); in kempld_i2c_process()
128 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_START); in kempld_i2c_process()
135 kempld_write8(pld, KEMPLD_I2C_DATA, i2c->msg->addr & 0xff); in kempld_i2c_process()
136 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_WRITE); in kempld_i2c_process()
147 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process()
170 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process()
176 kempld_write8(pld, KEMPLD_I2C_CMD, i2c->pos == (msg->len - 1) ? in kempld_i2c_process()
179 kempld_write8(pld, KEMPLD_I2C_DATA, msg->buf[i2c->pos++]); in kempld_i2c_process()
180 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_WRITE); in kempld_i2c_process()
234 kempld_write8(pld, KEMPLD_I2C_CTRL, ctrl); in kempld_i2c_device_init()
252 kempld_write8(pld, KEMPLD_I2C_PRELOW, prescale_corr & 0xff); in kempld_i2c_device_init()
253 kempld_write8(pld, KEMPLD_I2C_PREHIGH, prescale_corr >> 8); in kempld_i2c_device_init()
261 kempld_write8(pld, KEMPLD_CFG, cfg); in kempld_i2c_device_init()
264 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_IACK); in kempld_i2c_device_init()
266 kempld_write8(pld, KEMPLD_I2C_CTRL, ctrl); in kempld_i2c_device_init()
270 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_device_init()
345 kempld_write8(pld, KEMPLD_I2C_CTRL, ctrl); in kempld_i2c_remove()
364 kempld_write8(pld, KEMPLD_I2C_CTRL, ctrl); in kempld_i2c_suspend()