Lines Matching refs:ci_hdrc
63 static inline int ep_to_bit(struct ci_hdrc *ci, int n)
80 static int hw_device_state(struct ci_hdrc *ci, u32 dma)
101 static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir)
123 static int hw_ep_disable(struct ci_hdrc *ci, int num, int dir)
139 static int hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type)
174 static int hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir)
190 static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl)
221 static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value)
245 static int hw_port_is_high_speed(struct ci_hdrc *ci)
259 static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
272 static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
287 static int hw_test_and_clear_setup_guard(struct ci_hdrc *ci)
299 static int hw_test_and_set_setup_guard(struct ci_hdrc *ci)
312 static void hw_usb_set_address(struct ci_hdrc *ci, u8 value)
325 static int hw_usb_reset(struct ci_hdrc *ci)
549 struct ci_hdrc *ci = hwep->ci;
641 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep,
665 struct ci_hdrc *ci = hwep->ci;
822 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
860 static void isr_reset_handler(struct ci_hdrc *ci)
919 struct ci_hdrc *ci = hwep->ci;
969 static int isr_get_status_response(struct ci_hdrc *ci,
1034 struct ci_hdrc *ci = req->context;
1059 static int isr_setup_status_phase(struct ci_hdrc *ci)
1116 static int otg_a_alt_hnp_support(struct ci_hdrc *ci)
1129 static void isr_setup_packet_handler(struct ci_hdrc *ci)
1299 static void isr_tr_complete_handler(struct ci_hdrc *ci)
1648 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1678 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1702 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1727 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1736 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1752 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1780 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
1809 static int init_eps(struct ci_hdrc *ci)
1874 static void destroy_eps(struct ci_hdrc *ci)
1897 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
1929 static void ci_udc_stop_for_otg_fsm(struct ci_hdrc *ci)
1950 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
1982 static irqreturn_t udc_irq(struct ci_hdrc *ci)
2049 static int udc_start(struct ci_hdrc *ci)
2113 void ci_hdrc_gadget_destroy(struct ci_hdrc *ci)
2126 static int udc_id_switch_for_device(struct ci_hdrc *ci)
2140 static void udc_id_switch_for_host(struct ci_hdrc *ci)
2162 int ci_hdrc_gadget_init(struct ci_hdrc *ci)