Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/linux/sound/usb/
H A Dendpoint.c100 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 synced_next_packet_size(struct snd_usb_endpoint *ep, in synced_next_packet_size() argument
186 next_packet_size(struct snd_usb_endpoint * ep,unsigned int avail) next_packet_size() argument
216 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
236 call_retire_callback(struct snd_usb_endpoint * ep,struct urb * urb) call_retire_callback() argument
246 retire_outbound_urb(struct snd_usb_endpoint * ep,struct snd_urb_ctx * urb_ctx) retire_outbound_urb() argument
256 retire_inbound_urb(struct snd_usb_endpoint * ep,struct snd_urb_ctx * urb_ctx) retire_inbound_urb() argument
279 prepare_silent_urb(struct snd_usb_endpoint * ep,struct snd_urb_ctx * ctx) prepare_silent_urb() argument
326 prepare_outbound_urb(struct snd_usb_endpoint * ep,struct snd_urb_ctx * ctx,bool in_stream_lock) prepare_outbound_urb() argument
376 prepare_inbound_urb(struct snd_usb_endpoint * ep,struct snd_urb_ctx * urb_ctx) prepare_inbound_urb() argument
408 notify_xrun(struct snd_usb_endpoint * ep) notify_xrun() argument
426 next_packet_fifo_enqueue(struct snd_usb_endpoint * ep) next_packet_fifo_enqueue() argument
437 next_packet_fifo_dequeue(struct snd_usb_endpoint * ep) next_packet_fifo_dequeue() argument
448 push_back_to_ready_list(struct snd_usb_endpoint * ep,struct snd_urb_ctx * ctx) push_back_to_ready_list() argument
470 snd_usb_queue_pending_output_urbs(struct snd_usb_endpoint * ep,bool in_stream_lock) snd_usb_queue_pending_output_urbs() argument
548 struct snd_usb_endpoint *ep = ctx->ep; snd_complete_urb() local
664 struct snd_usb_endpoint *ep; snd_usb_get_endpoint() local
697 struct snd_usb_endpoint *ep; snd_usb_add_endpoint() local
731 endpoint_set_syncinterval(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep) endpoint_set_syncinterval() argument
754 endpoint_compatible(struct snd_usb_endpoint * ep,const struct audioformat * fp,const struct snd_pcm_hw_params * params) endpoint_compatible() argument
775 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
803 struct snd_usb_endpoint *ep; snd_usb_endpoint_open() local
900 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
918 endpoint_set_interface(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep,bool set) endpoint_set_interface() argument
959 snd_usb_endpoint_close(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep) snd_usb_endpoint_close() argument
985 snd_usb_endpoint_suspend(struct snd_usb_endpoint * ep) snd_usb_endpoint_suspend() argument
997 wait_clear_urbs(struct snd_usb_endpoint * ep) wait_clear_urbs() argument
1029 snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint * ep) snd_usb_endpoint_sync_pending_stop() argument
1040 stop_urbs(struct snd_usb_endpoint * ep,bool force,bool keep_pending) stop_urbs() argument
1077 release_urbs(struct snd_usb_endpoint * ep,bool force) release_urbs() argument
1105 data_ep_set_params(struct snd_usb_endpoint * ep) data_ep_set_params() argument
1291 sync_ep_set_params(struct snd_usb_endpoint * ep) sync_ep_set_params() argument
1333 update_clock_ref_rate(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep) update_clock_ref_rate() argument
1363 snd_usb_endpoint_set_params(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep) snd_usb_endpoint_set_params() argument
1437 init_sample_rate(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep) init_sample_rate() argument
1474 snd_usb_endpoint_prepare(struct snd_usb_audio * chip,struct snd_usb_endpoint * ep) snd_usb_endpoint_prepare() argument
1572 snd_usb_endpoint_start(struct snd_usb_endpoint * ep) snd_usb_endpoint_start() argument
1692 snd_usb_endpoint_stop(struct snd_usb_endpoint * ep,bool keep_pending) snd_usb_endpoint_stop() argument
1728 snd_usb_endpoint_release(struct snd_usb_endpoint * ep) snd_usb_endpoint_release() argument
1741 struct snd_usb_endpoint *ep, *en; snd_usb_endpoint_free_all() local
1765 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...]
H A Dmidi2.c50 struct snd_usb_midi2_endpoint *ep; member
105 static void do_submit_urbs_locked(struct snd_usb_midi2_endpoint *ep, in do_submit_urbs_locked() argument
112 if (ep->disconnected) in do_submit_urbs_locked()
115 while (ep->urb_free) { in do_submit_urbs_locked()
116 index = find_first_bit(&ep->urb_free, ep->num_urbs); in do_submit_urbs_locked()
117 if (index >= ep->num_urbs) in do_submit_urbs_locked()
119 ctx = &ep->urbs[index]; in do_submit_urbs_locked()
120 err = prepare(ep, ctx->urb); in do_submit_urbs_locked()
125 ctx->urb->dev = ep->dev; in do_submit_urbs_locked()
128 dev_dbg(&ep->dev->dev, in do_submit_urbs_locked()
[all …]
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c32 #define CHECK(ep, expr, fmt...) \ argument
34 if (!(expr)) EPDBG(ep, "CHECK:" fmt); \
37 #define CHECK(ep, expr, fmt...) do { } while(0) argument
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.maxpacket) || !req->req.zero) in ast_vhub_epn_kick()
56 EPVDBG(ep, "kick req %p act=%d/%d chunk=%d last=%d\n", in ast_vhub_epn_kick()
63 if (ep->epn.is_in) { in ast_vhub_epn_kick()
64 memcpy(ep->buf, req->req.buf + act, chunk); in ast_vhub_epn_kick()
[all …]
H A Dep0.c29 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->vhub->lock); in ast_vhub_reply()
62 int __ast_vhub_simple_reply(struct ast_vhub_ep *ep, int len, ...) in __ast_vhub_simple_reply() argument
64 u8 *buffer = ep->buf; in __ast_vhub_simple_reply()
76 return ast_vhub_reply(ep, NULL, len); in __ast_vhub_simple_reply()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c144 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
1269 close_complete_upcall(struct c4iw_ep * ep,int status) close_complete_upcall() argument
1286 peer_close_upcall(struct c4iw_ep * ep) peer_close_upcall() argument
1301 peer_abort_upcall(struct c4iw_ep * ep) peer_abort_upcall() argument
1318 connect_reply_upcall(struct c4iw_ep * ep,int status) connect_reply_upcall() argument
1361 connect_request_upcall(struct c4iw_ep * ep) connect_request_upcall() argument
1399 established_upcall(struct c4iw_ep * ep) established_upcall() argument
1415 update_rx_credits(struct c4iw_ep * ep,u32 credits) update_rx_credits() argument
1461 process_mpa_reply(struct c4iw_ep * ep,struct sk_buff * skb) process_mpa_reply() argument
1707 process_mpa_request(struct c4iw_ep * ep,struct sk_buff * skb) process_mpa_request() argument
1848 struct c4iw_ep *ep; rx_data() local
1899 complete_cached_srq_buffers(struct c4iw_ep * ep,u32 srqidx) complete_cached_srq_buffers() argument
1922 struct c4iw_ep *ep; abort_rpl() local
1960 send_fw_act_open_req(struct c4iw_ep * ep,unsigned int atid) send_fw_act_open_req() argument
2063 set_tcp_window(struct c4iw_ep * ep,struct port_info * pi) set_tcp_window() argument
2073 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
2155 c4iw_reconnect(struct c4iw_ep * ep) c4iw_reconnect() argument
2270 struct c4iw_ep *ep; act_open_rpl() local
2388 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); pass_open_rpl() local
2406 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); close_listsrv_rpl() local
2419 accept_cr(struct c4iw_ep * ep,struct sk_buff * skb,struct cpl_pass_accept_req * req) accept_cr() argument
2679 struct c4iw_ep *ep; pass_establish() local
2715 struct c4iw_ep *ep; peer_close() local
2801 finish_peer_abort(struct c4iw_dev * dev,struct c4iw_ep * ep) finish_peer_abort() argument
2819 struct c4iw_ep *ep; peer_abort() local
2978 struct c4iw_ep *ep; close_con_rpl() local
3028 struct c4iw_ep *ep; terminate() local
3060 struct c4iw_ep *ep; fw4_ack() local
3097 struct c4iw_ep *ep = to_ep(cm_id); c4iw_reject_cr() local
3125 struct c4iw_ep *ep = to_ep(cm_id); c4iw_accept_cr() local
3304 struct c4iw_ep *ep; c4iw_connect() local
3467 create_server6(struct c4iw_dev * dev,struct c4iw_listen_ep * ep) create_server6() argument
3500 create_server4(struct c4iw_dev * dev,struct c4iw_listen_ep * ep) create_server4() argument
3544 struct c4iw_listen_ep *ep; c4iw_create_listen() local
3607 struct c4iw_listen_ep *ep = to_listen_ep(cm_id); c4iw_destroy_listen() local
3642 c4iw_ep_disconnect(struct c4iw_ep * ep,int abrupt,gfp_t gfp) c4iw_ep_disconnect() argument
3752 struct c4iw_ep *ep; active_ofld_conn_reply() local
3854 struct c4iw_ep *ep; read_tcb_rpl() local
4231 process_timeout(struct c4iw_ep * ep) process_timeout() argument
4281 struct c4iw_ep *ep; process_timedout_eps() local
4330 struct c4iw_ep *ep = timer_container_of(ep, t, timer); ep_timeout() local
4412 struct c4iw_ep *ep; peer_abort_intr() local
[all...]
/linux/drivers/scsi/libfc/
H A Dfc_exch.c245 * @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
426 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...]
/linux/net/sctp/
H A Dendpointola.c50 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, in sctp_endpoint_init() argument
57 ep->asconf_enable = net->sctp.addip_enable; in sctp_endpoint_init()
58 ep->auth_enable = net->sctp.auth_enable; in sctp_endpoint_init()
59 if (ep->auth_enable) { in sctp_endpoint_init()
60 if (sctp_auth_init(ep, gfp)) in sctp_endpoint_init()
62 if (ep->asconf_enable) { in sctp_endpoint_init()
63 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF); in sctp_endpoint_init()
64 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF_ACK); in sctp_endpoint_init()
70 ep->base.type = SCTP_EP_TYPE_SOCKET; in sctp_endpoint_init()
73 refcount_set(&ep->base.refcnt, 1); in sctp_endpoint_init()
[all …]
/linux/drivers/usb/gadget/udc/
H A Dsnps_udc_core.c41 static struct udc_request *udc_alloc_bna_dummy(struct udc_ep *ep);
279 static int udc_set_txfifo_addr(struct udc_ep *ep) in udc_set_txfifo_addr() argument
285 if (!ep || !(ep->in)) in udc_set_txfifo_addr()
288 dev = ep->dev; in udc_set_txfifo_addr()
289 ep->txfifo = dev->txfifo; in udc_set_txfifo_addr()
292 for (i = 0; i < ep->num; i++) { in udc_set_txfifo_addr()
293 if (dev->ep[i].regs) { in udc_set_txfifo_addr()
295 tmp = readl(&dev->ep[i].regs->bufin_framenum); in udc_set_txfifo_addr()
297 ep->txfifo += tmp; in udc_set_txfifo_addr()
306 static void UDC_QUEUE_CNAK(struct udc_ep *ep, unsigned num) in UDC_QUEUE_CNAK() argument
[all …]
H A Dnet2280.c162 static void ep_clear_seqnum(struct net2280_ep *ep);
168 static inline void enable_pciirqenb(struct net2280_ep *ep) in enable_pciirqenb() argument
170 u32 tmp = readl(&ep->dev->regs->pciirqenb0); in enable_pciirqenb()
172 if (ep->dev->quirks & PLX_LEGACY) in enable_pciirqenb()
173 tmp |= BIT(ep->num); in enable_pciirqenb()
175 tmp |= BIT(ep_bit[ep->num]); in enable_pciirqenb()
176 writel(tmp, &ep->dev->regs->pciirqenb0); in enable_pciirqenb()
185 struct net2280_ep *ep; in net2280_enable() local
193 ep = container_of(_ep, struct net2280_ep, ep); in net2280_enable()
194 if (!_ep || !desc || ep->desc || _ep->name == ep0name || in net2280_enable()
[all …]
H A Dpxa27x_udc.c78 static void handle_ep(struct pxa_ep *ep);
138 struct pxa_ep *ep; in queues_dbg_show() local
147 ep = &udc->pxa_ep[i]; in queues_dbg_show()
148 maxpkt = ep->fifo_size; in queues_dbg_show()
150 EPNAME(ep), maxpkt, "pio"); in queues_dbg_show()
152 if (list_empty(&ep->queue)) { in queues_dbg_show()
157 list_for_each_entry(req, &ep->queue, queue) { in queues_dbg_show()
171 struct pxa_ep *ep; in eps_dbg_show() local
178 ep = &udc->pxa_ep[0]; in eps_dbg_show()
179 tmp = udc_ep_readl(ep, UDCCSR); in eps_dbg_show()
[all …]
H A Datmel_usba_udc.c39 struct usba_ep *ep = inode->i_private; in queue_dbg_open() local
48 spin_lock_irq(&ep->udc->lock); in queue_dbg_open()
49 list_for_each_entry(req, &ep->queue, queue) { in queue_dbg_open()
55 spin_unlock_irq(&ep->udc->lock); in queue_dbg_open()
61 spin_unlock_irq(&ep->udc->lock); in queue_dbg_open()
203 struct usba_ep *ep) in usba_ep_init_debugfs() argument
207 ep_root = debugfs_create_dir(ep->ep.name, udc->debugfs_root); in usba_ep_init_debugfs()
208 ep->debugfs_dir = ep_root; in usba_ep_init_debugfs()
210 debugfs_create_file("queue", 0400, ep_root, ep, in usba_ep_init_debugfs()
218 usba_ep_cleanup_debugfs(struct usba_ep * ep) usba_ep_cleanup_debugfs() argument
250 usba_ep_init_debugfs(struct usba_udc * udc,struct usba_ep * ep) usba_ep_init_debugfs() argument
255 usba_ep_cleanup_debugfs(struct usba_ep * ep) usba_ep_cleanup_debugfs() argument
405 next_fifo_transaction(struct usba_ep * ep,struct usba_request * req) next_fifo_transaction() argument
426 submit_request(struct usba_ep * ep,struct usba_request * req) submit_request() argument
461 submit_next_request(struct usba_ep * ep) submit_next_request() argument
475 send_status(struct usba_udc * udc,struct usba_ep * ep) send_status() argument
482 receive_data(struct usba_ep * ep) receive_data() argument
539 request_complete(struct usba_ep * ep,struct usba_request * req,int status) request_complete() argument
561 request_complete_list(struct usba_ep * ep,struct list_head * list,int status) request_complete_list() argument
574 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_enable() local
666 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_disable() local
724 queue_dma(struct usba_udc * udc,struct usba_ep * ep,struct usba_request * req,gfp_t gfp_flags) queue_dma() argument
777 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_queue() local
820 usba_update_req(struct usba_ep * ep,struct usba_request * req,u32 status) usba_update_req() argument
825 stop_dma(struct usba_ep * ep,u32 * pstatus) stop_dma() argument
859 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_dequeue() local
920 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_set_halt() local
965 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_fifo_status() local
972 struct usba_ep *ep = to_usba_ep(_ep); usba_ep_fifo_flush() local
1042 struct usba_ep *ep; atmel_usba_match_ep() local
1135 struct usba_ep *ep; reset_all_endpoints() local
1149 struct usba_ep *ep; get_ep_by_addr() local
1171 set_protocol_stall(struct usba_udc * udc,struct usba_ep * ep) set_protocol_stall() argument
1177 is_stalled(struct usba_udc * udc,struct usba_ep * ep) is_stalled() argument
1211 struct usba_ep *ep; do_test_mode() local
1302 handle_ep0_setup(struct usba_udc * udc,struct usba_ep * ep,struct usb_ctrlrequest * crq) handle_ep0_setup() argument
1428 usba_control_irq(struct usba_udc * udc,struct usba_ep * ep) usba_control_irq() argument
1616 usba_ep_irq(struct usba_udc * udc,struct usba_ep * ep) usba_ep_irq() argument
1669 usba_dma_irq(struct usba_udc * udc,struct usba_ep * ep) usba_dma_irq() argument
1791 struct usba_ep *ep0, *ep; usba_udc_irq() local
2140 struct usba_ep *eps, *ep; atmel_udc_of_init() local
[all...]
H A Dgr_udc.c90 static void gr_dbgprint_request(const char *str, struct gr_ep *ep, in gr_dbgprint_request() argument
93 int buflen = ep->is_in ? req->req.length : req->req.actual; in gr_dbgprint_request()
97 dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen, in gr_dbgprint_request()
111 static void gr_dbgprint_request(const char *str, struct gr_ep *ep, in gr_dbgprint_request() argument
124 static void gr_seq_ep_show(struct seq_file *seq, struct gr_ep *ep) in gr_seq_ep_show() argument
126 u32 epctrl = gr_read32(&ep->regs->epctrl); in gr_seq_ep_show()
127 u32 epstat = gr_read32(&ep->regs->epstat); in gr_seq_ep_show()
131 seq_printf(seq, "%s:\n", ep->ep.name); in gr_seq_ep_show()
136 seq_printf(seq, " dma_start = %d\n", ep in gr_seq_ep_show()
186 struct gr_ep *ep; gr_dfs_show() local
231 gr_alloc_dma_desc(struct gr_ep * ep,gfp_t gfp_flags) gr_alloc_dma_desc() argument
282 gr_finish_request(struct gr_ep * ep,struct gr_request * req,int status) gr_finish_request() argument
364 gr_start_dma(struct gr_ep * ep) gr_start_dma() argument
406 gr_dma_advance(struct gr_ep * ep,int status) gr_dma_advance() argument
421 gr_abort_dma(struct gr_ep * ep) gr_abort_dma() argument
436 gr_add_dma_desc(struct gr_ep * ep,struct gr_request * req,dma_addr_t data,unsigned size,gfp_t gfp_flags) gr_add_dma_desc() argument
475 gr_setup_out_desc_list(struct gr_ep * ep,struct gr_request * req,gfp_t gfp_flags) gr_setup_out_desc_list() argument
528 gr_setup_in_desc_list(struct gr_ep * ep,struct gr_request * req,gfp_t gfp_flags) gr_setup_in_desc_list() argument
576 gr_queue(struct gr_ep * ep,struct gr_request * req,gfp_t gfp_flags) gr_queue() argument
634 gr_queue_int(struct gr_ep * ep,struct gr_request * req,gfp_t gfp_flags) gr_queue_int() argument
651 gr_ep_nuke(struct gr_ep * ep) gr_ep_nuke() argument
670 gr_ep_reset(struct gr_ep * ep) gr_ep_reset() argument
703 gr_ep_halt_wedge(struct gr_ep * ep,int halt,int wedge,int fromhost) gr_ep_halt_wedge() argument
776 struct gr_ep *ep; gr_stop_activity() local
793 struct gr_ep *ep; gr_ep0_testmode_complete() local
820 gr_ep0_respond(struct gr_udc * dev,u8 * buf,int length,void (* complete)(struct usb_ep * ep,struct usb_request * req)) gr_ep0_respond() argument
981 struct gr_ep *ep; gr_endpoint_request() local
1236 gr_handle_in_ep(struct gr_ep * ep) gr_handle_in_ep() argument
1261 gr_handle_out_ep(struct gr_ep * ep) gr_handle_out_ep() argument
1398 struct gr_ep *ep; gr_irq_handler() local
1469 struct gr_ep *ep; gr_ep_enable() local
1601 struct gr_ep *ep; gr_ep_disable() local
1654 struct gr_ep *ep; gr_queue_ext() local
1693 struct gr_ep *ep; gr_dequeue() local
1747 struct gr_ep *ep; gr_set_halt_wedge() local
1787 struct gr_ep *ep; gr_fifo_status() local
1809 struct gr_ep *ep; gr_fifo_flush() local
1960 struct gr_ep *ep; gr_ep_init() local
2080 struct gr_ep *ep; gr_ep_remove() local
[all...]
H A Domap_udc.c120 static void use_ep(struct omap_ep *ep, u16 select) in use_ep() argument
122 u16 num = ep->bEndpointAddress & 0x0f; in use_ep()
124 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep()
140 static void dma_channel_claim(struct omap_ep *ep, unsigned preferred);
147 struct omap_ep *ep = container_of(_ep, struct omap_ep, ep); in omap_ep_enable() local
155 || ep->bEndpointAddress != desc->bEndpointAddress in omap_ep_enable()
156 || ep->maxpacket < usb_endpoint_maxp(desc)) { in omap_ep_enable()
162 && maxp != ep->maxpacket) in omap_ep_enable()
163 || usb_endpoint_maxp(desc) > ep->maxpacket in omap_ep_enable()
185 if (ep->bmAttributes != desc->bmAttributes in omap_ep_enable()
[all …]
H A Dm66592-udc.c35 static void irq_ep0_write(struct m66592_ep *ep, struct m66592_request *req);
36 static void irq_packet_write(struct m66592_ep *ep, struct m66592_request *req);
40 static void transfer_complete(struct m66592_ep *ep,
99 INIT_LIST_HEAD(&m66592->ep[0].queue); in m66592_usb_disconnect()
208 struct m66592_ep *ep = m66592->pipenum2ep[pipenum]; in pipe_change() local
211 if (ep->use_dma) in pipe_change()
214 m66592_mdfy(m66592, pipenum, M66592_CURPIPE, ep->fifosel); in pipe_change()
223 m66592_bset(m66592, mbw, ep->fifosel); in pipe_change()
300 static void pipe_initialize(struct m66592_ep *ep) in pipe_initialize() argument
302 struct m66592 *m66592 = ep->m66592; in pipe_initialize()
[all …]
/linux/drivers/net/ethernet/cirrus/
H A Dep93xx_eth.c176 #define rdb(ep, off) __raw_readb((ep)->base_addr + (off)) argument
177 #define rdw(ep, off) __raw_readw((ep)->base_addr + (off)) argument
178 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) argument
179 #define wrb(ep, off, val) __raw_writeb((val), (ep)->base_addr + (off)) argument
180 #define wrw(ep, off, val) __raw_writew((val), (ep)->base_addr + (off)) argument
181 #define wrl(ep, off, val) __raw_writel((val), (ep)->base_addr + (off)) argument
185 struct ep93xx_priv *ep = netdev_priv(dev); in ep93xx_mdio_read() local
189 wrl(ep, REG_MIICMD, REG_MIICMD_READ | (phy_id << 5) | reg); in ep93xx_mdio_read()
192 if ((rdl(ep, REG_MIISTS) & REG_MIISTS_BUSY) == 0) in ep93xx_mdio_read()
201 data = rdl(ep, REG_MIIDATA); in ep93xx_mdio_read()
[all …]
/linux/drivers/usb/fotg210/
H A Dfotg210-udc.c40 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...]
/linux/drivers/video/fbdev/
H A Dsunxvr500.c56 static int e3d_get_props(struct e3d_info *ep) in e3d_get_props() argument
58 ep->width = of_getintprop_default(ep->of_node, "width", 0); in e3d_get_props()
59 ep->height = of_getintprop_default(ep->of_node, "height", 0); in e3d_get_props()
60 ep->depth = of_getintprop_default(ep->of_node, "depth", 8); in e3d_get_props()
62 if (!ep->width || !ep->height) { in e3d_get_props()
64 pci_name(ep->pdev)); in e3d_get_props()
99 static void e3d_clut_write(struct e3d_info *ep, int index, u32 val) in e3d_clut_write() argument
101 void __iomem *ramdac = ep->ramdac; in e3d_clut_write()
104 spin_lock_irqsave(&ep->lock, flags); in e3d_clut_write()
109 spin_unlock_irqrestore(&ep->lock, flags); in e3d_clut_write()
[all …]
/linux/fs/
H A Deventpoll.c57 * ep->mtx, re-queueing items in level-triggered mode.
70 * > ep->mtx (per-eventpoll; sleepable; serializes most ops)
71 * > ep->lock (per-eventpoll; IRQ-safe spinlock)
74 * nested inside ep->mtx, outside ep->lock)
77 * - ep->lock is a spinlock because ep_poll_callback() is called from
78 * wake_up() which may run in hard-IRQ context. All ep->lock
80 * - ep->mtx is a sleepable mutex because the event delivery loop
87 * - Per-ep ep
278 struct eventpoll *ep; global() member
585 ep_is_scanning(struct eventpoll * ep) ep_is_scanning() argument
591 ep_enter_scan(struct eventpoll * ep) ep_enter_scan() argument
597 ep_exit_scan(struct eventpoll * ep) ep_exit_scan() argument
615 ep_events_available(struct eventpoll * ep) ep_events_available() argument
635 busy_loop_ep_timeout(unsigned long start_time,struct eventpoll * ep) busy_loop_ep_timeout() argument
649 ep_busy_loop_on(struct eventpoll * ep) ep_busy_loop_on() argument
658 struct eventpoll *ep = p; ep_busy_loop_end() local
669 ep_busy_loop(struct eventpoll * ep) ep_busy_loop() argument
701 struct eventpoll *ep = epi->ep; ep_set_busy_poll_napi_id() local
733 struct eventpoll *ep = file->private_data; ep_eventpoll_bp_ioctl() local
773 ep_suspend_napi_irqs(struct eventpoll * ep) ep_suspend_napi_irqs() argument
781 ep_resume_napi_irqs(struct eventpoll * ep) ep_resume_napi_irqs() argument
791 ep_busy_loop(struct eventpoll * ep) ep_busy_loop() argument
806 ep_suspend_napi_irqs(struct eventpoll * ep) ep_suspend_napi_irqs() argument
810 ep_resume_napi_irqs(struct eventpoll * ep) ep_resume_napi_irqs() argument
843 ep_poll_safewake(struct eventpoll * ep,struct epitem * epi,unsigned pollflags) ep_poll_safewake() argument
882 ep_poll_safewake(struct eventpoll * ep,struct epitem * epi,__poll_t pollflags) ep_poll_safewake() argument
916 ep_unregister_pollwait(struct eventpoll * ep,struct epitem * epi) ep_unregister_pollwait() argument
965 ep_start_scan(struct eventpoll * ep,struct list_head * scan_batch) ep_start_scan() argument
986 ep_done_scan(struct eventpoll * ep,struct list_head * scan_batch) ep_done_scan() argument
1036 ep_get(struct eventpoll * ep) ep_get() argument
1045 ep_put(struct eventpoll * ep) ep_put() argument
1054 ep_free(struct eventpoll * ep) ep_free() argument
1096 ep_remove_file(struct eventpoll * ep,struct epitem * epi,struct file * file) ep_remove_file() argument
1127 ep_remove_epi(struct eventpoll * ep,struct epitem * epi) ep_remove_epi() argument
1154 ep_remove(struct eventpoll * ep,struct epitem * epi) ep_remove() argument
1186 ep_drain_pollwaits(struct eventpoll * ep) ep_drain_pollwaits() argument
1213 ep_drain_tree(struct eventpoll * ep) ep_drain_tree() argument
1238 ep_clear_and_put(struct eventpoll * ep) ep_clear_and_put() argument
1276 struct eventpoll *ep = file->private_data; ep_eventpoll_release() local
1288 struct eventpoll *ep = file->private_data; __ep_eventpoll_poll() local
1359 struct eventpoll *ep = f->private_data; ep_show_fdinfo() local
1399 struct eventpoll *ep; eventpoll_release_file() local
1437 struct eventpoll *ep; ep_alloc() local
1464 ep_find(struct eventpoll * ep,struct epoll_key * tf) ep_find() argument
1495 struct eventpoll *ep = epi->ep; ep_poll_callback() local
1636 ep_rbtree_insert(struct eventpoll * ep,struct epitem * epi) ep_rbtree_insert() argument
1781 struct eventpoll *ep = NULL; ep_attach_file() local
1821 ep_alloc_epitem(struct eventpoll * ep,const struct epoll_event * event,struct epoll_key * tf) ep_alloc_epitem() argument
1862 ep_register_epitem(struct ep_ctl_ctx * ctx,struct eventpoll * ep,struct epitem * epi,struct eventpoll * tep,int full_check) ep_register_epitem() argument
1896 ep_insert(struct ep_ctl_ctx * ctx,struct eventpoll * ep,const struct epoll_event * event,struct epoll_key * tf,int full_check) ep_insert() argument
1980 ep_modify(struct eventpoll * ep,struct epitem * epi,const struct epoll_event * event) ep_modify() argument
2065 ep_deliver_event(struct eventpoll * ep,struct epitem * epi,poll_table * pt,struct epoll_event __user ** uevents,struct list_head * scan_batch) ep_deliver_event() argument
2128 ep_send_events(struct eventpoll * ep,struct epoll_event __user * events,int maxevents) ep_send_events() argument
2214 ep_try_send_events(struct eventpoll * ep,struct epoll_event __user * events,int maxevents) ep_try_send_events() argument
2255 ep_poll(struct eventpoll * ep,struct epoll_event __user * events,int maxevents,struct timespec64 * timeout) ep_poll() argument
2391 ep_loop_check_proc(struct ep_ctl_ctx * ctx,struct eventpoll * ep,int depth) ep_loop_check_proc() argument
2433 ep_get_upwards_depth_proc(struct eventpoll * ep,int depth) ep_get_upwards_depth_proc() argument
2459 ep_loop_check(struct ep_ctl_ctx * ctx,struct eventpoll * ep,struct eventpoll * to) ep_loop_check() argument
2497 struct eventpoll *ep; do_epoll_create() local
2583 ep_ctl_lock(struct ep_ctl_ctx * ctx,struct eventpoll * ep,int op,struct file * epfile,struct file * tfile,bool nonblock) ep_ctl_lock() argument
2628 ep_ctl_unlock(struct ep_ctl_ctx * ctx,struct eventpoll * ep,int full_check) ep_ctl_unlock() argument
2644 struct eventpoll *ep; do_epoll_ctl_file() local
2786 struct eventpoll *ep; epoll_sendevents() local
2810 struct eventpoll *ep; do_epoll_wait() local
2896 ep_find_tfd(struct eventpoll * ep,int tfd,unsigned long toff) ep_find_tfd() argument
2919 struct eventpoll *ep; get_epoll_tfile_raw_ptr() local
[all...]
/linux/drivers/usb/mon/
H A Dmon_text.c108 struct mon_text_ptr *p, const struct mon_event_text *ep);
110 struct mon_text_ptr *p, const struct mon_event_text *ep);
112 struct mon_text_ptr *p, const struct mon_event_text *ep);
114 struct mon_text_ptr *p, const struct mon_event_text *ep);
116 struct mon_text_ptr *p, const struct mon_event_text *ep);
118 struct mon_text_ptr *p, const struct mon_event_text *ep);
120 struct mon_text_ptr *p, const struct mon_event_text *ep);
131 static inline char mon_text_get_setup(struct mon_event_text *ep, in mon_text_get_setup() argument
135 if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S') in mon_text_get_setup()
141 memcpy(ep->setup, urb->setup_packet, SETUP_MAX); in mon_text_get_setup()
[all …]
/linux/drivers/usb/host/
H A Dfhci-tds.c82 void fhci_push_dummy_bd(struct endpoint *ep) in fhci_push_dummy_bd() argument
84 if (!ep->already_pushed_dummy_bd) { in fhci_push_dummy_bd()
85 u16 td_status = in_be16(&ep->empty_td->status); in fhci_push_dummy_bd()
87 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd()
89 ep->empty_td = next_bd(ep->td_base, ep->empty_td, td_status); in fhci_push_dummy_bd()
90 ep->already_pushed_dummy_bd = true; in fhci_push_dummy_bd()
97 struct endpoint *ep; in fhci_ep0_free() local
100 ep = usb->ep0; in fhci_ep0_free()
101 if (ep) { in fhci_ep0_free()
102 if (ep->td_base) in fhci_ep0_free()
[all …]
/linux/drivers/pci/controller/
H A Dpcie-rockchip-ep.c118 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); in rockchip_pcie_ep_write_header() local
119 struct rockchip_pcie *rockchip = &ep->rockchip; in rockchip_pcie_ep_write_header()
154 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); in rockchip_pcie_ep_set_bar() local
155 struct rockchip_pcie *rockchip = &ep->rockchip; in rockchip_pcie_ep_set_bar()
222 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); in rockchip_pcie_ep_clear_bar() local
223 struct rockchip_pcie *rockchip = &ep->rockchip; in rockchip_pcie_ep_clear_bar()
256 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); in rockchip_pcie_ep_align_addr() local
261 num_bits = rockchip_pcie_ep_ob_atu_num_bits(&ep->rockchip, in rockchip_pcie_ep_align_addr()
279 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); in rockchip_pcie_ep_map_addr() local
280 struct rockchip_pcie *pcie = &ep in rockchip_pcie_ep_map_addr()
297 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_unmap_addr() local
313 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_set_msi() local
334 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_get_msi() local
348 rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep * ep,u8 fn,u8 intx,bool do_assert) rockchip_pcie_ep_assert_intx() argument
370 rockchip_pcie_ep_send_intx_irq(struct rockchip_pcie_ep * ep,u8 fn,u8 intx) rockchip_pcie_ep_send_intx_irq() argument
393 rockchip_pcie_ep_send_msi_irq(struct rockchip_pcie_ep * ep,u8 fn,u8 interrupt_num) rockchip_pcie_ep_send_msi_irq() argument
458 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_raise_irq() local
472 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_start() local
500 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_stop() local
535 struct rockchip_pcie_ep *ep = rockchip_pcie_ep_link_training() local
597 rockchip_pcie_ep_perst_assert(struct rockchip_pcie_ep * ep) rockchip_pcie_ep_perst_assert() argument
616 rockchip_pcie_ep_perst_deassert(struct rockchip_pcie_ep * ep) rockchip_pcie_ep_perst_deassert() argument
637 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_perst_irq_thread() local
654 struct rockchip_pcie_ep *ep = epc_get_drvdata(epc); rockchip_pcie_ep_setup_irq() local
723 rockchip_pcie_ep_get_resources(struct rockchip_pcie * rockchip,struct rockchip_pcie_ep * ep) rockchip_pcie_ep_get_resources() argument
757 rockchip_pcie_ep_init_ob_mem(struct rockchip_pcie_ep * ep) rockchip_pcie_ep_init_ob_mem() argument
806 rockchip_pcie_ep_exit_ob_mem(struct rockchip_pcie_ep * ep) rockchip_pcie_ep_exit_ob_mem() argument
842 struct rockchip_pcie_ep *ep; rockchip_pcie_ep_probe() local
[all...]
/linux/drivers/pci/controller/dwc/
H A Dpci-exynos.c70 static void exynos_pcie_sideband_dbi_w_mode(struct exynos_pcie *ep, bool on) in exynos_pcie_sideband_dbi_w_mode() argument
72 struct dw_pcie *pci = &ep->pci; in exynos_pcie_sideband_dbi_w_mode()
83 static void exynos_pcie_sideband_dbi_r_mode(struct exynos_pcie *ep, bool on) in exynos_pcie_sideband_dbi_r_mode() argument
85 struct dw_pcie *pci = &ep->pci; in exynos_pcie_sideband_dbi_r_mode()
96 static void exynos_pcie_assert_core_reset(struct exynos_pcie *ep) in exynos_pcie_assert_core_reset() argument
98 struct dw_pcie *pci = &ep->pci; in exynos_pcie_assert_core_reset()
108 static void exynos_pcie_deassert_core_reset(struct exynos_pcie *ep) in exynos_pcie_deassert_core_reset() argument
110 struct dw_pcie *pci = &ep->pci; in exynos_pcie_deassert_core_reset()
137 static void exynos_pcie_clear_irq_pulse(struct exynos_pcie *ep) in exynos_pcie_clear_irq_pulse() argument
139 struct dw_pcie *pci = &ep in exynos_pcie_clear_irq_pulse()
148 struct exynos_pcie *ep = arg; exynos_pcie_irq_handler() local
154 exynos_pcie_enable_irq_pulse(struct exynos_pcie * ep) exynos_pcie_enable_irq_pulse() argument
169 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_read_dbi() local
181 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_write_dbi() local
227 struct exynos_pcie *ep = to_exynos_pcie(pci); exynos_pcie_host_init() local
246 exynos_add_pcie_port(struct exynos_pcie * ep,struct platform_device * pdev) exynos_add_pcie_port() argument
287 struct exynos_pcie *ep; exynos_pcie_probe() local
334 struct exynos_pcie *ep = platform_get_drvdata(pdev); exynos_pcie_remove() local
345 struct exynos_pcie *ep = dev_get_drvdata(dev); exynos_pcie_suspend_noirq() local
357 struct exynos_pcie *ep = dev_get_drvdata(dev); exynos_pcie_resume_noirq() local
[all...]
/linux/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c25 * bnx2i_get_cid_num - get cid from ep
26 * @ep: endpoint pointer
30 static u32 bnx2i_get_cid_num(struct bnx2i_endpoint *ep) in bnx2i_get_cid_num() argument
34 if (test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) in bnx2i_get_cid_num()
35 cid = ep->ep_cid; in bnx2i_get_cid_num()
37 cid = GET_CID_NUM(ep->ep_cid); in bnx2i_get_cid_num()
131 * @ep: endpoint (transport identifier) structure
138 int bnx2i_arm_cq_event_coalescing(struct bnx2i_endpoint *ep, u8 action) in bnx2i_arm_cq_event_coalescing() argument
146 if (!test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) in bnx2i_arm_cq_event_coalescing()
153 cq_db = (struct bnx2i_5771x_cq_db *) ep in bnx2i_arm_cq_event_coalescing()
235 struct bnx2i_endpoint *ep = bnx2i_conn->ep; bnx2i_put_rq_buf() local
271 struct bnx2i_endpoint *ep = bnx2i_conn->ep; bnx2i_ring_sq_dbell() local
534 struct bnx2i_endpoint *ep = bnx2i_conn->ep; bnx2i_send_iscsi_nopout() local
688 struct bnx2i_endpoint *ep = timer_container_of(ep, t, ofld_timer); bnx2i_ep_ofld_timer() local
751 bnx2i_send_conn_destroy(struct bnx2i_hba * hba,struct bnx2i_endpoint * ep) bnx2i_send_conn_destroy() argument
786 bnx2i_570x_send_conn_ofld_req(struct bnx2i_hba * hba,struct bnx2i_endpoint * ep) bnx2i_570x_send_conn_ofld_req() argument
846 bnx2i_5771x_send_conn_ofld_req(struct bnx2i_hba * hba,struct bnx2i_endpoint * ep) bnx2i_5771x_send_conn_ofld_req() argument
914 bnx2i_send_conn_ofld_req(struct bnx2i_hba * hba,struct bnx2i_endpoint * ep) bnx2i_send_conn_ofld_req() argument
935 setup_qp_page_tables(struct bnx2i_endpoint * ep) setup_qp_page_tables() argument
1043 bnx2i_alloc_qp_resc(struct bnx2i_hba * hba,struct bnx2i_endpoint * ep) bnx2i_alloc_qp_resc() argument
1183 bnx2i_free_qp_resc(struct bnx2i_hba * hba,struct bnx2i_endpoint * ep) bnx2i_free_qp_resc() argument
2391 struct bnx2i_endpoint *ep; bnx2i_process_conn_destroy_cmpl() local
2426 struct bnx2i_endpoint *ep; bnx2i_process_ofld_cmpl() local
2571 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; bnx2i_cm_connect_cmpl() local
2593 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; bnx2i_cm_close_cmpl() local
2609 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; bnx2i_cm_abort_cmpl() local
2625 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; bnx2i_cm_remote_close() local
2641 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; bnx2i_cm_remote_abort() local
2701 bnx2i_map_ep_dbell_regs(struct bnx2i_endpoint * ep) bnx2i_map_ep_dbell_regs() argument
[all...]
/linux/drivers/phy/samsung/
H A Dphy-exynos-pcie.c52 struct exynos_pcie_phy *ep = phy_get_drvdata(phy); in exynos5433_pcie_phy_init() local
54 regmap_update_bits(ep->pmureg, EXYNOS5433_PMU_PCIE_PHY_OFFSET, in exynos5433_pcie_phy_init()
56 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_GLOBAL_RESET, in exynos5433_pcie_phy_init()
58 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_L1SUB_CM_CON, in exynos5433_pcie_phy_init()
61 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_COMMON_RESET, in exynos5433_pcie_phy_init()
63 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_MAC_RESET, in exynos5433_pcie_phy_init()
67 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_GLOBAL_RESET, in exynos5433_pcie_phy_init()
69 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_GLOBAL_RESET, in exynos5433_pcie_phy_init()
73 exynos_pcie_phy_writel(ep->base, 0x11, PCIE_PHY_OFFSET(0x3)); in exynos5433_pcie_phy_init()
76 exynos_pcie_phy_writel(ep in exynos5433_pcie_phy_init()
121 struct exynos_pcie_phy *ep = phy_get_drvdata(phy); exynos5433_pcie_phy_exit() local
[all...]
/linux/net/sunrpc/xprtrdma/
H A Dverbs.c77 static void rpcrdma_ep_get(struct rpcrdma_ep *ep);
78 static int rpcrdma_ep_put(struct rpcrdma_ep *ep);
95 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
96 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
101 if (atomic_inc_return(&ep->re_receiving) > 1) in rpcrdma_xprt_drain()
102 wait_for_completion(&ep->re_done); in rpcrdma_xprt_drain()
114 rpcrdma_ep_put(ep);
121 void rpcrdma_force_disconnect(struct rpcrdma_ep *ep) in rpcrdma_force_disconnect()
123 if (atomic_add_unless(&ep->re_force_disconnect, 1, 1))
124 xprt_force_disconnect(ep
91 struct rpcrdma_ep *ep = r_xprt->rx_ep; rpcrdma_xprt_drain() local
117 rpcrdma_force_disconnect(struct rpcrdma_ep * ep) rpcrdma_force_disconnect() argument
191 rpcrdma_update_cm_private(struct rpcrdma_ep * ep,struct rdma_conn_param * param) rpcrdma_update_cm_private() argument
227 struct rpcrdma_ep *ep = id->context; rpcrdma_cm_event_handler() local
282 struct rpcrdma_ep *ep = container_of(rn, struct rpcrdma_ep, re_rn); rpcrdma_ep_removal_done() local
289 rpcrdma_create_id(struct rpcrdma_xprt * r_xprt,struct rpcrdma_ep * ep) rpcrdma_create_id() argument
340 struct rpcrdma_ep *ep = container_of(kref, struct rpcrdma_ep, re_kref); rpcrdma_ep_destroy() local
364 rpcrdma_ep_get(struct rpcrdma_ep * ep) rpcrdma_ep_get() argument
373 rpcrdma_ep_put(struct rpcrdma_ep * ep) rpcrdma_ep_put() argument
383 struct rpcrdma_ep *ep; rpcrdma_ep_create() local
500 struct rpcrdma_ep *ep; rpcrdma_xprt_connect() local
561 struct rpcrdma_ep *ep = r_xprt->rx_ep; rpcrdma_xprt_disconnect() local
614 rpcrdma_sendctx_create(struct rpcrdma_ep * ep) rpcrdma_sendctx_create() argument
767 struct rpcrdma_ep *ep = r_xprt->rx_ep; rpcrdma_mrs_create() local
817 struct rpcrdma_ep *ep = r_xprt->rx_ep; rpcrdma_mrs_refresh() local
966 struct rpcrdma_ep *ep = r_xprt->rx_ep; rpcrdma_rep_create() local
1366 struct rpcrdma_ep *ep = r_xprt->rx_ep; rpcrdma_post_recvs() local
[all...]

12345678910>>...18