Lines Matching refs:ic_con
494 union ic_con_register ic_con; in i2c_dw_setup() local
498 ic_con.raw = 0U; in i2c_dw_setup()
516 ic_con.bits.master_mode = 1U; in i2c_dw_setup()
517 ic_con.bits.slave_disable = 1U; in i2c_dw_setup()
522 ic_con.bits.restart_en = 1U; in i2c_dw_setup()
527 ic_con.bits.addr_master_10bit = 1U; in i2c_dw_setup()
528 ic_con.bits.addr_slave_10bit = 1U; in i2c_dw_setup()
537 ic_con.bits.speed = I2C_DW_SPEED_STANDARD; in i2c_dw_setup()
546 ic_con.bits.speed = I2C_DW_SPEED_FAST; in i2c_dw_setup()
557 ic_con.bits.speed = I2C_DW_SPEED_HIGH; in i2c_dw_setup()
569 write_con(ic_con.raw, reg_base); in i2c_dw_setup()
885 union ic_con_register ic_con; in i2c_dw_set_master_mode() local
889 ic_con.bits.master_mode = 1U; in i2c_dw_set_master_mode()
890 ic_con.bits.slave_disable = 1U; in i2c_dw_set_master_mode()
891 ic_con.bits.rx_fifo_full = 0U; in i2c_dw_set_master_mode()
892 write_con(ic_con.raw, reg_base); in i2c_dw_set_master_mode()
907 union ic_con_register ic_con; in i2c_dw_set_slave_mode() local
909 ic_con.raw = read_con(reg_base); in i2c_dw_set_slave_mode()
913 ic_con.bits.master_mode = 0U; in i2c_dw_set_slave_mode()
914 ic_con.bits.slave_disable = 0U; in i2c_dw_set_slave_mode()
915 ic_con.bits.rx_fifo_full = 1U; in i2c_dw_set_slave_mode()
916 ic_con.bits.restart_en = 1U; in i2c_dw_set_slave_mode()
917 ic_con.bits.stop_det = 1U; in i2c_dw_set_slave_mode()
919 write_con(ic_con.raw, reg_base); in i2c_dw_set_slave_mode()
1035 union ic_con_register ic_con; in i2c_dw_initialize() local
1111 ic_con.raw = read_con(reg_base); in i2c_dw_initialize()
1112 if (ic_con.bits.speed == I2C_DW_SPEED_HIGH) { in i2c_dw_initialize()