Lines Matching refs:pxa_i2c

173 struct pxa_i2c {  struct
298 static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) in i2c_pxa_show_state()
306 static void i2c_pxa_scream_blue_murder(struct pxa_i2c *i2c, const char *why) in i2c_pxa_scream_blue_murder()
335 static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret);
338 static inline int i2c_pxa_is_slavemode(struct pxa_i2c *i2c) in i2c_pxa_is_slavemode()
343 static void i2c_pxa_abort(struct pxa_i2c *i2c) in i2c_pxa_abort()
370 static int i2c_pxa_wait_bus_not_busy(struct pxa_i2c *i2c) in i2c_pxa_wait_bus_not_busy()
388 static int i2c_pxa_wait_master(struct pxa_i2c *i2c) in i2c_pxa_wait_master()
422 static int i2c_pxa_set_master(struct pxa_i2c *i2c) in i2c_pxa_set_master()
440 static int i2c_pxa_wait_slave(struct pxa_i2c *i2c) in i2c_pxa_wait_slave()
473 static void i2c_pxa_set_slave(struct pxa_i2c *i2c, int errcode) in i2c_pxa_set_slave()
507 static void i2c_pxa_reset(struct pxa_i2c *i2c) in i2c_pxa_reset()
544 static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_txempty()
559 static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_rxfull()
569 static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_start()
606 static void i2c_pxa_slave_stop(struct pxa_i2c *i2c) in i2c_pxa_slave_stop()
625 static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_txempty()
635 static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_rxfull()
640 static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_start()
669 static void i2c_pxa_slave_stop(struct pxa_i2c *i2c) in i2c_pxa_slave_stop()
690 static inline void i2c_pxa_start_message(struct pxa_i2c *i2c) in i2c_pxa_start_message()
707 static inline void i2c_pxa_stop_message(struct pxa_i2c *i2c) in i2c_pxa_stop_message()
717 static int i2c_pxa_pio_set_master(struct pxa_i2c *i2c) in i2c_pxa_pio_set_master()
751 static int i2c_pxa_send_mastercode(struct pxa_i2c *i2c) in i2c_pxa_send_mastercode()
773 static int i2c_pxa_do_pio_xfer(struct pxa_i2c *i2c, in i2c_pxa_do_pio_xfer()
815 static int i2c_pxa_do_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num) in i2c_pxa_do_xfer()
881 struct pxa_i2c *i2c = adap->algo_data; in i2c_pxa_pio_xfer()
910 static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret) in i2c_pxa_master_complete()
922 static void i2c_pxa_irq_txempty(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_irq_txempty()
1035 static void i2c_pxa_irq_rxfull(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_irq_rxfull()
1066 struct pxa_i2c *i2c = dev_id; in i2c_pxa_handler()
1116 struct pxa_i2c *i2c = adap->algo_data; in i2c_pxa_xfer()
1160 static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c, in i2c_pxa_probe_dt()
1184 struct pxa_i2c *i2c, in i2c_pxa_probe_pdata()
1207 struct pxa_i2c *i2c; in i2c_pxa_probe()
1211 i2c = devm_kzalloc(&dev->dev, sizeof(struct pxa_i2c), GFP_KERNEL); in i2c_pxa_probe()
1334 struct pxa_i2c *i2c = platform_get_drvdata(dev); in i2c_pxa_remove()
1346 struct pxa_i2c *i2c = dev_get_drvdata(dev); in i2c_pxa_suspend_noirq()
1355 struct pxa_i2c *i2c = dev_get_drvdata(dev); in i2c_pxa_resume_noirq()