/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | gadget.c | 159 * @dep: The endpoint whose enqueue pointer we're incrementing 161 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq() argument 163 dwc3_ep_inc_trb(&dep->trb_enqueue); in dwc3_ep_inc_enq() 168 * @dep: The endpoint whose enqueue pointer we're incrementing 170 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq() argument 172 dwc3_ep_inc_trb(&dep->trb_dequeue); in dwc3_ep_inc_deq() 175 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request() argument 178 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() 195 if (dep->number > 1) in dwc3_gadget_del_and_unmap_request() 201 * @dep 209 dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, int status) dwc3_gadget_giveback() argument 273 dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, struct dwc3_gadget_ep_cmd_params *params) dwc3_send_gadget_ep_cmd() argument 422 dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep) dwc3_send_clear_stall_ep_cmd() argument 446 dwc3_trb_dma_offset(struct dwc3_ep *dep, struct dwc3_trb *trb) dwc3_trb_dma_offset() argument 454 dwc3_alloc_trb_pool(struct dwc3_ep *dep) dwc3_alloc_trb_pool() argument 473 dwc3_free_trb_pool(struct dwc3_ep *dep) dwc3_free_trb_pool() argument 484 dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep) dwc3_gadget_set_xfer_resource() argument 529 dwc3_gadget_start_config(struct dwc3_ep *dep) dwc3_gadget_start_config() argument 549 struct dwc3_ep *dep = dwc->eps[i]; dwc3_gadget_start_config() local 562 dwc3_gadget_set_ep_config(struct dwc3_ep *dep, unsigned int action) dwc3_gadget_set_ep_config() argument 655 __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action) __dwc3_gadget_ep_enable() argument 757 dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status) dwc3_remove_requests() argument 793 __dwc3_gadget_ep_disable(struct dwc3_ep *dep) __dwc3_gadget_ep_disable() argument 841 struct dwc3_ep *dep; dwc3_gadget_ep_enable() local 873 struct dwc3_ep *dep; dwc3_gadget_ep_disable() local 902 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_alloc_request() local 936 dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) dwc3_ep_prev_trb() argument 946 dwc3_calc_trbs_left(struct dwc3_ep *dep) dwc3_calc_trbs_left() argument 985 dwc3_prepare_one_trb(struct dwc3_ep *dep, struct dwc3_request *req, unsigned int trb_length, unsigned int chain, unsigned int node, bool use_bounce_buffer, bool must_interrupt) dwc3_prepare_one_trb() argument 1129 dwc3_needs_extra_trb(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_needs_extra_trb() argument 1151 dwc3_prepare_last_sg(struct dwc3_ep *dep, struct dwc3_request *req, unsigned int entry_length, unsigned int node) dwc3_prepare_last_sg() argument 1181 dwc3_prepare_trbs_sg(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_prepare_trbs_sg() argument 1272 dwc3_prepare_trbs_linear(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_prepare_trbs_linear() argument 1288 dwc3_prepare_trbs(struct dwc3_ep *dep) dwc3_prepare_trbs() argument 1362 __dwc3_gadget_kick_transfer(struct dwc3_ep *dep) __dwc3_gadget_kick_transfer() argument 1455 __dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt) __dwc3_stop_active_transfer() argument 1524 dwc3_gadget_start_isoc_quirk(struct dwc3_ep *dep) dwc3_gadget_start_isoc_quirk() argument 1597 __dwc3_gadget_start_isoc(struct dwc3_ep *dep) __dwc3_gadget_start_isoc() argument 1657 __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) __dwc3_gadget_ep_queue() argument 1728 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_queue() local 1742 dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_gadget_ep_skip_trbs() argument 1771 dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep) dwc3_gadget_ep_cleanup_cancelled_requests() argument 1788 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_dequeue() local 1839 __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) __dwc3_gadget_ep_set_halt() argument 1924 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_set_halt() local 1940 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_set_wedge() local 2091 struct dwc3_ep *dep; dwc3_stop_active_transfers() local 2327 struct dwc3_ep *dep; __dwc3_gadget_start() local 2566 dwc3_gadget_init_control_endpoint(struct dwc3_ep *dep) dwc3_gadget_init_control_endpoint() argument 2581 dwc3_gadget_init_in_endpoint(struct dwc3_ep *dep) dwc3_gadget_init_in_endpoint() argument 2628 dwc3_gadget_init_out_endpoint(struct dwc3_ep *dep) dwc3_gadget_init_out_endpoint() argument 2679 struct dwc3_ep *dep; dwc3_gadget_init_endpoint() local 2747 struct dwc3_ep *dep; dwc3_gadget_free_endpoints() local 2775 dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, struct dwc3_request *req, struct dwc3_trb *trb, const struct dwc3_event_depevt *event, int status, int chain) dwc3_gadget_ep_reclaim_completed_trb() argument 2843 dwc3_gadget_ep_reclaim_trb_sg(struct dwc3_ep *dep, struct dwc3_request *req, const struct dwc3_event_depevt *event, int status) dwc3_gadget_ep_reclaim_trb_sg() argument 2869 dwc3_gadget_ep_reclaim_trb_linear(struct dwc3_ep *dep, struct dwc3_request *req, const struct dwc3_event_depevt *event, int status) dwc3_gadget_ep_reclaim_trb_linear() argument 2884 dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, struct dwc3_request *req, int status) dwc3_gadget_ep_cleanup_completed_request() argument 2943 dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, int status) dwc3_gadget_ep_cleanup_completed_requests() argument 2959 dwc3_gadget_ep_should_continue(struct dwc3_ep *dep) dwc3_gadget_ep_should_continue() argument 2977 dwc3_gadget_endpoint_frame_from_event(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_frame_from_event() argument 2983 dwc3_gadget_endpoint_trbs_complete(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, int status) dwc3_gadget_endpoint_trbs_complete() argument 3034 dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_transfer_in_progress() argument 3054 dwc3_gadget_endpoint_transfer_complete(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_transfer_complete() argument 3068 dwc3_gadget_endpoint_transfer_not_ready(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_transfer_not_ready() argument 3087 dwc3_gadget_endpoint_command_complete(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_command_complete() argument 3132 dwc3_gadget_endpoint_stream_event(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_stream_event() argument 3199 struct dwc3_ep *dep; dwc3_endpoint_interrupt() local 3278 dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt) dwc3_stop_active_transfer() argument 3324 struct dwc3_ep *dep; dwc3_clear_stall_all_ep() local 3429 struct dwc3_ep *dep; dwc3_gadget_conndone_interrupt() local [all...] |
H A D | ep0.c | 30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep); 32 struct dwc3_ep *dep, struct dwc3_request *req); 34 static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, in dwc3_ep0_prepare_one_trb() argument 40 dwc = dep->dwc; in dwc3_ep0_prepare_one_trb() 41 trb = &dwc->ep0_trb[dep->trb_enqueue]; in dwc3_ep0_prepare_one_trb() 44 dep->trb_enqueue++; in dwc3_ep0_prepare_one_trb() 60 trace_dwc3_prepare_trb(dep, trb); in dwc3_ep0_prepare_one_trb() 63 static int dwc3_ep0_start_trans(struct dwc3_ep *dep) in dwc3_ep0_start_trans() argument 69 if (dep->flags & DWC3_EP_TRANSFER_STARTED) in dwc3_ep0_start_trans() 72 dwc = dep in dwc3_ep0_start_trans() 87 __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, struct dwc3_request *req) __dwc3_gadget_ep0_queue() argument 192 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep0_queue() local 223 struct dwc3_ep *dep; dwc3_ep0_stall_and_restart() local 251 struct dwc3_ep *dep = to_dwc3_ep(ep); __dwc3_gadget_ep0_set_halt() local 261 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep0_set_halt() local 275 struct dwc3_ep *dep; dwc3_ep0_out_start() local 289 struct dwc3_ep *dep; dwc3_wIndex_to_dep() local 316 struct dwc3_ep *dep; dwc3_ep0_handle_status() local 515 struct dwc3_ep *dep; dwc3_ep0_handle_endpoint() local 666 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_ep0_set_sel_cmpl() local 710 struct dwc3_ep *dep; dwc3_ep0_set_sel() local 892 struct dwc3_ep *dep; dwc3_ep0_complete_status() local 930 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; dwc3_ep0_xfer_complete() local 953 __dwc3_ep0_do_control_data(struct dwc3 *dwc, struct dwc3_ep *dep, struct dwc3_request *req) __dwc3_ep0_do_control_data() argument 1038 dwc3_ep0_start_control_status(struct dwc3_ep *dep) dwc3_ep0_start_control_status() argument 1050 __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep) __dwc3_ep0_do_control_status() argument 1058 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; dwc3_ep0_do_control_status() local 1075 dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_ep0_end_control_data() argument 1108 struct dwc3_ep *dep = dwc->eps[dwc->ep0_expect_in]; dwc3_ep0_xfernotready() local 1125 struct dwc3_ep *dep = dwc->eps[0]; dwc3_ep0_xfernotready() local 1150 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; dwc3_ep0_interrupt() local [all...] |
H A D | trace.h | 105 __string(name, req->dep->name) 115 __assign_str(name, req->dep->name); 184 TP_PROTO(struct dwc3_ep *dep, unsigned int cmd, 186 TP_ARGS(dep, cmd, params, cmd_status), 188 __string(name, dep->name) 196 __assign_str(name, dep->name); 212 TP_PROTO(struct dwc3_ep *dep, unsigned int cmd, 214 TP_ARGS(dep, cmd, params, cmd_status) 218 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb), 219 TP_ARGS(dep, tr [all...] |
H A D | gadget.h | 84 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_started_request() local 87 list_move_tail(&req->list, &dep->started_list); in dwc3_gadget_move_started_request() 99 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_cancelled_request() local 102 list_move_tail(&req->list, &dep->cancelled_list); in dwc3_gadget_move_cancelled_request() 105 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, 115 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol); 120 * @dep: dwc3 endpoint 125 static inline void dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep) in dwc3_gadget_ep_get_transfer_index() argument [all...] |
H A D | debugfs.c | 683 struct dwc3_ep *dep = s->private; in dwc3_tx_fifo_size_show() local 684 struct dwc3 *dwc = dep->dwc; in dwc3_tx_fifo_size_show() 695 val = dwc3_core_fifo_space(dep, DWC3_TXFIFO); in dwc3_tx_fifo_size_show() 714 struct dwc3_ep *dep = s->private; in dwc3_rx_fifo_size_show() local 715 struct dwc3 *dwc = dep->dwc; in dwc3_rx_fifo_size_show() 726 val = dwc3_core_fifo_space(dep, DWC3_RXFIFO); in dwc3_rx_fifo_size_show() 745 struct dwc3_ep *dep = s->private; in dwc3_tx_request_queue_show() local 746 struct dwc3 *dwc = dep->dwc; in dwc3_tx_request_queue_show() 756 val = dwc3_core_fifo_space(dep, DWC3_TXREQQ); in dwc3_tx_request_queue_show() 767 struct dwc3_ep *dep in dwc3_rx_request_queue_show() local 789 struct dwc3_ep *dep = s->private; dwc3_rx_info_queue_show() local 811 struct dwc3_ep *dep = s->private; dwc3_descriptor_fetch_queue_show() local 833 struct dwc3_ep *dep = s->private; dwc3_event_queue_show() local 855 struct dwc3_ep *dep = s->private; dwc3_transfer_type_show() local 890 struct dwc3_ep *dep = s->private; dwc3_trb_ring_show() local 935 struct dwc3_ep *dep = s->private; dwc3_ep_info_register_show() local 988 dwc3_debugfs_create_endpoint_files(struct dwc3_ep *dep, struct dentry *parent) dwc3_debugfs_create_endpoint_files() argument 1001 dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep) dwc3_debugfs_create_endpoint_dir() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/dwc3/ |
H A D | gadget.c | 177 * @dep: The endpoint whose enqueue pointer we're incrementing 179 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq() argument 181 dwc3_ep_inc_trb(&dep->trb_enqueue); in dwc3_ep_inc_enq() 186 * @dep: The endpoint whose enqueue pointer we're incrementing 188 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq() argument 190 dwc3_ep_inc_trb(&dep->trb_dequeue); in dwc3_ep_inc_deq() 193 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request() argument 196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() 213 if (dep->number > 1) in dwc3_gadget_del_and_unmap_request() 219 * @dep 227 dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, int status) dwc3_gadget_giveback() argument 291 dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, struct dwc3_gadget_ep_cmd_params *params) dwc3_send_gadget_ep_cmd() argument 457 dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep) dwc3_send_clear_stall_ep_cmd() argument 481 dwc3_trb_dma_offset(struct dwc3_ep *dep, struct dwc3_trb *trb) dwc3_trb_dma_offset() argument 489 dwc3_alloc_trb_pool(struct dwc3_ep *dep) dwc3_alloc_trb_pool() argument 508 dwc3_free_trb_pool(struct dwc3_ep *dep) dwc3_free_trb_pool() argument 519 dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep) dwc3_gadget_set_xfer_resource() argument 564 dwc3_gadget_start_config(struct dwc3_ep *dep) dwc3_gadget_start_config() argument 584 struct dwc3_ep *dep = dwc->eps[i]; dwc3_gadget_start_config() local 597 dwc3_gadget_set_ep_config(struct dwc3_ep *dep, unsigned int action) dwc3_gadget_set_ep_config() argument 723 struct dwc3_ep *dep; dwc3_gadget_clear_tx_fifos() local 776 dwc3_gadget_resize_tx_fifos(struct dwc3_ep *dep) dwc3_gadget_resize_tx_fifos() argument 875 __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action) __dwc3_gadget_ep_enable() argument 990 dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status) dwc3_remove_requests() argument 1030 __dwc3_gadget_ep_disable(struct dwc3_ep *dep) __dwc3_gadget_ep_disable() argument 1087 struct dwc3_ep *dep; dwc3_gadget_ep_enable() local 1119 struct dwc3_ep *dep; dwc3_gadget_ep_disable() local 1148 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_alloc_request() local 1182 dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) dwc3_ep_prev_trb() argument 1192 dwc3_calc_trbs_left(struct dwc3_ep *dep) dwc3_calc_trbs_left() argument 1231 dwc3_prepare_one_trb(struct dwc3_ep *dep, struct dwc3_request *req, unsigned int trb_length, unsigned int chain, unsigned int node, bool use_bounce_buffer, bool must_interrupt) dwc3_prepare_one_trb() argument 1380 dwc3_needs_extra_trb(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_needs_extra_trb() argument 1402 dwc3_prepare_last_sg(struct dwc3_ep *dep, struct dwc3_request *req, unsigned int entry_length, unsigned int node) dwc3_prepare_last_sg() argument 1432 dwc3_prepare_trbs_sg(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_prepare_trbs_sg() argument 1533 dwc3_prepare_trbs_linear(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_prepare_trbs_linear() argument 1549 dwc3_prepare_trbs(struct dwc3_ep *dep) dwc3_prepare_trbs() argument 1625 __dwc3_gadget_kick_transfer(struct dwc3_ep *dep) __dwc3_gadget_kick_transfer() argument 1719 __dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt) __dwc3_stop_active_transfer() argument 1799 dwc3_gadget_start_isoc_quirk(struct dwc3_ep *dep) dwc3_gadget_start_isoc_quirk() argument 1872 __dwc3_gadget_start_isoc(struct dwc3_ep *dep) __dwc3_gadget_start_isoc() argument 1938 __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) __dwc3_gadget_ep_queue() argument 2008 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_queue() local 2022 dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *req) dwc3_gadget_ep_skip_trbs() argument 2051 dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep) dwc3_gadget_ep_cleanup_cancelled_requests() argument 2089 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_dequeue() local 2151 __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) __dwc3_gadget_ep_set_halt() argument 2240 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_set_halt() local 2256 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep_set_wedge() local 2499 struct dwc3_ep *dep; dwc3_stop_active_transfers() local 2863 struct dwc3_ep *dep; __dwc3_gadget_start() local 3150 dwc3_gadget_init_control_endpoint(struct dwc3_ep *dep) dwc3_gadget_init_control_endpoint() argument 3165 dwc3_gadget_init_in_endpoint(struct dwc3_ep *dep) dwc3_gadget_init_in_endpoint() argument 3214 dwc3_gadget_init_out_endpoint(struct dwc3_ep *dep) dwc3_gadget_init_out_endpoint() argument 3263 struct dwc3_ep *dep; dwc3_gadget_init_endpoint() local 3331 struct dwc3_ep *dep; dwc3_gadget_free_endpoints() local 3359 dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, struct dwc3_request *req, struct dwc3_trb *trb, const struct dwc3_event_depevt *event, int status, int chain) dwc3_gadget_ep_reclaim_completed_trb() argument 3427 dwc3_gadget_ep_reclaim_trb_sg(struct dwc3_ep *dep, struct dwc3_request *req, const struct dwc3_event_depevt *event, int status) dwc3_gadget_ep_reclaim_trb_sg() argument 3453 dwc3_gadget_ep_reclaim_trb_linear(struct dwc3_ep *dep, struct dwc3_request *req, const struct dwc3_event_depevt *event, int status) dwc3_gadget_ep_reclaim_trb_linear() argument 3468 dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, struct dwc3_request *req, int status) dwc3_gadget_ep_cleanup_completed_request() argument 3527 dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, int status) dwc3_gadget_ep_cleanup_completed_requests() argument 3549 dwc3_gadget_ep_should_continue(struct dwc3_ep *dep) dwc3_gadget_ep_should_continue() argument 3572 dwc3_gadget_endpoint_frame_from_event(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_frame_from_event() argument 3578 dwc3_gadget_endpoint_trbs_complete(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, int status) dwc3_gadget_endpoint_trbs_complete() argument 3629 dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_transfer_in_progress() argument 3649 dwc3_gadget_endpoint_transfer_complete(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_transfer_complete() argument 3663 dwc3_gadget_endpoint_transfer_not_ready(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_transfer_not_ready() argument 3682 dwc3_gadget_endpoint_command_complete(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_command_complete() argument 3727 dwc3_gadget_endpoint_stream_event(struct dwc3_ep *dep, const struct dwc3_event_depevt *event) dwc3_gadget_endpoint_stream_event() argument 3795 struct dwc3_ep *dep; dwc3_endpoint_interrupt() local 3878 dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt) dwc3_stop_active_transfer() argument 3950 struct dwc3_ep *dep; dwc3_clear_stall_all_ep() local 4080 struct dwc3_ep *dep; dwc3_gadget_conndone_interrupt() local [all...] |
H A D | ep0.c | 30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep); 32 struct dwc3_ep *dep, struct dwc3_request *req); 36 static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, in dwc3_ep0_prepare_one_trb() argument 42 dwc = dep->dwc; in dwc3_ep0_prepare_one_trb() 43 trb = &dwc->ep0_trb[dep->trb_enqueue]; in dwc3_ep0_prepare_one_trb() 46 dep->trb_enqueue++; in dwc3_ep0_prepare_one_trb() 62 trace_dwc3_prepare_trb(dep, trb); in dwc3_ep0_prepare_one_trb() 65 static int dwc3_ep0_start_trans(struct dwc3_ep *dep) in dwc3_ep0_start_trans() argument 71 if (dep->flags & DWC3_EP_TRANSFER_STARTED) in dwc3_ep0_start_trans() 74 dwc = dep in dwc3_ep0_start_trans() 89 __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, struct dwc3_request *req) __dwc3_gadget_ep0_queue() argument 194 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep0_queue() local 225 struct dwc3_ep *dep; dwc3_ep0_stall_and_restart() local 255 struct dwc3_ep *dep = to_dwc3_ep(ep); __dwc3_gadget_ep0_set_halt() local 265 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_gadget_ep0_set_halt() local 279 struct dwc3_ep *dep; dwc3_ep0_out_start() local 310 struct dwc3_ep *dep; dwc3_wIndex_to_dep() local 337 struct dwc3_ep *dep; dwc3_ep0_handle_status() local 537 struct dwc3_ep *dep; dwc3_ep0_handle_endpoint() local 692 struct dwc3_ep *dep = to_dwc3_ep(ep); dwc3_ep0_set_sel_cmpl() local 736 struct dwc3_ep *dep; dwc3_ep0_set_sel() local 918 struct dwc3_ep *dep; dwc3_ep0_complete_status() local 956 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; dwc3_ep0_xfer_complete() local 979 __dwc3_ep0_do_control_data(struct dwc3 *dwc, struct dwc3_ep *dep, struct dwc3_request *req) __dwc3_ep0_do_control_data() argument 1064 dwc3_ep0_start_control_status(struct dwc3_ep *dep) dwc3_ep0_start_control_status() argument 1076 __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep) __dwc3_ep0_do_control_status() argument 1084 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; dwc3_ep0_do_control_status() local 1102 dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep) dwc3_ep0_end_control_data() argument 1142 struct dwc3_ep *dep = dwc->eps[dwc->ep0_expect_in]; dwc3_ep0_xfernotready() local 1164 struct dwc3_ep *dep = dwc->eps[0]; dwc3_ep0_xfernotready() local 1189 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; dwc3_ep0_interrupt() local [all...] |
H A D | trace.h | 105 __string(name, req->dep->name) 115 __assign_str(name, req->dep->name); 184 TP_PROTO(struct dwc3_ep *dep, unsigned int cmd, 186 TP_ARGS(dep, cmd, params, cmd_status), 188 __string(name, dep->name) 196 __assign_str(name, dep->name); 212 TP_PROTO(struct dwc3_ep *dep, unsigned int cmd, 214 TP_ARGS(dep, cmd, params, cmd_status) 218 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb), 219 TP_ARGS(dep, tr [all...] |
H A D | gadget.h | 84 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_started_request() local 87 list_move_tail(&req->list, &dep->started_list); in dwc3_gadget_move_started_request() 101 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_cancelled_request() local 104 list_move_tail(&req->list, &dep->cancelled_list); in dwc3_gadget_move_cancelled_request() 107 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, 113 void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep); 119 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol); 121 void dwc3_stop_active_transfer(struct dwc3_ep *dep, boo 130 dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep) dwc3_gadget_ep_get_transfer_index() argument [all...] |
H A D | debugfs.c | 688 struct dwc3_ep *dep = s->private; in dwc3_tx_fifo_size_show() local 689 struct dwc3 *dwc = dep->dwc; in dwc3_tx_fifo_size_show() 700 val = dwc3_core_fifo_space(dep, DWC3_TXFIFO); in dwc3_tx_fifo_size_show() 717 struct dwc3_ep *dep = s->private; in dwc3_rx_fifo_size_show() local 718 struct dwc3 *dwc = dep->dwc; in dwc3_rx_fifo_size_show() 729 val = dwc3_core_fifo_space(dep, DWC3_RXFIFO); in dwc3_rx_fifo_size_show() 746 struct dwc3_ep *dep = s->private; in dwc3_tx_request_queue_show() local 747 struct dwc3 *dwc = dep->dwc; in dwc3_tx_request_queue_show() 757 val = dwc3_core_fifo_space(dep, DWC3_TXREQQ); in dwc3_tx_request_queue_show() 768 struct dwc3_ep *dep in dwc3_rx_request_queue_show() local 790 struct dwc3_ep *dep = s->private; dwc3_rx_info_queue_show() local 812 struct dwc3_ep *dep = s->private; dwc3_descriptor_fetch_queue_show() local 834 struct dwc3_ep *dep = s->private; dwc3_event_queue_show() local 856 struct dwc3_ep *dep = s->private; dwc3_transfer_type_show() local 891 struct dwc3_ep *dep = s->private; dwc3_trb_ring_show() local 936 struct dwc3_ep *dep = s->private; dwc3_ep_info_register_show() local 989 dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep) dwc3_debugfs_create_endpoint_dir() argument 1003 dwc3_debugfs_remove_endpoint_dir(struct dwc3_ep *dep) dwc3_debugfs_remove_endpoint_dir() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_scheduler.c | 160 struct i915_dependency *dep, *p; in __i915_schedule() local 180 * list_for_each_entry(dep, &node->signalers_list, signal_link) in __i915_schedule() 181 * update_priorities(dep->signal, prio) in __i915_schedule() 193 list_for_each_entry(dep, &dfs, dfs_link) { in __i915_schedule() 194 struct i915_sched_node *node = dep->signaler; in __i915_schedule() 207 GEM_BUG_ON(p == dep); /* no cycles! */ in __i915_schedule() 239 list_for_each_entry_safe_reverse(dep, p, &dfs, dfs_link) { in __i915_schedule() 240 struct i915_request *from = container_of(dep->signaler, in __i915_schedule() 243 INIT_LIST_HEAD(&dep->dfs_link); in __i915_schedule() 245 node = dep in __i915_schedule() 323 i915_dependency_free(struct i915_dependency *dep) i915_dependency_free() argument 328 __i915_sched_node_add_dependency(struct i915_sched_node *node, struct i915_sched_node *signal, struct i915_dependency *dep, unsigned long flags) __i915_sched_node_add_dependency() argument 361 struct i915_dependency *dep; i915_sched_node_add_dependency() local 376 struct i915_dependency *dep, *tmp; i915_sched_node_fini() local 414 struct i915_dependency *dep; i915_request_show_with_schedule() local [all...] |
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | mca_asm.h | 36 dep addr = 0, addr, 61, 3 53 dep addr = temp, addr, 61, 3 86 dep old_psr = 0, old_psr, 32, 32; \ 104 dep temp2 = 0, temp2, PSR_IC, 2; \ 109 dep temp1 = 0, temp1, 32, 32; \ 111 dep temp1 = 0, temp1, PSR_IT, 1; \ 113 dep temp1 = 0, temp1, PSR_DT, 1; \ 115 dep temp1 = 0, temp1, PSR_RT, 1; \ 117 dep temp1 = 0, temp1, PSR_I, 1; \ 119 dep temp [all...] |
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | mca_asm.h | 36 dep addr = 0, addr, 61, 3 53 dep addr = temp, addr, 61, 3 86 dep old_psr = 0, old_psr, 32, 32; \ 104 dep temp2 = 0, temp2, PSR_IC, 2; \ 109 dep temp1 = 0, temp1, 32, 32; \ 111 dep temp1 = 0, temp1, PSR_IT, 1; \ 113 dep temp1 = 0, temp1, PSR_DT, 1; \ 115 dep temp1 = 0, temp1, PSR_RT, 1; \ 117 dep temp1 = 0, temp1, PSR_I, 1; \ 119 dep temp [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_scheduler.c | 239 struct i915_dependency *dep, *p; in __i915_schedule() local 259 * list_for_each_entry(dep, &node->signalers_list, signal_link) in __i915_schedule() 260 * update_priorities(dep->signal, prio) in __i915_schedule() 272 list_for_each_entry(dep, &dfs, dfs_link) { in __i915_schedule() 273 struct i915_sched_node *node = dep->signaler; in __i915_schedule() 286 GEM_BUG_ON(p == dep); /* no cycles! */ in __i915_schedule() 318 list_for_each_entry_safe_reverse(dep, p, &dfs, dfs_link) { in __i915_schedule() 319 INIT_LIST_HEAD(&dep->dfs_link); in __i915_schedule() 321 node = dep->signaler; in __i915_schedule() 417 i915_dependency_free(struct i915_dependency *dep) in i915_dependency_free() argument 422 __i915_sched_node_add_dependency(struct i915_sched_node *node, struct i915_sched_node *signal, struct i915_dependency *dep, unsigned long flags) __i915_sched_node_add_dependency() argument 455 struct i915_dependency *dep; i915_sched_node_add_dependency() local 474 struct i915_dependency *dep, *tmp; i915_sched_node_fini() local [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | menu.c | 107 void menu_add_dep(struct expr *dep) in menu_add_dep() argument 109 current_entry->dep = expr_alloc_and(current_entry->dep, dep); in menu_add_dep() 129 struct expr *dep) in menu_add_prop() 140 prop->visible.expr = dep; in menu_add_prop() 157 struct expr *dep) in menu_add_prompt() 159 struct property *prop = menu_add_prop(type, NULL, dep); in menu_add_prompt() 204 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 206 menu_add_prop(type, expr, dep); in menu_add_expr() 128 menu_add_prop(enum prop_type type, struct expr *expr, struct expr *dep) menu_add_prop() argument 156 menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) menu_add_prompt() argument 209 menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) menu_add_symbol() argument 311 struct expr *parentdep, *basedep, *dep, *dep2, **ep; menu_finalize() local [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | menu.c | 108 void menu_add_dep(struct expr *dep) in menu_add_dep() argument 110 current_entry->dep = expr_alloc_and(current_entry->dep, dep); in menu_add_dep() 130 struct expr *dep) in menu_add_prop() 141 prop->visible.expr = dep; in menu_add_prop() 158 struct expr *dep) in menu_add_prompt() 160 struct property *prop = menu_add_prop(type, NULL, dep); in menu_add_prompt() 205 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 207 menu_add_prop(type, expr, dep); in menu_add_expr() 129 menu_add_prop(enum prop_type type, struct expr *expr, struct expr *dep) menu_add_prop() argument 157 menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) menu_add_prompt() argument 210 menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) menu_add_symbol() argument 290 struct expr *parentdep, *basedep, *dep, *dep2, **ep; menu_finalize() local [all...] |
H A D | lkc.h | 87 void menu_add_dep(struct expr *dep); 88 void menu_add_visibility(struct expr *dep); 89 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 90 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 91 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2_block.c | 358 xfs_dir2_data_entry_t *dep; /* block data entry */ in xfs_dir2_block_addname() local 551 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_block_addname() 557 (char *)dep - (char *)hdr)); in xfs_dir2_block_addname() 570 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_block_addname() 571 dep->namelen = args->namelen; in xfs_dir2_block_addname() 572 memcpy(dep->name, args->name, args->namelen); in xfs_dir2_block_addname() 573 xfs_dir2_data_put_ftype(dp->i_mount, dep, args->filetype); in xfs_dir2_block_addname() 574 tagp = xfs_dir2_data_entry_tag_p(dp->i_mount, dep); in xfs_dir2_block_addname() 575 *tagp = cpu_to_be16((char *)dep - (char *)hdr); in xfs_dir2_block_addname() 584 xfs_dir2_data_log_entry(args, bp, dep); in xfs_dir2_block_addname() 637 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_lookup() local 685 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_lookup_int() local 785 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_removename() local 866 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_replace() local 1081 xfs_dir2_data_entry_t *dep; /* data entry pointer */ xfs_dir2_sf_to_block() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2_block.c | 358 xfs_dir2_data_entry_t *dep; /* block data entry */ in xfs_dir2_block_addname() local 551 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_block_addname() 557 (char *)dep - (char *)hdr)); in xfs_dir2_block_addname() 570 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_block_addname() 571 dep->namelen = args->namelen; in xfs_dir2_block_addname() 572 memcpy(dep->name, args->name, args->namelen); in xfs_dir2_block_addname() 573 xfs_dir2_data_put_ftype(dp->i_mount, dep, args->filetype); in xfs_dir2_block_addname() 574 tagp = xfs_dir2_data_entry_tag_p(dp->i_mount, dep); in xfs_dir2_block_addname() 575 *tagp = cpu_to_be16((char *)dep - (char *)hdr); in xfs_dir2_block_addname() 584 xfs_dir2_data_log_entry(args, bp, dep); in xfs_dir2_block_addname() 637 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_lookup() local 685 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_lookup_int() local 785 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_removename() local 866 xfs_dir2_data_entry_t *dep; /* block data entry */ xfs_dir2_block_replace() local 1081 xfs_dir2_data_entry_t *dep; /* data entry pointer */ xfs_dir2_sf_to_block() local [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | headerdep.pl | 105 if(my($dep) = ($line =~ m/^#\s*include\s*<(.*?)>/)) { 106 push @queue, $dep; 107 push @{$deps{$header}}, [$i + 1, $dep]; 148 for my $dep (@{$deps{$name}}) { 149 my $chain = [@$top, [$dep->[0], $dep->[1]]]; 151 # If the dep already exists in the chain, we have a 153 if(grep { $_->[1] eq $dep->[1] } @$top) { 186 for my $dep (@{$deps{$header}}) { 188 mangle($header), mangle($dep [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | headerdep.pl | 105 if(my($dep) = ($line =~ m/^#\s*include\s*<(.*?)>/)) { 106 push @queue, $dep; 107 push @{$deps{$header}}, [$i + 1, $dep]; 148 for my $dep (@{$deps{$name}}) { 149 my $chain = [@$top, [$dep->[0], $dep->[1]]]; 151 # If the dep already exists in the chain, we have a 153 if(grep { $_->[1] eq $dep->[1] } @$top) { 186 for my $dep (@{$deps{$header}}) { 188 mangle($header), mangle($dep [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 174 * Each object is a real entry (dep) or an unused one (dup). in xfs_dir2_block_getdents() 181 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in xfs_dir2_block_getdents() local 196 xfs_dir2_data_entsize(dp->i_mount, dep->namelen); in xfs_dir2_block_getdents() 207 filetype = xfs_dir2_data_get_ftype(dp->i_mount, dep); in xfs_dir2_block_getdents() 212 !xfs_dir2_namecheck(dep->name, in xfs_dir2_block_getdents() 213 dep->namelen))) { in xfs_dir2_block_getdents() 217 if (!dir_emit(ctx, (char *)dep->name, dep->namelen, in xfs_dir2_block_getdents() 218 be64_to_cpu(dep->inumber), in xfs_dir2_block_getdents() 354 xfs_dir2_data_entry_t *dep; /* dat in xfs_dir2_leaf_getdents() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 175 * Each object is a real entry (dep) or an unused one (dup). in xfs_dir2_block_getdents() 182 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in xfs_dir2_block_getdents() local 197 xfs_dir2_data_entsize(dp->i_mount, dep->namelen); in xfs_dir2_block_getdents() 208 filetype = xfs_dir2_data_get_ftype(dp->i_mount, dep); in xfs_dir2_block_getdents() 213 !xfs_dir2_namecheck(dep->name, in xfs_dir2_block_getdents() 214 dep->namelen))) { in xfs_dir2_block_getdents() 218 if (!dir_emit(ctx, (char *)dep->name, dep->namelen, in xfs_dir2_block_getdents() 219 be64_to_cpu(dep->inumber), in xfs_dir2_block_getdents() 354 xfs_dir2_data_entry_t *dep; /* dat in xfs_dir2_leaf_getdents() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | readdir.c | 113 struct xfs_dir2_data_entry *dep = bp->b_addr + off; in xchk_dir_walk_block() local 124 next_off = off + xfs_dir2_data_entsize(mp, dep->namelen); in xchk_dir_walk_block() 129 ino = be64_to_cpu(dep->inumber); in xchk_dir_walk_block() 130 name.name = dep->name; in xchk_dir_walk_block() 131 name.len = dep->namelen; in xchk_dir_walk_block() 132 name.type = xfs_dir2_data_get_ftype(mp, dep); in xchk_dir_walk_block() 202 struct xfs_dir2_data_entry *dep; in xchk_dir_walk_leaf() local 239 dep = bp->b_addr + offset; in xchk_dir_walk_leaf() 240 length = xfs_dir2_data_entsize(mp, dep->namelen); in xchk_dir_walk_leaf() 243 ino = be64_to_cpu(dep in xchk_dir_walk_leaf() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | async_tx.h | 16 #define async_tx_find_channel(dep, cap, dst_lst, dst_cnt, src_lst, \ 22 #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \ 23 __async_tx_find_channel(dep, type)
|