Lines Matching defs:dev

291 	struct pch_udc_dev		*dev;  member
406 static inline u32 pch_udc_readl(struct pch_udc_dev *dev, unsigned long reg) in pch_udc_readl()
411 static inline void pch_udc_writel(struct pch_udc_dev *dev, in pch_udc_writel()
417 static inline void pch_udc_bit_set(struct pch_udc_dev *dev, in pch_udc_bit_set()
424 static inline void pch_udc_bit_clr(struct pch_udc_dev *dev, in pch_udc_bit_clr()
460 static void pch_udc_csr_busy(struct pch_udc_dev *dev) in pch_udc_csr_busy()
478 static void pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, in pch_udc_write_csr()
495 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
509 static inline void pch_udc_rmt_wakeup(struct pch_udc_dev *dev) in pch_udc_rmt_wakeup()
521 static inline int pch_udc_get_frame(struct pch_udc_dev *dev) in pch_udc_get_frame()
531 static inline void pch_udc_clear_selfpowered(struct pch_udc_dev *dev) in pch_udc_clear_selfpowered()
540 static inline void pch_udc_set_selfpowered(struct pch_udc_dev *dev) in pch_udc_set_selfpowered()
549 static inline void pch_udc_set_disconnect(struct pch_udc_dev *dev) in pch_udc_set_disconnect()
558 static void pch_udc_clear_disconnect(struct pch_udc_dev *dev) in pch_udc_clear_disconnect()
574 static void pch_udc_reconnect(struct pch_udc_dev *dev) in pch_udc_reconnect()
598 static inline void pch_udc_vbus_session(struct pch_udc_dev *dev, in pch_udc_vbus_session()
745 static inline void pch_udc_set_dma(struct pch_udc_dev *dev, int dir) in pch_udc_set_dma()
761 static inline void pch_udc_clear_dma(struct pch_udc_dev *dev, int dir) in pch_udc_clear_dma()
774 static inline void pch_udc_set_csr_done(struct pch_udc_dev *dev) in pch_udc_set_csr_done()
784 static inline void pch_udc_disable_interrupts(struct pch_udc_dev *dev, in pch_udc_disable_interrupts()
795 static inline void pch_udc_enable_interrupts(struct pch_udc_dev *dev, in pch_udc_enable_interrupts()
806 static inline void pch_udc_disable_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_disable_ep_interrupts()
817 static inline void pch_udc_enable_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_enable_ep_interrupts()
828 static inline u32 pch_udc_read_device_interrupts(struct pch_udc_dev *dev) in pch_udc_read_device_interrupts()
838 static inline void pch_udc_write_device_interrupts(struct pch_udc_dev *dev, in pch_udc_write_device_interrupts()
849 static inline u32 pch_udc_read_ep_interrupts(struct pch_udc_dev *dev) in pch_udc_read_ep_interrupts()
859 static inline void pch_udc_write_ep_interrupts(struct pch_udc_dev *dev, in pch_udc_write_ep_interrupts()
870 static inline u32 pch_udc_read_device_status(struct pch_udc_dev *dev) in pch_udc_read_device_status()
934 struct pch_udc_dev *dev = ep->dev; in pch_udc_ep_clear_nak() local
1048 static void pch_udc_init(struct pch_udc_dev *dev) in pch_udc_init()
1087 static void pch_udc_exit(struct pch_udc_dev *dev) in pch_udc_exit()
1107 struct pch_udc_dev *dev; in pch_udc_pcd_get_frame() local
1125 struct pch_udc_dev *dev; in pch_udc_pcd_wakeup() local
1149 struct pch_udc_dev *dev; in pch_udc_pcd_selfpowered() local
1174 struct pch_udc_dev *dev; in pch_udc_pcd_pullup() local
1211 struct pch_udc_dev *dev; in pch_udc_pcd_vbus_session() local
1260 static int pch_vbus_gpio_get_value(struct pch_udc_dev *dev) in pch_vbus_gpio_get_value()
1282 struct pch_udc_dev *dev = in pch_vbus_gpio_work_fall() local
1323 struct pch_udc_dev *dev = in pch_vbus_gpio_work_rise() local
1351 struct pch_udc_dev *dev = (struct pch_udc_dev *)data; in pch_vbus_gpio_irq() local
1388 static int pch_vbus_gpio_add_table(struct pch_udc_dev *dev) in pch_vbus_gpio_add_table()
1409 static int pch_vbus_gpio_init(struct pch_udc_dev *dev) in pch_vbus_gpio_init()
1454 static void pch_vbus_gpio_free(struct pch_udc_dev *dev) in pch_vbus_gpio_free()
1472 struct pch_udc_dev *dev; in complete_req() local
1544 static void pch_udc_free_dma_chain(struct pch_udc_dev *dev, in pch_udc_free_dma_chain()
1659 struct pch_udc_dev *dev = ep->dev; in process_zlp() local
1722 struct pch_udc_dev *dev; in pch_udc_pcd_ep_enable() local
1830 struct pch_udc_dev *dev; in pch_udc_free_request() local
1865 struct pch_udc_dev *dev; in pch_udc_pcd_queue() local
2160 struct pch_udc_dev *dev = ep->dev; in pch_udc_complete_transfer() local
2200 struct pch_udc_dev *dev = ep->dev; in pch_udc_complete_receiver() local
2259 static void pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_in()
2303 static void pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_out()
2354 static int pch_udc_gadget_setup(struct pch_udc_dev *dev) in pch_udc_gadget_setup()
2373 static void pch_udc_svc_control_in(struct pch_udc_dev *dev) in pch_udc_svc_control_in()
2413 static void pch_udc_svc_control_out(struct pch_udc_dev *dev) in pch_udc_svc_control_out()
2493 static void pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) in pch_udc_postsvc_epinters()
2507 static void pch_udc_read_all_epstatus(struct pch_udc_dev *dev, u32 ep_intr) in pch_udc_read_all_epstatus()
2533 static void pch_udc_activate_control_ep(struct pch_udc_dev *dev) in pch_udc_activate_control_ep()
2579 static void pch_udc_svc_ur_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_ur_interrupt()
2623 static void pch_udc_svc_enum_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_enum_interrupt()
2662 static void pch_udc_svc_intf_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_intf_interrupt()
2701 static void pch_udc_svc_cfg_interrupt(struct pch_udc_dev *dev) in pch_udc_svc_cfg_interrupt()
2737 static void pch_udc_dev_isr(struct pch_udc_dev *dev, u32 dev_intr) in pch_udc_dev_isr()
2800 struct pch_udc_dev *dev = (struct pch_udc_dev *) pdev; in pch_udc_isr() local
2858 static void pch_udc_setup_ep0(struct pch_udc_dev *dev) in pch_udc_setup_ep0()
2873 static void pch_udc_pcd_reinit(struct pch_udc_dev *dev) in pch_udc_pcd_reinit()
2937 static int pch_udc_pcd_init(struct pch_udc_dev *dev) in pch_udc_pcd_init()
2954 static int init_dma_pools(struct pch_udc_dev *dev) in init_dma_pools()
3014 struct pch_udc_dev *dev = to_pch_udc(g); in pch_udc_start() local
3032 struct pch_udc_dev *dev = to_pch_udc(g); in pch_udc_stop() local
3048 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_shutdown() local
3059 struct pch_udc_dev *dev = pci_get_drvdata(pdev); in pch_udc_remove() local
3097 struct pch_udc_dev *dev = dev_get_drvdata(d); in pch_udc_suspend() local
3121 struct pch_udc_dev *dev; in pch_udc_probe() local