Lines Matching refs:cdns_i2c
193 struct cdns_i2c { struct
228 #define to_cdns_i2c(_nb) container_of(_nb, struct cdns_i2c, \ argument
237 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold()
244 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk()
251 static void cdns_i2c_set_mode(enum cdns_i2c_mode mode, struct cdns_i2c *id) in cdns_i2c_set_mode()
294 static void cdns_i2c_slave_rcv_data(struct cdns_i2c *id) in cdns_i2c_slave_rcv_data()
315 static void cdns_i2c_slave_send_data(struct cdns_i2c *id) in cdns_i2c_slave_send_data()
342 struct cdns_i2c *id = ptr; in cdns_i2c_slave_isr()
403 struct cdns_i2c *id = ptr; in cdns_i2c_master_isr()
556 struct cdns_i2c *id = ptr; in cdns_i2c_isr()
568 static void cdns_i2c_mrecv(struct cdns_i2c *id) in cdns_i2c_mrecv()
664 static void cdns_i2c_msend(struct cdns_i2c *id) in cdns_i2c_msend()
732 struct cdns_i2c *id = adap->algo_data; in cdns_i2c_master_reset()
752 static int cdns_i2c_process_msg(struct cdns_i2c *id, struct i2c_msg *msg, in cdns_i2c_process_msg()
825 struct cdns_i2c *id = adap->algo_data; in cdns_i2c_master_xfer()
953 struct cdns_i2c *id = container_of(slave->adapter, struct cdns_i2c, in cdns_reg_slave()
977 struct cdns_i2c *id = container_of(slave->adapter, struct cdns_i2c, in cdns_unreg_slave()
1076 static int cdns_i2c_setclk(unsigned long clk_in, struct cdns_i2c *id) in cdns_i2c_setclk()
1120 struct cdns_i2c *id = to_cdns_i2c(nb); in cdns_i2c_clk_notifier_cb()
1172 struct cdns_i2c *xi2c = dev_get_drvdata(dev); in cdns_i2c_runtime_suspend()
1186 static void cdns_i2c_init(struct cdns_i2c *id) in cdns_i2c_init()
1209 struct cdns_i2c *xi2c = dev_get_drvdata(dev); in cdns_i2c_runtime_resume()
1245 static void cdns_i2c_detect_transfer_size(struct cdns_i2c *id) in cdns_i2c_detect_transfer_size()
1282 struct cdns_i2c *id; in cdns_i2c_probe()
1421 struct cdns_i2c *id = platform_get_drvdata(pdev); in cdns_i2c_remove()