Lines Matching refs:img_i2c_writel
414 static void img_i2c_writel(struct img_i2c *i2c, u32 offset, u32 value) in img_i2c_writel() function
439 img_i2c_writel(i2c, SCB_CORE_REV_REG, 0); in img_i2c_wr_rd_fence()
440 img_i2c_writel(i2c, SCB_CORE_REV_REG, 0); in img_i2c_wr_rd_fence()
454 img_i2c_writel(i2c, SCB_OVERRIDE_REG, in img_i2c_raw_op()
496 img_i2c_writel(i2c, SCB_OVERRIDE_REG, in img_i2c_atomic_op()
507 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_atomic_start()
514 img_i2c_writel(i2c, SCB_CONTROL_REG, 0); in img_i2c_soft_reset()
515 img_i2c_writel(i2c, SCB_CONTROL_REG, in img_i2c_soft_reset()
542 img_i2c_writel(i2c, SCB_CONTROL_REG, val); in img_i2c_transaction_halt()
560 img_i2c_writel(i2c, SCB_READ_FIFO_REG, 0xff); in img_i2c_read_fifo()
577 img_i2c_writel(i2c, SCB_WRITE_DATA_REG, *i2c->msg.buf); in img_i2c_write_fifo()
594 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_read()
595 img_i2c_writel(i2c, SCB_READ_ADDR_REG, i2c->msg.addr); in img_i2c_read()
596 img_i2c_writel(i2c, SCB_READ_COUNT_REG, i2c->msg.len); in img_i2c_read()
608 img_i2c_writel(i2c, SCB_WRITE_ADDR_REG, i2c->msg.addr); in img_i2c_write()
609 img_i2c_writel(i2c, SCB_WRITE_COUNT_REG, i2c->msg.len); in img_i2c_write()
615 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_write()
690 img_i2c_writel(i2c, SCB_OVERRIDE_REG, 0); in img_i2c_sequence()
708 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_reset_start()
722 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_stop_start()
807 img_i2c_writel(i2c, SCB_OVERRIDE_REG, 0); in img_i2c_atomic()
846 img_i2c_writel(i2c, SCB_INT_MASK_REG, in img_i2c_check_timer()
924 img_i2c_writel(i2c, SCB_INT_CLEAR_REG, int_status); in img_i2c_isr()
932 img_i2c_writel(i2c, SCB_CLEAR_REG, in img_i2c_isr()
975 img_i2c_writel(i2c, SCB_INT_CLEAR_REG, int_status & INT_LEVEL); in img_i2c_isr()
999 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_isr()
1093 img_i2c_writel(i2c, SCB_INT_CLEAR_REG, ~0); in img_i2c_xfer()
1094 img_i2c_writel(i2c, SCB_CLEAR_REG, ~0); in img_i2c_xfer()
1233 img_i2c_writel(i2c, SCB_CLK_SET_REG, data); in img_i2c_init()
1265 img_i2c_writel(i2c, SCB_TIME_TCKH_REG, tckh); in img_i2c_init()
1266 img_i2c_writel(i2c, SCB_TIME_TCKL_REG, tckl); in img_i2c_init()
1275 img_i2c_writel(i2c, SCB_TIME_TSDH_REG, data); in img_i2c_init()
1284 img_i2c_writel(i2c, SCB_TIME_TPL_REG, data); in img_i2c_init()
1290 img_i2c_writel(i2c, SCB_TIME_TPH_REG, data); in img_i2c_init()
1293 img_i2c_writel(i2c, SCB_TIME_TSDL_REG, data + tsdh + 2); in img_i2c_init()
1299 img_i2c_writel(i2c, SCB_TIME_TP2S_REG, data); in img_i2c_init()
1301 img_i2c_writel(i2c, SCB_TIME_TBI_REG, TIMEOUT_TBI); in img_i2c_init()
1302 img_i2c_writel(i2c, SCB_TIME_TSL_REG, TIMEOUT_TSL); in img_i2c_init()
1303 img_i2c_writel(i2c, SCB_TIME_TDL_REG, TIMEOUT_TDL); in img_i2c_init()
1309 img_i2c_writel(i2c, SCB_INT_MASK_REG, 0); in img_i2c_init()
1312 img_i2c_writel(i2c, SCB_INT_CLEAR_REG, ~0); in img_i2c_init()
1315 img_i2c_writel(i2c, SCB_CLEAR_REG, ~0); in img_i2c_init()
1318 img_i2c_writel(i2c, SCB_INT_MASK_REG, i2c->int_enable); in img_i2c_init()