Lines Matching refs:sh_mobile_i2c_data

114 struct sh_mobile_i2c_data {  struct
144 int (*setup)(struct sh_mobile_i2c_data *pd); argument
188 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr()
196 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd()
201 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr()
241 static int sh_mobile_i2c_check_timing(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_check_timing()
267 static int sh_mobile_i2c_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_init()
294 static int sh_mobile_i2c_v2_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_v2_init()
306 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, in i2c_op()
356 static bool sh_mobile_i2c_is_first_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_first_byte()
361 static void sh_mobile_i2c_get_data(struct sh_mobile_i2c_data *pd, in sh_mobile_i2c_get_data()
373 static int sh_mobile_i2c_isr_tx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_tx()
389 static int sh_mobile_i2c_isr_rx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_rx()
439 struct sh_mobile_i2c_data *pd = dev_id; in sh_mobile_i2c_isr()
479 static void sh_mobile_i2c_dma_unmap(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_dma_unmap()
490 static void sh_mobile_i2c_cleanup_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_cleanup_dma()
504 struct sh_mobile_i2c_data *pd = data; in sh_mobile_i2c_dma_callback()
549 static void sh_mobile_i2c_xfer_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_xfer_dma()
603 static void start_ch(struct sh_mobile_i2c_data *pd, struct i2c_msg *usr_msg, in start_ch()
630 static int poll_dte(struct sh_mobile_i2c_data *pd) in poll_dte()
649 static int poll_busy(struct sh_mobile_i2c_data *pd) in poll_busy()
682 struct sh_mobile_i2c_data *pd = i2c_get_adapdata(adapter); in sh_mobile_i2c_xfer()
755 static int sh_mobile_i2c_r8a7740_workaround(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_r8a7740_workaround()
817 static void sh_mobile_i2c_release_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_release_dma()
830 static int sh_mobile_i2c_hook_irqs(struct platform_device *dev, struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_hook_irqs()
853 struct sh_mobile_i2c_data *pd; in sh_mobile_i2c_probe()
860 pd = devm_kzalloc(&dev->dev, sizeof(struct sh_mobile_i2c_data), GFP_KERNEL); in sh_mobile_i2c_probe()
942 struct sh_mobile_i2c_data *pd = platform_get_drvdata(dev); in sh_mobile_i2c_remove()