Lines Matching defs:pxa_i2c

224 struct pxa_i2c {
353 static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname)
361 static void i2c_pxa_scream_blue_murder(struct pxa_i2c *i2c, const char *why)
390 static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret);
392 static inline int i2c_pxa_is_slavemode(struct pxa_i2c *i2c)
397 static void i2c_pxa_abort(struct pxa_i2c *i2c)
424 static int i2c_pxa_wait_bus_not_busy(struct pxa_i2c *i2c)
449 static int i2c_pxa_wait_master(struct pxa_i2c *i2c)
484 static int i2c_pxa_set_master(struct pxa_i2c *i2c)
502 static int i2c_pxa_wait_slave(struct pxa_i2c *i2c)
535 static void i2c_pxa_set_slave(struct pxa_i2c *i2c, int errcode)
569 static void i2c_pxa_do_reset(struct pxa_i2c *i2c)
591 static void i2c_pxa_enable(struct pxa_i2c *i2c)
598 static void i2c_pxa_reset(struct pxa_i2c *i2c)
614 static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr)
630 static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr)
640 static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr)
686 static void i2c_pxa_slave_stop(struct pxa_i2c *i2c)
707 struct pxa_i2c *i2c = slave->adapter->algo_data;
725 struct pxa_i2c *i2c = slave->adapter->algo_data;
737 static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr)
747 static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr)
752 static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr)
781 static void i2c_pxa_slave_stop(struct pxa_i2c *i2c)
792 static inline void i2c_pxa_start_message(struct pxa_i2c *i2c)
809 static inline void i2c_pxa_stop_message(struct pxa_i2c *i2c)
825 static int i2c_pxa_send_mastercode(struct pxa_i2c *i2c)
850 static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret)
862 static void i2c_pxa_irq_txempty(struct pxa_i2c *i2c, u32 isr)
969 static void i2c_pxa_irq_rxfull(struct pxa_i2c *i2c, u32 isr)
1000 struct pxa_i2c *i2c = dev_id;
1050 static int i2c_pxa_do_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num)
1115 static int i2c_pxa_internal_xfer(struct pxa_i2c *i2c,
1117 int (*xfer)(struct pxa_i2c *,
1144 struct pxa_i2c *i2c = adap->algo_data;
1165 static int i2c_pxa_pio_set_master(struct pxa_i2c *i2c)
1191 static int i2c_pxa_do_pio_xfer(struct pxa_i2c *i2c,
1233 struct pxa_i2c *i2c = adap->algo_data;
1254 static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c,
1278 struct pxa_i2c *i2c,
1299 struct pxa_i2c *i2c = adap->algo_data;
1314 struct pxa_i2c *i2c = adap->algo_data;
1336 static int i2c_pxa_init_recovery(struct pxa_i2c *i2c)
1426 struct pxa_i2c *i2c;
1430 i2c = devm_kzalloc(&dev->dev, sizeof(struct pxa_i2c), GFP_KERNEL);
1466 strlcpy(i2c->adap.name, "pxa_i2c-i2c", sizeof(i2c->adap.name));
1549 struct pxa_i2c *i2c = platform_get_drvdata(dev);
1561 struct pxa_i2c *i2c = dev_get_drvdata(dev);
1570 struct pxa_i2c *i2c = dev_get_drvdata(dev);