/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 38 #define CHECK(ep, expr, fmt...) \ 40 if (!(expr)) EPDBG(ep, "CHECK:" fmt); \ 43 #define CHECK(ep, expr, fmt...) do { } while(0) 46 static void ast_vhub_epn_kick(struct ast_vhub_ep *ep, struct ast_vhub_req *req) in ast_vhub_epn_kick() argument 57 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick() 58 chunk = ep->ep.maxpacket; in ast_vhub_epn_kick() 59 else if ((chunk < ep->ep in ast_vhub_epn_kick() 88 ast_vhub_epn_handle_ack(struct ast_vhub_ep *ep) ast_vhub_epn_handle_ack() argument 155 ast_vhub_count_free_descs(struct ast_vhub_ep *ep) ast_vhub_count_free_descs() argument 166 ast_vhub_epn_kick_desc(struct ast_vhub_ep *ep, struct ast_vhub_req *req) ast_vhub_epn_kick_desc() argument 246 ast_vhub_epn_handle_ack_desc(struct ast_vhub_ep *ep) ast_vhub_epn_handle_ack_desc() argument 325 ast_vhub_epn_ack_irq(struct ast_vhub_ep *ep) ast_vhub_epn_ack_irq() argument 337 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_queue() local 417 ast_vhub_stop_active_req(struct ast_vhub_ep *ep, bool restart_ep) ast_vhub_stop_active_req() argument 472 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_dequeue() local 499 ast_vhub_update_epn_stall(struct ast_vhub_ep *ep) ast_vhub_update_epn_stall() argument 520 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_set_halt_and_wedge() local 561 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_disable() local 599 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_enable() local 758 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_dispose() local 800 struct ast_vhub_ep *ep; ast_vhub_alloc_epn() local [all...] |
H A D | ep0.c | 35 int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len) in ast_vhub_reply() argument 37 struct usb_request *req = &ep->ep0.req.req; in ast_vhub_reply() 40 if (WARN_ON(ep->d_idx != 0)) in ast_vhub_reply() 42 if (WARN_ON(!ep->ep0.dir_in)) in ast_vhub_reply() 59 spin_unlock(&ep->vhub->lock); in ast_vhub_reply() 60 if (ep->ep.ops->queue(&ep->ep, req, GFP_ATOMIC)) in ast_vhub_reply() 64 spin_lock(&ep in ast_vhub_reply() 68 __ast_vhub_simple_reply(struct ast_vhub_ep *ep, int len, ...) __ast_vhub_simple_reply() argument 85 ast_vhub_ep0_handle_setup(struct ast_vhub_ep *ep) ast_vhub_ep0_handle_setup() argument 182 ast_vhub_ep0_do_send(struct ast_vhub_ep *ep, struct ast_vhub_req *req) ast_vhub_ep0_do_send() argument 233 ast_vhub_ep0_rx_prime(struct ast_vhub_ep *ep) ast_vhub_ep0_rx_prime() argument 241 ast_vhub_ep0_do_receive(struct ast_vhub_ep *ep, struct ast_vhub_req *req, unsigned int len) ast_vhub_ep0_do_receive() argument 272 ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack) ast_vhub_ep0_handle_ack() argument 362 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_ep0_queue() local 439 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_ep0_dequeue() local 480 struct ast_vhub_ep *ep = &dev->ep0; ast_vhub_reset_ep0() local 487 ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep, struct ast_vhub_dev *dev) ast_vhub_init_ep0() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 32 #define CHECK(ep, expr, fmt...) \ 34 if (!(expr)) EPDBG(ep, "CHECK:" fmt); \ 37 #define CHECK(ep, expr, fmt...) do { } while(0) 40 static void ast_vhub_epn_kick(struct ast_vhub_ep *ep, struct ast_vhub_req *req) in ast_vhub_epn_kick() argument 51 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick() 52 chunk = ep->ep.maxpacket; in ast_vhub_epn_kick() 53 else if ((chunk < ep->ep in ast_vhub_epn_kick() 82 ast_vhub_epn_handle_ack(struct ast_vhub_ep *ep) ast_vhub_epn_handle_ack() argument 157 ast_vhub_count_free_descs(struct ast_vhub_ep *ep) ast_vhub_count_free_descs() argument 168 ast_vhub_epn_kick_desc(struct ast_vhub_ep *ep, struct ast_vhub_req *req) ast_vhub_epn_kick_desc() argument 248 ast_vhub_epn_handle_ack_desc(struct ast_vhub_ep *ep) ast_vhub_epn_handle_ack_desc() argument 327 ast_vhub_epn_ack_irq(struct ast_vhub_ep *ep) ast_vhub_epn_ack_irq() argument 339 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_queue() local 419 ast_vhub_stop_active_req(struct ast_vhub_ep *ep, bool restart_ep) ast_vhub_stop_active_req() argument 474 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_dequeue() local 503 ast_vhub_update_epn_stall(struct ast_vhub_ep *ep) ast_vhub_update_epn_stall() argument 524 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_set_halt_and_wedge() local 565 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_disable() local 603 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_enable() local 762 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_epn_dispose() local 804 struct ast_vhub_ep *ep; ast_vhub_alloc_epn() local [all...] |
H A D | ep0.c | 29 int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len) in ast_vhub_reply() argument 31 struct usb_request *req = &ep->ep0.req.req; in ast_vhub_reply() 34 if (WARN_ON(ep->d_idx != 0)) in ast_vhub_reply() 36 if (WARN_ON(!ep->ep0.dir_in)) in ast_vhub_reply() 53 spin_unlock(&ep->vhub->lock); in ast_vhub_reply() 54 if (ep->ep.ops->queue(&ep->ep, req, GFP_ATOMIC)) in ast_vhub_reply() 58 spin_lock(&ep in ast_vhub_reply() 62 __ast_vhub_simple_reply(struct ast_vhub_ep *ep, int len, ...) __ast_vhub_simple_reply() argument 79 ast_vhub_ep0_handle_setup(struct ast_vhub_ep *ep) ast_vhub_ep0_handle_setup() argument 176 ast_vhub_ep0_do_send(struct ast_vhub_ep *ep, struct ast_vhub_req *req) ast_vhub_ep0_do_send() argument 227 ast_vhub_ep0_rx_prime(struct ast_vhub_ep *ep) ast_vhub_ep0_rx_prime() argument 235 ast_vhub_ep0_do_receive(struct ast_vhub_ep *ep, struct ast_vhub_req *req, unsigned int len) ast_vhub_ep0_do_receive() argument 273 ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack) ast_vhub_ep0_handle_ack() argument 363 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_ep0_queue() local 440 struct ast_vhub_ep *ep = to_ast_ep(u_ep); ast_vhub_ep0_dequeue() local 481 struct ast_vhub_ep *ep = &dev->ep0; ast_vhub_reset_ep0() local 488 ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep, struct ast_vhub_dev *dev) ast_vhub_init_ep0() argument [all...] |
/kernel/linux/linux-5.10/sound/usb/ |
H A D | endpoint.c | 77 usb_free_coherent(u->ep->chip->dev, u->buffer_size, in release_urb_ctx() 113 * @ep: The snd_usb_endpoint 118 int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep) in snd_usb_endpoint_implicit_feedback_sink() argument 120 return ep->sync_master && in snd_usb_endpoint_implicit_feedback_sink() 121 ep->sync_master->type == SND_USB_ENDPOINT_TYPE_DATA && in snd_usb_endpoint_implicit_feedback_sink() 122 ep->type == SND_USB_ENDPOINT_TYPE_DATA && in snd_usb_endpoint_implicit_feedback_sink() 123 usb_pipeout(ep->pipe); in snd_usb_endpoint_implicit_feedback_sink() 133 int snd_usb_endpoint_slave_next_packet_size(struct snd_usb_endpoint *ep) in snd_usb_endpoint_slave_next_packet_size() argument 138 if (ep->fill_max) in snd_usb_endpoint_slave_next_packet_size() 139 return ep in snd_usb_endpoint_slave_next_packet_size() 155 snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep) snd_usb_endpoint_next_packet_size() argument 173 retire_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) retire_outbound_urb() argument 180 retire_inbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) retire_inbound_urb() argument 197 prepare_silent_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) prepare_silent_urb() argument 243 prepare_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) prepare_outbound_urb() argument 292 prepare_inbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) prepare_inbound_urb() argument 334 queue_pending_output_urbs(struct snd_usb_endpoint *ep) queue_pending_output_urbs() argument 384 struct snd_usb_endpoint *ep = ctx->ep; snd_complete_urb() local 466 struct snd_usb_endpoint *ep; snd_usb_add_endpoint() local 537 wait_clear_urbs(struct snd_usb_endpoint *ep) wait_clear_urbs() argument 567 snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep) snd_usb_endpoint_sync_pending_stop() argument 576 deactivate_urbs(struct snd_usb_endpoint *ep, bool force) deactivate_urbs() argument 601 release_urbs(struct snd_usb_endpoint *ep, int force) release_urbs() argument 626 check_ep_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int frames_per_period, unsigned int periods_per_buffer, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) check_ep_params() argument 798 data_ep_set_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int frames_per_period, unsigned int periods_per_buffer, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) data_ep_set_params() argument 993 sync_ep_set_params(struct snd_usb_endpoint *ep) sync_ep_set_params() argument 1046 snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int period_frames, unsigned int buffer_periods, unsigned int rate, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) snd_usb_endpoint_set_params() argument 1136 snd_usb_endpoint_start(struct snd_usb_endpoint *ep) snd_usb_endpoint_start() argument 1221 snd_usb_endpoint_stop(struct snd_usb_endpoint *ep) snd_usb_endpoint_stop() argument 1245 snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep) snd_usb_endpoint_deactivate() argument 1265 snd_usb_endpoint_release(struct snd_usb_endpoint *ep) snd_usb_endpoint_release() argument 1277 snd_usb_endpoint_free(struct snd_usb_endpoint *ep) snd_usb_endpoint_free() argument 1292 snd_usb_handle_sync_urb(struct snd_usb_endpoint *ep, struct snd_usb_endpoint *sender, const struct urb *urb) snd_usb_handle_sync_urb() argument [all...] |
/kernel/linux/linux-6.6/sound/usb/ |
H A D | endpoint.c | 100 usb_free_coherent(u->ep->chip->dev, u->buffer_size, in release_urb_ctx() 133 static inline bool ep_state_running(struct snd_usb_endpoint *ep) in ep_state_running() argument 135 return atomic_read(&ep->state) == EP_STATE_RUNNING; in ep_state_running() 138 static inline bool ep_state_update(struct snd_usb_endpoint *ep, int old, int new) in ep_state_update() argument 140 return atomic_try_cmpxchg(&ep->state, &old, new); in ep_state_update() 146 * @ep: The snd_usb_endpoint 151 int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep) in snd_usb_endpoint_implicit_feedback_sink() argument 153 return ep->implicit_fb_sync && usb_pipeout(ep->pipe); in snd_usb_endpoint_implicit_feedback_sink() 163 static int slave_next_packet_size(struct snd_usb_endpoint *ep, in slave_next_packet_size() argument 189 next_packet_size(struct snd_usb_endpoint *ep, unsigned int avail) next_packet_size() argument 219 snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx, int idx, unsigned int avail) snd_usb_endpoint_next_packet_size() argument 238 call_retire_callback(struct snd_usb_endpoint *ep, struct urb *urb) call_retire_callback() argument 248 retire_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) retire_outbound_urb() argument 258 retire_inbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) retire_inbound_urb() argument 281 prepare_silent_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) prepare_silent_urb() argument 322 prepare_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx, bool in_stream_lock) prepare_outbound_urb() argument 373 prepare_inbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) prepare_inbound_urb() argument 403 notify_xrun(struct snd_usb_endpoint *ep) notify_xrun() argument 413 next_packet_fifo_enqueue(struct snd_usb_endpoint *ep) next_packet_fifo_enqueue() argument 424 next_packet_fifo_dequeue(struct snd_usb_endpoint *ep) next_packet_fifo_dequeue() argument 435 push_back_to_ready_list(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) push_back_to_ready_list() argument 458 snd_usb_queue_pending_output_urbs(struct snd_usb_endpoint *ep, bool in_stream_lock) snd_usb_queue_pending_output_urbs() argument 536 struct snd_usb_endpoint *ep = ctx->ep; snd_complete_urb() local 648 struct snd_usb_endpoint *ep; snd_usb_get_endpoint() local 681 struct snd_usb_endpoint *ep; snd_usb_add_endpoint() local 714 endpoint_set_syncinterval(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) endpoint_set_syncinterval() argument 738 endpoint_compatible(struct snd_usb_endpoint *ep, const struct audioformat *fp, const struct snd_pcm_hw_params *params) endpoint_compatible() argument 758 snd_usb_endpoint_compatible(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep, const struct audioformat *fp, const struct snd_pcm_hw_params *params) snd_usb_endpoint_compatible() argument 791 struct snd_usb_endpoint *ep; snd_usb_endpoint_open() local 898 snd_usb_endpoint_set_callback(struct snd_usb_endpoint *ep, int (*prepare)(struct snd_usb_substream *subs, struct urb *urb, bool in_stream_lock), void (*retire)(struct snd_usb_substream *subs, struct urb *urb), struct snd_usb_substream *data_subs) snd_usb_endpoint_set_callback() argument 915 endpoint_set_interface(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep, bool set) endpoint_set_interface() argument 946 snd_usb_endpoint_close(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) snd_usb_endpoint_close() argument 974 snd_usb_endpoint_suspend(struct snd_usb_endpoint *ep) snd_usb_endpoint_suspend() argument 986 wait_clear_urbs(struct snd_usb_endpoint *ep) wait_clear_urbs() argument 1018 snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep) snd_usb_endpoint_sync_pending_stop() argument 1029 stop_urbs(struct snd_usb_endpoint *ep, bool force, bool keep_pending) stop_urbs() argument 1064 release_urbs(struct snd_usb_endpoint *ep, bool force) release_urbs() argument 1092 data_ep_set_params(struct snd_usb_endpoint *ep) data_ep_set_params() argument 1270 sync_ep_set_params(struct snd_usb_endpoint *ep) sync_ep_set_params() argument 1311 update_clock_ref_rate(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) update_clock_ref_rate() argument 1341 snd_usb_endpoint_set_params(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) snd_usb_endpoint_set_params() argument 1409 init_sample_rate(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) init_sample_rate() argument 1446 snd_usb_endpoint_prepare(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) snd_usb_endpoint_prepare() argument 1549 snd_usb_endpoint_start(struct snd_usb_endpoint *ep) snd_usb_endpoint_start() argument 1669 snd_usb_endpoint_stop(struct snd_usb_endpoint *ep, bool keep_pending) snd_usb_endpoint_stop() argument 1705 snd_usb_endpoint_release(struct snd_usb_endpoint *ep) snd_usb_endpoint_release() argument 1718 struct snd_usb_endpoint *ep, *en; snd_usb_endpoint_free_all() local 1742 snd_usb_handle_sync_urb(struct snd_usb_endpoint *ep, struct snd_usb_endpoint *sender, const struct urb *urb) snd_usb_handle_sync_urb() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 144 static void connect_reply_upcall(struct c4iw_ep *ep, int status); 163 static void deref_qp(struct c4iw_ep *ep) in deref_qp() argument 165 c4iw_qp_rem_ref(&ep->com.qp->ibqp); in deref_qp() 166 clear_bit(QP_REFERENCED, &ep->com.flags); in deref_qp() 167 set_bit(QP_DEREFED, &ep->com.history); in deref_qp() 170 static void ref_qp(struct c4iw_ep *ep) in ref_qp() argument 172 set_bit(QP_REFERENCED, &ep->com.flags); in ref_qp() 173 set_bit(QP_REFED, &ep->com.history); in ref_qp() 174 c4iw_qp_add_ref(&ep->com.qp->ibqp); in ref_qp() 177 static void start_ep_timer(struct c4iw_ep *ep) in start_ep_timer() argument 191 stop_ep_timer(struct c4iw_ep *ep) stop_ep_timer() argument 248 set_emss(struct c4iw_ep *ep, u16 opt) set_emss() argument 330 remove_ep_tid(struct c4iw_ep *ep) remove_ep_tid() argument 341 insert_ep_tid(struct c4iw_ep *ep) insert_ep_tid() argument 358 struct c4iw_ep *ep; get_ep_from_tid() local 375 struct c4iw_listen_ep *ep; get_ep_from_stid() local 388 struct c4iw_ep *ep; _c4iw_free_ep() local 417 release_ep_resources(struct c4iw_ep *ep) release_ep_resources() argument 494 struct c4iw_ep *ep; _put_ep_safe() local 503 struct c4iw_ep *ep; _put_pass_ep_safe() local 517 queue_arp_failure_cpl(struct c4iw_ep *ep, struct sk_buff *skb, int cpl) queue_arp_failure_cpl() argument 536 struct c4iw_ep *ep = handle; pass_accept_rpl_arp_failure() local 550 struct c4iw_ep *ep = handle; act_open_req_arp_failure() local 573 struct c4iw_ep *ep = handle; abort_arp_failure() local 588 send_flowc(struct c4iw_ep *ep) send_flowc() argument 646 send_halfclose(struct c4iw_ep *ep) send_halfclose() argument 661 read_tcb(struct c4iw_ep *ep) read_tcb() argument 687 send_abort_req(struct c4iw_ep *ep) send_abort_req() argument 702 send_abort(struct c4iw_ep *ep) send_abort() argument 713 send_connect(struct c4iw_ep *ep) send_connect() argument 940 send_mpa_req(struct c4iw_ep *ep, struct sk_buff *skb, u8 mpa_rev_to_use) send_mpa_req() argument 1045 send_mpa_reject(struct c4iw_ep *ep, const void *pdata, u8 plen) send_mpa_reject() argument 1125 send_mpa_reply(struct c4iw_ep *ep, const void *pdata, u8 plen) send_mpa_reply() argument 1216 struct c4iw_ep *ep; act_establish() local 1267 close_complete_upcall(struct c4iw_ep *ep, int status) close_complete_upcall() argument 1284 peer_close_upcall(struct c4iw_ep *ep) peer_close_upcall() argument 1299 peer_abort_upcall(struct c4iw_ep *ep) peer_abort_upcall() argument 1316 connect_reply_upcall(struct c4iw_ep *ep, int status) connect_reply_upcall() argument 1359 connect_request_upcall(struct c4iw_ep *ep) connect_request_upcall() argument 1397 established_upcall(struct c4iw_ep *ep) established_upcall() argument 1413 update_rx_credits(struct c4iw_ep *ep, u32 credits) update_rx_credits() argument 1459 process_mpa_reply(struct c4iw_ep *ep, struct sk_buff *skb) process_mpa_reply() argument 1705 process_mpa_request(struct c4iw_ep *ep, struct sk_buff *skb) process_mpa_request() argument 1846 struct c4iw_ep *ep; rx_data() local 1897 complete_cached_srq_buffers(struct c4iw_ep *ep, u32 srqidx) complete_cached_srq_buffers() argument 1920 struct c4iw_ep *ep; abort_rpl() local 1958 send_fw_act_open_req(struct c4iw_ep *ep, unsigned int atid) send_fw_act_open_req() argument 2061 set_tcp_window(struct c4iw_ep *ep, struct port_info *pi) set_tcp_window() argument 2071 import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip, struct dst_entry *dst, struct c4iw_dev *cdev, bool clear_mpa_v1, enum chip_type adapter_type, u8 tos) import_ep() argument 2154 c4iw_reconnect(struct c4iw_ep *ep) c4iw_reconnect() argument 2269 struct c4iw_ep *ep; act_open_rpl() local 2384 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); pass_open_rpl() local 2402 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); close_listsrv_rpl() local 2415 accept_cr(struct c4iw_ep *ep, struct sk_buff *skb, struct cpl_pass_accept_req *req) accept_cr() argument 2681 struct c4iw_ep *ep; pass_establish() local 2714 struct c4iw_ep *ep; peer_close() local 2800 finish_peer_abort(struct c4iw_dev *dev, struct c4iw_ep *ep) finish_peer_abort() argument 2818 struct c4iw_ep *ep; peer_abort() local 2977 struct c4iw_ep *ep; close_con_rpl() local 3027 struct c4iw_ep *ep; terminate() local 3059 struct c4iw_ep *ep; fw4_ack() local 3096 struct c4iw_ep *ep = to_ep(cm_id); c4iw_reject_cr() local 3124 struct c4iw_ep *ep = to_ep(cm_id); c4iw_accept_cr() local 3303 struct c4iw_ep *ep; c4iw_connect() local 3466 create_server6(struct c4iw_dev *dev, struct c4iw_listen_ep *ep) create_server6() argument 3499 create_server4(struct c4iw_dev *dev, struct c4iw_listen_ep *ep) create_server4() argument 3543 struct c4iw_listen_ep *ep; c4iw_create_listen() local 3606 struct c4iw_listen_ep *ep = to_listen_ep(cm_id); c4iw_destroy_listen() local 3641 c4iw_ep_disconnect(struct c4iw_ep *ep, int abrupt, gfp_t gfp) c4iw_ep_disconnect() argument 3751 struct c4iw_ep *ep; active_ofld_conn_reply() local 3853 struct c4iw_ep *ep; read_tcb_rpl() local 4226 process_timeout(struct c4iw_ep *ep) process_timeout() argument 4276 struct c4iw_ep *ep; process_timedout_eps() local 4325 struct c4iw_ep *ep = from_timer(ep, t, timer); ep_timeout() local 4407 struct c4iw_ep *ep; peer_abort_intr() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 144 static void connect_reply_upcall(struct c4iw_ep *ep, int status); 163 static void deref_qp(struct c4iw_ep *ep) in deref_qp() argument 165 c4iw_qp_rem_ref(&ep->com.qp->ibqp); in deref_qp() 166 clear_bit(QP_REFERENCED, &ep->com.flags); in deref_qp() 167 set_bit(QP_DEREFED, &ep->com.history); in deref_qp() 170 static void ref_qp(struct c4iw_ep *ep) in ref_qp() argument 172 set_bit(QP_REFERENCED, &ep->com.flags); in ref_qp() 173 set_bit(QP_REFED, &ep->com.history); in ref_qp() 174 c4iw_qp_add_ref(&ep->com.qp->ibqp); in ref_qp() 177 static void start_ep_timer(struct c4iw_ep *ep) in start_ep_timer() argument 191 stop_ep_timer(struct c4iw_ep *ep) stop_ep_timer() argument 248 set_emss(struct c4iw_ep *ep, u16 opt) set_emss() argument 330 remove_ep_tid(struct c4iw_ep *ep) remove_ep_tid() argument 341 insert_ep_tid(struct c4iw_ep *ep) insert_ep_tid() argument 358 struct c4iw_ep *ep; get_ep_from_tid() local 375 struct c4iw_listen_ep *ep; get_ep_from_stid() local 388 struct c4iw_ep *ep; _c4iw_free_ep() local 417 release_ep_resources(struct c4iw_ep *ep) release_ep_resources() argument 494 struct c4iw_ep *ep; _put_ep_safe() local 503 struct c4iw_ep *ep; _put_pass_ep_safe() local 517 queue_arp_failure_cpl(struct c4iw_ep *ep, struct sk_buff *skb, int cpl) queue_arp_failure_cpl() argument 536 struct c4iw_ep *ep = handle; pass_accept_rpl_arp_failure() local 550 struct c4iw_ep *ep = handle; act_open_req_arp_failure() local 573 struct c4iw_ep *ep = handle; abort_arp_failure() local 588 send_flowc(struct c4iw_ep *ep) send_flowc() argument 646 send_halfclose(struct c4iw_ep *ep) send_halfclose() argument 661 read_tcb(struct c4iw_ep *ep) read_tcb() argument 687 send_abort_req(struct c4iw_ep *ep) send_abort_req() argument 702 send_abort(struct c4iw_ep *ep) send_abort() argument 713 send_connect(struct c4iw_ep *ep) send_connect() argument 940 send_mpa_req(struct c4iw_ep *ep, struct sk_buff *skb, u8 mpa_rev_to_use) send_mpa_req() argument 1045 send_mpa_reject(struct c4iw_ep *ep, const void *pdata, u8 plen) send_mpa_reject() argument 1125 send_mpa_reply(struct c4iw_ep *ep, const void *pdata, u8 plen) send_mpa_reply() argument 1216 struct c4iw_ep *ep; act_establish() local 1267 close_complete_upcall(struct c4iw_ep *ep, int status) close_complete_upcall() argument 1284 peer_close_upcall(struct c4iw_ep *ep) peer_close_upcall() argument 1299 peer_abort_upcall(struct c4iw_ep *ep) peer_abort_upcall() argument 1316 connect_reply_upcall(struct c4iw_ep *ep, int status) connect_reply_upcall() argument 1359 connect_request_upcall(struct c4iw_ep *ep) connect_request_upcall() argument 1397 established_upcall(struct c4iw_ep *ep) established_upcall() argument 1413 update_rx_credits(struct c4iw_ep *ep, u32 credits) update_rx_credits() argument 1459 process_mpa_reply(struct c4iw_ep *ep, struct sk_buff *skb) process_mpa_reply() argument 1705 process_mpa_request(struct c4iw_ep *ep, struct sk_buff *skb) process_mpa_request() argument 1846 struct c4iw_ep *ep; rx_data() local 1897 complete_cached_srq_buffers(struct c4iw_ep *ep, u32 srqidx) complete_cached_srq_buffers() argument 1920 struct c4iw_ep *ep; abort_rpl() local 1958 send_fw_act_open_req(struct c4iw_ep *ep, unsigned int atid) send_fw_act_open_req() argument 2061 set_tcp_window(struct c4iw_ep *ep, struct port_info *pi) set_tcp_window() argument 2071 import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip, struct dst_entry *dst, struct c4iw_dev *cdev, bool clear_mpa_v1, enum chip_type adapter_type, u8 tos) import_ep() argument 2154 c4iw_reconnect(struct c4iw_ep *ep) c4iw_reconnect() argument 2269 struct c4iw_ep *ep; act_open_rpl() local 2384 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); pass_open_rpl() local 2402 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); close_listsrv_rpl() local 2415 accept_cr(struct c4iw_ep *ep, struct sk_buff *skb, struct cpl_pass_accept_req *req) accept_cr() argument 2675 struct c4iw_ep *ep; pass_establish() local 2711 struct c4iw_ep *ep; peer_close() local 2797 finish_peer_abort(struct c4iw_dev *dev, struct c4iw_ep *ep) finish_peer_abort() argument 2815 struct c4iw_ep *ep; peer_abort() local 2974 struct c4iw_ep *ep; close_con_rpl() local 3024 struct c4iw_ep *ep; terminate() local 3056 struct c4iw_ep *ep; fw4_ack() local 3093 struct c4iw_ep *ep = to_ep(cm_id); c4iw_reject_cr() local 3121 struct c4iw_ep *ep = to_ep(cm_id); c4iw_accept_cr() local 3300 struct c4iw_ep *ep; c4iw_connect() local 3463 create_server6(struct c4iw_dev *dev, struct c4iw_listen_ep *ep) create_server6() argument 3496 create_server4(struct c4iw_dev *dev, struct c4iw_listen_ep *ep) create_server4() argument 3540 struct c4iw_listen_ep *ep; c4iw_create_listen() local 3603 struct c4iw_listen_ep *ep = to_listen_ep(cm_id); c4iw_destroy_listen() local 3638 c4iw_ep_disconnect(struct c4iw_ep *ep, int abrupt, gfp_t gfp) c4iw_ep_disconnect() argument 3748 struct c4iw_ep *ep; active_ofld_conn_reply() local 3850 struct c4iw_ep *ep; read_tcb_rpl() local 4227 process_timeout(struct c4iw_ep *ep) process_timeout() argument 4277 struct c4iw_ep *ep; process_timedout_eps() local 4326 struct c4iw_ep *ep = from_timer(ep, t, timer); ep_timeout() local 4408 struct c4iw_ep *ep; peer_abort_intr() local [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | endpointola.c | 41 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, in sctp_endpoint_init() argument 48 ep->digest = kzalloc(SCTP_SIGNATURE_SIZE, gfp); in sctp_endpoint_init() 49 if (!ep->digest) in sctp_endpoint_init() 52 ep->asconf_enable = net->sctp.addip_enable; in sctp_endpoint_init() 53 ep->auth_enable = net->sctp.auth_enable; in sctp_endpoint_init() 54 if (ep->auth_enable) { in sctp_endpoint_init() 55 if (sctp_auth_init(ep, gfp)) in sctp_endpoint_init() 57 if (ep->asconf_enable) { in sctp_endpoint_init() 58 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF); in sctp_endpoint_init() 59 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF_AC in sctp_endpoint_init() 131 struct sctp_endpoint *ep; sctp_endpoint_new() local 151 sctp_endpoint_add_asoc(struct sctp_endpoint *ep, struct sctp_association *asoc) sctp_endpoint_add_asoc() argument 174 sctp_endpoint_free(struct sctp_endpoint *ep) sctp_endpoint_free() argument 189 struct sctp_endpoint *ep = container_of(head, struct sctp_endpoint, rcu); sctp_endpoint_destroy_rcu() local 199 sctp_endpoint_destroy(struct sctp_endpoint *ep) sctp_endpoint_destroy() argument 232 sctp_endpoint_hold(struct sctp_endpoint *ep) sctp_endpoint_hold() argument 240 sctp_endpoint_put(struct sctp_endpoint *ep) sctp_endpoint_put() argument 247 sctp_endpoint_is_match(struct sctp_endpoint *ep, struct net *net, const union sctp_addr *laddr, int dif, int sdif) sctp_endpoint_is_match() argument 270 sctp_endpoint_lookup_assoc( const struct sctp_endpoint *ep, const union sctp_addr *paddr, struct sctp_transport **transport) sctp_endpoint_lookup_assoc() argument 301 sctp_endpoint_is_peeled_off(struct sctp_endpoint *ep, const union sctp_addr *paddr) sctp_endpoint_is_peeled_off() argument 327 struct sctp_endpoint *ep = sctp_endpoint_bh_rcv() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | fsl_qe_udc.c | 52 /*ep name is important in gadget, it should obey the convention of ep_match()*/ 76 static void done(struct qe_ep *ep, struct qe_req *req, int status) in done() argument 78 struct qe_udc *udc = ep->udc; in done() 79 unsigned char stopped = ep->stopped; in done() 83 * so here the req will be dropped from the ep->queue in done() 96 ep_is_in(ep) in done() 104 ep_is_in(ep) in done() 110 ep->ep.name, &req->req, status, in done() 114 ep in done() 127 nuke(struct qe_ep *ep, int status) nuke() argument 142 qe_eprx_stall_change(struct qe_ep *ep, int value) qe_eprx_stall_change() argument 159 qe_eptx_stall_change(struct qe_ep *ep, int value) qe_eptx_stall_change() argument 186 qe_eprx_nack(struct qe_ep *ep) qe_eprx_nack() argument 205 qe_eprx_normal(struct qe_ep *ep) qe_eprx_normal() argument 226 qe_ep_cmd_stoptx(struct qe_ep *ep) qe_ep_cmd_stoptx() argument 238 qe_ep_cmd_restarttx(struct qe_ep *ep) qe_ep_cmd_restarttx() argument 250 qe_ep_flushtxfifo(struct qe_ep *ep) qe_ep_flushtxfifo() argument 270 qe_ep_filltxfifo(struct qe_ep *ep) qe_ep_filltxfifo() argument 281 struct qe_ep *ep; qe_epbds_reset() local 313 struct qe_ep *ep; qe_ep_reset() local 341 qe_ep_toggledata01(struct qe_ep *ep) qe_ep_toggledata01() argument 349 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_bd_init() local 406 qe_ep_rxbd_update(struct qe_ep *ep) qe_ep_rxbd_update() argument 469 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_register_init() local 524 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_init() local 703 recycle_one_rxbd(struct qe_ep *ep) recycle_one_rxbd() argument 717 recycle_rxbds(struct qe_ep *ep, unsigned char stopatnext) recycle_rxbds() argument 744 ep_recycle_rxbds(struct qe_ep *ep) ep_recycle_rxbds() argument 786 struct qe_ep *ep = &udc->eps[0]; ep0_setup_handle() local 810 struct qe_ep *ep = &udc->eps[0]; qe_ep0_rx() local 881 qe_ep_rxframe_handle(struct qe_ep *ep) qe_ep_rxframe_handle() argument 929 struct qe_ep *ep; ep_rx_tasklet() local 1014 qe_ep_rx(struct qe_ep *ep) qe_ep_rx() argument 1060 qe_ep_tx(struct qe_ep *ep, struct qe_frame *frame) qe_ep_tx() argument 1132 txcomplete(struct qe_ep *ep, unsigned char restart) txcomplete() argument 1182 qe_usb_senddata(struct qe_ep *ep, struct qe_frame *frame) qe_usb_senddata() argument 1204 sendnulldata(struct qe_ep *ep, struct qe_frame *frame, uint infor) sendnulldata() argument 1220 frame_create_tx(struct qe_ep *ep, struct qe_frame *frame) frame_create_tx() argument 1242 struct qe_ep *ep = &udc->eps[0]; ep0_prime_status() local 1259 struct qe_ep *ep = &udc->eps[0]; ep0_req_complete() local 1297 ep0_txcomplete(struct qe_ep *ep, unsigned char restart) ep0_txcomplete() argument 1335 ep0_txframe_handle(struct qe_ep *ep) ep0_txframe_handle() argument 1354 qe_ep0_txconf(struct qe_ep *ep) qe_ep0_txconf() argument 1391 ep_txframe_handle(struct qe_ep *ep) ep_txframe_handle() argument 1410 qe_ep_txconf(struct qe_ep *ep) qe_ep_txconf() argument 1449 ep_req_send(struct qe_ep *ep, struct qe_req *req) ep_req_send() argument 1463 ep_req_rx(struct qe_ep *ep, struct qe_req *req) ep_req_rx() argument 1553 ep_req_receive(struct qe_ep *ep, struct qe_req *req) ep_req_receive() argument 1579 struct qe_ep *ep; qe_ep_enable() local 1609 struct qe_ep *ep; qe_ep_disable() local 1689 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); __qe_ep_queue() local 1758 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); qe_ep_queue() local 1772 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); qe_ep_dequeue() local 1806 struct qe_ep *ep; qe_ep_set_halt() local 1891 struct qe_ep *ep = &udc->eps[pipe]; udc_reset_ep_queue() local 1939 struct qe_ep *ep; ch9getstatus() local 2044 struct qe_ep *ep; setup_received_handle() local 2165 struct qe_ep *ep; tx_irq() local 2194 struct qe_ep *ep; rx_irq() local 2403 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_config() local 2470 struct qe_ep *ep; qe_udc_probe() local 2630 struct qe_ep *ep; qe_udc_remove() local [all...] |
H A D | net2280.c | 87 EP_INFO("ep-a", 89 EP_INFO("ep-b", 91 EP_INFO("ep-c", 93 EP_INFO("ep-d", 95 EP_INFO("ep-e", 97 EP_INFO("ep-f", 99 EP_INFO("ep-g", 101 EP_INFO("ep-h", 126 /* mode 0 == ep-{a,b,c,d} 1K fifo each 127 * mode 1 == ep 168 enable_pciirqenb(struct net2280_ep *ep) enable_pciirqenb() argument 185 struct net2280_ep *ep; net2280_enable() local 378 ep_reset_228x(struct net2280_regs __iomem *regs, struct net2280_ep *ep) ep_reset_228x() argument 454 ep_reset_338x(struct net2280_regs __iomem *regs, struct net2280_ep *ep) ep_reset_338x() argument 514 struct net2280_ep *ep; net2280_disable() local 548 struct net2280_ep *ep; net2280_alloc_request() local 582 struct net2280_ep *ep; net2280_free_request() local 608 write_fifo(struct net2280_ep *ep, struct usb_request *req) write_fifo() argument 668 out_flush(struct net2280_ep *ep) out_flush() argument 708 read_fifo(struct net2280_ep *ep, struct net2280_request *req) read_fifo() argument 795 fill_dma_desc(struct net2280_ep *ep, struct net2280_request *req, int valid) fill_dma_desc() argument 847 start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) start_queue() argument 869 start_dma(struct net2280_ep *ep, struct net2280_request *req) start_dma() argument 933 queue_dma(struct net2280_ep *ep, struct net2280_request *req, int valid) queue_dma() argument 953 done(struct net2280_ep *ep, struct net2280_request *req, int status) done() argument 988 struct net2280_ep *ep; net2280_queue() local 1125 dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount, int status) dma_done() argument 1132 scan_dma_completions(struct net2280_ep *ep) scan_dma_completions() argument 1199 restart_dma(struct net2280_ep *ep) restart_dma() argument 1210 abort_dma(struct net2280_ep *ep) abort_dma() argument 1223 nuke(struct net2280_ep *ep) nuke() argument 1242 struct net2280_ep *ep; net2280_dequeue() local 1329 struct net2280_ep *ep; net2280_set_halt_and_wedge() local 1403 struct net2280_ep *ep; net2280_fifo_status() local 1430 struct net2280_ep *ep; net2280_fifo_flush() local 1557 struct usb_ep *ep; net2280_match_ep() local 1718 struct net2280_ep *ep; registers_show() local 1784 struct net2280_ep *ep; registers_show() local 1819 struct net2280_ep *ep = &dev->ep[i]; queues_show() local 1946 struct net2280_ep *ep; defect7374_disable_data_eps() local 2076 struct net2280_ep *ep = &dev->ep[tmp + 1]; usb_reset_228x() local 2114 struct net2280_ep *ep = &dev->ep[tmp + 1]; usb_reset_338x() local 2160 struct net2280_ep *ep = &dev->ep[tmp]; usb_reinit_228x() local 2201 struct net2280_ep *ep = &dev->ep[i]; usb_reinit_338x() local 2511 handle_ep_small(struct net2280_ep *ep) handle_ep_small() argument 2753 struct net2280_ep *ep; get_ep_by_addr() local 2845 ep_clear_seqnum(struct net2280_ep *ep) ep_clear_seqnum() argument 2860 handle_stat0_irqs_superspeed(struct net2280 *dev, struct net2280_ep *ep, struct usb_ctrlrequest r) handle_stat0_irqs_superspeed() argument 3089 struct net2280_ep *ep; handle_stat0_irqs() local 3355 struct net2280_ep *ep; global() variable 3502 scan_dma_completions(ep); global() variable 3507 restart_dma(ep); global() variable [all...] |
H A D | pch_udc.c | 175 #define PCH_UDC_CSR(ep) (UDC_CSR_ADDR + ep*4) 182 #define UDC_EPIN_IDX(ep) (ep * 2) 183 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) 271 * @ep: embedded ep request 277 * @offset_addr: offset address of ep register 278 * @desc: for this ep 286 struct usb_ep ep; global() member 343 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; global() member 431 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) pch_udc_ep_readl() argument 436 pch_udc_ep_writel(struct pch_udc_ep *ep, unsigned long val, unsigned long reg) pch_udc_ep_writel() argument 442 pch_udc_ep_bit_set(struct pch_udc_ep *ep, unsigned long reg, unsigned long bitmask) pch_udc_ep_bit_set() argument 449 pch_udc_ep_bit_clr(struct pch_udc_ep *ep, unsigned long reg, unsigned long bitmask) pch_udc_ep_bit_clr() argument 478 pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, unsigned int ep) pch_udc_write_csr() argument 495 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) pch_udc_read_csr() argument 623 pch_udc_ep_set_stall(struct pch_udc_ep *ep) pch_udc_ep_set_stall() argument 637 pch_udc_ep_clear_stall(struct pch_udc_ep *ep) pch_udc_ep_clear_stall() argument 650 pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, u8 type) pch_udc_ep_set_trfr_type() argument 663 pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, u32 buf_size, u32 ep_in) pch_udc_ep_set_bufsz() argument 683 pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) pch_udc_ep_set_maxpkt() argument 695 pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) pch_udc_ep_set_subptr() argument 705 pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) pch_udc_ep_set_ddptr() argument 714 pch_udc_ep_set_pd(struct pch_udc_ep *ep) pch_udc_ep_set_pd() argument 723 pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) pch_udc_ep_set_rrdy() argument 732 pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) pch_udc_ep_clear_rrdy() argument 880 pch_udc_read_ep_control(struct pch_udc_ep *ep) pch_udc_read_ep_control() argument 890 pch_udc_clear_ep_control(struct pch_udc_ep *ep) pch_udc_clear_ep_control() argument 900 pch_udc_read_ep_status(struct pch_udc_ep *ep) pch_udc_read_ep_status() argument 910 pch_udc_clear_ep_status(struct pch_udc_ep *ep, u32 stat) pch_udc_clear_ep_status() argument 921 pch_udc_ep_set_nak(struct pch_udc_ep *ep) pch_udc_ep_set_nak() argument 931 pch_udc_ep_clear_nak(struct pch_udc_ep *ep) pch_udc_ep_clear_nak() argument 964 pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) pch_udc_ep_fifo_flush() argument 978 pch_udc_ep_enable(struct pch_udc_ep *ep, struct pch_udc_cfg_data *cfg, const struct usb_endpoint_descriptor *desc) pch_udc_ep_enable() argument 1013 pch_udc_ep_disable(struct pch_udc_ep *ep) pch_udc_ep_disable() argument 1033 pch_udc_wait_ep_stall(struct pch_udc_ep *ep) pch_udc_wait_ep_stall() argument 1514 pch_udc_ep_clear_rrdy(ep); global() variable 1524 empty_req_queue(struct pch_udc_ep *ep) empty_req_queue() argument 1575 pch_udc_create_dma_chain(struct pch_udc_ep *ep, struct pch_udc_request *req, unsigned long buf_len, gfp_t gfp_flags) pch_udc_create_dma_chain() argument 1634 prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, gfp_t gfp) prepare_dma() argument 1657 process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) process_zlp() argument 1683 pch_udc_start_rxrequest(struct pch_udc_ep *ep, struct pch_udc_request *req) pch_udc_start_rxrequest() argument 1721 struct pch_udc_ep *ep; pch_udc_pcd_ep_enable() local 1754 struct pch_udc_ep *ep; pch_udc_pcd_ep_disable() local 1789 struct pch_udc_ep *ep; pch_udc_alloc_request() local 1828 struct pch_udc_ep *ep; pch_udc_free_request() local 1864 struct pch_udc_ep *ep; pch_udc_pcd_queue() local 1965 struct pch_udc_ep *ep; pch_udc_pcd_dequeue() local 2001 struct pch_udc_ep *ep; pch_udc_pcd_set_halt() local 2042 struct pch_udc_ep *ep; pch_udc_pcd_set_wedge() local 2075 struct pch_udc_ep *ep; pch_udc_pcd_fifo_flush() local 2118 pch_udc_start_next_txrequest(struct pch_udc_ep *ep) pch_udc_start_next_txrequest() argument 2157 pch_udc_complete_transfer(struct pch_udc_ep *ep) pch_udc_complete_transfer() argument 2197 pch_udc_complete_receiver(struct pch_udc_ep *ep) pch_udc_complete_receiver() argument 2262 struct pch_udc_ep *ep; pch_udc_svc_data_in() local 2306 struct pch_udc_ep *ep; pch_udc_svc_data_out() local 2376 struct pch_udc_ep *ep; pch_udc_svc_control_in() local 2419 struct pch_udc_ep *ep; global() variable 2461 pch_udc_ep_clear_nak(ep); global() variable 2483 pch_udc_ep_set_rrdy(ep); global() variable 2495 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; pch_udc_postsvc_epinters() local 2510 struct pch_udc_ep *ep; pch_udc_read_all_epstatus() local 2535 struct pch_udc_ep *ep; pch_udc_activate_control_ep() local 2581 struct pch_udc_ep *ep; pch_udc_svc_ur_interrupt() local 2891 struct pch_udc_ep *ep = &dev->ep[i]; pch_udc_pcd_reinit() local [all...] |
H A D | goku_udc.c | 14 * - Endpoint numbering is fixed: ep{1,2,3}-bulk 15 * - Gadget drivers can choose ep maxpacket (8/16/32/64) 94 struct goku_ep *ep; in goku_ep_enable() local 99 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_enable() 103 dev = ep->dev; in goku_ep_enable() 104 if (ep == &dev->ep[0]) in goku_ep_enable() 108 if (ep->num != usb_endpoint_num(desc)) in goku_ep_enable() 119 if ((readl(ep in goku_ep_enable() 192 ep_reset(struct goku_udc_regs __iomem *regs, struct goku_ep *ep) ep_reset() argument 246 struct goku_ep *ep; goku_ep_disable() local 300 done(struct goku_ep *ep, struct goku_request *req, int status) done() argument 349 write_fifo(struct goku_ep *ep, struct goku_request *req) write_fifo() argument 408 read_fifo(struct goku_ep *ep, struct goku_request *req) read_fifo() argument 521 pio_advance(struct goku_ep *ep) pio_advance() argument 535 start_dma(struct goku_ep *ep, struct goku_request *req) start_dma() argument 590 dma_advance(struct goku_udc *dev, struct goku_ep *ep) dma_advance() argument 638 abort_dma(struct goku_ep *ep, int status) abort_dma() argument 714 struct goku_ep *ep; goku_queue() local 794 nuke(struct goku_ep *ep, int status) nuke() argument 813 struct goku_ep *ep; goku_dequeue() local 860 goku_clear_halt(struct goku_ep *ep) goku_clear_halt() argument 883 struct goku_ep *ep; goku_set_halt() local 926 struct goku_ep *ep; goku_fifo_status() local 948 struct goku_ep *ep; goku_fifo_flush() local 1002 struct usb_ep *ep; goku_match_ep() local 1197 struct goku_ep *ep = &dev->ep [i]; udc_proc_read() local 1264 struct goku_ep *ep = &dev->ep[i]; udc_reinit() local 1538 struct goku_ep *ep; goku_irq() local [all...] |
H A D | fotg210-udc.c | 28 static void fotg210_disable_fifo_int(struct fotg210_ep *ep) in fotg210_disable_fifo_int() argument 30 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 32 if (ep->dir_in) in fotg210_disable_fifo_int() 33 value |= DMISGR1_MF_IN_INT(ep->epnum - 1); in fotg210_disable_fifo_int() 35 value |= DMISGR1_MF_OUTSPK_INT(ep->epnum - 1); in fotg210_disable_fifo_int() 36 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 39 static void fotg210_enable_fifo_int(struct fotg210_ep *ep) in fotg210_enable_fifo_int() argument 41 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int() 43 if (ep->dir_in) in fotg210_enable_fifo_int() 44 value &= ~DMISGR1_MF_IN_INT(ep in fotg210_enable_fifo_int() 58 fotg210_done(struct fotg210_ep *ep, struct fotg210_request *req, int status) fotg210_done() argument 81 fotg210_fifo_ep_mapping(struct fotg210_ep *ep, u32 epnum, u32 dir_in) fotg210_fifo_ep_mapping() argument 109 fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) fotg210_set_fifo_dir() argument 119 fotg210_set_tfrtype(struct fotg210_ep *ep, u32 epnum, u32 type) fotg210_set_tfrtype() argument 129 fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, u32 dir_in) fotg210_set_mps() argument 142 fotg210_config_ep(struct fotg210_ep *ep, const struct usb_endpoint_descriptor *desc) fotg210_config_ep() argument 160 struct fotg210_ep *ep; fotg210_ep_enable() local 175 struct fotg210_ep *ep = fotg210->ep[epnum]; fotg210_reset_tseq() local 196 fotg210_ep_release(struct fotg210_ep *ep) fotg210_ep_release() argument 211 struct fotg210_ep *ep; fotg210_ep_disable() local 253 fotg210_enable_dma(struct fotg210_ep *ep, dma_addr_t d, u32 len) fotg210_enable_dma() argument 287 fotg210_disable_dma(struct fotg210_ep *ep) fotg210_disable_dma() argument 292 fotg210_wait_dma_done(struct fotg210_ep *ep) fotg210_wait_dma_done() argument 326 fotg210_start_dma(struct fotg210_ep *ep, struct fotg210_request *req) fotg210_start_dma() argument 374 fotg210_ep0_queue(struct fotg210_ep *ep, struct fotg210_request *req) fotg210_ep0_queue() argument 396 struct fotg210_ep *ep; fotg210_ep_queue() local 429 struct fotg210_ep *ep; fotg210_ep_dequeue() local 444 fotg210_set_epnstall(struct fotg210_ep *ep) fotg210_set_epnstall() argument 465 fotg210_clear_epnstall(struct fotg210_ep *ep) fotg210_clear_epnstall() argument 481 struct fotg210_ep *ep; fotg210_set_halt_and_wedge() local 669 struct fotg210_ep *ep = fotg210_clear_feature() local 696 fotg210_is_epnstall(struct fotg210_ep *ep) fotg210_is_epnstall() argument 792 struct fotg210_ep *ep = fotg210->ep[0]; fotg210_ep0out() local 812 struct fotg210_ep *ep = fotg210->ep[0]; fotg210_ep0in() local 838 fotg210_in_fifo_handler(struct fotg210_ep *ep) fotg210_in_fifo_handler() argument 848 fotg210_out_fifo_handler(struct fotg210_ep *ep) fotg210_out_fifo_handler() argument 1140 struct fotg210_ep *ep = fotg210->ep[i]; fotg210_udc_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | fsl_qe_udc.c | 52 /*ep name is important in gadget, it should obey the convention of ep_match()*/ 76 static void done(struct qe_ep *ep, struct qe_req *req, int status) in done() argument 78 struct qe_udc *udc = ep->udc; in done() 79 unsigned char stopped = ep->stopped; in done() 83 * so here the req will be dropped from the ep->queue in done() 96 ep_is_in(ep) in done() 104 ep_is_in(ep) in done() 110 ep->ep.name, &req->req, status, in done() 114 ep in done() 127 nuke(struct qe_ep *ep, int status) nuke() argument 142 qe_eprx_stall_change(struct qe_ep *ep, int value) qe_eprx_stall_change() argument 159 qe_eptx_stall_change(struct qe_ep *ep, int value) qe_eptx_stall_change() argument 186 qe_eprx_nack(struct qe_ep *ep) qe_eprx_nack() argument 205 qe_eprx_normal(struct qe_ep *ep) qe_eprx_normal() argument 226 qe_ep_cmd_stoptx(struct qe_ep *ep) qe_ep_cmd_stoptx() argument 238 qe_ep_cmd_restarttx(struct qe_ep *ep) qe_ep_cmd_restarttx() argument 250 qe_ep_flushtxfifo(struct qe_ep *ep) qe_ep_flushtxfifo() argument 270 qe_ep_filltxfifo(struct qe_ep *ep) qe_ep_filltxfifo() argument 281 struct qe_ep *ep; qe_epbds_reset() local 313 struct qe_ep *ep; qe_ep_reset() local 341 qe_ep_toggledata01(struct qe_ep *ep) qe_ep_toggledata01() argument 349 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_bd_init() local 406 qe_ep_rxbd_update(struct qe_ep *ep) qe_ep_rxbd_update() argument 469 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_register_init() local 524 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_init() local 709 recycle_one_rxbd(struct qe_ep *ep) recycle_one_rxbd() argument 723 recycle_rxbds(struct qe_ep *ep, unsigned char stopatnext) recycle_rxbds() argument 750 ep_recycle_rxbds(struct qe_ep *ep) ep_recycle_rxbds() argument 792 struct qe_ep *ep = &udc->eps[0]; ep0_setup_handle() local 816 struct qe_ep *ep = &udc->eps[0]; qe_ep0_rx() local 887 qe_ep_rxframe_handle(struct qe_ep *ep) qe_ep_rxframe_handle() argument 935 struct qe_ep *ep; ep_rx_tasklet() local 1020 qe_ep_rx(struct qe_ep *ep) qe_ep_rx() argument 1066 qe_ep_tx(struct qe_ep *ep, struct qe_frame *frame) qe_ep_tx() argument 1138 txcomplete(struct qe_ep *ep, unsigned char restart) txcomplete() argument 1188 qe_usb_senddata(struct qe_ep *ep, struct qe_frame *frame) qe_usb_senddata() argument 1210 sendnulldata(struct qe_ep *ep, struct qe_frame *frame, uint infor) sendnulldata() argument 1226 frame_create_tx(struct qe_ep *ep, struct qe_frame *frame) frame_create_tx() argument 1248 struct qe_ep *ep = &udc->eps[0]; ep0_prime_status() local 1265 struct qe_ep *ep = &udc->eps[0]; ep0_req_complete() local 1303 ep0_txcomplete(struct qe_ep *ep, unsigned char restart) ep0_txcomplete() argument 1341 ep0_txframe_handle(struct qe_ep *ep) ep0_txframe_handle() argument 1360 qe_ep0_txconf(struct qe_ep *ep) qe_ep0_txconf() argument 1397 ep_txframe_handle(struct qe_ep *ep) ep_txframe_handle() argument 1416 qe_ep_txconf(struct qe_ep *ep) qe_ep_txconf() argument 1455 ep_req_send(struct qe_ep *ep, struct qe_req *req) ep_req_send() argument 1469 ep_req_rx(struct qe_ep *ep, struct qe_req *req) ep_req_rx() argument 1559 ep_req_receive(struct qe_ep *ep, struct qe_req *req) ep_req_receive() argument 1585 struct qe_ep *ep; qe_ep_enable() local 1615 struct qe_ep *ep; qe_ep_disable() local 1695 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); __qe_ep_queue() local 1764 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); qe_ep_queue() local 1778 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); qe_ep_dequeue() local 1815 struct qe_ep *ep; qe_ep_set_halt() local 1900 struct qe_ep *ep = &udc->eps[pipe]; udc_reset_ep_queue() local 1948 struct qe_ep *ep; ch9getstatus() local 2051 struct qe_ep *ep; setup_received_handle() local 2172 struct qe_ep *ep; tx_irq() local 2201 struct qe_ep *ep; rx_irq() local 2409 struct qe_ep *ep = &udc->eps[pipe_num]; qe_ep_config() local 2476 struct qe_ep *ep; qe_udc_probe() local 2636 struct qe_ep *ep; qe_udc_remove() local [all...] |
H A D | net2280.c | 87 EP_INFO("ep-a", 89 EP_INFO("ep-b", 91 EP_INFO("ep-c", 93 EP_INFO("ep-d", 95 EP_INFO("ep-e", 97 EP_INFO("ep-f", 99 EP_INFO("ep-g", 101 EP_INFO("ep-h", 126 /* mode 0 == ep-{a,b,c,d} 1K fifo each 127 * mode 1 == ep 168 enable_pciirqenb(struct net2280_ep *ep) enable_pciirqenb() argument 185 struct net2280_ep *ep; net2280_enable() local 378 ep_reset_228x(struct net2280_regs __iomem *regs, struct net2280_ep *ep) ep_reset_228x() argument 454 ep_reset_338x(struct net2280_regs __iomem *regs, struct net2280_ep *ep) ep_reset_338x() argument 514 struct net2280_ep *ep; net2280_disable() local 548 struct net2280_ep *ep; net2280_alloc_request() local 582 struct net2280_ep *ep; net2280_free_request() local 608 write_fifo(struct net2280_ep *ep, struct usb_request *req) write_fifo() argument 668 out_flush(struct net2280_ep *ep) out_flush() argument 708 read_fifo(struct net2280_ep *ep, struct net2280_request *req) read_fifo() argument 795 fill_dma_desc(struct net2280_ep *ep, struct net2280_request *req, int valid) fill_dma_desc() argument 847 start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) start_queue() argument 869 start_dma(struct net2280_ep *ep, struct net2280_request *req) start_dma() argument 933 queue_dma(struct net2280_ep *ep, struct net2280_request *req, int valid) queue_dma() argument 945 done(struct net2280_ep *ep, struct net2280_request *req, int status) done() argument 980 struct net2280_ep *ep; net2280_queue() local 1117 dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount, int status) dma_done() argument 1124 scan_dma_completions(struct net2280_ep *ep) scan_dma_completions() argument 1191 restart_dma(struct net2280_ep *ep) restart_dma() argument 1202 abort_dma(struct net2280_ep *ep) abort_dma() argument 1215 nuke(struct net2280_ep *ep) nuke() argument 1234 struct net2280_ep *ep; net2280_dequeue() local 1324 struct net2280_ep *ep; net2280_set_halt_and_wedge() local 1398 struct net2280_ep *ep; net2280_fifo_status() local 1425 struct net2280_ep *ep; net2280_fifo_flush() local 1552 struct usb_ep *ep; net2280_match_ep() local 1715 struct net2280_ep *ep; registers_show() local 1781 struct net2280_ep *ep; registers_show() local 1816 struct net2280_ep *ep = &dev->ep[i]; queues_show() local 1943 struct net2280_ep *ep; defect7374_disable_data_eps() local 2073 struct net2280_ep *ep = &dev->ep[tmp + 1]; usb_reset_228x() local 2111 struct net2280_ep *ep = &dev->ep[tmp + 1]; usb_reset_338x() local 2157 struct net2280_ep *ep = &dev->ep[tmp]; usb_reinit_228x() local 2198 struct net2280_ep *ep = &dev->ep[i]; usb_reinit_338x() local 2516 handle_ep_small(struct net2280_ep *ep) handle_ep_small() argument 2758 struct net2280_ep *ep; get_ep_by_addr() local 2848 ep_clear_seqnum(struct net2280_ep *ep) ep_clear_seqnum() argument 2863 handle_stat0_irqs_superspeed(struct net2280 *dev, struct net2280_ep *ep, struct usb_ctrlrequest r) handle_stat0_irqs_superspeed() argument 3094 struct net2280_ep *ep; handle_stat0_irqs() local 3362 struct net2280_ep *ep; global() variable 3509 scan_dma_completions(ep); global() variable 3514 restart_dma(ep); global() variable [all...] |
H A D | pch_udc.c | 174 #define PCH_UDC_CSR(ep) (UDC_CSR_ADDR + ep*4) 181 #define UDC_EPIN_IDX(ep) (ep * 2) 182 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) 270 * @ep: embedded ep request 276 * @offset_addr: offset address of ep register 277 * @desc: for this ep 285 struct usb_ep ep; global() member 343 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; global() member 426 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) pch_udc_ep_readl() argument 431 pch_udc_ep_writel(struct pch_udc_ep *ep, unsigned long val, unsigned long reg) pch_udc_ep_writel() argument 437 pch_udc_ep_bit_set(struct pch_udc_ep *ep, unsigned long reg, unsigned long bitmask) pch_udc_ep_bit_set() argument 444 pch_udc_ep_bit_clr(struct pch_udc_ep *ep, unsigned long reg, unsigned long bitmask) pch_udc_ep_bit_clr() argument 473 pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, unsigned int ep) pch_udc_write_csr() argument 490 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) pch_udc_read_csr() argument 619 pch_udc_ep_set_stall(struct pch_udc_ep *ep) pch_udc_ep_set_stall() argument 633 pch_udc_ep_clear_stall(struct pch_udc_ep *ep) pch_udc_ep_clear_stall() argument 646 pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, u8 type) pch_udc_ep_set_trfr_type() argument 659 pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, u32 buf_size, u32 ep_in) pch_udc_ep_set_bufsz() argument 679 pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) pch_udc_ep_set_maxpkt() argument 691 pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) pch_udc_ep_set_subptr() argument 701 pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) pch_udc_ep_set_ddptr() argument 710 pch_udc_ep_set_pd(struct pch_udc_ep *ep) pch_udc_ep_set_pd() argument 719 pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) pch_udc_ep_set_rrdy() argument 728 pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) pch_udc_ep_clear_rrdy() argument 876 pch_udc_read_ep_control(struct pch_udc_ep *ep) pch_udc_read_ep_control() argument 886 pch_udc_clear_ep_control(struct pch_udc_ep *ep) pch_udc_clear_ep_control() argument 896 pch_udc_read_ep_status(struct pch_udc_ep *ep) pch_udc_read_ep_status() argument 906 pch_udc_clear_ep_status(struct pch_udc_ep *ep, u32 stat) pch_udc_clear_ep_status() argument 917 pch_udc_ep_set_nak(struct pch_udc_ep *ep) pch_udc_ep_set_nak() argument 927 pch_udc_ep_clear_nak(struct pch_udc_ep *ep) pch_udc_ep_clear_nak() argument 960 pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) pch_udc_ep_fifo_flush() argument 974 pch_udc_ep_enable(struct pch_udc_ep *ep, struct pch_udc_cfg_data *cfg, const struct usb_endpoint_descriptor *desc) pch_udc_ep_enable() argument 1009 pch_udc_ep_disable(struct pch_udc_ep *ep) pch_udc_ep_disable() argument 1029 pch_udc_wait_ep_stall(struct pch_udc_ep *ep) pch_udc_wait_ep_stall() argument 1443 pch_udc_ep_clear_rrdy(ep); global() variable 1453 empty_req_queue(struct pch_udc_ep *ep) empty_req_queue() argument 1504 pch_udc_create_dma_chain(struct pch_udc_ep *ep, struct pch_udc_request *req, unsigned long buf_len, gfp_t gfp_flags) pch_udc_create_dma_chain() argument 1560 prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, gfp_t gfp) prepare_dma() argument 1583 process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) process_zlp() argument 1609 pch_udc_start_rxrequest(struct pch_udc_ep *ep, struct pch_udc_request *req) pch_udc_start_rxrequest() argument 1647 struct pch_udc_ep *ep; pch_udc_pcd_ep_enable() local 1680 struct pch_udc_ep *ep; pch_udc_pcd_ep_disable() local 1715 struct pch_udc_ep *ep; pch_udc_alloc_request() local 1753 struct pch_udc_ep *ep; pch_udc_free_request() local 1789 struct pch_udc_ep *ep; pch_udc_pcd_queue() local 1860 struct pch_udc_ep *ep; pch_udc_pcd_dequeue() local 1896 struct pch_udc_ep *ep; pch_udc_pcd_set_halt() local 1937 struct pch_udc_ep *ep; pch_udc_pcd_set_wedge() local 1970 struct pch_udc_ep *ep; pch_udc_pcd_fifo_flush() local 2013 pch_udc_start_next_txrequest(struct pch_udc_ep *ep) pch_udc_start_next_txrequest() argument 2052 pch_udc_complete_transfer(struct pch_udc_ep *ep) pch_udc_complete_transfer() argument 2092 pch_udc_complete_receiver(struct pch_udc_ep *ep) pch_udc_complete_receiver() argument 2157 struct pch_udc_ep *ep; pch_udc_svc_data_in() local 2201 struct pch_udc_ep *ep; pch_udc_svc_data_out() local 2271 struct pch_udc_ep *ep; pch_udc_svc_control_in() local 2314 struct pch_udc_ep *ep; global() variable 2356 pch_udc_ep_clear_nak(ep); global() variable 2378 pch_udc_ep_set_rrdy(ep); global() variable 2390 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; pch_udc_postsvc_epinters() local 2405 struct pch_udc_ep *ep; pch_udc_read_all_epstatus() local 2430 struct pch_udc_ep *ep; pch_udc_activate_control_ep() local 2476 struct pch_udc_ep *ep; pch_udc_svc_ur_interrupt() local 2786 struct pch_udc_ep *ep = &dev->ep[i]; pch_udc_pcd_reinit() local [all...] |
H A D | goku_udc.c | 14 * - Endpoint numbering is fixed: ep{1,2,3}-bulk 15 * - Gadget drivers can choose ep maxpacket (8/16/32/64) 94 struct goku_ep *ep; in goku_ep_enable() local 99 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_enable() 103 dev = ep->dev; in goku_ep_enable() 104 if (ep == &dev->ep[0]) in goku_ep_enable() 108 if (ep->num != usb_endpoint_num(desc)) in goku_ep_enable() 119 if ((readl(ep in goku_ep_enable() 192 ep_reset(struct goku_udc_regs __iomem *regs, struct goku_ep *ep) ep_reset() argument 246 struct goku_ep *ep; goku_ep_disable() local 300 done(struct goku_ep *ep, struct goku_request *req, int status) done() argument 349 write_fifo(struct goku_ep *ep, struct goku_request *req) write_fifo() argument 408 read_fifo(struct goku_ep *ep, struct goku_request *req) read_fifo() argument 521 pio_advance(struct goku_ep *ep) pio_advance() argument 535 start_dma(struct goku_ep *ep, struct goku_request *req) start_dma() argument 590 dma_advance(struct goku_udc *dev, struct goku_ep *ep) dma_advance() argument 638 abort_dma(struct goku_ep *ep, int status) abort_dma() argument 714 struct goku_ep *ep; goku_queue() local 794 nuke(struct goku_ep *ep, int status) nuke() argument 813 struct goku_ep *ep; goku_dequeue() local 862 goku_clear_halt(struct goku_ep *ep) goku_clear_halt() argument 885 struct goku_ep *ep; goku_set_halt() local 928 struct goku_ep *ep; goku_fifo_status() local 950 struct goku_ep *ep; goku_fifo_flush() local 1004 struct usb_ep *ep; goku_match_ep() local 1199 struct goku_ep *ep = &dev->ep [i]; udc_proc_read() local 1266 struct goku_ep *ep = &dev->ep[i]; udc_reinit() local 1539 struct goku_ep *ep; goku_irq() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pci-exynos.c | 76 struct exynos_pcie *ep); 77 int (*get_clk_resources)(struct exynos_pcie *ep); 78 int (*init_clk_resources)(struct exynos_pcie *ep); 79 void (*deinit_clk_resources)(struct exynos_pcie *ep); 83 struct exynos_pcie *ep) in exynos5440_pcie_get_mem_resources() 85 struct dw_pcie *pci = ep->pci; in exynos5440_pcie_get_mem_resources() 88 ep->mem_res = devm_kzalloc(dev, sizeof(*ep->mem_res), GFP_KERNEL); in exynos5440_pcie_get_mem_resources() 89 if (!ep->mem_res) in exynos5440_pcie_get_mem_resources() 92 ep in exynos5440_pcie_get_mem_resources() 82 exynos5440_pcie_get_mem_resources(struct platform_device *pdev, struct exynos_pcie *ep) exynos5440_pcie_get_mem_resources() argument 99 exynos5440_pcie_get_clk_resources(struct exynos_pcie *ep) exynos5440_pcie_get_clk_resources() argument 123 exynos5440_pcie_init_clk_resources(struct exynos_pcie *ep) exynos5440_pcie_init_clk_resources() argument 149 exynos5440_pcie_deinit_clk_resources(struct exynos_pcie *ep) exynos5440_pcie_deinit_clk_resources() argument 172 exynos_pcie_sideband_dbi_w_mode(struct exynos_pcie *ep, bool on) exynos_pcie_sideband_dbi_w_mode() argument 184 exynos_pcie_sideband_dbi_r_mode(struct exynos_pcie *ep, bool on) exynos_pcie_sideband_dbi_r_mode() argument 196 exynos_pcie_assert_core_reset(struct exynos_pcie *ep) exynos_pcie_assert_core_reset() argument 208 exynos_pcie_deassert_core_reset(struct exynos_pcie *ep) exynos_pcie_deassert_core_reset() argument 222 exynos_pcie_assert_reset(struct exynos_pcie *ep) exynos_pcie_assert_reset() argument 232 exynos_pcie_establish_link(struct exynos_pcie *ep) exynos_pcie_establish_link() argument 269 exynos_pcie_clear_irq_pulse(struct exynos_pcie *ep) exynos_pcie_clear_irq_pulse() argument 277 exynos_pcie_enable_irq_pulse(struct exynos_pcie *ep) exynos_pcie_enable_irq_pulse() argument 289 struct exynos_pcie *ep = arg; exynos_pcie_irq_handler() local 295 exynos_pcie_msi_init(struct exynos_pcie *ep) exynos_pcie_msi_init() argument 309 exynos_pcie_enable_interrupts(struct exynos_pcie *ep) exynos_pcie_enable_interrupts() argument 320 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_read_dbi() local 332 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_write_dbi() local 372 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_link_up() local 385 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_host_init() local 399 exynos_add_pcie_port(struct exynos_pcie *ep, struct platform_device *pdev) exynos_add_pcie_port() argument 445 struct exynos_pcie *ep; exynos_pcie_probe() local 508 struct exynos_pcie *ep = platform_get_drvdata(pdev); exynos_pcie_remove() local [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | endpointola.c | 41 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, in sctp_endpoint_init() argument 48 ep->digest = kzalloc(SCTP_SIGNATURE_SIZE, gfp); in sctp_endpoint_init() 49 if (!ep->digest) in sctp_endpoint_init() 52 ep->asconf_enable = net->sctp.addip_enable; in sctp_endpoint_init() 53 ep->auth_enable = net->sctp.auth_enable; in sctp_endpoint_init() 54 if (ep->auth_enable) { in sctp_endpoint_init() 55 if (sctp_auth_init(ep, gfp)) in sctp_endpoint_init() 57 if (ep->asconf_enable) { in sctp_endpoint_init() 58 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF); in sctp_endpoint_init() 59 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF_AC in sctp_endpoint_init() 131 struct sctp_endpoint *ep; sctp_endpoint_new() local 151 sctp_endpoint_add_asoc(struct sctp_endpoint *ep, struct sctp_association *asoc) sctp_endpoint_add_asoc() argument 174 sctp_endpoint_free(struct sctp_endpoint *ep) sctp_endpoint_free() argument 189 struct sctp_endpoint *ep = container_of(head, struct sctp_endpoint, rcu); sctp_endpoint_destroy_rcu() local 199 sctp_endpoint_destroy(struct sctp_endpoint *ep) sctp_endpoint_destroy() argument 232 sctp_endpoint_hold(struct sctp_endpoint *ep) sctp_endpoint_hold() argument 240 sctp_endpoint_put(struct sctp_endpoint *ep) sctp_endpoint_put() argument 247 sctp_endpoint_is_match(struct sctp_endpoint *ep, struct net *net, const union sctp_addr *laddr) sctp_endpoint_is_match() argument 267 sctp_endpoint_lookup_assoc( const struct sctp_endpoint *ep, const union sctp_addr *paddr, struct sctp_transport **transport) sctp_endpoint_lookup_assoc() argument 298 sctp_endpoint_is_peeled_off(struct sctp_endpoint *ep, const union sctp_addr *paddr) sctp_endpoint_is_peeled_off() argument 322 struct sctp_endpoint *ep = sctp_endpoint_bh_rcv() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_exch.c | 246 * @ep: Echange to be held 248 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold() argument 250 atomic_inc(&ep->ex_refcnt); in fc_exch_hold() 256 * @ep: The exchange to that will use the header 263 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() argument 269 fr_sof(fp) = ep->class; in fc_exch_setup_hdr() 270 if (ep->seq.cnt) in fc_exch_setup_hdr() 271 fr_sof(fp) = fc_sof_normal(ep->class); in fc_exch_setup_hdr() 275 if (fc_sof_needs_ack(ep->class)) in fc_exch_setup_hdr() 299 fh->fh_ox_id = htons(ep in fc_exch_setup_hdr() 312 fc_exch_release(struct fc_exch *ep) fc_exch_release() argument 329 fc_exch_timer_cancel(struct fc_exch *ep) fc_exch_timer_cancel() argument 346 fc_exch_timer_set_locked(struct fc_exch *ep, unsigned int timer_msec) fc_exch_timer_set_locked() argument 367 fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) fc_exch_timer_set() argument 380 fc_exch_done_locked(struct fc_exch *ep) fc_exch_done_locked() argument 426 fc_exch_ptr_set(struct fc_exch_pool *pool, u16 index, struct fc_exch *ep) fc_exch_ptr_set() argument 436 fc_exch_delete(struct fc_exch *ep) fc_exch_delete() argument 467 struct fc_exch *ep; fc_seq_send_locked() local 528 struct fc_exch *ep; fc_seq_send() local 547 fc_seq_alloc(struct fc_exch *ep, u8 seq_id) fc_seq_alloc() argument 565 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_start_next_locked() local 580 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_start_next() local 599 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_set_resp() local 634 fc_exch_abort_locked(struct fc_exch *ep, unsigned int timer_msec) fc_exch_abort_locked() argument 695 struct fc_exch *ep; fc_seq_exch_abort() local 730 fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, struct fc_frame *fp) fc_invoke_resp() argument 767 struct fc_exch *ep = container_of(work, struct fc_exch, fc_exch_timeout() local 816 struct fc_exch *ep; fc_exch_em_alloc() local 911 struct fc_exch *ep; fc_exch_alloc() local 932 struct fc_exch *ep = NULL; fc_exch_find() local 971 struct fc_exch *ep = fc_seq_exch(sp); fc_exch_done() local 996 struct fc_exch *ep; fc_exch_resp() local 1045 struct fc_exch *ep = NULL; fc_seq_lookup_recip() local 1174 struct fc_exch *ep; fc_seq_lookup_orig() local 1207 fc_exch_set_addr(struct fc_exch *ep, u32 orig_id, u32 resp_id) fc_exch_set_addr() argument 1262 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_send_last() local 1282 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_send_ack() local 1413 fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) fc_exch_recv_abts() argument 1516 struct fc_exch *ep = NULL; fc_exch_recv_req() local 1577 struct fc_exch *ep; fc_exch_recv_seq_resp() local 1689 fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) fc_exch_abts_resp() argument 1769 struct fc_exch *ep; fc_exch_recv_bls() local 1893 fc_exch_reset(struct fc_exch *ep) fc_exch_reset() argument 1940 struct fc_exch *ep; fc_exch_pool_reset() local 2022 struct fc_exch *ep; fc_exch_els_rec() local 2185 struct fc_exch *ep; fc_exch_seq_send() local 2245 fc_exch_rrq(struct fc_exch *ep) fc_exch_rrq() argument 2298 struct fc_exch *ep = NULL; /* request or subject exchange */ fc_exch_els_rrq() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_exch.c | 245 * @ep: Echange to be held 247 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold() argument 249 atomic_inc(&ep->ex_refcnt); in fc_exch_hold() 255 * @ep: The exchange to that will use the header 262 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() argument 268 fr_sof(fp) = ep->class; in fc_exch_setup_hdr() 269 if (ep->seq.cnt) in fc_exch_setup_hdr() 270 fr_sof(fp) = fc_sof_normal(ep->class); in fc_exch_setup_hdr() 274 if (fc_sof_needs_ack((enum fc_sof)ep->class)) in fc_exch_setup_hdr() 298 fh->fh_ox_id = htons(ep in fc_exch_setup_hdr() 311 fc_exch_release(struct fc_exch *ep) fc_exch_release() argument 328 fc_exch_timer_cancel(struct fc_exch *ep) fc_exch_timer_cancel() argument 345 fc_exch_timer_set_locked(struct fc_exch *ep, unsigned int timer_msec) fc_exch_timer_set_locked() argument 366 fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) fc_exch_timer_set() argument 379 fc_exch_done_locked(struct fc_exch *ep) fc_exch_done_locked() argument 425 fc_exch_ptr_set(struct fc_exch_pool *pool, u16 index, struct fc_exch *ep) fc_exch_ptr_set() argument 435 fc_exch_delete(struct fc_exch *ep) fc_exch_delete() argument 466 struct fc_exch *ep; fc_seq_send_locked() local 527 struct fc_exch *ep; fc_seq_send() local 546 fc_seq_alloc(struct fc_exch *ep, u8 seq_id) fc_seq_alloc() argument 564 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_start_next_locked() local 579 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_start_next() local 598 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_set_resp() local 633 fc_exch_abort_locked(struct fc_exch *ep, unsigned int timer_msec) fc_exch_abort_locked() argument 694 struct fc_exch *ep; fc_seq_exch_abort() local 729 fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, struct fc_frame *fp) fc_invoke_resp() argument 766 struct fc_exch *ep = container_of(work, struct fc_exch, fc_exch_timeout() local 815 struct fc_exch *ep; fc_exch_em_alloc() local 909 struct fc_exch *ep; fc_exch_alloc() local 930 struct fc_exch *ep = NULL; fc_exch_find() local 969 struct fc_exch *ep = fc_seq_exch(sp); fc_exch_done() local 994 struct fc_exch *ep; fc_exch_resp() local 1043 struct fc_exch *ep = NULL; fc_seq_lookup_recip() local 1172 struct fc_exch *ep; fc_seq_lookup_orig() local 1205 fc_exch_set_addr(struct fc_exch *ep, u32 orig_id, u32 resp_id) fc_exch_set_addr() argument 1260 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_send_last() local 1280 struct fc_exch *ep = fc_seq_exch(sp); fc_seq_send_ack() local 1411 fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) fc_exch_recv_abts() argument 1514 struct fc_exch *ep = NULL; fc_exch_recv_req() local 1575 struct fc_exch *ep; fc_exch_recv_seq_resp() local 1687 fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) fc_exch_abts_resp() argument 1767 struct fc_exch *ep; fc_exch_recv_bls() local 1891 fc_exch_reset(struct fc_exch *ep) fc_exch_reset() argument 1938 struct fc_exch *ep; fc_exch_pool_reset() local 2020 struct fc_exch *ep; fc_exch_els_rec() local 2183 struct fc_exch *ep; fc_exch_seq_send() local 2243 fc_exch_rrq(struct fc_exch *ep) fc_exch_rrq() argument 2296 struct fc_exch *ep = NULL; /* request or subject exchange */ fc_exch_els_rrq() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/fotg210/ |
H A D | fotg210-udc.c | 40 static void fotg210_disable_fifo_int(struct fotg210_ep *ep) in fotg210_disable_fifo_int() argument 42 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 44 if (ep->dir_in) in fotg210_disable_fifo_int() 45 value |= DMISGR1_MF_IN_INT(ep->epnum - 1); in fotg210_disable_fifo_int() 47 value |= DMISGR1_MF_OUTSPK_INT(ep->epnum - 1); in fotg210_disable_fifo_int() 48 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_disable_fifo_int() 51 static void fotg210_enable_fifo_int(struct fotg210_ep *ep) in fotg210_enable_fifo_int() argument 53 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); in fotg210_enable_fifo_int() 55 if (ep->dir_in) in fotg210_enable_fifo_int() 56 value &= ~DMISGR1_MF_IN_INT(ep in fotg210_enable_fifo_int() 70 fotg210_done(struct fotg210_ep *ep, struct fotg210_request *req, int status) fotg210_done() argument 93 fotg210_fifo_ep_mapping(struct fotg210_ep *ep, u32 epnum, u32 dir_in) fotg210_fifo_ep_mapping() argument 121 fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) fotg210_set_fifo_dir() argument 131 fotg210_set_tfrtype(struct fotg210_ep *ep, u32 epnum, u32 type) fotg210_set_tfrtype() argument 141 fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, u32 dir_in) fotg210_set_mps() argument 154 fotg210_config_ep(struct fotg210_ep *ep, const struct usb_endpoint_descriptor *desc) fotg210_config_ep() argument 172 struct fotg210_ep *ep; fotg210_ep_enable() local 187 struct fotg210_ep *ep = fotg210->ep[epnum]; fotg210_reset_tseq() local 208 fotg210_ep_release(struct fotg210_ep *ep) fotg210_ep_release() argument 223 struct fotg210_ep *ep; fotg210_ep_disable() local 265 fotg210_enable_dma(struct fotg210_ep *ep, dma_addr_t d, u32 len) fotg210_enable_dma() argument 299 fotg210_disable_dma(struct fotg210_ep *ep) fotg210_disable_dma() argument 304 fotg210_wait_dma_done(struct fotg210_ep *ep) fotg210_wait_dma_done() argument 337 fotg210_start_dma(struct fotg210_ep *ep, struct fotg210_request *req) fotg210_start_dma() argument 385 fotg210_ep0_queue(struct fotg210_ep *ep, struct fotg210_request *req) fotg210_ep0_queue() argument 407 struct fotg210_ep *ep; fotg210_ep_queue() local 440 struct fotg210_ep *ep; fotg210_ep_dequeue() local 455 fotg210_set_epnstall(struct fotg210_ep *ep) fotg210_set_epnstall() argument 476 fotg210_clear_epnstall(struct fotg210_ep *ep) fotg210_clear_epnstall() argument 492 struct fotg210_ep *ep; fotg210_set_halt_and_wedge() local 680 struct fotg210_ep *ep = fotg210_clear_feature() local 707 fotg210_is_epnstall(struct fotg210_ep *ep) fotg210_is_epnstall() argument 723 struct fotg210_ep *ep; fotg210_ep0_complete() local 817 struct fotg210_ep *ep = fotg210->ep[0]; fotg210_ep0out() local 837 struct fotg210_ep *ep = fotg210->ep[0]; fotg210_ep0in() local 855 fotg210_in_fifo_handler(struct fotg210_ep *ep) fotg210_in_fifo_handler() argument 865 fotg210_out_fifo_handler(struct fotg210_ep *ep) fotg210_out_fifo_handler() argument 1231 struct fotg210_ep *ep = fotg210->ep[i]; fotg210_udc_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cirrus/ |
H A D | ep93xx_eth.c | 177 #define rdb(ep, off) __raw_readb((ep)->base_addr + (off)) 178 #define rdw(ep, off) __raw_readw((ep)->base_addr + (off)) 179 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) 180 #define wrb(ep, off, val) __raw_writeb((val), (ep)->base_addr + (off)) 181 #define wrw(ep, off, val) __raw_writew((val), (ep) 186 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_mdio_read() local 210 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_mdio_write() local 228 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_rx() local 311 struct ep93xx_priv *ep = container_of(napi, struct ep93xx_priv, napi); ep93xx_poll() local 332 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_xmit() local 368 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_tx_complete() local 422 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_irq() local 444 ep93xx_free_buffers(struct ep93xx_priv *ep) ep93xx_free_buffers() argument 477 ep93xx_alloc_buffers(struct ep93xx_priv *ep) ep93xx_alloc_buffers() argument 533 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_start_hw() local 615 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_stop_hw() local 631 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_open() local 669 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_close() local 684 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_ioctl() local 698 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_get_link_ksettings() local 708 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_set_link_ksettings() local 714 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_nway_reset() local 720 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_get_link() local 763 struct ep93xx_priv *ep; ep93xx_eth_remove() local 793 struct ep93xx_priv *ep; ep93xx_eth_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cirrus/ |
H A D | ep93xx_eth.c | 177 #define rdb(ep, off) __raw_readb((ep)->base_addr + (off)) 178 #define rdw(ep, off) __raw_readw((ep)->base_addr + (off)) 179 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) 180 #define wrb(ep, off, val) __raw_writeb((val), (ep)->base_addr + (off)) 181 #define wrw(ep, off, val) __raw_writew((val), (ep) 186 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_mdio_read() local 210 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_mdio_write() local 228 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_rx() local 311 struct ep93xx_priv *ep = container_of(napi, struct ep93xx_priv, napi); ep93xx_poll() local 332 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_xmit() local 368 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_tx_complete() local 422 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_irq() local 444 ep93xx_free_buffers(struct ep93xx_priv *ep) ep93xx_free_buffers() argument 477 ep93xx_alloc_buffers(struct ep93xx_priv *ep) ep93xx_alloc_buffers() argument 533 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_start_hw() local 615 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_stop_hw() local 631 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_open() local 669 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_close() local 684 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_ioctl() local 698 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_get_link_ksettings() local 708 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_set_link_ksettings() local 714 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_nway_reset() local 720 struct ep93xx_priv *ep = netdev_priv(dev); ep93xx_get_link() local 763 struct ep93xx_priv *ep; ep93xx_eth_remove() local 793 struct ep93xx_priv *ep; ep93xx_eth_probe() local [all...] |