Lines Matching refs:cdnsp_device
129 static void cdnsp_next_trb(struct cdnsp_device *pdev, in cdnsp_next_trb()
146 void cdnsp_inc_deq(struct cdnsp_device *pdev, struct cdnsp_ring *ring) in cdnsp_inc_deq()
187 static void cdnsp_inc_enq(struct cdnsp_device *pdev, in cdnsp_inc_enq()
236 static bool cdnsp_room_on_ring(struct cdnsp_device *pdev, in cdnsp_room_on_ring()
260 static void cdnsp_force_l0_go(struct cdnsp_device *pdev) in cdnsp_force_l0_go()
267 void cdnsp_ring_cmd_db(struct cdnsp_device *pdev) in cdnsp_ring_cmd_db()
276 static bool cdnsp_ring_ep_doorbell(struct cdnsp_device *pdev, in cdnsp_ring_ep_doorbell()
322 static struct cdnsp_ring *cdnsp_get_transfer_ring(struct cdnsp_device *pdev, in cdnsp_get_transfer_ring()
339 cdnsp_request_to_transfer_ring(struct cdnsp_device *pdev, in cdnsp_request_to_transfer_ring()
347 void cdnsp_ring_doorbell_for_active_rings(struct cdnsp_device *pdev, in cdnsp_ring_doorbell_for_active_rings()
398 static u64 cdnsp_get_hw_deq(struct cdnsp_device *pdev, in cdnsp_get_hw_deq()
430 static void cdnsp_find_new_dequeue_state(struct cdnsp_device *pdev, in cdnsp_find_new_dequeue_state()
503 static void cdnsp_td_to_noop(struct cdnsp_device *pdev, in cdnsp_td_to_noop()
531 static struct cdnsp_segment *cdnsp_trb_in_td(struct cdnsp_device *pdev, in cdnsp_trb_in_td()
597 static void cdnsp_unmap_td_bounce_buffer(struct cdnsp_device *pdev, in cdnsp_unmap_td_bounce_buffer()
634 static int cdnsp_cmd_set_deq(struct cdnsp_device *pdev, in cdnsp_cmd_set_deq()
690 int cdnsp_remove_request(struct cdnsp_device *pdev, in cdnsp_remove_request()
752 static int cdnsp_update_port_id(struct cdnsp_device *pdev, u32 port_id) in cdnsp_update_port_id()
788 static void cdnsp_handle_port_status(struct cdnsp_device *pdev, in cdnsp_handle_port_status()
891 static void cdnsp_td_cleanup(struct cdnsp_device *pdev, in cdnsp_td_cleanup()
917 static void cdnsp_finish_td(struct cdnsp_device *pdev, in cdnsp_finish_td()
950 static int cdnsp_sum_trb_lengths(struct cdnsp_device *pdev, in cdnsp_sum_trb_lengths()
965 static int cdnsp_giveback_first_trb(struct cdnsp_device *pdev, in cdnsp_giveback_first_trb()
994 static void cdnsp_process_ctrl_td(struct cdnsp_device *pdev, in cdnsp_process_ctrl_td()
1042 static void cdnsp_process_isoc_td(struct cdnsp_device *pdev, in cdnsp_process_isoc_td()
1106 static void cdnsp_skip_isoc_td(struct cdnsp_device *pdev, in cdnsp_skip_isoc_td()
1130 static void cdnsp_process_bulk_intr_td(struct cdnsp_device *pdev, in cdnsp_process_bulk_intr_td()
1175 static void cdnsp_handle_tx_nrdy(struct cdnsp_device *pdev, in cdnsp_handle_tx_nrdy()
1227 static int cdnsp_handle_tx_event(struct cdnsp_device *pdev, in cdnsp_handle_tx_event()
1440 static bool cdnsp_handle_event(struct cdnsp_device *pdev) in cdnsp_handle_event()
1529 struct cdnsp_device *pdev = (struct cdnsp_device *)data; in cdnsp_thread_irq_handler()
1571 struct cdnsp_device *pdev = (struct cdnsp_device *)priv; in cdnsp_irq_handler()
1604 static void cdnsp_queue_trb(struct cdnsp_device *pdev, struct cdnsp_ring *ring, in cdnsp_queue_trb()
1625 static int cdnsp_prepare_ring(struct cdnsp_device *pdev, in cdnsp_prepare_ring()
1673 static int cdnsp_prepare_transfer(struct cdnsp_device *pdev, in cdnsp_prepare_transfer()
1768 static u32 cdnsp_td_remainder(struct cdnsp_device *pdev, in cdnsp_td_remainder()
1794 static int cdnsp_align_td(struct cdnsp_device *pdev, in cdnsp_align_td()
1861 int cdnsp_queue_bulk_tx(struct cdnsp_device *pdev, struct cdnsp_request *preq) in cdnsp_queue_bulk_tx()
2042 int cdnsp_queue_ctrl_tx(struct cdnsp_device *pdev, struct cdnsp_request *preq) in cdnsp_queue_ctrl_tx()
2137 int cdnsp_cmd_stop_ep(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_cmd_stop_ep()
2167 static unsigned int cdnsp_get_burst_count(struct cdnsp_device *pdev, in cdnsp_get_burst_count()
2189 cdnsp_get_last_burst_packet_count(struct cdnsp_device *pdev, in cdnsp_get_last_burst_packet_count()
2217 int cdnsp_queue_isoc_tx(struct cdnsp_device *pdev, in cdnsp_queue_isoc_tx()
2386 static void cdnsp_queue_command(struct cdnsp_device *pdev, in cdnsp_queue_command()
2402 void cdnsp_queue_slot_control(struct cdnsp_device *pdev, u32 trb_type) in cdnsp_queue_slot_control()
2409 void cdnsp_queue_address_device(struct cdnsp_device *pdev, in cdnsp_queue_address_device()
2421 void cdnsp_queue_reset_device(struct cdnsp_device *pdev) in cdnsp_queue_reset_device()
2428 void cdnsp_queue_configure_endpoint(struct cdnsp_device *pdev, in cdnsp_queue_configure_endpoint()
2441 void cdnsp_queue_stop_endpoint(struct cdnsp_device *pdev, unsigned int ep_index) in cdnsp_queue_stop_endpoint()
2448 void cdnsp_queue_new_dequeue_state(struct cdnsp_device *pdev, in cdnsp_queue_new_dequeue_state()
2470 void cdnsp_queue_reset_ep(struct cdnsp_device *pdev, unsigned int ep_index) in cdnsp_queue_reset_ep()
2481 void cdnsp_queue_halt_endpoint(struct cdnsp_device *pdev, unsigned int ep_index) in cdnsp_queue_halt_endpoint()
2488 void cdnsp_force_header_wakeup(struct cdnsp_device *pdev, int intf_num) in cdnsp_force_header_wakeup()