pxa_i2c
struct pxa_i2c *i2c = dev_id;
static int i2c_pxa_do_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num)
static int i2c_pxa_internal_xfer(struct pxa_i2c *i2c,
int (*xfer)(struct pxa_i2c *,
struct pxa_i2c *i2c = adap->algo_data;
static int i2c_pxa_pio_set_master(struct pxa_i2c *i2c)
static int i2c_pxa_do_pio_xfer(struct pxa_i2c *i2c,
struct pxa_i2c *i2c = adap->algo_data;
static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c,
struct pxa_i2c *i2c,
struct pxa_i2c *i2c = adap->algo_data;
struct pxa_i2c *i2c = adap->algo_data;
static int i2c_pxa_init_recovery(struct pxa_i2c *i2c)
struct pxa_i2c *i2c;
i2c = devm_kzalloc(&dev->dev, sizeof(struct pxa_i2c), GFP_KERNEL);
struct pxa_i2c *i2c = platform_get_drvdata(dev);
struct pxa_i2c *i2c = dev_get_drvdata(dev);
struct pxa_i2c *i2c = dev_get_drvdata(dev);
static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname)
static void i2c_pxa_scream_blue_murder(struct pxa_i2c *i2c, const char *why)
static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret);
static inline int i2c_pxa_is_slavemode(struct pxa_i2c *i2c)
static void i2c_pxa_abort(struct pxa_i2c *i2c)
static int i2c_pxa_wait_bus_not_busy(struct pxa_i2c *i2c)
static int i2c_pxa_wait_master(struct pxa_i2c *i2c)
static int i2c_pxa_set_master(struct pxa_i2c *i2c)
static int i2c_pxa_wait_slave(struct pxa_i2c *i2c)
static void i2c_pxa_set_slave(struct pxa_i2c *i2c, int errcode)
static void i2c_pxa_do_reset(struct pxa_i2c *i2c)
static void i2c_pxa_enable(struct pxa_i2c *i2c)
static void i2c_pxa_reset(struct pxa_i2c *i2c)
static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_slave_stop(struct pxa_i2c *i2c)
struct pxa_i2c *i2c = slave->adapter->algo_data;
struct pxa_i2c *i2c = slave->adapter->algo_data;
static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_slave_stop(struct pxa_i2c *i2c)
static inline void i2c_pxa_start_message(struct pxa_i2c *i2c)
static inline void i2c_pxa_stop_message(struct pxa_i2c *i2c)
static int i2c_pxa_send_mastercode(struct pxa_i2c *i2c)
static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret)
static void i2c_pxa_irq_txempty(struct pxa_i2c *i2c, u32 isr)
static void i2c_pxa_irq_rxfull(struct pxa_i2c *i2c, u32 isr)