Lines Matching defs:ci
67 static inline int ep_to_bit(struct ci_hdrc *ci, int n) in ep_to_bit()
84 static int hw_device_state(struct ci_hdrc *ci, u32 dma) in hw_device_state()
105 static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir) in hw_ep_flush()
127 static int hw_ep_disable(struct ci_hdrc *ci, int num, int dir) in hw_ep_disable()
143 static int hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type) in hw_ep_enable()
178 static int hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir) in hw_ep_get_halt()
194 static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl) in hw_ep_prime()
225 static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value) in hw_ep_set_halt()
249 static int hw_port_is_high_speed(struct ci_hdrc *ci) in hw_port_is_high_speed()
263 static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n) in hw_test_and_clear_complete()
276 static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci) in hw_test_and_clear_intr_active()
291 static int hw_test_and_clear_setup_guard(struct ci_hdrc *ci) in hw_test_and_clear_setup_guard()
303 static int hw_test_and_set_setup_guard(struct ci_hdrc *ci) in hw_test_and_set_setup_guard()
316 static void hw_usb_set_address(struct ci_hdrc *ci, u8 value) in hw_usb_set_address()
329 static int hw_usb_reset(struct ci_hdrc *ci) in hw_usb_reset()
673 struct ci_hdrc *ci = hwep->ci; in _hardware_enqueue() local
802 static int reprime_dtd(struct ci_hdrc *ci, struct ci_hw_ep *hwep, in reprime_dtd()
826 struct ci_hdrc *ci = hwep->ci; in _hardware_dequeue() local
994 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); in _gadget_stop_activity() local
1032 static void isr_reset_handler(struct ci_hdrc *ci) in isr_reset_handler()
1097 struct ci_hdrc *ci = hwep->ci; in _ep_queue() local
1153 static int isr_get_status_response(struct ci_hdrc *ci, in isr_get_status_response()
1218 struct ci_hdrc *ci = req->context; in isr_setup_status_complete() local
1243 static int isr_setup_status_phase(struct ci_hdrc *ci) in isr_setup_status_phase()
1300 static int otg_a_alt_hnp_support(struct ci_hdrc *ci) in otg_a_alt_hnp_support()
1313 static void isr_setup_packet_handler(struct ci_hdrc *ci) in isr_setup_packet_handler()
1483 static void isr_tr_complete_handler(struct ci_hdrc *ci) in isr_tr_complete_handler()
1833 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_udc_get_frame() local
1848 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_hdrc_gadget_connect() local
1878 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_udc_vbus_session() local
1909 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_udc_wakeup() local
1934 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_udc_vbus_draw() local
1943 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_udc_selfpowered() local
1959 struct ci_hdrc *ci = container_of(_gadget, struct ci_hdrc, gadget); in ci_udc_pullup() local
1987 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); in ci_udc_match_ep() local
2017 static int init_eps(struct ci_hdrc *ci) in init_eps()
2082 static void destroy_eps(struct ci_hdrc *ci) in destroy_eps()
2105 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); in ci_udc_start() local
2137 static void ci_udc_stop_for_otg_fsm(struct ci_hdrc *ci) in ci_udc_stop_for_otg_fsm()
2158 struct ci_hdrc *ci = container_of(gadget, struct ci_hdrc, gadget); in ci_udc_stop() local
2190 static irqreturn_t udc_irq(struct ci_hdrc *ci) in udc_irq()
2260 static int udc_start(struct ci_hdrc *ci) in udc_start()
2324 void ci_hdrc_gadget_destroy(struct ci_hdrc *ci) in ci_hdrc_gadget_destroy()
2337 static int udc_id_switch_for_device(struct ci_hdrc *ci) in udc_id_switch_for_device()
2351 static void udc_id_switch_for_host(struct ci_hdrc *ci) in udc_id_switch_for_host()
2368 static void udc_suspend(struct ci_hdrc *ci) in udc_suspend()
2379 static void udc_resume(struct ci_hdrc *ci, bool power_lost) in udc_resume()
2401 int ci_hdrc_gadget_init(struct ci_hdrc *ci) in ci_hdrc_gadget_init()