Lines Matching refs:cdns_i2c
147 struct cdns_i2c { struct
172 #define to_cdns_i2c(_nb) container_of(_nb, struct cdns_i2c, \ argument
181 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold()
188 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk()
209 struct cdns_i2c *id = ptr; in cdns_i2c_isr()
344 static void cdns_i2c_mrecv(struct cdns_i2c *id) in cdns_i2c_mrecv()
408 static void cdns_i2c_msend(struct cdns_i2c *id) in cdns_i2c_msend()
476 struct cdns_i2c *id = adap->algo_data; in cdns_i2c_master_reset()
496 static int cdns_i2c_process_msg(struct cdns_i2c *id, struct i2c_msg *msg, in cdns_i2c_process_msg()
569 struct cdns_i2c *id = adap->algo_data; in cdns_i2c_master_xfer()
733 static int cdns_i2c_setclk(unsigned long clk_in, struct cdns_i2c *id) in cdns_i2c_setclk()
773 struct cdns_i2c *id = to_cdns_i2c(nb); in cdns_i2c_clk_notifier_cb()
825 struct cdns_i2c *xi2c = dev_get_drvdata(dev); in cdns_i2c_runtime_suspend()
842 struct cdns_i2c *xi2c = dev_get_drvdata(dev); in cdns_i2c_runtime_resume()
883 struct cdns_i2c *id; in cdns_i2c_probe()
998 struct cdns_i2c *id = platform_get_drvdata(pdev); in cdns_i2c_remove()