Lines Matching defs:pd
197 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr()
205 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd()
210 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr()
250 static int sh_mobile_i2c_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_init()
302 static void activate_ch(struct sh_mobile_i2c_data *pd) in activate_ch()
319 static void deactivate_ch(struct sh_mobile_i2c_data *pd) in deactivate_ch()
333 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, in i2c_op()
386 static bool sh_mobile_i2c_is_first_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_first_byte()
391 static bool sh_mobile_i2c_is_last_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_last_byte()
396 static void sh_mobile_i2c_get_data(struct sh_mobile_i2c_data *pd, in sh_mobile_i2c_get_data()
409 static int sh_mobile_i2c_isr_tx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_tx()
433 static int sh_mobile_i2c_isr_rx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_rx()
482 struct sh_mobile_i2c_data *pd = dev_id; in sh_mobile_i2c_isr() local
522 static void sh_mobile_i2c_dma_unmap(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_dma_unmap()
533 static void sh_mobile_i2c_cleanup_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_cleanup_dma()
547 struct sh_mobile_i2c_data *pd = data; in sh_mobile_i2c_dma_callback() local
592 static void sh_mobile_i2c_xfer_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_xfer_dma()
646 static int start_ch(struct sh_mobile_i2c_data *pd, struct i2c_msg *usr_msg, in start_ch()
678 static int poll_dte(struct sh_mobile_i2c_data *pd) in poll_dte()
697 static int poll_busy(struct sh_mobile_i2c_data *pd) in poll_busy()
730 struct sh_mobile_i2c_data *pd = i2c_get_adapdata(adapter); in sh_mobile_i2c_xfer() local
794 static void sh_mobile_i2c_r8a7740_workaround(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_r8a7740_workaround()
845 static void sh_mobile_i2c_release_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_release_dma()
858 static int sh_mobile_i2c_hook_irqs(struct platform_device *dev, struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_hook_irqs()
882 struct sh_mobile_i2c_data *pd; in sh_mobile_i2c_probe() local
996 struct sh_mobile_i2c_data *pd = platform_get_drvdata(dev); in sh_mobile_i2c_remove() local