Lines Matching defs:pd
193 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr()
201 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd()
206 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr()
246 static int sh_mobile_i2c_init(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_init()
298 static void activate_ch(struct sh_mobile_i2c_data *pd) in activate_ch()
315 static void deactivate_ch(struct sh_mobile_i2c_data *pd) in deactivate_ch()
329 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, in i2c_op()
382 static bool sh_mobile_i2c_is_first_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_first_byte()
387 static bool sh_mobile_i2c_is_last_byte(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_is_last_byte()
392 static void sh_mobile_i2c_get_data(struct sh_mobile_i2c_data *pd, in sh_mobile_i2c_get_data()
405 static int sh_mobile_i2c_isr_tx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_tx()
429 static int sh_mobile_i2c_isr_rx(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_isr_rx()
478 struct sh_mobile_i2c_data *pd = dev_id; in sh_mobile_i2c_isr() local
518 static void sh_mobile_i2c_dma_unmap(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_dma_unmap()
529 static void sh_mobile_i2c_cleanup_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_cleanup_dma()
543 struct sh_mobile_i2c_data *pd = data; in sh_mobile_i2c_dma_callback() local
588 static void sh_mobile_i2c_xfer_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_xfer_dma()
642 static int start_ch(struct sh_mobile_i2c_data *pd, struct i2c_msg *usr_msg, in start_ch()
674 static int poll_dte(struct sh_mobile_i2c_data *pd) in poll_dte()
693 static int poll_busy(struct sh_mobile_i2c_data *pd) in poll_busy()
726 struct sh_mobile_i2c_data *pd = i2c_get_adapdata(adapter); in sh_mobile_i2c_xfer() local
806 static void sh_mobile_i2c_release_dma(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_release_dma()
819 static int sh_mobile_i2c_hook_irqs(struct platform_device *dev, struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_hook_irqs()
843 struct sh_mobile_i2c_data *pd; in sh_mobile_i2c_probe() local
954 struct sh_mobile_i2c_data *pd = platform_get_drvdata(dev); in sh_mobile_i2c_remove() local