Lines Matching defs:pd
185 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr()
193 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd()
198 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr()
238 static int sh_mobile_i2c_check_timing(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_check_timing()
264 static int sh_mobile_i2c_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_init()
291 static int sh_mobile_i2c_v2_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_v2_init()
303 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, enum sh_mobile_i2c_op op) in i2c_op()
354 static int sh_mobile_i2c_isr_tx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_tx()
370 static int sh_mobile_i2c_isr_rx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_rx()
404 struct sh_mobile_i2c_data *pd = dev_id; in sh_mobile_i2c_isr() local
445 static void sh_mobile_i2c_dma_unmap(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_dma_unmap()
456 static void sh_mobile_i2c_cleanup_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_cleanup_dma()
470 struct sh_mobile_i2c_data *pd = data; in sh_mobile_i2c_dma_callback() local
515 static void sh_mobile_i2c_xfer_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_xfer_dma()
569 static void start_ch(struct sh_mobile_i2c_data *pd, struct i2c_msg *usr_msg, in start_ch()
599 static int poll_dte(struct sh_mobile_i2c_data *pd) in poll_dte()
618 static int poll_busy(struct sh_mobile_i2c_data *pd) in poll_busy()
647 static int sh_mobile_xfer(struct sh_mobile_i2c_data *pd, in sh_mobile_xfer()
728 struct sh_mobile_i2c_data *pd = i2c_get_adapdata(adapter); in sh_mobile_i2c_xfer() local
738 struct sh_mobile_i2c_data *pd = i2c_get_adapdata(adapter); in sh_mobile_i2c_xfer_atomic() local
762 static int sh_mobile_i2c_r8a7740_workaround(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_r8a7740_workaround()
826 static void sh_mobile_i2c_release_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_release_dma()
839 static int sh_mobile_i2c_hook_irqs(struct platform_device *dev, struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_hook_irqs()
862 struct sh_mobile_i2c_data *pd; in sh_mobile_i2c_probe() local
951 struct sh_mobile_i2c_data *pd = platform_get_drvdata(dev); in sh_mobile_i2c_remove() local
962 struct sh_mobile_i2c_data *pd = dev_get_drvdata(dev); in sh_mobile_i2c_suspend() local
970 struct sh_mobile_i2c_data *pd = dev_get_drvdata(dev); in sh_mobile_i2c_resume() local