Lines Matching refs:ci_hdrc
52 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep,
66 static inline int ep_to_bit(struct ci_hdrc *ci, int n)
83 static int hw_device_state(struct ci_hdrc *ci, u32 dma)
104 static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir)
126 static int hw_ep_disable(struct ci_hdrc *ci, int num, int dir)
142 static int hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type)
177 static int hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir)
193 static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl)
224 static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value)
248 static int hw_port_is_high_speed(struct ci_hdrc *ci)
262 static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
275 static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
290 static int hw_test_and_clear_setup_guard(struct ci_hdrc *ci)
302 static int hw_test_and_set_setup_guard(struct ci_hdrc *ci)
315 static void hw_usb_set_address(struct ci_hdrc *ci, u8 value)
328 static int hw_usb_reset(struct ci_hdrc *ci)
552 struct ci_hdrc *ci = hwep->ci;
654 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep,
678 struct ci_hdrc *ci = hwep->ci;
836 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
874 static void isr_reset_handler(struct ci_hdrc *ci)
933 struct ci_hdrc *ci = hwep->ci;
983 static int isr_get_status_response(struct ci_hdrc *ci,
1048 struct ci_hdrc *ci = req->context;
1073 static int isr_setup_status_phase(struct ci_hdrc *ci)
1130 static int otg_a_alt_hnp_support(struct ci_hdrc *ci)
1143 static void isr_setup_packet_handler(struct ci_hdrc *ci)
1313 static void isr_tr_complete_handler(struct ci_hdrc *ci)
1660 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1675 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1705 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1736 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1761 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1770 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1786 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget);
1814 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
1844 static int init_eps(struct ci_hdrc *ci)
1909 static void destroy_eps(struct ci_hdrc *ci)
1932 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
1964 static void ci_udc_stop_for_otg_fsm(struct ci_hdrc *ci)
1985 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget);
2017 static irqreturn_t udc_irq(struct ci_hdrc *ci)
2087 static int udc_start(struct ci_hdrc *ci)
2151 void ci_hdrc_gadget_destroy(struct ci_hdrc *ci)
2164 static int udc_id_switch_for_device(struct ci_hdrc *ci)
2178 static void udc_id_switch_for_host(struct ci_hdrc *ci)
2195 static void udc_suspend(struct ci_hdrc *ci)
2206 static void udc_resume(struct ci_hdrc *ci, bool power_lost)
2228 int ci_hdrc_gadget_init(struct ci_hdrc *ci)