Lines Matching refs:stu300_wr8

175 static inline void stu300_wr8(u32 value, void __iomem *address)  in stu300_wr8()  function
196 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_enable()
197 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_enable()
206 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_disable()
207 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_disable()
346 stu300_wr8(cr_value, dev->virtbase + I2C_CR); in stu300_start_and_await_event()
507 stu300_wr8(stu300_clktable[i].setting, in stu300_set_clk()
536 stu300_wr8((val & I2C_CCR_CC_MASK) | I2C_CCR_FMSM, in stu300_set_clk()
542 stu300_wr8((val & I2C_CCR_CC_MASK), in stu300_set_clk()
549 stu300_wr8(((val >> 7) & 0x1F), in stu300_set_clk()
563 stu300_wr8(0x00, dev->virtbase + I2C_CR); in stu300_init_hw()
568 stu300_wr8(0x00, dev->virtbase + I2C_OAR1); in stu300_init_hw()
585 stu300_wr8(I2C_CR_PERIPHERAL_ENABLE, in stu300_init_hw()
587 stu300_wr8(I2C_CR_PERIPHERAL_ENABLE, in stu300_init_hw()
619 stu300_wr8(val, dev->virtbase + I2C_DR); in stu300_send_address()
630 stu300_wr8(val, dev->virtbase + I2C_DR); in stu300_send_address()
648 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_send_address()
758 stu300_wr8(val, in stu300_xfer_msg()
772 stu300_wr8(msg->buf[i], in stu300_xfer_msg()
797 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_xfer_msg()
816 stu300_wr8(0x00, dev->virtbase + I2C_CR); in stu300_xfer_msg()
942 stu300_wr8(0x00, dev->virtbase + I2C_CR); in stu300_suspend()
972 stu300_wr8(0x00, dev->virtbase + I2C_CR); in stu300_remove()