Lines Matching refs:pch_udc_dev
296 struct pch_udc_dev *dev;
351 struct pch_udc_dev { struct
379 #define to_pch_udc(g) (container_of((g), struct pch_udc_dev, gadget)) argument
423 static inline u32 pch_udc_readl(struct pch_udc_dev *dev, unsigned long reg) in pch_udc_readl()
428 static inline void pch_udc_writel(struct pch_udc_dev *dev, in pch_udc_writel()
434 static inline void pch_udc_bit_set(struct pch_udc_dev *dev, in pch_udc_bit_set()
441 static inline void pch_udc_bit_clr(struct pch_udc_dev *dev, in pch_udc_bit_clr()
477 static void pch_udc_csr_busy(struct pch_udc_dev *dev) in pch_udc_csr_busy()
495 static void pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, in pch_udc_write_csr()
512 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
526 static inline void pch_udc_rmt_wakeup(struct pch_udc_dev *dev) in pch_udc_rmt_wakeup()
538 static inline int pch_udc_get_frame(struct pch_udc_dev *dev) in pch_udc_get_frame()
548 static inline void pch_udc_clear_selfpowered(struct pch_udc_dev *dev) in pch_udc_clear_selfpowered()
557 static inline void pch_udc_set_selfpowered(struct pch_udc_dev *dev) in pch_udc_set_selfpowered()
566 static inline void pch_udc_set_disconnect(struct pch_udc_dev *dev) in pch_udc_set_disconnect()
575 static void pch_udc_clear_disconnect(struct pch_udc_dev *dev) in pch_udc_clear_disconnect()
590 static void pch_udc_init(struct pch_udc_dev *dev);
591 static void pch_udc_reconnect(struct pch_udc_dev *dev) in pch_udc_reconnect()
615 static inline void pch_udc_vbus_session(struct pch_udc_dev *dev, in pch_udc_vbus_session()
757 static inline void pch_udc_set_dma(struct pch_udc_dev *dev, int dir) in pch_udc_set_dma()
773 static inline void pch_udc_clear_dma(struct pch_udc_dev *dev, int dir) in pch_udc_clear_dma()
786 static inline void pch_udc_set_csr_done(struct pch_udc_dev *dev) in pch_udc_set_csr_done()
796 static inline void pch_udc_disable_interrupts(struct pch_udc_dev *dev, in pch_udc_disable_interrupts()
807 static inline void pch_udc_enable_interrupts(struct pch_udc_dev *dev, in pch_udc_enable_interrupts()
818 static inline void pch_udc_disable_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_disable_ep_interrupts()
829 static inline void pch_udc_enable_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_enable_ep_interrupts()
840 static inline u32 pch_udc_read_device_interrupts(struct pch_udc_dev *dev) in pch_udc_read_device_interrupts()
850 static inline void pch_udc_write_device_interrupts(struct pch_udc_dev *dev, in pch_udc_write_device_interrupts()
861 static inline u32 pch_udc_read_ep_interrupts(struct pch_udc_dev *dev) in pch_udc_read_ep_interrupts()
871 static inline void pch_udc_write_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_write_ep_interrupts()
882 static inline u32 pch_udc_read_device_status(struct pch_udc_dev *dev) in pch_udc_read_device_status()
946 struct pch_udc_dev *dev = ep->dev; in pch_udc_ep_clear_nak()
1059 static void pch_udc_init(struct pch_udc_dev *dev) in pch_udc_init()
1098 static void pch_udc_exit(struct pch_udc_dev *dev) in pch_udc_exit()
1118 struct pch_udc_dev *dev; in pch_udc_pcd_get_frame()
1122 dev = container_of(gadget, struct pch_udc_dev, gadget); in pch_udc_pcd_get_frame()
1136 struct pch_udc_dev *dev; in pch_udc_pcd_wakeup()
1141 dev = container_of(gadget, struct pch_udc_dev, gadget); in pch_udc_pcd_wakeup()
1160 struct pch_udc_dev *dev; in pch_udc_pcd_selfpowered()
1165 dev = container_of(gadget, struct pch_udc_dev, gadget); in pch_udc_pcd_selfpowered()
1185 struct pch_udc_dev *dev; in pch_udc_pcd_pullup()
1189 dev = container_of(gadget, struct pch_udc_dev, gadget); in pch_udc_pcd_pullup()
1217 struct pch_udc_dev *dev; in pch_udc_pcd_vbus_session()
1221 dev = container_of(gadget, struct pch_udc_dev, gadget); in pch_udc_pcd_vbus_session()
1266 static int pch_vbus_gpio_get_value(struct pch_udc_dev *dev) in pch_vbus_gpio_get_value()
1288 struct pch_udc_dev *dev = in pch_vbus_gpio_work_fall()
1289 container_of(vbus_gpio, struct pch_udc_dev, vbus_gpio); in pch_vbus_gpio_work_fall()
1329 struct pch_udc_dev *dev = in pch_vbus_gpio_work_rise()
1330 container_of(vbus_gpio, struct pch_udc_dev, vbus_gpio); in pch_vbus_gpio_work_rise()
1357 struct pch_udc_dev *dev = (struct pch_udc_dev *)data; in pch_vbus_gpio_irq()
1379 static int pch_vbus_gpio_init(struct pch_udc_dev *dev, int vbus_gpio_port) in pch_vbus_gpio_init()
1430 static void pch_vbus_gpio_free(struct pch_udc_dev *dev) in pch_vbus_gpio_free()
1451 struct pch_udc_dev *dev; in complete_req()
1523 static void pch_udc_free_dma_chain(struct pch_udc_dev *dev, in pch_udc_free_dma_chain()
1639 struct pch_udc_dev *dev = ep->dev; in process_zlp()
1702 struct pch_udc_dev *dev; in pch_udc_pcd_ep_enable()
1735 struct pch_udc_dev *dev; in pch_udc_pcd_ep_disable()
1773 struct pch_udc_dev *dev; in pch_udc_alloc_request()
1814 struct pch_udc_dev *dev; in pch_udc_free_request()
1849 struct pch_udc_dev *dev; in pch_udc_pcd_queue()
1951 struct pch_udc_dev *dev; in pch_udc_pcd_dequeue()
1988 struct pch_udc_dev *dev; in pch_udc_pcd_set_halt()
2033 struct pch_udc_dev *dev; in pch_udc_pcd_set_wedge()
2152 struct pch_udc_dev *dev = ep->dev; in pch_udc_complete_transfer()
2192 struct pch_udc_dev *dev = ep->dev; in pch_udc_complete_receiver()
2251 static void pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_in()
2295 static void pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_out()
2350 static void pch_udc_svc_control_in(struct pch_udc_dev *dev) in pch_udc_svc_control_in()
2390 static void pch_udc_svc_control_out(struct pch_udc_dev *dev) in pch_udc_svc_control_out()
2473 static void pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) in pch_udc_postsvc_epinters()
2492 static void pch_udc_read_all_epstatus(struct pch_udc_dev *dev, u32 ep_intr) in pch_udc_read_all_epstatus()
2518 static void pch_udc_activate_control_ep(struct pch_udc_dev *dev) in pch_udc_activate_control_ep()
2564 static void pch_udc_svc_ur_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_ur_interrupt()
2608 static void pch_udc_svc_enum_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_enum_interrupt()
2647 static void pch_udc_svc_intf_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_intf_interrupt()
2688 static void pch_udc_svc_cfg_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_cfg_interrupt()
2726 static void pch_udc_dev_isr(struct pch_udc_dev *dev, u32 dev_intr) in pch_udc_dev_isr()
2789 struct pch_udc_dev *dev = (struct pch_udc_dev *) pdev; in pch_udc_isr()
2847 static void pch_udc_setup_ep0(struct pch_udc_dev *dev) in pch_udc_setup_ep0()
2864 struct pch_udc_dev *dev = dev_get_drvdata(pdev); in gadget_release()
2873 static void pch_udc_pcd_reinit(struct pch_udc_dev *dev) in pch_udc_pcd_reinit()
2926 static int pch_udc_pcd_init(struct pch_udc_dev *dev) in pch_udc_pcd_init()
2938 static int init_dma_pools(struct pch_udc_dev *dev) in init_dma_pools()
2996 struct pch_udc_dev *dev = to_pch_udc(g); in pch_udc_start()
3014 struct pch_udc_dev *dev = to_pch_udc(g); in pch_udc_stop()
3030 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_shutdown()
3041 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_remove()
3092 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_suspend()
3134 struct pch_udc_dev *dev; in pch_udc_probe()