Lines Matching defs:dev
289 struct pch_udc_dev *dev; member
400 static inline u32 pch_udc_readl(struct pch_udc_dev *dev, unsigned long reg) in pch_udc_readl()
405 static inline void pch_udc_writel(struct pch_udc_dev *dev, in pch_udc_writel()
411 static inline void pch_udc_bit_set(struct pch_udc_dev *dev, in pch_udc_bit_set()
418 static inline void pch_udc_bit_clr(struct pch_udc_dev *dev, in pch_udc_bit_clr()
454 static void pch_udc_csr_busy(struct pch_udc_dev *dev) in pch_udc_csr_busy()
472 static void pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, in pch_udc_write_csr()
489 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
503 static inline void pch_udc_rmt_wakeup(struct pch_udc_dev *dev) in pch_udc_rmt_wakeup()
515 static inline int pch_udc_get_frame(struct pch_udc_dev *dev) in pch_udc_get_frame()
525 static inline void pch_udc_clear_selfpowered(struct pch_udc_dev *dev) in pch_udc_clear_selfpowered()
534 static inline void pch_udc_set_selfpowered(struct pch_udc_dev *dev) in pch_udc_set_selfpowered()
543 static inline void pch_udc_set_disconnect(struct pch_udc_dev *dev) in pch_udc_set_disconnect()
552 static void pch_udc_clear_disconnect(struct pch_udc_dev *dev) in pch_udc_clear_disconnect()
569 static void pch_udc_reconnect(struct pch_udc_dev *dev) in pch_udc_reconnect()
593 static inline void pch_udc_vbus_session(struct pch_udc_dev *dev, in pch_udc_vbus_session()
740 static inline void pch_udc_set_dma(struct pch_udc_dev *dev, int dir) in pch_udc_set_dma()
756 static inline void pch_udc_clear_dma(struct pch_udc_dev *dev, int dir) in pch_udc_clear_dma()
769 static inline void pch_udc_set_csr_done(struct pch_udc_dev *dev) in pch_udc_set_csr_done()
779 static inline void pch_udc_disable_interrupts(struct pch_udc_dev *dev, in pch_udc_disable_interrupts()
790 static inline void pch_udc_enable_interrupts(struct pch_udc_dev *dev, in pch_udc_enable_interrupts()
801 static inline void pch_udc_disable_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_disable_ep_interrupts()
812 static inline void pch_udc_enable_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_enable_ep_interrupts()
823 static inline u32 pch_udc_read_device_interrupts(struct pch_udc_dev *dev) in pch_udc_read_device_interrupts()
833 static inline void pch_udc_write_device_interrupts(struct pch_udc_dev *dev, in pch_udc_write_device_interrupts()
844 static inline u32 pch_udc_read_ep_interrupts(struct pch_udc_dev *dev) in pch_udc_read_ep_interrupts()
854 static inline void pch_udc_write_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_write_ep_interrupts()
865 static inline u32 pch_udc_read_device_status(struct pch_udc_dev *dev) in pch_udc_read_device_status()
929 struct pch_udc_dev *dev = ep->dev; in pch_udc_ep_clear_nak() local
1043 static void pch_udc_init(struct pch_udc_dev *dev) in pch_udc_init()
1082 static void pch_udc_exit(struct pch_udc_dev *dev) in pch_udc_exit()
1102 struct pch_udc_dev *dev; in pch_udc_pcd_get_frame() local
1120 struct pch_udc_dev *dev; in pch_udc_pcd_wakeup() local
1144 struct pch_udc_dev *dev; in pch_udc_pcd_selfpowered() local
1169 struct pch_udc_dev *dev; in pch_udc_pcd_pullup() local
1206 struct pch_udc_dev *dev; in pch_udc_pcd_vbus_session() local
1255 static int pch_vbus_gpio_get_value(struct pch_udc_dev *dev) in pch_vbus_gpio_get_value()
1277 struct pch_udc_dev *dev = in pch_vbus_gpio_work_fall() local
1318 struct pch_udc_dev *dev = in pch_vbus_gpio_work_rise() local
1346 struct pch_udc_dev *dev = (struct pch_udc_dev *)data; in pch_vbus_gpio_irq() local
1367 static int pch_vbus_gpio_init(struct pch_udc_dev *dev) in pch_vbus_gpio_init()
1408 static void pch_vbus_gpio_free(struct pch_udc_dev *dev) in pch_vbus_gpio_free()
1426 struct pch_udc_dev *dev; in complete_req() local
1472 static void pch_udc_free_dma_chain(struct pch_udc_dev *dev, in pch_udc_free_dma_chain()
1584 struct pch_udc_dev *dev = ep->dev; in process_zlp() local
1647 struct pch_udc_dev *dev; in pch_udc_pcd_ep_enable() local
1754 struct pch_udc_dev *dev; in pch_udc_free_request() local
1789 struct pch_udc_dev *dev; in pch_udc_pcd_queue() local
2054 struct pch_udc_dev *dev = ep->dev; in pch_udc_complete_transfer() local
2094 struct pch_udc_dev *dev = ep->dev; in pch_udc_complete_receiver() local
2153 static void pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_in()
2197 static void pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_out()
2248 static int pch_udc_gadget_setup(struct pch_udc_dev *dev) in pch_udc_gadget_setup()
2267 static void pch_udc_svc_control_in(struct pch_udc_dev *dev) in pch_udc_svc_control_in()
2307 static void pch_udc_svc_control_out(struct pch_udc_dev *dev) in pch_udc_svc_control_out()
2387 static void pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) in pch_udc_postsvc_epinters()
2401 static void pch_udc_read_all_epstatus(struct pch_udc_dev *dev, u32 ep_intr) in pch_udc_read_all_epstatus()
2427 static void pch_udc_activate_control_ep(struct pch_udc_dev *dev) in pch_udc_activate_control_ep()
2473 static void pch_udc_svc_ur_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_ur_interrupt()
2517 static void pch_udc_svc_enum_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_enum_interrupt()
2556 static void pch_udc_svc_intf_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_intf_interrupt()
2595 static void pch_udc_svc_cfg_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_cfg_interrupt()
2631 static void pch_udc_dev_isr(struct pch_udc_dev *dev, u32 dev_intr) in pch_udc_dev_isr()
2694 struct pch_udc_dev *dev = (struct pch_udc_dev *) pdev; in pch_udc_isr() local
2752 static void pch_udc_setup_ep0(struct pch_udc_dev *dev) in pch_udc_setup_ep0()
2767 static void pch_udc_pcd_reinit(struct pch_udc_dev *dev) in pch_udc_pcd_reinit()
2831 static int pch_udc_pcd_init(struct pch_udc_dev *dev) in pch_udc_pcd_init()
2848 static int init_dma_pools(struct pch_udc_dev *dev) in init_dma_pools()
2908 struct pch_udc_dev *dev = to_pch_udc(g); in pch_udc_start() local
2925 struct pch_udc_dev *dev = to_pch_udc(g); in pch_udc_stop() local
2965 struct pch_udc_dev *dev = dev_get_drvdata(d); in pch_udc_quark_platform_init() local
2973 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_shutdown() local
2984 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_remove() local
3021 struct pch_udc_dev *dev = dev_get_drvdata(d); in pch_udc_suspend() local
3042 struct pch_udc_dev *dev; in pch_udc_probe() local