| /linux-4.4.14/sound/usb/ | 
| D | endpoint.c | 90 		usb_free_coherent(u->ep->chip->dev, u->buffer_size,  in release_urb_ctx() 130 int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep)  in snd_usb_endpoint_implicit_feedback_sink()  argument 132 	return  ep->sync_master &&  in snd_usb_endpoint_implicit_feedback_sink() 133 		ep->sync_master->type == SND_USB_ENDPOINT_TYPE_DATA &&  in snd_usb_endpoint_implicit_feedback_sink() 134 		ep->type == SND_USB_ENDPOINT_TYPE_DATA &&  in snd_usb_endpoint_implicit_feedback_sink() 135 		usb_pipeout(ep->pipe);  in snd_usb_endpoint_implicit_feedback_sink() 145 int snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep)  in snd_usb_endpoint_next_packet_size()  argument 150 	if (ep->fill_max)  in snd_usb_endpoint_next_packet_size() 151 		return ep->maxframesize;  in snd_usb_endpoint_next_packet_size() 153 	spin_lock_irqsave(&ep->lock, flags);  in snd_usb_endpoint_next_packet_size() [all …] 
 | 
| D | midi.c | 103 	void (*output)(struct snd_usb_midi_out_endpoint *ep, struct urb *urb); 140 		struct snd_usb_midi_out_endpoint *ep;  member 150 		struct snd_usb_midi_out_endpoint *ep;  member 183 static void snd_usbmidi_do_output(struct snd_usb_midi_out_endpoint *ep); 226 static void snd_usbmidi_input_data(struct snd_usb_midi_in_endpoint *ep,  in snd_usbmidi_input_data()  argument 229 	struct usbmidi_in_port *port = &ep->ports[portidx];  in snd_usbmidi_input_data() 232 		dev_dbg(&ep->umidi->dev->dev, "unexpected port %d!\n", portidx);  in snd_usbmidi_input_data() 235 	if (!test_bit(port->substream->number, &ep->umidi->input_triggered))  in snd_usbmidi_input_data() 257 	struct snd_usb_midi_in_endpoint *ep = urb->context;  in snd_usbmidi_in_urb_complete()  local 261 		ep->umidi->usb_protocol_ops->input(ep, urb->transfer_buffer,  in snd_usbmidi_in_urb_complete() [all …] 
 | 
| D | endpoint.h | 11 int snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, 21 int  snd_usb_endpoint_start(struct snd_usb_endpoint *ep, bool can_sleep); 22 void snd_usb_endpoint_stop(struct snd_usb_endpoint *ep); 23 void snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep); 24 int  snd_usb_endpoint_activate(struct snd_usb_endpoint *ep); 25 void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep); 26 void snd_usb_endpoint_release(struct snd_usb_endpoint *ep); 27 void snd_usb_endpoint_free(struct snd_usb_endpoint *ep); 29 int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep); 30 int snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep); [all …] 
 | 
| D | helper.h | 22 #define get_endpoint(alt,ep)	(&(alt)->endpoint[ep].desc)  argument 23 #define get_ep_desc(ep)		(&(ep)->desc)  argument
  | 
| D | pcm.c | 158 	unsigned int ep;  in init_pitch_v1()  local 164 	ep = get_endpoint(alts, 0)->bEndpointAddress;  in init_pitch_v1() 169 				   UAC_EP_CS_ATTR_PITCH_CONTROL << 8, ep,  in init_pitch_v1() 172 			      iface, ep);  in init_pitch_v1() 229 		struct snd_usb_endpoint *ep = subs->data_endpoint;  in start_endpoints()  local 231 		dev_dbg(&subs->dev->dev, "Starting data EP @%p\n", ep);  in start_endpoints() 233 		ep->data_subs = subs;  in start_endpoints() 234 		err = snd_usb_endpoint_start(ep, can_sleep);  in start_endpoints() 243 		struct snd_usb_endpoint *ep = subs->sync_endpoint;  in start_endpoints()  local 260 		dev_dbg(&subs->dev->dev, "Starting sync EP @%p\n", ep);  in start_endpoints() [all …] 
 | 
| D | clock.c | 284 	unsigned int ep;  in set_sample_rate_v1()  local 290 	ep = get_endpoint(alts, 0)->bEndpointAddress;  in set_sample_rate_v1() 301 				   UAC_EP_CS_ATTR_SAMPLE_RATE << 8, ep,  in set_sample_rate_v1() 304 			iface, fmt->altsetting, rate, ep);  in set_sample_rate_v1() 315 				   UAC_EP_CS_ATTR_SAMPLE_RATE << 8, ep,  in set_sample_rate_v1() 318 			iface, fmt->altsetting, ep);  in set_sample_rate_v1()
  | 
| /linux-4.4.14/drivers/infiniband/hw/cxgb3/ | 
| D | iwch_cm.c | 111 static void connect_reply_upcall(struct iwch_ep *ep, int status); 113 static void start_ep_timer(struct iwch_ep *ep)  in start_ep_timer()  argument 115 	PDBG("%s ep %p\n", __func__, ep);  in start_ep_timer() 116 	if (timer_pending(&ep->timer)) {  in start_ep_timer() 117 		PDBG("%s stopped / restarted timer ep %p\n", __func__, ep);  in start_ep_timer() 118 		del_timer_sync(&ep->timer);  in start_ep_timer() 120 		get_ep(&ep->com);  in start_ep_timer() 121 	ep->timer.expires = jiffies + ep_timeout_secs * HZ;  in start_ep_timer() 122 	ep->timer.data = (unsigned long)ep;  in start_ep_timer() 123 	ep->timer.function = ep_timeout;  in start_ep_timer() [all …] 
 | 
| D | iwch_cm.h | 56 #define put_ep(ep) { \  argument 58 	     ep, atomic_read(&((ep)->kref.refcount))); \ 59 	WARN_ON(atomic_read(&((ep)->kref.refcount)) < 1); \ 60 	kref_put(&((ep)->kref), __free_ep); \ 63 #define get_ep(ep) { \  argument 65 	     ep, atomic_read(&((ep)->kref.refcount))); \ 66 	kref_get(&((ep)->kref));  \ 222 int iwch_ep_disconnect(struct iwch_ep *ep, int abrupt, gfp_t gfp); 223 int iwch_quiesce_tid(struct iwch_ep *ep); 224 int iwch_resume_tid(struct iwch_ep *ep); [all …] 
 | 
| D | iwch_qp.c | 743 int iwch_post_zb_read(struct iwch_ep *ep)  in iwch_post_zb_read()  argument 766 	wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(ep->hwtid)|  in iwch_post_zb_read() 769 	return iwch_cxgb3_ofld_send(ep->com.qp->rhp->rdev.t3cdev_p, skb);  in iwch_post_zb_read() 799 	wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(qhp->ep->hwtid));  in iwch_post_terminate() 903 	init_attr.tid = qhp->ep->hwtid;  in rdma_init() 922 	init_attr.tcp_emss = qhp->ep->emss;  in rdma_init() 929 	init_attr.chan = qhp->ep->l2t->smt_idx;  in rdma_init() 938 	init_attr.irs = qhp->ep->rcv_seq;  in rdma_init() 960 	struct iwch_ep *ep = NULL;  in iwch_modify_qp()  local 963 	     qhp, qhp->wq.qpid, qhp->ep, qhp->attr.state,  in iwch_modify_qp() [all …] 
 | 
| D | iwch_ev.c | 141 			     __func__, qhp->wq.qpid, qhp->ep);  in iwch_ev_dispatch() 142 			iwch_ep_disconnect(qhp->ep, 0, GFP_ATOMIC);  in iwch_ev_dispatch() 148 			iwch_ep_disconnect(qhp->ep, 0, GFP_ATOMIC);  in iwch_ev_dispatch() 175 		if (qhp->ep && SQ_TYPE(rsp_msg->cqe))  in iwch_ev_dispatch() 176 			dst_confirm(qhp->ep->dst);  in iwch_ev_dispatch()
  | 
| /linux-4.4.14/drivers/usb/gadget/udc/ | 
| D | fsl_qe_udc.c | 80 static void done(struct qe_ep *ep, struct qe_req *req, int status)  in done()  argument 82 	struct qe_udc *udc = ep->udc;  in done() 83 	unsigned char stopped = ep->stopped;  in done() 100 			ep_is_in(ep)  in done() 108 			ep_is_in(ep)  in done() 114 			ep->ep.name, &req->req, status,  in done() 118 	ep->stopped = 1;  in done() 121 	usb_gadget_giveback_request(&ep->ep, &req->req);  in done() 125 	ep->stopped = stopped;  in done() 131 static void nuke(struct qe_ep *ep, int status)  in nuke()  argument [all …] 
 | 
| D | pch_udc.c | 179 #define PCH_UDC_CSR(ep)	(UDC_CSR_ADDR + ep*4)  argument 186 #define UDC_EPIN_IDX(ep)	(ep * 2)  argument 187 #define UDC_EPOUT_IDX(ep)	(ep * 2 + 1)  argument 291 	struct usb_ep			ep;  member 355 	struct pch_udc_ep		ep[PCH_UDC_EP_NUM];  member 448 static inline u32 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg)  in pch_udc_ep_readl()  argument 450 	return ioread32(ep->dev->base_addr + ep->offset_addr + reg);  in pch_udc_ep_readl() 453 static inline void pch_udc_ep_writel(struct pch_udc_ep *ep,  in pch_udc_ep_writel()  argument 456 	iowrite32(val, ep->dev->base_addr + ep->offset_addr + reg);  in pch_udc_ep_writel() 459 static inline void pch_udc_ep_bit_set(struct pch_udc_ep *ep,  in pch_udc_ep_bit_set()  argument [all …] 
 | 
| D | goku_udc.c | 97 	struct goku_ep	*ep;  in goku_ep_enable()  local 102 	ep = container_of(_ep, struct goku_ep, ep);  in goku_ep_enable() 106 	dev = ep->dev;  in goku_ep_enable() 107 	if (ep == &dev->ep[0])  in goku_ep_enable() 111 	if (ep->num != usb_endpoint_num(desc))  in goku_ep_enable() 122 	if ((readl(ep->reg_status) & EPxSTATUS_EP_MASK)  in goku_ep_enable() 143 	ep->is_in = usb_endpoint_dir_in(desc);  in goku_ep_enable() 144 	if (ep->is_in) {  in goku_ep_enable() 146 		ep->dma = (use_dma != 0) && (ep->num == UDC_MSTRD_ENDPOINT);  in goku_ep_enable() 148 		ep->dma = (use_dma == 2) && (ep->num == UDC_MSTWR_ENDPOINT);  in goku_ep_enable() [all …] 
 | 
| D | fotg210-udc.c | 31 static void fotg210_disable_fifo_int(struct fotg210_ep *ep)  in fotg210_disable_fifo_int()  argument 33 	u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1);  in fotg210_disable_fifo_int() 35 	if (ep->dir_in)  in fotg210_disable_fifo_int() 36 		value |= DMISGR1_MF_IN_INT(ep->epnum - 1);  in fotg210_disable_fifo_int() 38 		value |= DMISGR1_MF_OUTSPK_INT(ep->epnum - 1);  in fotg210_disable_fifo_int() 39 	iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1);  in fotg210_disable_fifo_int() 42 static void fotg210_enable_fifo_int(struct fotg210_ep *ep)  in fotg210_enable_fifo_int()  argument 44 	u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1);  in fotg210_enable_fifo_int() 46 	if (ep->dir_in)  in fotg210_enable_fifo_int() 47 		value &= ~DMISGR1_MF_IN_INT(ep->epnum - 1);  in fotg210_enable_fifo_int() [all …] 
 | 
| D | atmel_usba_udc.c | 38 	struct usba_ep *ep = inode->i_private;  in queue_dbg_open()  local 47 	spin_lock_irq(&ep->udc->lock);  in queue_dbg_open() 48 	list_for_each_entry(req, &ep->queue, queue) {  in queue_dbg_open() 54 	spin_unlock_irq(&ep->udc->lock);  in queue_dbg_open() 60 	spin_unlock_irq(&ep->udc->lock);  in queue_dbg_open() 204 		struct usba_ep *ep)  in usba_ep_init_debugfs()  argument 208 	ep_root = debugfs_create_dir(ep->ep.name, udc->debugfs_root);  in usba_ep_init_debugfs() 211 	ep->debugfs_dir = ep_root;  in usba_ep_init_debugfs() 213 	ep->debugfs_queue = debugfs_create_file("queue", 0400, ep_root,  in usba_ep_init_debugfs() 214 						ep, &queue_dbg_fops);  in usba_ep_init_debugfs() [all …] 
 | 
| D | net2280.c | 165 static void ep_clear_seqnum(struct net2280_ep *ep); 171 static inline void enable_pciirqenb(struct net2280_ep *ep)  in enable_pciirqenb()  argument 173 	u32 tmp = readl(&ep->dev->regs->pciirqenb0);  in enable_pciirqenb() 175 	if (ep->dev->quirks & PLX_LEGACY)  in enable_pciirqenb() 176 		tmp |= BIT(ep->num);  in enable_pciirqenb() 178 		tmp |= BIT(ep_bit[ep->num]);  in enable_pciirqenb() 179 	writel(tmp, &ep->dev->regs->pciirqenb0);  in enable_pciirqenb() 188 	struct net2280_ep	*ep;  in net2280_enable()  local 196 	ep = container_of(_ep, struct net2280_ep, ep);  in net2280_enable() 197 	if (!_ep || !desc || ep->desc || _ep->name == ep0name ||  in net2280_enable() [all …] 
 | 
| D | net2272.c | 120 static void assert_out_naking(struct net2272_ep *ep, const char *where)  in assert_out_naking()  argument 128 	tmp = net2272_ep_read(ep, EP_STAT0);  in assert_out_naking() 130 		dev_dbg(ep->dev->dev, "%s %s %02x !NAK\n",  in assert_out_naking() 131 			ep->ep.name, where, tmp);  in assert_out_naking() 132 		net2272_ep_write(ep, EP_RSPSET, 1 << ALT_NAK_OUT_PACKETS);  in assert_out_naking() 135 #define ASSERT_OUT_NAKING(ep) assert_out_naking(ep, __func__)  argument 137 static void stop_out_naking(struct net2272_ep *ep)  in stop_out_naking()  argument 139 	u8 tmp = net2272_ep_read(ep, EP_STAT0);  in stop_out_naking() 142 		net2272_ep_write(ep, EP_RSPCLR, 1 << ALT_NAK_OUT_PACKETS);  in stop_out_naking() 192 	struct net2272_ep *ep;  in net2272_enable()  local [all …] 
 | 
| D | amd5536udc.c | 70 static struct udc_request *udc_alloc_bna_dummy(struct udc_ep *ep); 330 static int udc_set_txfifo_addr(struct udc_ep *ep)  in udc_set_txfifo_addr()  argument 336 	if (!ep || !(ep->in))  in udc_set_txfifo_addr() 339 	dev = ep->dev;  in udc_set_txfifo_addr() 340 	ep->txfifo = dev->txfifo;  in udc_set_txfifo_addr() 343 	for (i = 0; i < ep->num; i++) {  in udc_set_txfifo_addr() 344 		if (dev->ep[i].regs) {  in udc_set_txfifo_addr() 346 			tmp = readl(&dev->ep[i].regs->bufin_framenum);  in udc_set_txfifo_addr() 348 			ep->txfifo += tmp;  in udc_set_txfifo_addr() 357 static void UDC_QUEUE_CNAK(struct udc_ep *ep, unsigned num)  in UDC_QUEUE_CNAK()  argument [all …] 
 | 
| D | r8a66597-udc.c | 38 static void irq_ep0_write(struct r8a66597_ep *ep, struct r8a66597_request *req); 39 static void irq_packet_write(struct r8a66597_ep *ep, 44 static void transfer_complete(struct r8a66597_ep *ep, 101 	INIT_LIST_HEAD(&r8a66597->ep[0].queue);  in r8a66597_usb_disconnect() 301 	struct r8a66597_ep *ep = r8a66597->pipenum2ep[pipenum];  in pipe_change()  local 303 	if (ep->use_dma)  in pipe_change() 304 		r8a66597_bclr(r8a66597, DREQE, ep->fifosel);  in pipe_change() 306 	r8a66597_mdfy(r8a66597, pipenum, CURPIPE, ep->fifosel);  in pipe_change() 310 	if (r8a66597_is_sudmac(r8a66597) && ep->use_dma)  in pipe_change() 311 		r8a66597_bclr(r8a66597, mbw_value(r8a66597), ep->fifosel);  in pipe_change() [all …] 
 | 
| D | pxa27x_udc.c | 82 static void handle_ep(struct pxa_ep *ep); 141 	struct pxa_ep *ep;  in queues_dbg_show()  local 150 		ep = &udc->pxa_ep[i];  in queues_dbg_show() 151 		maxpkt = ep->fifo_size;  in queues_dbg_show() 153 			   EPNAME(ep), maxpkt, "pio");  in queues_dbg_show() 155 		if (list_empty(&ep->queue)) {  in queues_dbg_show() 160 		list_for_each_entry(req, &ep->queue, queue) {  in queues_dbg_show() 173 	struct pxa_ep *ep;  in eps_dbg_show()  local 180 	ep = &udc->pxa_ep[0];  in eps_dbg_show() 181 	tmp = udc_ep_readl(ep, UDCCSR);  in eps_dbg_show() [all …] 
 | 
| D | omap_udc.c | 122 static void use_ep(struct omap_ep *ep, u16 select)  in use_ep()  argument 124 	u16	num = ep->bEndpointAddress & 0x0f;  in use_ep() 126 	if (ep->bEndpointAddress & USB_DIR_IN)  in use_ep() 142 static void dma_channel_claim(struct omap_ep *ep, unsigned preferred); 149 	struct omap_ep	*ep = container_of(_ep, struct omap_ep, ep);  in omap_ep_enable()  local 157 			|| ep->bEndpointAddress != desc->bEndpointAddress  in omap_ep_enable() 158 			|| ep->maxpacket < usb_endpoint_maxp(desc)) {  in omap_ep_enable() 164 				&& maxp != ep->maxpacket)  in omap_ep_enable() 165 			|| usb_endpoint_maxp(desc) > ep->maxpacket  in omap_ep_enable() 187 	if (ep->bmAttributes != desc->bmAttributes  in omap_ep_enable() [all …] 
 | 
| D | gr_udc.c | 95 static void gr_dbgprint_request(const char *str, struct gr_ep *ep,  in gr_dbgprint_request()  argument 98 	int buflen = ep->is_in ? req->req.length : req->req.actual;  in gr_dbgprint_request() 102 	dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen,  in gr_dbgprint_request() 116 static void gr_dbgprint_request(const char *str, struct gr_ep *ep,  in gr_dbgprint_request()  argument 129 static void gr_seq_ep_show(struct seq_file *seq, struct gr_ep *ep)  in gr_seq_ep_show()  argument 131 	u32 epctrl = gr_read32(&ep->regs->epctrl);  in gr_seq_ep_show() 132 	u32 epstat = gr_read32(&ep->regs->epstat);  in gr_seq_ep_show() 136 	seq_printf(seq, "%s:\n", ep->ep.name);  in gr_seq_ep_show() 141 	seq_printf(seq, "  dma_start = %d\n", ep->dma_start);  in gr_seq_ep_show() 142 	seq_printf(seq, "  stopped = %d\n", ep->stopped);  in gr_seq_ep_show() [all …] 
 | 
| D | m66592-udc.c | 38 static void irq_ep0_write(struct m66592_ep *ep, struct m66592_request *req); 39 static void irq_packet_write(struct m66592_ep *ep, struct m66592_request *req); 43 static void transfer_complete(struct m66592_ep *ep, 102 	INIT_LIST_HEAD(&m66592->ep[0].queue);  in m66592_usb_disconnect() 211 	struct m66592_ep *ep = m66592->pipenum2ep[pipenum];  in pipe_change()  local 214 	if (ep->use_dma)  in pipe_change() 217 	m66592_mdfy(m66592, pipenum, M66592_CURPIPE, ep->fifosel);  in pipe_change() 226 	m66592_bset(m66592, mbw, ep->fifosel);  in pipe_change() 303 static void pipe_initialize(struct m66592_ep *ep)  in pipe_initialize()  argument 305 	struct m66592 *m66592 = ep->m66592;  in pipe_initialize() [all …] 
 | 
| D | fusb300_udc.c | 36 static void done(struct fusb300_ep *ep, struct fusb300_request *req, 58 static void fusb300_ep_setting(struct fusb300_ep *ep,  in fusb300_ep_setting()  argument 61 	ep->epnum = info.epnum;  in fusb300_ep_setting() 62 	ep->type = info.type;  in fusb300_ep_setting() 65 static int fusb300_ep_release(struct fusb300_ep *ep)  in fusb300_ep_release()  argument 67 	if (!ep->epnum)  in fusb300_ep_release() 69 	ep->epnum = 0;  in fusb300_ep_release() 70 	ep->stall = 0;  in fusb300_ep_release() 71 	ep->wedged = 0;  in fusb300_ep_release() 76 				   u32 ep)  in fusb300_set_fifo_entry()  argument [all …] 
 | 
| D | pxa25x_udc.c | 127 static void pxa25x_ep_fifo_flush (struct usb_ep *ep); 215 	struct pxa25x_ep        *ep;  in pxa25x_ep_enable()  local 218 	ep = container_of (_ep, struct pxa25x_ep, ep);  in pxa25x_ep_enable() 221 			|| ep->bEndpointAddress != desc->bEndpointAddress  in pxa25x_ep_enable() 222 			|| ep->fifo_size < usb_endpoint_maxp (desc)) {  in pxa25x_ep_enable() 228 	if (ep->bmAttributes != desc->bmAttributes  in pxa25x_ep_enable() 229 			&& ep->bmAttributes != USB_ENDPOINT_XFER_BULK  in pxa25x_ep_enable() 244 	dev = ep->dev;  in pxa25x_ep_enable() 250 	ep->ep.desc = desc;  in pxa25x_ep_enable() 251 	ep->stopped = 0;  in pxa25x_ep_enable() [all …] 
 | 
| D | udc-xilinx.c | 111 #define to_xusb_ep(ep)	 container_of((ep), struct xusb_ep, ep_usb)  argument 123 	struct xusb_ep *ep;  member 184 	struct xusb_ep ep[8];  member 265 	struct xusb_ep *ep0 = &udc->ep[XUSB_EP_NUMBER_ZERO];  in xudc_wrstatus() 283 static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc)  in xudc_epconfig()  argument 291 	epcfgreg = ((ep->is_in << 29) | (ep->is_iso << 28) |  in xudc_epconfig() 292 		   (ep->ep_usb.maxpacket << 15) | (ep->rambase));  in xudc_epconfig() 293 	udc->write_fn(udc->addr, ep->offset, epcfgreg);  in xudc_epconfig() 296 	udc->write_fn(udc->addr, ep->offset + XUSB_EP_BUF0COUNT_OFFSET,  in xudc_epconfig() 297 		      ep->buffer0count);  in xudc_epconfig() [all …] 
 | 
| D | at91_udc.c | 109 static void proc_ep_show(struct seq_file *s, struct at91_ep *ep)  in proc_ep_show()  argument 118 	struct at91_udc	*udc = ep->udc;  in proc_ep_show() 122 	csr = __raw_readl(ep->creg);  in proc_ep_show() 128 			ep->ep.name, ep->ep.maxpacket,  in proc_ep_show() 129 			ep->is_in ? "in" : "out",  in proc_ep_show() 130 			ep->is_iso ? " iso" : "",  in proc_ep_show() 131 			ep->is_pingpong  in proc_ep_show() 132 				? (ep->fifo_bank ? "pong" : "ping")  in proc_ep_show() 134 			ep->stopped ? " stopped" : "");  in proc_ep_show() 154 	if (list_empty (&ep->queue))  in proc_ep_show() [all …] 
 | 
| D | mv_u3d_core.c | 40 static void mv_u3d_nuke(struct mv_u3d_ep *ep, int status); 55 	struct mv_u3d_ep *ep;  in mv_u3d_ep0_reset()  local 60 		ep = &u3d->eps[i];  in mv_u3d_ep0_reset() 61 		ep->u3d = u3d;  in mv_u3d_ep0_reset() 64 		ep->ep_context = &u3d->ep_context[1];  in mv_u3d_ep0_reset() 187 void mv_u3d_done(struct mv_u3d_ep *ep, struct mv_u3d_req *req, int status)  in mv_u3d_done()  argument 188 	__releases(&ep->udc->lock)  in mv_u3d_done() 189 	__acquires(&ep->udc->lock)  in mv_u3d_done() 191 	struct mv_u3d *u3d = (struct mv_u3d *)ep->u3d;  in mv_u3d_done() 208 		dma_unmap_single(ep->u3d->gadget.dev.parent,  in mv_u3d_done() [all …] 
 | 
| D | mv_udc_core.c | 44 #define ep_dir(ep)	(((ep)->ep_num == 0) ? \  argument 45 				((ep)->udc->ep0_dir) : ((ep)->direction)) 63 static void nuke(struct mv_ep *ep, int status); 77 	struct mv_ep *ep;  in ep0_reset()  local 83 		ep = &udc->eps[i];  in ep0_reset() 84 		ep->udc = udc;  in ep0_reset() 87 		ep->dqh = &udc->ep_dqh[i];  in ep0_reset() 90 		ep->dqh->max_packet_length =  in ep0_reset() 94 		ep->dqh->next_dtd_ptr = EP_QUEUE_HEAD_NEXT_TERMINATE;  in ep0_reset() 190 		bit_pos = 1 << curr_req->ep->ep_num;  in process_ep_req() [all …] 
 | 
| D | lpc32xx_udc.c | 97 #define EP_MASK_SEL(ep, dir) (1 << (((ep) * 2) + dir))  argument 127 	struct usb_ep		ep;  member 190 	struct lpc32xx_ep	ep[NUM_ENDPOINTS];  member 511 static void proc_ep_show(struct seq_file *s, struct lpc32xx_ep *ep)  in proc_ep_show()  argument 517 			ep->ep.name, ep->ep.maxpacket,  in proc_ep_show() 518 			ep->is_in ? "in" : "out");  in proc_ep_show() 519 	seq_printf(s, " type %4s", epnames[ep->eptype]);  in proc_ep_show() 520 	seq_printf(s, " ints: %12d", ep->totalints);  in proc_ep_show() 522 	if (list_empty(&ep->queue))  in proc_ep_show() 525 		list_for_each_entry(req, &ep->queue, queue) {  in proc_ep_show() [all …] 
 | 
| D | s3c2410_udc.c | 252 static void s3c2410_udc_done(struct s3c2410_ep *ep,  in s3c2410_udc_done()  argument 255 	unsigned halted = ep->halted;  in s3c2410_udc_done() 264 	ep->halted = 1;  in s3c2410_udc_done() 265 	usb_gadget_giveback_request(&ep->ep, &req->req);  in s3c2410_udc_done() 266 	ep->halted = halted;  in s3c2410_udc_done() 270 		struct s3c2410_ep *ep, int status)  in s3c2410_udc_nuke()  argument 273 	if (&ep->queue == NULL)  in s3c2410_udc_nuke() 276 	while (!list_empty(&ep->queue)) {  in s3c2410_udc_nuke() 278 		req = list_entry(ep->queue.next, struct s3c2410_request,  in s3c2410_udc_nuke() 280 		s3c2410_udc_done(ep, req, status);  in s3c2410_udc_nuke() [all …] 
 | 
| D | pxa27x_udc.h | 178 #define ofs_UDCCR(ep)	(UDCCRn(ep->idx))  argument 179 #define ofs_UDCCSR(ep)	(UDCCSRn(ep->idx))  argument 180 #define ofs_UDCBCR(ep)	(UDCBCRn(ep->idx))  argument 181 #define ofs_UDCDR(ep)	(UDCDRn(ep->idx))  argument 184 #define udc_ep_readl(ep, reg)	\  argument 185 	__raw_readl((ep)->dev->regs + ofs_##reg(ep)) 186 #define udc_ep_writel(ep, reg, value)	\  argument 187 	__raw_writel((value), ep->dev->regs + ofs_##reg(ep)) 188 #define udc_ep_readb(ep, reg)	\  argument 189 	__raw_readb((ep)->dev->regs + ofs_##reg(ep)) [all …] 
 | 
| D | fsl_udc_core.c | 161 static void done(struct fsl_ep *ep, struct fsl_req *req, int status)  in done()  argument 162 __releases(ep->udc->lock)  in done() 163 __acquires(ep->udc->lock)  in done() 166 	unsigned char stopped = ep->stopped;  in done() 170 	udc = (struct fsl_udc *)ep->udc;  in done() 190 	usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep));  in done() 194 			ep->ep.name, &req->req, status,  in done() 197 	ep->stopped = 1;  in done() 199 	spin_unlock(&ep->udc->lock);  in done() 201 	usb_gadget_giveback_request(&ep->ep, &req->req);  in done() [all …] 
 | 
| D | net2280.h | 94 	struct usb_ep				ep;  member 117 static inline void allow_status(struct net2280_ep *ep)  in allow_status()  argument 123 		&ep->regs->ep_rsp);  in allow_status() 124 	ep->stopped = 1;  in allow_status() 127 static inline void allow_status_338x(struct net2280_ep *ep)  in allow_status_338x()  argument 134 	writel(BIT(CLEAR_CONTROL_STATUS_PHASE_HANDSHAKE), &ep->regs->ep_rsp);  in allow_status_338x() 136 	ep->stopped = 1;  in allow_status_338x() 139 	ep->responded = 0;  in allow_status_338x() 155 	struct net2280_ep		ep[9];  member 193 static inline void set_halt(struct net2280_ep *ep)  in set_halt()  argument [all …] 
 | 
| D | dummy_hcd.c | 88 	struct usb_ep			ep;  member 103 	return container_of(_ep, struct dummy_ep, ep);  in usb_ep_to_dummy_ep() 254 	struct dummy_ep			ep[DUMMY_ENDPOINTS];  member 291 static inline struct dummy *ep_to_dummy(struct dummy_ep *ep)  in ep_to_dummy()  argument 293 	return container_of(ep->gadget, struct dummy, gadget);  in ep_to_dummy() 315 static void nuke(struct dummy *dum, struct dummy_ep *ep)  in nuke()  argument 317 	while (!list_empty(&ep->queue)) {  in nuke() 320 		req = list_entry(ep->queue.next, struct dummy_request, queue);  in nuke() 325 		usb_gadget_giveback_request(&ep->ep, &req->req);  in nuke() 333 	struct dummy_ep	*ep;  in stop_activity()  local [all …] 
 | 
| D | fotg210.h | 152 #define FOTG210_INEPMPSR(ep)	(0x160 + 4 * ((ep) - 1))  argument 158 #define FOTG210_OUTEPMPSR(ep)	(0x180 + 4 * ((ep) - 1))  argument 162 #define EPMAP_FIFONO(ep, dir)		\  argument 163 	((((ep) - 1) << ((ep) - 1) * 8) << ((dir) ? 0 : 4)) 164 #define EPMAP_FIFONOMSK(ep, dir)	\  argument 165 	((3 << ((ep) - 1) * 8) << ((dir) ? 0 : 4)) 173 #define FIFOMAP_EPNO(ep)	((ep) << ((ep) - 1) * 8)  argument 174 #define FIFOMAP_EPNOMSK(ep)	(0xF << ((ep) - 1) * 8)  argument 220 	struct usb_ep		ep;  member 244 	struct fotg210_ep	*ep[FOTG210_MAX_NUM_EP];  member
  | 
| D | net2272.h | 433 	struct usb_ep ep;  member 457 	struct net2272_ep ep[4];  member 537 net2272_ep_write(struct net2272_ep *ep, unsigned int reg, u8 value)  in net2272_ep_write()  argument 539 	struct net2272 *dev = ep->dev;  in net2272_ep_write() 541 	if (dev->pagesel != ep->num) {  in net2272_ep_write() 542 		net2272_write(dev, PAGESEL, ep->num);  in net2272_ep_write() 543 		dev->pagesel = ep->num;  in net2272_ep_write() 549 net2272_ep_read(struct net2272_ep *ep, unsigned int reg)  in net2272_ep_read()  argument 551 	struct net2272 *dev = ep->dev;  in net2272_ep_read() 553 	if (dev->pagesel != ep->num) {  in net2272_ep_read() [all …] 
 | 
| D | atmel_usba_udc.h | 208 #define usba_ep_readl(ep, reg)					\  argument 209 	usba_io_readl((ep)->ep_regs + USBA_EPT_##reg) 210 #define usba_ep_writel(ep, reg, value)				\  argument 211 	usba_io_writel((value), (ep)->ep_regs + USBA_EPT_##reg) 212 #define usba_dma_readl(ep, reg)					\  argument 213 	usba_io_readl((ep)->dma_regs + USBA_DMA_##reg) 214 #define usba_dma_writel(ep, reg, value)				\  argument 215 	usba_io_writel((value), (ep)->dma_regs + USBA_DMA_##reg) 283 	struct usb_ep				ep;  member 359 static inline struct usba_ep *to_usba_ep(struct usb_ep *ep)  in to_usba_ep()  argument [all …] 
 | 
| D | s3c-hsudc.c | 111 	struct usb_ep ep;  member 155 	struct s3c_hsudc_ep ep[];  member 158 #define ep_maxpacket(_ep)	((_ep)->ep.maxpacket) 171 static inline struct s3c_hsudc_ep *our_ep(struct usb_ep *ep)  in our_ep()  argument 173 	return container_of(ep, struct s3c_hsudc_ep, ep);  in our_ep() 261 	usb_gadget_giveback_request(&hsep->ep, &hsreq->req);  in s3c_hsudc_complete_request() 297 		hsep = &hsudc->ep[epnum];  in s3c_hsudc_stop_activity() 400 	is_short = (rlen < hsep->ep.maxpacket);  in s3c_hsudc_read_fifo() 432 	struct s3c_hsudc_ep *hsep = &hsudc->ep[ep_idx];  in s3c_hsudc_epin_intr() 465 	struct s3c_hsudc_ep *hsep = &hsudc->ep[ep_idx];  in s3c_hsudc_epout_intr() [all …] 
 | 
| D | udc-core.c | 122 void usb_gadget_giveback_request(struct usb_ep *ep,  in usb_gadget_giveback_request()  argument 128 	req->complete(ep, req);  in usb_gadget_giveback_request() 142 	struct usb_ep *ep;  in gadget_find_ep_by_name()  local 144 	gadget_for_each_ep(ep, g) {  in gadget_find_ep_by_name() 145 		if (!strcmp(ep->name, name))  in gadget_find_ep_by_name() 146 			return ep;  in gadget_find_ep_by_name() 156 		struct usb_ep *ep, struct usb_endpoint_descriptor *desc,  in usb_gadget_ep_match_desc()  argument 164 	if (ep->claimed)  in usb_gadget_ep_match_desc() 170 	if (usb_endpoint_dir_in(desc) && !ep->caps.dir_in)  in usb_gadget_ep_match_desc() 172 	if (usb_endpoint_dir_out(desc) && !ep->caps.dir_out)  in usb_gadget_ep_match_desc() [all …] 
 | 
| D | fsl_usb2_udc.h | 452 	struct fsl_ep *ep;  member 463 	struct usb_ep ep;  member 574 #define ep_index(EP)		((EP)->ep.desc->bEndpointAddress&0xF) 575 #define ep_maxpacket(EP)	((EP)->ep.maxpacket) 577 			USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 585 static inline struct ep_queue_head *get_qh_by_ep(struct fsl_ep *ep)  in get_qh_by_ep()  argument 588 	if (ep_index(ep) != 0)  in get_qh_by_ep() 589 		return ep->qh;  in get_qh_by_ep() 591 		return &ep->udc->ep_qh[(ep->udc->ep0_dir ==  in get_qh_by_ep()
  | 
| D | bcm63xx_udc.c | 245 	struct usb_ep			ep;  member 353 static inline struct bcm63xx_ep *our_ep(struct usb_ep *ep)  in our_ep()  argument 355 	return container_of(ep, struct bcm63xx_ep, ep);  in our_ep() 577 		usb_ep_set_maxpacket_limit(&udc->bep[idx].ep, max_pkt);  in bcm63xx_ep_setup() 966 		bep->ep.name = bcm63xx_ep_info[i].name;  in bcm63xx_init_udc_hw() 967 		bep->ep.caps = bcm63xx_ep_info[i].caps;  in bcm63xx_init_udc_hw() 969 		bep->ep.ops = &bcm63xx_udc_ep_ops;  in bcm63xx_init_udc_hw() 970 		list_add_tail(&bep->ep.ep_list, &udc->gadget.ep_list);  in bcm63xx_init_udc_hw() 972 		usb_ep_set_maxpacket_limit(&bep->ep, BCM63XX_MAX_CTRL_PKT);  in bcm63xx_init_udc_hw() 974 		bep->ep.desc = NULL;  in bcm63xx_init_udc_hw() [all …] 
 | 
| D | mv_u3d.h | 120 #define mv_u3d_ep_dir(ep)	(((ep)->ep_num == 0) ? \  argument 121 				((ep)->u3d->ep0_dir) : ((ep)->direction)) 291 	struct usb_ep		ep;  member 310 	struct mv_u3d_ep	*ep;  member
  | 
| D | pxa25x_udc.h | 41 	struct usb_ep				ep;  member 123 	struct pxa25x_ep			ep [PXA_UDC_NUM_ENDPOINTS];  member 229 		if (dev->ep[i].ep.desc == NULL)  in dump_state() 231 		DMSG ("udccs%d = %02x\n", i, *dev->ep->reg_udccs);  in dump_state()
  | 
| D | r8a66597-udc.h | 59 	struct usb_ep		ep;  member 98 	struct r8a66597_ep	ep[R8A66597_MAX_NUM_PIPE];  member 198 				       struct r8a66597_ep *ep,  in r8a66597_write_fifo()  argument 202 	void __iomem *fifoaddr = r8a66597->reg + ep->fifoaddr;  in r8a66597_write_fifo() 231 		r8a66597_bclr(r8a66597, MBW_16, ep->fifosel);  in r8a66597_write_fifo() 235 		r8a66597_bclr(r8a66597, MBW_16, ep->fifosel);  in r8a66597_write_fifo()
  | 
| D | fsl_qe_udc.h | 156 #define ep_index(EP)		((EP)->ep.desc->bEndpointAddress & 0xF) 157 #define ep_maxpacket(EP)	((EP)->ep.maxpacket) 159 			USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 261 	struct qe_ep *ep;  member 266 	struct usb_ep ep;  member
  | 
| D | s3c2410_udc.h | 22 	struct usb_ep			ep;  member 79 	struct s3c2410_ep		ep[S3C2410_ENDPOINTS];  member
  | 
| D | m66592-udc.h | 445 	struct usb_ep		ep;  member 475 	struct m66592_ep	ep[M66592_MAX_NUM_PIPE];  member 566 		struct m66592_ep *ep,  in m66592_write_fifo()  argument 569 	void __iomem *fifoaddr = m66592->reg + ep->fifoaddr;  in m66592_write_fifo() 596 				m66592_bclr(m66592, M66592_MBW_16, ep->fifosel);  in m66592_write_fifo() 599 				m66592_bset(m66592, M66592_MBW_16, ep->fifosel);  in m66592_write_fifo()
  | 
| /linux-4.4.14/drivers/infiniband/hw/cxgb4/ | 
| D | cm.c | 147 static void connect_reply_upcall(struct c4iw_ep *ep, int status); 152 static void deref_qp(struct c4iw_ep *ep)  in deref_qp()  argument 154 	c4iw_qp_rem_ref(&ep->com.qp->ibqp);  in deref_qp() 155 	clear_bit(QP_REFERENCED, &ep->com.flags);  in deref_qp() 158 static void ref_qp(struct c4iw_ep *ep)  in ref_qp()  argument 160 	set_bit(QP_REFERENCED, &ep->com.flags);  in ref_qp() 161 	c4iw_qp_add_ref(&ep->com.qp->ibqp);  in ref_qp() 164 static void start_ep_timer(struct c4iw_ep *ep)  in start_ep_timer()  argument 166 	PDBG("%s ep %p\n", __func__, ep);  in start_ep_timer() 167 	if (timer_pending(&ep->timer)) {  in start_ep_timer() [all …] 
 | 
| D | device.c | 242 	if (qp->ep) {  in dump_qp() 243 		if (qp->ep->com.local_addr.ss_family == AF_INET) {  in dump_qp() 245 				&qp->ep->com.local_addr;  in dump_qp() 247 				&qp->ep->com.remote_addr;  in dump_qp() 249 				&qp->ep->com.mapped_local_addr;  in dump_qp() 251 				&qp->ep->com.mapped_remote_addr;  in dump_qp() 260 				      qp->ep->hwtid, (int)qp->ep->com.state,  in dump_qp() 267 				&qp->ep->com.local_addr;  in dump_qp() 269 				&qp->ep->com.remote_addr;  in dump_qp() 272 				&qp->ep->com.mapped_local_addr;  in dump_qp() [all …] 
 | 
| D | qp.c | 1089 	     qhp->ep->hwtid);  in post_terminate() 1094 	set_wr_txq(skb, CPL_PRIORITY_DATA, qhp->ep->txq_idx);  in post_terminate() 1100 		FW_WR_FLOWID_V(qhp->ep->hwtid) |  in post_terminate() 1203 		     struct c4iw_ep *ep)  in rdma_fini()  argument 1210 	     ep->hwtid);  in rdma_fini() 1215 	set_wr_txq(skb, CPL_PRIORITY_DATA, ep->txq_idx);  in rdma_fini() 1223 		FW_WR_FLOWID_V(ep->hwtid) |  in rdma_fini() 1225 	wqe->cookie = (uintptr_t)&ep->com.wr_wait;  in rdma_fini() 1232 	ret = c4iw_wait_for_reply(&rhp->rdev, &ep->com.wr_wait, qhp->ep->hwtid,  in rdma_fini() 1271 	     qhp->wq.sq.qid, qhp->ep->hwtid, qhp->ep->ird, qhp->ep->ord);  in rdma_init() [all …] 
 | 
| /linux-4.4.14/drivers/misc/mic/scif/ | 
| D | scif_epd.c | 21 void scif_cleanup_ep_qp(struct scif_endpt *ep)  in scif_cleanup_ep_qp()  argument 23 	struct scif_qp *qp = ep->qp_info.qp;  in scif_cleanup_ep_qp() 27 			     qp->outbound_q.size, ep->remote_dev);  in scif_cleanup_ep_qp() 32 			     sizeof(struct scif_qp), ep->remote_dev);  in scif_cleanup_ep_qp() 36 		scif_unmap_single(qp->local_qp, ep->remote_dev,  in scif_cleanup_ep_qp() 41 		scif_unmap_single(qp->local_buf, ep->remote_dev,  in scif_cleanup_ep_qp() 49 	struct scif_endpt *ep = endpt;  in scif_teardown_ep()  local 50 	struct scif_qp *qp = ep->qp_info.qp;  in scif_teardown_ep() 53 		spin_lock(&ep->lock);  in scif_teardown_ep() 54 		scif_cleanup_ep_qp(ep);  in scif_teardown_ep() [all …] 
 | 
| D | scif_api.c | 53 	struct scif_endpt *ep;  in scif_open()  local 57 	ep = kzalloc(sizeof(*ep), GFP_KERNEL);  in scif_open() 58 	if (!ep)  in scif_open() 61 	ep->qp_info.qp = kzalloc(sizeof(*ep->qp_info.qp), GFP_KERNEL);  in scif_open() 62 	if (!ep->qp_info.qp)  in scif_open() 65 	err = scif_anon_inode_getfile(ep);  in scif_open() 69 	spin_lock_init(&ep->lock);  in scif_open() 70 	mutex_init(&ep->sendlock);  in scif_open() 71 	mutex_init(&ep->recvlock);  in scif_open() 73 	scif_rma_ep_init(ep);  in scif_open() [all …] 
 | 
| D | scif_mmap.c | 37 	struct scif_endpt *ep;  in scif_recv_munmap()  local 39 	ep = (struct scif_endpt *)recv_window->ep;  in scif_recv_munmap() 45 	req.head = &ep->rma_info.reg_list;  in scif_recv_munmap() 46 	msg->payload[0] = ep->remote_ep;  in scif_recv_munmap() 48 	mutex_lock(&ep->rma_info.rma_lock);  in scif_recv_munmap() 60 		atomic_inc(&ep->rma_info.tw_refcount);  in scif_recv_munmap() 61 		ep->rma_info.async_list_del = 1;  in scif_recv_munmap() 63 		scif_free_window_offset(ep, window, window->offset);  in scif_recv_munmap() 66 	mutex_unlock(&ep->rma_info.rma_lock);  in scif_recv_munmap() 75 static void __scif_zap_mmaps(struct scif_endpt *ep)  in __scif_zap_mmaps()  argument [all …] 
 | 
| D | scif_fence.c | 29 	struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0];  in scif_recv_mark()  local 32 	err = _scif_fence_mark(ep, &mark);  in scif_recv_mark() 37 	msg->payload[0] = ep->remote_ep;  in scif_recv_mark() 39 	scif_nodeqp_send(ep->remote_dev, msg);  in scif_recv_mark() 50 	struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0];  in scif_recv_mark_resp()  local 54 	mutex_lock(&ep->rma_info.rma_lock);  in scif_recv_mark_resp() 61 	mutex_unlock(&ep->rma_info.rma_lock);  in scif_recv_mark_resp() 73 	struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0];  in scif_recv_wait()  local 83 		msg->payload[0] = ep->remote_ep;  in scif_recv_wait() 85 		scif_nodeqp_send(ep->remote_dev, msg);  in scif_recv_wait() [all …] 
 | 
| D | scif_rma.c | 34 void scif_rma_ep_init(struct scif_endpt *ep)  in scif_rma_ep_init()  argument 36 	struct scif_endpt_rma_info *rma = &ep->rma_info;  in scif_rma_ep_init() 63 int scif_rma_ep_can_uninit(struct scif_endpt *ep)  in scif_rma_ep_can_uninit()  argument 67 	mutex_lock(&ep->rma_info.rma_lock);  in scif_rma_ep_can_uninit() 69 	if (list_empty(&ep->rma_info.reg_list) &&  in scif_rma_ep_can_uninit() 70 	    list_empty(&ep->rma_info.remote_reg_list) &&  in scif_rma_ep_can_uninit() 71 	    list_empty(&ep->rma_info.mmn_list) &&  in scif_rma_ep_can_uninit() 72 	    !atomic_read(&ep->rma_info.tw_refcount) &&  in scif_rma_ep_can_uninit() 73 	    !atomic_read(&ep->rma_info.tcw_refcount) &&  in scif_rma_ep_can_uninit() 74 	    !atomic_read(&ep->rma_info.fence_refcount))  in scif_rma_ep_can_uninit() [all …] 
 | 
| D | scif_nm.c | 29 	struct scif_endpt *ep;  in scif_invalidate_ep()  local 35 		ep = list_entry(pos, struct scif_endpt, list);  in scif_invalidate_ep() 36 		if (ep->remote_dev->node == node) {  in scif_invalidate_ep() 37 			scif_unmap_all_windows(ep);  in scif_invalidate_ep() 38 			spin_lock(&ep->lock);  in scif_invalidate_ep() 39 			scif_cleanup_ep_qp(ep);  in scif_invalidate_ep() 40 			spin_unlock(&ep->lock);  in scif_invalidate_ep() 44 		ep = list_entry(pos, struct scif_endpt, list);  in scif_invalidate_ep() 45 		if (ep->remote_dev->node == node) {  in scif_invalidate_ep() 47 			spin_lock(&ep->lock);  in scif_invalidate_ep() [all …] 
 | 
| D | scif_dma.c | 90 int scif_reserve_dma_chan(struct scif_endpt *ep)  in scif_reserve_dma_chan()  argument 98 	if (!scif_info.nodeid && scifdev_self(ep->remote_dev))  in scif_reserve_dma_chan() 103 		scifdev = ep->remote_dev;  in scif_reserve_dma_chan() 109 	mutex_lock(&ep->rma_info.rma_lock);  in scif_reserve_dma_chan() 110 	ep->rma_info.dma_chan = chan;  in scif_reserve_dma_chan() 111 	mutex_unlock(&ep->rma_info.rma_lock);  in scif_reserve_dma_chan() 123 			    struct scif_endpt *ep,  in __scif_rma_destroy_tcw()  argument 136 		ep = (struct scif_endpt *)window->ep;  in __scif_rma_destroy_tcw() 151 	struct scif_endpt *ep = mmn->ep;  in scif_rma_destroy_tcw()  local 153 	spin_lock(&ep->rma_info.tc_lock);  in scif_rma_destroy_tcw() [all …] 
 | 
| D | scif_rma_list.c | 85 int scif_query_tcw(struct scif_endpt *ep, struct scif_rma_req *req)  in scif_query_tcw()  argument 206 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;  in scif_rma_list_unregister()  local 207 	struct list_head *head = &ep->rma_info.reg_list;  in scif_rma_list_unregister() 238 	struct scif_endpt *ep = (struct scif_endpt *)epd;  in scif_unmap_all_windows()  local 239 	struct list_head *head = &ep->rma_info.reg_list;  in scif_unmap_all_windows() 241 	mutex_lock(&ep->rma_info.rma_lock);  in scif_unmap_all_windows() 244 		scif_unmap_window(ep->remote_dev, window);  in scif_unmap_all_windows() 246 	mutex_unlock(&ep->rma_info.rma_lock);  in scif_unmap_all_windows() 260 	struct scif_endpt *ep = (struct scif_endpt *)epd;  in scif_unregister_all_windows()  local 261 	struct list_head *head = &ep->rma_info.reg_list;  in scif_unregister_all_windows() [all …] 
 | 
| D | scif_epd.h | 139 static inline int scifdev_alive(struct scif_endpt *ep)  in scifdev_alive()  argument 141 	return _scifdev_alive(ep->remote_dev);  in scifdev_alive() 151 static inline int scif_verify_epd(struct scif_endpt *ep)  in scif_verify_epd()  argument 153 	if (ep->state == SCIFEP_DISCONNECTED)  in scif_verify_epd() 156 	if (ep->state != SCIFEP_CONNECTED)  in scif_verify_epd() 159 	if (!scifdev_alive(ep))  in scif_verify_epd() 183 void scif_cleanup_ep_qp(struct scif_endpt *ep); 184 void scif_add_epd_to_zombie_list(struct scif_endpt *ep, bool eplock_held); 207 			   struct scif_endpt *ep);
  | 
| D | scif_debugfs.c | 109 	struct scif_endpt *ep;  in scif_rma_test()  local 114 		ep = list_entry(pos, struct scif_endpt, list);  in scif_rma_test() 115 		seq_printf(s, "ep %p self windows\n", ep);  in scif_rma_test() 116 		mutex_lock(&ep->rma_info.rma_lock);  in scif_rma_test() 117 		scif_display_all_windows(&ep->rma_info.reg_list, s);  in scif_rma_test() 118 		seq_printf(s, "ep %p remote windows\n", ep);  in scif_rma_test() 119 		scif_display_all_windows(&ep->rma_info.remote_reg_list, s);  in scif_rma_test() 120 		mutex_unlock(&ep->rma_info.rma_lock);  in scif_rma_test()
  | 
| D | scif_rma.h | 205 	struct scif_endpt *ep;  member 251 	u64 ep;  member 294 	struct scif_endpt *ep;  member 305 void scif_rma_ep_init(struct scif_endpt *ep); 307 int scif_rma_ep_can_uninit(struct scif_endpt *ep); 309 int scif_get_window_offset(struct scif_endpt *ep, int flags, 312 void scif_free_window_offset(struct scif_endpt *ep, 315 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, 318 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window); 335 int scif_reserve_dma_chan(struct scif_endpt *ep);
  | 
| D | scif_fd.c | 53 	struct scif_endpt *ep = f->private_data;  in scif_fdflush()  local 55 	spin_lock(&ep->lock);  in scif_fdflush() 65 	if (ep->files == id)  in scif_fdflush() 66 		__scif_flush(ep);  in scif_fdflush() 67 	spin_unlock(&ep->lock);  in scif_fdflush() 113 		struct scif_endpt *ep = (struct scif_endpt *)priv;  in scif_fdioctl()  local 122 		req.self.node = ep->port.node;  in scif_fdioctl() 123 		req.self.port = ep->port.port;  in scif_fdioctl() 140 		scif_epd_t *ep = (scif_epd_t *)&request.endpt;  in scif_fdioctl()  local 145 		err = scif_accept(priv, &request.peer, ep, request.flags);  in scif_fdioctl() [all …] 
 | 
| /linux-4.4.14/drivers/scsi/libfc/ | 
| D | fc_exch.c | 257 static inline void fc_exch_hold(struct fc_exch *ep)  in fc_exch_hold()  argument 259 	atomic_inc(&ep->ex_refcnt);  in fc_exch_hold() 272 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp,  in fc_exch_setup_hdr()  argument 278 	fr_sof(fp) = ep->class;  in fc_exch_setup_hdr() 279 	if (ep->seq.cnt)  in fc_exch_setup_hdr() 280 		fr_sof(fp) = fc_sof_normal(ep->class);  in fc_exch_setup_hdr() 284 		if (fc_sof_needs_ack(ep->class))  in fc_exch_setup_hdr() 308 	fh->fh_ox_id = htons(ep->oxid);  in fc_exch_setup_hdr() 309 	fh->fh_rx_id = htons(ep->rxid);  in fc_exch_setup_hdr() 310 	fh->fh_seq_id = ep->seq.id;  in fc_exch_setup_hdr() [all …] 
 | 
| /linux-4.4.14/drivers/net/ethernet/cirrus/ | 
| D | ep93xx_eth.c | 182 #define rdb(ep, off)		__raw_readb((ep)->base_addr + (off))  argument 183 #define rdw(ep, off)		__raw_readw((ep)->base_addr + (off))  argument 184 #define rdl(ep, off)		__raw_readl((ep)->base_addr + (off))  argument 185 #define wrb(ep, off, val)	__raw_writeb((val), (ep)->base_addr + (off))  argument 186 #define wrw(ep, off, val)	__raw_writew((val), (ep)->base_addr + (off))  argument 187 #define wrl(ep, off, val)	__raw_writel((val), (ep)->base_addr + (off))  argument 191 	struct ep93xx_priv *ep = netdev_priv(dev);  in ep93xx_mdio_read()  local 195 	wrl(ep, REG_MIICMD, REG_MIICMD_READ | (phy_id << 5) | reg);  in ep93xx_mdio_read() 198 		if ((rdl(ep, REG_MIISTS) & REG_MIISTS_BUSY) == 0)  in ep93xx_mdio_read() 207 		data = rdl(ep, REG_MIIDATA);  in ep93xx_mdio_read() [all …] 
 | 
| /linux-4.4.14/net/sctp/ | 
| D | endpointola.c | 57 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,  in sctp_endpoint_init()  argument 67 	ep->digest = kzalloc(SCTP_SIGNATURE_SIZE, gfp);  in sctp_endpoint_init() 68 	if (!ep->digest)  in sctp_endpoint_init() 71 	ep->auth_enable = net->sctp.auth_enable;  in sctp_endpoint_init() 72 	if (ep->auth_enable) {  in sctp_endpoint_init() 114 	ep->base.type = SCTP_EP_TYPE_SOCKET;  in sctp_endpoint_init() 117 	atomic_set(&ep->base.refcnt, 1);  in sctp_endpoint_init() 118 	ep->base.dead = false;  in sctp_endpoint_init() 121 	sctp_inq_init(&ep->base.inqueue);  in sctp_endpoint_init() 124 	sctp_inq_set_th_handler(&ep->base.inqueue, sctp_endpoint_bh_rcv);  in sctp_endpoint_init() [all …] 
 | 
| D | sm_statefuns.c | 63 				  const struct sctp_endpoint *ep, 75 				       const struct sctp_endpoint *ep, 81 						 const struct sctp_endpoint *ep, 87 					     const struct sctp_endpoint *ep, 93 					const struct sctp_endpoint *ep, 108 				     const struct sctp_endpoint *ep, 117 				     const struct sctp_endpoint *ep, 125 				     const struct sctp_endpoint *ep, 133 				     const struct sctp_endpoint *ep, 141 				     const struct sctp_endpoint *ep, [all …] 
 | 
| D | auth.c | 357 int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep,  in sctp_auth_asoc_copy_shkeys()  argument 366 	key_for_each(sh_key, &ep->endpoint_shared_keys) {  in sctp_auth_asoc_copy_shkeys() 396 	if (!asoc->ep->auth_enable || !asoc->peer.auth_capable)  in sctp_auth_asoc_init_active_key() 449 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp)  in sctp_auth_init_hmacs()  argument 455 	if (!ep->auth_enable) {  in sctp_auth_init_hmacs() 456 		ep->auth_hmacs = NULL;  in sctp_auth_init_hmacs() 461 	if (ep->auth_hmacs)  in sctp_auth_init_hmacs() 465 	ep->auth_hmacs = kzalloc(  in sctp_auth_init_hmacs() 468 	if (!ep->auth_hmacs)  in sctp_auth_init_hmacs() 482 		if (ep->auth_hmacs[id])  in sctp_auth_init_hmacs() [all …] 
 | 
| D | input.c | 111 	struct sctp_endpoint *ep = NULL;  in sctp_rcv()  local 177 		ep = __sctp_rcv_lookup_endpoint(net, &dest);  in sctp_rcv() 180 	rcvr = asoc ? &asoc->base : &ep->base;  in sctp_rcv() 192 			sctp_endpoint_put(ep);  in sctp_rcv() 193 			ep = NULL;  in sctp_rcv() 196 		ep = sctp_sk(sk)->ep;  in sctp_rcv() 197 		sctp_endpoint_hold(ep);  in sctp_rcv() 198 		rcvr = &ep->base;  in sctp_rcv() 279 		sctp_endpoint_put(ep);  in sctp_rcv() 293 		sctp_endpoint_put(ep);  in sctp_rcv() [all …] 
 | 
| D | primitive.c | 58 	struct sctp_endpoint *ep; \ 63 	ep = asoc ? asoc->ep : NULL; \ 65 	error = sctp_do_sm(net, event_type, subtype, state, ep, asoc,	\
  | 
| D | associola.c | 67 					  const struct sctp_endpoint *ep,  in sctp_association_init()  argument 82 	asoc->ep = (struct sctp_endpoint *)ep;  in sctp_association_init() 85 	sctp_endpoint_hold(asoc->ep);  in sctp_association_init() 95 	sctp_bind_addr_init(&asoc->base.bind_addr, ep->base.bind_addr.port);  in sctp_association_init() 187 	asoc->c.my_vtag = sctp_generate_tag(ep);  in sctp_association_init() 188 	asoc->c.my_port = ep->base.bind_addr.port;  in sctp_association_init() 190 	asoc->c.initial_tsn = sctp_generate_tsn(ep);  in sctp_association_init() 266 	err = sctp_auth_asoc_copy_shkeys(ep, asoc, gfp);  in sctp_association_init() 270 	asoc->active_key_id = ep->active_key_id;  in sctp_association_init() 273 	if (ep->auth_hmacs_list)  in sctp_association_init() [all …] 
 | 
| D | socket.c | 120 	if (asoc->ep->sndbuf_policy)  in sctp_wspace() 209 		if (!list_empty(&sctp_sk(sk)->ep->asocs))  in sctp_id2assoc() 210 			asoc = list_entry(sctp_sk(sk)->ep->asocs.next,  in sctp_id2assoc() 241 	addr_asoc = sctp_endpoint_lookup_assoc(sctp_sk(sk)->ep,  in sctp_addr_id2transport() 278 	if (!sctp_sk(sk)->ep->base.bind_addr.port)  in sctp_bind() 326 	struct sctp_endpoint *ep = sp->ep;  in sctp_do_bind()  local 327 	struct sctp_bind_addr *bp = &ep->base.bind_addr;  in sctp_do_bind() 504 	struct sctp_endpoint		*ep;  in sctp_send_asconf_add_ip()  local 521 	ep = sp->ep;  in sctp_send_asconf_add_ip() 526 	list_for_each_entry(asoc, &ep->asocs, asocs) {  in sctp_send_asconf_add_ip() [all …] 
 | 
| D | sm_make_chunk.c | 70 static sctp_cookie_param_t *sctp_pack_cookie(const struct sctp_endpoint *ep, 222 	struct sctp_endpoint *ep = asoc->ep;  in sctp_make_init()  local 282 	if (ep->auth_enable) {  in sctp_make_init() 367 	if (ep->auth_enable) {  in sctp_make_init() 416 	cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len,  in sctp_make_init_ack() 1569 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *ep,  in sctp_make_temp_asoc()  argument 1580 	asoc = sctp_association_new(ep, ep->base.sk, scope, gfp);  in sctp_make_temp_asoc() 1601 static sctp_cookie_param_t *sctp_pack_cookie(const struct sctp_endpoint *ep,  in sctp_pack_cookie()  argument 1665 	if (sctp_sk(ep->base.sk)->hmac) {  in sctp_pack_cookie() 1670 		desc.tfm = sctp_sk(ep->base.sk)->hmac;  in sctp_pack_cookie() [all …] 
 | 
| D | sm_sideeffect.c | 57 				struct sctp_endpoint *ep, 65 			     struct sctp_endpoint *ep, 272 			   asoc->ep, asoc,  in sctp_generate_t3_rtx_event() 313 			   asoc->state, asoc->ep, asoc,  in sctp_generate_timeout_event() 391 			   asoc->state, asoc->ep, asoc,  in sctp_generate_heartbeat_event() 431 		   asoc->state, asoc->ep, asoc, transport, GFP_ATOMIC);  in sctp_generate_proto_unreach_event() 771 				 asoc->state, asoc->ep, asoc, NULL,  in sctp_cmd_process_sack() 1079 		 ep, sctp_evttype_tbl[event_type], (*debug_fn)(subtype),   \ 1088 		 asoc, sctp_state_tbl[(asoc && sctp_id2assoc(ep->base.sk, \ 1099 	       struct sctp_endpoint *ep,  in sctp_do_sm()  argument [all …] 
 | 
| /linux-4.4.14/drivers/video/fbdev/ | 
| D | sunxvr500.c | 54 static int e3d_get_props(struct e3d_info *ep)  in e3d_get_props()  argument 56 	ep->width = of_getintprop_default(ep->of_node, "width", 0);  in e3d_get_props() 57 	ep->height = of_getintprop_default(ep->of_node, "height", 0);  in e3d_get_props() 58 	ep->depth = of_getintprop_default(ep->of_node, "depth", 8);  in e3d_get_props() 60 	if (!ep->width || !ep->height) {  in e3d_get_props() 62 		       pci_name(ep->pdev));  in e3d_get_props() 97 static void e3d_clut_write(struct e3d_info *ep, int index, u32 val)  in e3d_clut_write()  argument 99 	void __iomem *ramdac = ep->ramdac;  in e3d_clut_write() 102 	spin_lock_irqsave(&ep->lock, flags);  in e3d_clut_write() 107 	spin_unlock_irqrestore(&ep->lock, flags);  in e3d_clut_write() [all …] 
 | 
| /linux-4.4.14/drivers/net/ethernet/smsc/ | 
| D | epic100.c | 328 	struct epic_private *ep;  in epic_init_one()  local 359 	dev = alloc_etherdev(sizeof (*ep));  in epic_init_one() 372 	ep = netdev_priv(dev);  in epic_init_one() 373 	ep->ioaddr = ioaddr;  in epic_init_one() 374 	ep->mii.dev = dev;  in epic_init_one() 375 	ep->mii.mdio_read = mdio_read;  in epic_init_one() 376 	ep->mii.mdio_write = mdio_write;  in epic_init_one() 377 	ep->mii.phy_id_mask = 0x1f;  in epic_init_one() 378 	ep->mii.reg_num_mask = 0x1f;  in epic_init_one() 383 	ep->tx_ring = ring_space;  in epic_init_one() [all …] 
 | 
| /linux-4.4.14/drivers/usb/gadget/udc/bdc/ | 
| D | bdc_ep.c | 57 static void ep_bd_list_free(struct bdc_ep *ep, u32 num_tabs)  in ep_bd_list_free()  argument 59 	struct bd_list *bd_list = &ep->bd_list;  in ep_bd_list_free() 60 	struct bdc *bdc = ep->bdc;  in ep_bd_list_free() 65 				 __func__, ep->name, num_tabs);  in ep_bd_list_free() 68 		dev_dbg(bdc->dev, "%s already freed\n", ep->name);  in ep_bd_list_free() 100 	kfree(ep->bd_list.bd_table_array);  in ep_bd_list_free() 126 static int ep_bd_list_alloc(struct bdc_ep *ep)  in ep_bd_list_alloc()  argument 130 	struct bdc *bdc = ep->bdc;  in ep_bd_list_alloc() 134 	if (usb_endpoint_xfer_isoc(ep->desc))  in ep_bd_list_alloc() 143 		__func__, ep, num_tabs);  in ep_bd_list_alloc() [all …] 
 | 
| D | bdc_cmd.c | 116 int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep)  in bdc_dconfig_ep()  argument 120 	cmd_sc = BDC_SUB_CMD_DRP_EP|BDC_CMD_EPN(ep->ep_num)|BDC_CMD_EPC;  in bdc_dconfig_ep() 122 							ep->ep_num, cmd_sc);  in bdc_dconfig_ep() 128 static void ep_bd_list_reinit(struct bdc_ep *ep)  in ep_bd_list_reinit()  argument 130 	struct bdc *bdc = ep->bdc;  in ep_bd_list_reinit() 133 	ep->bd_list.eqp_bdi = 0;  in ep_bd_list_reinit() 134 	ep->bd_list.hwd_bdi = 0;  in ep_bd_list_reinit() 135 	bd = ep->bd_list.bd_table_array[0]->start_bd;  in ep_bd_list_reinit() 136 	dev_dbg(bdc->dev, "%s ep:%p bd:%p\n", __func__, ep, bd);  in ep_bd_list_reinit() 142 int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep)  in bdc_config_ep()  argument [all …] 
 | 
| D | bdc_dbg.c | 90 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep)  in bdc_dbg_bd_list()  argument 92 	struct bd_list *bd_list = &ep->bd_list;  in bdc_dbg_bd_list() 101 		ep->name, ep->ep_num);  in bdc_dbg_bd_list()
  | 
| /linux-4.4.14/drivers/usb/host/ | 
| D | fhci-tds.c | 86 void fhci_push_dummy_bd(struct endpoint *ep)  in fhci_push_dummy_bd()  argument 88 	if (ep->already_pushed_dummy_bd == false) {  in fhci_push_dummy_bd() 89 		u16 td_status = in_be16(&ep->empty_td->status);  in fhci_push_dummy_bd() 91 		out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER);  in fhci_push_dummy_bd() 93 		ep->empty_td = next_bd(ep->td_base, ep->empty_td, td_status);  in fhci_push_dummy_bd() 94 		ep->already_pushed_dummy_bd = true;  in fhci_push_dummy_bd() 101 	struct endpoint *ep;  in fhci_ep0_free()  local 104 	ep = usb->ep0;  in fhci_ep0_free() 105 	if (ep) {  in fhci_ep0_free() 106 		if (ep->td_base)  in fhci_ep0_free() [all …] 
 | 
| D | sl811-hcd.c | 135 	struct sl811h_ep	*ep,  in setup_packet()  argument 159 	ep->length = 0;  in setup_packet() 160 	PACKET("SETUP qh%p\n", ep);  in setup_packet() 166 	struct sl811h_ep	*ep,  in status_packet()  argument 189 	ep->length = 0;  in status_packet() 190 	PACKET("STATUS%s/%s qh%p\n", ep->nak_count ? "/retry" : "",  in status_packet() 191 			do_out ? "out" : "in", ep);  in status_packet() 200 	struct sl811h_ep	*ep,  in in_packet()  argument 211 	len = ep->maxpacket;  in in_packet() 214 			&& usb_gettoggle(urb->dev, ep->epnum, 0))  in in_packet() [all …] 
 | 
| D | isp1362-hcd.c | 185 			     struct isp1362_ep *ep, u16 len)  in claim_ptd_buffers()  argument 196 	if (ep->num_ptds)  in claim_ptd_buffers() 199 	BUG_ON(ep->num_ptds != 0);  in claim_ptd_buffers() 210 	ep->ptd_offset = ptd_offset;  in claim_ptd_buffers() 211 	ep->num_ptds += num_ptds;  in claim_ptd_buffers() 214 	ep->ptd_index = found;  in claim_ptd_buffers() 217 	    __func__, epq->name, ep->ptd_index, ep->ptd_offset,  in claim_ptd_buffers() 223 static inline void release_ptd_buffers(struct isp1362_ep_queue *epq, struct isp1362_ep *ep)  in release_ptd_buffers()  argument 225 	int last = ep->ptd_index + ep->num_ptds;  in release_ptd_buffers() 229 		    __func__, ep, ep->num_req, ep->length, epq->name, ep->ptd_index,  in release_ptd_buffers() [all …] 
 | 
| D | isp116x-hcd.c | 167 	struct isp116x_ep *ep;  in pack_fifo()  local 175 	for (ep = isp116x->atl_active; ep; ep = ep->active) {  in pack_fifo() 176 		ptd = &ep->ptd;  in pack_fifo() 178 		dump_ptd_out_data(ptd, ep->data);  in pack_fifo() 185 		if (ep->active || (isp116x->atl_last_dir != PTD_DIR_IN)) {  in pack_fifo() 186 			write_ptddata_to_fifo(isp116x, ep->data, ep->length);  in pack_fifo() 187 			buflen -= ALIGN(ep->length, 4);  in pack_fifo() 199 	struct isp116x_ep *ep;  in unpack_fifo()  local 207 	for (ep = isp116x->atl_active; ep; ep = ep->active) {  in unpack_fifo() 208 		ptd = &ep->ptd;  in unpack_fifo() [all …] 
 | 
| D | imx21-hcd.c | 202 	etd->ep = NULL;  in reset_etd() 365 		      struct usb_host_endpoint *ep)  in alloc_dmem()  argument 393 	area->ep = ep;  in alloc_dmem() 453 		offset = alloc_dmem(imx21, etd->dmem_size, etd->ep);  in free_dmem() 461 static void free_epdmem(struct imx21 *imx21, struct usb_host_endpoint *ep)  in free_epdmem()  argument 466 		if (area->ep == ep) {  in free_epdmem() 469 				area->offset, ep);  in free_epdmem() 511 		if (list_empty(&ep_priv->ep->urb_list)) {  in ep_idle() 516 			&ep_priv->ep->urb_list, struct urb, urb_list));  in ep_idle() 525 	struct ep_priv *ep_priv = urb->ep->hcpriv;  in urb_done() [all …] 
 | 
| D | xhci-ring.c | 331 	struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];  in xhci_ring_ep_doorbell()  local 332 	unsigned int ep_state = ep->ep_state;  in xhci_ring_ep_doorbell() 355 	struct xhci_virt_ep *ep;  in ring_doorbell_for_active_rings()  local 357 	ep = &xhci->devs[slot_id]->eps[ep_index];  in ring_doorbell_for_active_rings() 360 	if (!(ep->ep_state & EP_HAS_STREAMS)) {  in ring_doorbell_for_active_rings() 361 		if (ep->ring && !(list_empty(&ep->ring->td_list)))  in ring_doorbell_for_active_rings() 366 	for (stream_id = 1; stream_id < ep->stream_info->num_streams;  in ring_doorbell_for_active_rings() 368 		struct xhci_stream_info *stream_info = ep->stream_info;  in ring_doorbell_for_active_rings() 379 	struct xhci_virt_ep *ep;  in xhci_triad_to_transfer_ring()  local 381 	ep = &xhci->devs[slot_id]->eps[ep_index];  in xhci_triad_to_transfer_ring() [all …] 
 | 
| D | xhci-mem.c | 620 		struct xhci_virt_ep *ep,  in xhci_dma_to_transfer_ring()  argument 623 	if (ep->ep_state & EP_HAS_STREAMS)  in xhci_dma_to_transfer_ring() 624 		return radix_tree_lookup(&ep->stream_info->trb_address_map,  in xhci_dma_to_transfer_ring() 626 	return ep->ring;  in xhci_dma_to_transfer_ring() 634 	struct xhci_virt_ep *ep = &dev->eps[ep_index];  in xhci_stream_id_to_ring()  local 637 		return ep->ring;  in xhci_stream_id_to_ring() 638 	if (!ep->stream_info)  in xhci_stream_id_to_ring() 641 	if (stream_id > ep->stream_info->num_streams)  in xhci_stream_id_to_ring() 643 	return ep->stream_info->stream_rings[stream_id];  in xhci_stream_id_to_ring() 788 		struct xhci_virt_ep *ep)  in xhci_setup_no_streams_ep_input_ctx()  argument [all …] 
 | 
| D | max3421-hcd.c | 166 	struct usb_host_endpoint *ep;  member 320 #define MAX3421_HXFR_BULK_IN(ep)	(0x00 | (ep))	/* bulk or interrupt */  argument 322 #define MAX3421_HXFR_BULK_OUT(ep)	(0x20 | (ep))	/* bulk or interrupt */  argument 323 #define MAX3421_HXFR_ISO_IN(ep)		(0x40 | (ep))  argument 324 #define MAX3421_HXFR_ISO_OUT(ep)	(0x60 | (ep))  argument 610 	max3421_ep = urb->ep->hcpriv;  in max3421_next_transfer() 667 	struct usb_host_endpoint *ep;  in max3421_select_and_start_urb()  local 680 			ep = max3421_ep->ep;  in max3421_select_and_start_urb() 682 			switch (usb_endpoint_type(&ep->desc)) {  in max3421_select_and_start_urb() 698 			if (list_empty(&ep->urb_list))  in max3421_select_and_start_urb() [all …] 
 | 
| D | xhci.c | 1199 		struct usb_host_endpoint *ep, int check_ep, bool check_virt_dev,  in xhci_check_args()  argument 1204 	if (!hcd || (check_ep && !ep) || !udev) {  in xhci_check_args() 1333 	if (!urb || xhci_check_args(hcd, urb->dev, urb->ep,  in xhci_urb_enqueue() 1338 	ep_index = xhci_get_endpoint_index(&urb->ep->desc);  in xhci_urb_enqueue() 1347 	if (usb_endpoint_xfer_isoc(&urb->ep->desc))  in xhci_urb_enqueue() 1349 	else if (usb_endpoint_is_bulk_out(&urb->ep->desc) &&  in xhci_urb_enqueue() 1352 	    !(urb->transfer_buffer_length % usb_endpoint_maxp(&urb->ep->desc)))  in xhci_urb_enqueue() 1377 	if (usb_endpoint_xfer_control(&urb->ep->desc)) {  in xhci_urb_enqueue() 1402 	} else if (usb_endpoint_xfer_bulk(&urb->ep->desc)) {  in xhci_urb_enqueue() 1424 	} else if (usb_endpoint_xfer_int(&urb->ep->desc)) {  in xhci_urb_enqueue() [all …] 
 | 
| D | imx21-hcd.h | 332 	struct usb_host_endpoint *ep;  member 342 	struct usb_host_endpoint *ep;  member 353 	struct usb_host_endpoint *ep;  member 363 	struct usb_host_endpoint *ep;  member 386 	struct usb_host_endpoint *ep;  member
  | 
| D | imx21-dbg.c | 174 static char *format_ep(struct usb_host_endpoint *ep, char *buf, int bufsize)  in format_ep()  argument 176 	if (ep)  in format_ep() 178 			ep->desc.bEndpointAddress,  in format_ep() 179 			usb_endpoint_type(&ep->desc),  in format_ep() 180 			ep);  in format_ep() 276 			format_ep(dmem->ep, ep_text, sizeof(ep_text)));  in debug_dmem_show() 314 			format_ep(etd->ep, buf, sizeof(buf)),  in debug_etd_show()
  | 
| /linux-4.4.14/drivers/usb/mon/ | 
| D | mon_text.c | 103 	struct mon_text_ptr *p, const struct mon_event_text *ep); 105 	struct mon_text_ptr *p, const struct mon_event_text *ep); 107 	struct mon_text_ptr *p, const struct mon_event_text *ep); 109 	struct mon_text_ptr *p, const struct mon_event_text *ep); 111 	struct mon_text_ptr *p, const struct mon_event_text *ep); 113 	struct mon_text_ptr *p, const struct mon_event_text *ep); 115     struct mon_text_ptr *p, const struct mon_event_text *ep); 126 static inline char mon_text_get_setup(struct mon_event_text *ep,  in mon_text_get_setup()  argument 130 	if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S')  in mon_text_get_setup() 136 	memcpy(ep->setup, urb->setup_packet, SETUP_MAX);  in mon_text_get_setup() [all …] 
 | 
| D | mon_bin.c | 382 	struct mon_bin_hdr *ep;  in mon_buff_area_fill()  local 384 	ep = MON_OFF2HDR(rp, offset);  in mon_buff_area_fill() 385 	memset(ep, 0, PKT_SIZE);  in mon_buff_area_fill() 386 	ep->type = '@';  in mon_buff_area_fill() 387 	ep->len_cap = size - PKT_SIZE;  in mon_buff_area_fill() 485 	const struct usb_endpoint_descriptor *epd = &urb->ep->desc;  in mon_bin_event() 494 	struct mon_bin_hdr *ep;  in mon_bin_event()  local 557 	ep = MON_OFF2HDR(rp, offset);  in mon_bin_event() 563 	memset(ep, 0, PKT_SIZE);  in mon_bin_event() 564 	ep->type = ev_type;  in mon_bin_event() [all …] 
 | 
| /linux-4.4.14/fs/ | 
| D | eventpoll.c | 163 	struct eventpoll *ep;  member 377 static inline int ep_events_available(struct eventpoll *ep)  in ep_events_available()  argument 379 	return !list_empty(&ep->rdllist) || ep->ovflist != EP_UNACTIVE_PTR;  in ep_events_available() 533 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi)  in ep_unregister_pollwait()  argument 550 	return rcu_dereference_check(epi->ws, lockdep_is_held(&epi->ep->mtx));  in ep_wakeup_source() 592 static int ep_scan_ready_list(struct eventpoll *ep,  in ep_scan_ready_list()  argument 608 		mutex_lock_nested(&ep->mtx, depth);  in ep_scan_ready_list() 618 	spin_lock_irqsave(&ep->lock, flags);  in ep_scan_ready_list() 619 	list_splice_init(&ep->rdllist, &txlist);  in ep_scan_ready_list() 620 	ep->ovflist = NULL;  in ep_scan_ready_list() [all …] 
 | 
| /linux-4.4.14/drivers/scsi/bnx2i/ | 
| D | bnx2i_hwi.c | 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() 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->qp.cq_pgtbl_virt;  in bnx2i_arm_cq_event_coalescing() 160 		num_active_cmds = atomic_read(&ep->num_active_cmds);  in bnx2i_arm_cq_event_coalescing() 164 			next_index = num_active_cmds >> ep->ec_shift;  in bnx2i_arm_cq_event_coalescing() 170 		cq_index = ep->qp.cqe_exp_seq_sn + next_index - 1;  in bnx2i_arm_cq_event_coalescing() [all …] 
 | 
| D | bnx2i_iscsi.c | 383 	struct iscsi_endpoint *ep;  in bnx2i_alloc_ep()  local 387 	ep = iscsi_create_endpoint(sizeof(*bnx2i_ep));  in bnx2i_alloc_ep() 388 	if (!ep) {  in bnx2i_alloc_ep() 393 	bnx2i_ep = ep->dd_data;  in bnx2i_alloc_ep() 394 	bnx2i_ep->cls_ep = ep;  in bnx2i_alloc_ep() 407 	return ep;  in bnx2i_alloc_ep() 415 static void bnx2i_free_ep(struct iscsi_endpoint *ep)  in bnx2i_free_ep()  argument 417 	struct bnx2i_endpoint *bnx2i_ep = ep->dd_data;  in bnx2i_free_ep() 428 		bnx2i_ep->conn->ep = NULL;  in bnx2i_free_ep() 434 	iscsi_destroy_endpoint(ep);  in bnx2i_free_ep() [all …] 
 | 
| D | bnx2i.h | 296 	struct bnx2i_endpoint *ep;  member 852 				    struct bnx2i_endpoint *ep); 855 				   struct bnx2i_endpoint *ep); 858 			       struct bnx2i_endpoint *ep); 860 			       struct bnx2i_endpoint *ep); 867 extern int bnx2i_map_ep_dbell_regs(struct bnx2i_endpoint *ep); 868 extern int bnx2i_arm_cq_event_coalescing(struct bnx2i_endpoint *ep, u8 action);
  | 
| /linux-4.4.14/drivers/usb/isp1760/ | 
| D | isp1760-udc.c | 32 	struct isp1760_ep *ep;  member 41 static inline struct isp1760_ep *ep_to_udc_ep(struct usb_ep *ep)  in ep_to_udc_ep()  argument 43 	return container_of(ep, struct isp1760_ep, ep);  in ep_to_udc_ep() 71 		return &udc->ep[0];  in isp1760_udc_find_ep() 73 	for (i = 1; i < ARRAY_SIZE(udc->ep); ++i) {  in isp1760_udc_find_ep() 74 		if (udc->ep[i].addr == index)  in isp1760_udc_find_ep() 75 			return udc->ep[i].desc ? &udc->ep[i] : NULL;  in isp1760_udc_find_ep() 81 static void __isp1760_udc_select_ep(struct isp1760_ep *ep, int dir)  in __isp1760_udc_select_ep()  argument 83 	isp1760_udc_write(ep->udc, DC_EPINDEX,  in __isp1760_udc_select_ep() 84 			  DC_ENDPIDX(ep->addr & USB_ENDPOINT_NUMBER_MASK) |  in __isp1760_udc_select_ep() [all …] 
 | 
| D | isp1760-udc.h | 35 	struct usb_ep ep;  member 78 	struct isp1760_ep ep[15];  member
  | 
| /linux-4.4.14/include/linux/usb/ | 
| D | gadget.h | 105 	void			(*complete)(struct usb_ep *ep, 124 	int (*enable) (struct usb_ep *ep, 126 	int (*disable) (struct usb_ep *ep); 128 	struct usb_request *(*alloc_request) (struct usb_ep *ep, 130 	void (*free_request) (struct usb_ep *ep, struct usb_request *req); 132 	int (*queue) (struct usb_ep *ep, struct usb_request *req, 134 	int (*dequeue) (struct usb_ep *ep, struct usb_request *req); 136 	int (*set_halt) (struct usb_ep *ep, int value); 137 	int (*set_wedge) (struct usb_ep *ep); 139 	int (*fifo_status) (struct usb_ep *ep); [all …] 
 | 
| D | musb.h | 43 #define MUSB_EP_FIFO(ep, st, m, pkt)		\  argument 45 	.hw_ep_num	= ep,			\ 51 #define MUSB_EP_FIFO_SINGLE(ep, st, pkt)	\  argument 52 	MUSB_EP_FIFO(ep, st, BUF_SINGLE, pkt) 54 #define MUSB_EP_FIFO_DOUBLE(ep, st, pkt)	\  argument 55 	MUSB_EP_FIFO(ep, st, BUF_DOUBLE, pkt)
  | 
| D | hcd.h | 300 			struct usb_host_endpoint *ep); 305 			struct usb_host_endpoint *ep); 407 		struct usb_host_endpoint *ep)  in hcd_periodic_completion_in_progress()  argument 409 	return hcd->high_prio_bh.completing_ep == ep;  in hcd_periodic_completion_in_progress() 426 		struct usb_host_endpoint *ep); 428 		struct usb_host_endpoint *ep); 430 		struct usb_host_endpoint *ep); 491 #define usb_gettoggle(dev, ep, out) (((dev)->toggle[out] >> (ep)) & 1)  argument 492 #define	usb_dotoggle(dev, ep, out)  ((dev)->toggle[out] ^= (1 << (ep)))  argument 493 #define usb_settoggle(dev, ep, out, bit) \  argument [all …] 
 | 
| D | ehci-dbgp.h | 42 #define DBGP_EPADDR(dev, ep)	(((dev)<<8)|(ep))  argument
  | 
| /linux-4.4.14/drivers/usb/gadget/ | 
| D | epautoconf.c | 73 	struct usb_ep	*ep;  in usb_ep_autoconfig_ss()  local 79 		ep = gadget->ops->match_ep(gadget, desc, ep_comp);  in usb_ep_autoconfig_ss() 80 		if (ep)  in usb_ep_autoconfig_ss() 85 	list_for_each_entry (ep, &gadget->ep_list, ep_list) {  in usb_ep_autoconfig_ss() 86 		if (usb_gadget_ep_match_desc(gadget, ep, desc, ep_comp))  in usb_ep_autoconfig_ss() 99 		desc->wMaxPacketSize = cpu_to_le16(ep->maxpacket_limit);  in usb_ep_autoconfig_ss() 103 	if (isdigit(ep->name[2])) {  in usb_ep_autoconfig_ss() 104 		u8 num = simple_strtoul(&ep->name[2], NULL, 10);  in usb_ep_autoconfig_ss() 118 		int size = ep->maxpacket_limit;  in usb_ep_autoconfig_ss() 126 	ep->address = desc->bEndpointAddress;  in usb_ep_autoconfig_ss() [all …] 
 | 
| D | u_f.c | 17 struct usb_request *alloc_ep_req(struct usb_ep *ep, int len, int default_len)  in alloc_ep_req()  argument 21 	req = usb_ep_alloc_request(ep, GFP_ATOMIC);  in alloc_ep_req() 26 			usb_ep_free_request(ep, req);  in alloc_ep_req()
  | 
| /linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/ | 
| D | mac-fcc.c | 100 	fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1);  in do_pd_setup() 101 	if (!fep->fcc.ep)  in do_pd_setup() 120 	iounmap(fep->fcc.ep);  in do_pd_setup() 191 	fcc_enet_t __iomem *ep = fep->fcc.ep;  in set_multicast_start()  local 193 	W32(ep, fen_gaddrh, 0);  in set_multicast_start() 194 	W32(ep, fen_gaddrl, 0);  in set_multicast_start() 200 	fcc_enet_t __iomem *ep = fep->fcc.ep;  in set_multicast_one()  local 207 	W16(ep, fen_taddrh, taddrh);  in set_multicast_one() 208 	W16(ep, fen_taddrm, taddrm);  in set_multicast_one() 209 	W16(ep, fen_taddrl, taddrl);  in set_multicast_one() [all …] 
 | 
| D | mac-scc.c | 109 	fep->scc.ep = of_iomap(ofdev->dev.of_node, 1);  in do_pd_setup() 110 	if (!fep->scc.ep) {  in do_pd_setup() 182 	scc_enet_t __iomem *ep = fep->scc.ep;  in set_multicast_start()  local 184 	W16(ep, sen_gaddr1, 0);  in set_multicast_start() 185 	W16(ep, sen_gaddr2, 0);  in set_multicast_start() 186 	W16(ep, sen_gaddr3, 0);  in set_multicast_start() 187 	W16(ep, sen_gaddr4, 0);  in set_multicast_start() 193 	scc_enet_t __iomem *ep = fep->scc.ep;  in set_multicast_one()  local 200 	W16(ep, sen_taddrh, taddrh);  in set_multicast_one() 201 	W16(ep, sen_taddrm, taddrm);  in set_multicast_one() [all …] 
 | 
| /linux-4.4.14/drivers/staging/emxx_udc/ | 
| D | emxx_udc.c | 222 static int _nbu2ss_ep_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep)  in _nbu2ss_ep_init()  argument 228 	if (ep->epnum == 0)  in _nbu2ss_ep_init() 231 	num = ep->epnum - 1;  in _nbu2ss_ep_init() 236 	data = (begin_adrs << 16) | ep->ep.maxpacket;  in _nbu2ss_ep_init() 241 	data = 1 << (ep->epnum + 8);  in _nbu2ss_ep_init() 247 	switch (ep->ep_type) {  in _nbu2ss_ep_init() 266 	_nbu2ss_endpoint_toggle_reset(udc, (ep->epnum|ep->direct));  in _nbu2ss_ep_init() 268 	if (ep->direct == USB_DIR_OUT) {  in _nbu2ss_ep_init() 297 static int _nbu2ss_epn_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep)  in _nbu2ss_epn_exit()  argument 302 	if ((ep->epnum == 0) || (udc->vbus_active == 0))  in _nbu2ss_epn_exit() [all …] 
 | 
| /linux-4.4.14/drivers/net/wireless/ath/ath6kl/ | 
| D | htc_pipe.c | 37 static void do_send_completion(struct htc_endpoint *ep,  in do_send_completion()  argument 47 	if (ep->ep_cb.tx_comp_multi != NULL) {  in do_send_completion() 50 			   __func__, ep->eid,  in do_send_completion() 56 		ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate);  in do_send_completion() 71 				   __func__, ep->eid, packet);  in do_send_completion() 72 			ep->ep_cb.tx_complete(ep->target, packet);  in do_send_completion() 80 	struct htc_endpoint *ep = &target->endpoint[packet->endpoint];  in send_packet_completion()  local 88 	do_send_completion(ep, &container);  in send_packet_completion() 92 					struct htc_endpoint *ep,  in get_htc_packet_credit_based()  argument 106 		if (list_empty(&ep->txq))  in get_htc_packet_credit_based() [all …] 
 | 
| D | htc_mbox.c | 547 			     struct htc_endpoint *ep, u8 *flags,  in htc_check_credits()  argument 555 		   *req_cred, ep->cred_dist.credits);  in htc_check_credits() 557 	if (ep->cred_dist.credits < *req_cred) {  in htc_check_credits() 562 		ep->cred_dist.seek_cred = *req_cred - ep->cred_dist.credits;  in htc_check_credits() 564 		ath6kl_credit_seek(target->credit_info, &ep->cred_dist);  in htc_check_credits() 566 		ep->cred_dist.seek_cred = 0;  in htc_check_credits() 568 		if (ep->cred_dist.credits < *req_cred) {  in htc_check_credits() 576 	ep->cred_dist.credits -= *req_cred;  in htc_check_credits() 577 	ep->ep_st.cred_cosumd += *req_cred;  in htc_check_credits() 580 	if (ep->cred_dist.credits < ep->cred_dist.cred_per_msg) {  in htc_check_credits() [all …] 
 | 
| /linux-4.4.14/drivers/net/wireless/ath/ath10k/ | 
| D | htc.c | 60 static void ath10k_htc_notify_tx_completion(struct ath10k_htc_ep *ep,  in ath10k_htc_notify_tx_completion()  argument 63 	struct ath10k *ar = ep->htc->ar;  in ath10k_htc_notify_tx_completion() 66 		   ep->eid, skb);  in ath10k_htc_notify_tx_completion() 68 	ath10k_htc_restore_tx_skb(ep->htc, skb);  in ath10k_htc_notify_tx_completion() 70 	if (!ep->ep_ops.ep_tx_complete) {  in ath10k_htc_notify_tx_completion() 71 		ath10k_warn(ar, "no tx handler for eid %d\n", ep->eid);  in ath10k_htc_notify_tx_completion() 76 	ep->ep_ops.ep_tx_complete(ep->htc->ar, skb);  in ath10k_htc_notify_tx_completion() 79 static void ath10k_htc_prepare_tx_skb(struct ath10k_htc_ep *ep,  in ath10k_htc_prepare_tx_skb()  argument 86 	hdr->eid = ep->eid;  in ath10k_htc_prepare_tx_skb() 91 	spin_lock_bh(&ep->htc->tx_lock);  in ath10k_htc_prepare_tx_skb() [all …] 
 | 
| /linux-4.4.14/net/sunrpc/xprtrdma/ | 
| D | verbs.c | 103 	struct rpcrdma_ep *ep = context;  in rpcrdma_qp_async_error_upcall()  local 108 	if (ep->rep_connected == 1) {  in rpcrdma_qp_async_error_upcall() 109 		ep->rep_connected = -EIO;  in rpcrdma_qp_async_error_upcall() 110 		rpcrdma_conn_func(ep);  in rpcrdma_qp_async_error_upcall() 111 		wake_up_all(&ep->rep_connect_wait);  in rpcrdma_qp_async_error_upcall() 118 	struct rpcrdma_ep *ep = context;  in rpcrdma_cq_async_error_upcall()  local 123 	if (ep->rep_connected == 1) {  in rpcrdma_cq_async_error_upcall() 124 		ep->rep_connected = -EIO;  in rpcrdma_cq_async_error_upcall() 125 		rpcrdma_conn_func(ep);  in rpcrdma_cq_async_error_upcall() 126 		wake_up_all(&ep->rep_connect_wait);  in rpcrdma_cq_async_error_upcall() [all …] 
 | 
| D | xprt_rdma.h | 97 #define INIT_CQCOUNT(ep) atomic_set(&(ep)->rep_cqcount, (ep)->rep_cqinit)  argument 98 #define DECR_CQCOUNT(ep) atomic_sub_return(1, &(ep)->rep_cqcount)  argument
  | 
| /linux-4.4.14/drivers/usb/core/ | 
| D | endpoint.c | 39 	struct ep_device *ep = to_ep_device(dev);		\ 40 	return sprintf(buf, format_string, ep->desc->field);	\ 52 	struct ep_device *ep = to_ep_device(dev);  in wMaxPacketSize_show()  local 54 			usb_endpoint_maxp(ep->desc) & 0x07ff);  in wMaxPacketSize_show() 61 	struct ep_device *ep = to_ep_device(dev);  in type_show()  local 64 	switch (usb_endpoint_type(ep->desc)) {  in type_show() 85 	struct ep_device *ep = to_ep_device(dev);  in interval_show()  local 90 	in = (ep->desc->bEndpointAddress & USB_DIR_IN);  in interval_show() 92 	switch (usb_endpoint_type(ep->desc)) {  in interval_show() 94 		if (ep->udev->speed == USB_SPEED_HIGH)  in interval_show() [all …] 
 | 
| D | config.c | 47 		int inum, int asnum, struct usb_host_endpoint *ep,  in usb_parse_ss_endpoint_companion()  argument 62 				cfgno, inum, asnum, ep->desc.bEndpointAddress);  in usb_parse_ss_endpoint_companion() 71 		ep->ss_ep_comp.bLength = USB_DT_SS_EP_COMP_SIZE;  in usb_parse_ss_endpoint_companion() 72 		ep->ss_ep_comp.bDescriptorType = USB_DT_SS_ENDPOINT_COMP;  in usb_parse_ss_endpoint_companion() 73 		if (usb_endpoint_xfer_isoc(&ep->desc) ||  in usb_parse_ss_endpoint_companion() 74 				usb_endpoint_xfer_int(&ep->desc))  in usb_parse_ss_endpoint_companion() 75 			ep->ss_ep_comp.wBytesPerInterval =  in usb_parse_ss_endpoint_companion() 76 					ep->desc.wMaxPacketSize;  in usb_parse_ss_endpoint_companion() 80 	memcpy(&ep->ss_ep_comp, desc, USB_DT_SS_EP_COMP_SIZE);  in usb_parse_ss_endpoint_companion() 83 	if (usb_endpoint_xfer_control(&ep->desc) && desc->bMaxBurst != 0) {  in usb_parse_ss_endpoint_companion() [all …] 
 | 
| D | urb.c | 331 	struct usb_host_endpoint	*ep;  in usb_submit_urb()  local 350 	ep = usb_pipe_endpoint(dev, urb->pipe);  in usb_submit_urb() 351 	if (!ep)  in usb_submit_urb() 354 	urb->ep = ep;  in usb_submit_urb() 361 	xfertype = usb_endpoint_type(&ep->desc);  in usb_submit_urb() 371 		is_out = usb_endpoint_dir_out(&ep->desc);  in usb_submit_urb() 385 	max = usb_endpoint_maxp(&ep->desc);  in usb_submit_urb() 389 			usb_endpoint_num(&ep->desc), is_out ? "out" : "in",  in usb_submit_urb() 405 			int     burst = 1 + ep->ss_ep_comp.bMaxBurst;  in usb_submit_urb() 406 			int     mult = USB_SS_MULT(ep->ss_ep_comp.bmAttributes);  in usb_submit_urb() [all …] 
 | 
| D | devio.c | 364 	int ep;  in snoop_urb()  local 370 	ep = usb_pipeendpoint(pipe);  in snoop_urb() 378 					userurb, ep, t, d, length);  in snoop_urb() 382 					userurb, ep, t, d, length,  in snoop_urb() 388 					ep, t, d, length, timeout_or_status);  in snoop_urb() 392 					ep, t, d, length, timeout_or_status);  in snoop_urb() 689 static int findintfep(struct usb_device *dev, unsigned int ep)  in findintfep()  argument 696 	if (ep & ~(USB_DIR_IN|0xf))  in findintfep() 706 				if (endpt->bEndpointAddress == ep)  in findintfep() 774 						     unsigned char ep)  in ep_to_host_endpoint()  argument [all …] 
 | 
| D | message.c | 64 			usb_endpoint_num(&urb->ep->desc),  in usb_start_wait_urb() 227 	struct usb_host_endpoint *ep;  in usb_bulk_msg()  local 229 	ep = usb_pipe_endpoint(usb_dev, pipe);  in usb_bulk_msg() 230 	if (!ep || len < 0)  in usb_bulk_msg() 237 	if ((ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==  in usb_bulk_msg() 242 				ep->desc.bInterval);  in usb_bulk_msg() 288 			usb_endpoint_num(&urb->ep->desc),  in sg_complete() 1067 	struct usb_host_endpoint *ep;  in usb_disable_endpoint()  local 1073 		ep = dev->ep_out[epnum];  in usb_disable_endpoint() 1077 		ep = dev->ep_in[epnum];  in usb_disable_endpoint() [all …] 
 | 
| D | hcd.c | 811 	if (usb_endpoint_xfer_int(&urb->ep->desc))  in rh_urb_enqueue() 813 	if (usb_endpoint_xfer_control(&urb->ep->desc))  in rh_urb_enqueue() 833 	if (usb_endpoint_num(&urb->ep->desc) == 0) {	/* Control URB */  in usb_rh_urb_dequeue() 1237 	if (unlikely(!urb->ep->enabled)) {  in usb_hcd_link_urb_to_ep() 1253 		list_add_tail(&urb->urb_list, &urb->ep->urb_list);  in usb_hcd_link_urb_to_ep() 1289 	list_for_each(tmp, &urb->ep->urb_list) {  in usb_hcd_check_unlink_urb() 1492 	if (usb_endpoint_xfer_control(&urb->ep->desc)) {  in usb_hcd_map_urb_for_dma() 1526 				if (usb_endpoint_xfer_isoc(&urb->ep->desc)) {  in usb_hcd_map_urb_for_dma() 1765 		bh->completing_ep = urb->ep;  in usb_giveback_urb_bh() 1838 		struct usb_host_endpoint *ep)  in usb_hcd_flush_endpoint()  argument [all …] 
 | 
| /linux-4.4.14/drivers/video/fbdev/omap2/dss/ | 
| D | dss-of.c | 75 	struct device_node *ep = NULL;  in omapdss_of_get_next_endpoint()  local 81 		ep = of_get_next_child(parent, prev);  in omapdss_of_get_next_endpoint() 82 		if (!ep)  in omapdss_of_get_next_endpoint() 84 		prev = ep;  in omapdss_of_get_next_endpoint() 85 	} while (of_node_cmp(ep->name, "endpoint") != 0);  in omapdss_of_get_next_endpoint() 87 	return ep;  in omapdss_of_get_next_endpoint() 143 	struct device_node *port, *ep;  in omapdss_of_get_first_endpoint()  local 150 	ep = omapdss_of_get_next_endpoint(port, NULL);  in omapdss_of_get_first_endpoint() 154 	return ep;  in omapdss_of_get_first_endpoint() 161 	struct device_node *ep;  in omapdss_of_find_source_for_first_ep()  local [all …] 
 | 
| D | hdmi_common.c | 11 int hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep,  in hdmi_parse_lanes_of()  argument 17 	prop = of_find_property(ep, "lanes", &len);  in hdmi_parse_lanes_of() 26 		r = of_property_read_u32_array(ep, "lanes", lanes,  in hdmi_parse_lanes_of()
  | 
| D | sdi.c | 416 	struct device_node *ep;  in sdi_init_port()  local 420 	ep = omapdss_of_get_next_endpoint(port, NULL);  in sdi_init_port() 421 	if (!ep)  in sdi_init_port() 424 	r = of_property_read_u32(ep, "datapairs", &datapairs);  in sdi_init_port() 432 	of_node_put(ep);  in sdi_init_port() 443 	of_node_put(ep);  in sdi_init_port()
  | 
| /linux-4.4.14/drivers/hwtracing/coresight/ | 
| D | of_coresight.c | 59 	struct device_node *ep = NULL;  in of_coresight_get_ports()  local 63 		ep = of_graph_get_next_endpoint(node, ep);  in of_coresight_get_ports() 64 		if (!ep)  in of_coresight_get_ports() 67 		if (of_property_read_bool(ep, "slave-mode"))  in of_coresight_get_ports() 72 	} while (ep);  in of_coresight_get_ports() 113 	struct device_node *ep = NULL;  in of_get_coresight_platform_data()  local 135 			ep = of_graph_get_next_endpoint(node, ep);  in of_get_coresight_platform_data() 136 			if (!ep)  in of_get_coresight_platform_data() 143 			if (of_find_property(ep, "slave-mode", NULL))  in of_get_coresight_platform_data() 147 			ret = of_graph_parse_endpoint(ep, &endpoint);  in of_get_coresight_platform_data() [all …] 
 | 
| /linux-4.4.14/drivers/usb/wusbcore/ | 
| D | wa-rpipe.c | 175 	if (rpipe->ep)  in rpipe_destroy() 176 		rpipe->ep->hcpriv = NULL;  in rpipe_destroy() 264 		struct device *dev, struct usb_host_endpoint *ep)  in rpipe_epc_find()  argument 271 	if (ep->desc.bEndpointAddress == 0) {  in rpipe_epc_find() 275 	itr = ep->extra;  in rpipe_epc_find() 276 	itr_size = ep->extralen;  in rpipe_epc_find() 282 				ep->desc.bEndpointAddress,  in rpipe_epc_find() 283 				itr - (void *) ep->extra, itr_size);  in rpipe_epc_find() 295 				ep->desc.bEndpointAddress,  in rpipe_epc_find() 296 				itr - (void *) ep->extra, hdr->bDescriptorType,  in rpipe_epc_find() [all …] 
 | 
| /linux-4.4.14/drivers/usb/dwc2/ | 
| D | gadget.c | 43 static inline struct dwc2_hsotg_ep *our_ep(struct usb_ep *ep)  in our_ep()  argument 45 	return container_of(ep, struct dwc2_hsotg_ep, ep);  in our_ep() 144 				 unsigned int ep, unsigned int dir_in,  in dwc2_hsotg_ctrl_epint()  argument 148 	u32 bit = 1 << ep;  in dwc2_hsotg_ctrl_epint() 170 	unsigned int ep;  in dwc2_hsotg_init_fifo()  local 200 	for (ep = 1; ep < MAX_EPS_CHANNELS; ep++) {  in dwc2_hsotg_init_fifo() 201 		if (!hsotg->g_tx_fifo_sz[ep])  in dwc2_hsotg_init_fifo() 204 		val |= hsotg->g_tx_fifo_sz[ep] << FIFOSIZE_DEPTH_SHIFT;  in dwc2_hsotg_init_fifo() 205 		WARN_ONCE(addr + hsotg->g_tx_fifo_sz[ep] > hsotg->fifo_mem,  in dwc2_hsotg_init_fifo() 207 		addr += hsotg->g_tx_fifo_sz[ep];  in dwc2_hsotg_init_fifo() [all …] 
 | 
| D | debugfs.c | 259 	struct dwc2_hsotg_ep *ep = seq->private;  in ep_show()  local 260 	struct dwc2_hsotg *hsotg = ep->parent;  in ep_show() 263 	int index = ep->index;  in ep_show() 268 		   ep->index, ep->ep.name, decode_direction(ep->dir_in));  in ep_show() 289 	seq_printf(seq, "mps %d\n", ep->ep.maxpacket);  in ep_show() 290 	seq_printf(seq, "total_data=%ld\n", ep->total_data);  in ep_show() 293 		   ep->queue.next, ep->queue.prev);  in ep_show() 297 	list_for_each_entry(req, &ep->queue, queue) {  in ep_show() 304 			   req == ep->req ? '*' : ' ',  in ep_show() 363 		struct dwc2_hsotg_ep *ep;  in dwc2_hsotg_create_debug()  local [all …] 
 | 
| /linux-4.4.14/drivers/usb/chipidea/ | 
| D | udc.c | 364 		u32 mul = hwreq->req.length / hwep->ep.maxpacket;  in add_td_to_list() 367 				|| hwreq->req.length % hwep->ep.maxpacket)  in add_td_to_list() 401 static inline u8 _usb_addr(struct ci_hw_ep *ep)  in _usb_addr()  argument 403 	return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num;  in _usb_addr() 449 	    && (hwreq->req.length % hwep->ep.maxpacket == 0))  in _hardware_enqueue() 494 		u32 mul = hwreq->req.length / hwep->ep.maxpacket;  in _hardware_enqueue() 497 				|| hwreq->req.length % hwep->ep.maxpacket)  in _hardware_enqueue() 648 			usb_gadget_giveback_request(&hwep->ep, &hwreq->req);  in _ep_nuke() 659 static int _ep_set_halt(struct usb_ep *ep, int value, bool check_transfer)  in _ep_set_halt()  argument 661 	struct ci_hw_ep *hwep = container_of(ep, struct ci_hw_ep, ep);  in _ep_set_halt() [all …] 
 | 
| /linux-4.4.14/Documentation/DocBook/ | 
| D | gadget.xml.db | 5 API-struct-usb-ep-caps 6 API-struct-usb-ep 7 API-usb-ep-set-maxpacket-limit 8 API-usb-ep-enable 9 API-usb-ep-disable 10 API-usb-ep-alloc-request 11 API-usb-ep-free-request 12 API-usb-ep-queue 13 API-usb-ep-dequeue 14 API-usb-ep-set-halt [all …] 
 | 
| /linux-4.4.14/drivers/usb/musb/ | 
| D | musb_gadget.c | 110 	struct musb_ep *musb_ep = request->ep;  in unmap_dma_buffer() 147 	struct musb_ep		*ep,  in musb_g_giveback()  argument 150 __releases(ep->musb->lock)  in musb_g_giveback() 151 __acquires(ep->musb->lock)  in musb_g_giveback() 155 	int			busy = ep->busy;  in musb_g_giveback() 164 	ep->busy = 1;  in musb_g_giveback() 172 				ep->end_point.name, request,  in musb_g_giveback() 176 				ep->end_point.name, request,  in musb_g_giveback() 179 	usb_gadget_giveback_request(&req->ep->end_point, &req->request);  in musb_g_giveback() 181 	ep->busy = busy;  in musb_g_giveback() [all …] 
 | 
| D | musb_gadget.h | 81 	struct musb_ep		*ep;  member 94 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags); 95 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req); 127 static inline struct musb_ep *to_musb_ep(struct usb_ep *ep)  in to_musb_ep()  argument 129 	return ep ? container_of(ep, struct musb_ep, end_point) : NULL;  in to_musb_ep() 132 static inline struct musb_request *next_request(struct musb_ep *ep)  in next_request()  argument 134 	struct list_head	*queue = &ep->req_list;  in next_request()
  | 
| D | musb_gadget_ep0.c | 106 		struct musb_ep	*ep;  in service_tx_status_request()  local 119 			ep = &musb->endpoints[epnum].ep_in;  in service_tx_status_request() 121 			ep = &musb->endpoints[epnum].ep_out;  in service_tx_status_request() 125 		if (epnum >= MUSB_C_NUM_EPS || !ep->desc) {  in service_tx_status_request() 260 				struct musb_hw_ep	*ep;  in service_zero_data_request()  local 270 				ep = musb->endpoints + epnum;  in service_zero_data_request() 271 				regs = ep->regs;  in service_zero_data_request() 274 					musb_ep = &ep->ep_in;  in service_zero_data_request() 276 					musb_ep = &ep->ep_out;  in service_zero_data_request() 425 				struct musb_hw_ep	*ep;  in service_zero_data_request()  local [all …] 
 | 
| D | musb_host.c | 110 static void musb_h_tx_flush_fifo(struct musb_hw_ep *ep)  in musb_h_tx_flush_fifo()  argument 112 	struct musb	*musb = ep->musb;  in musb_h_tx_flush_fifo() 113 	void __iomem	*epio = ep->regs;  in musb_h_tx_flush_fifo() 139 				ep->epnum, csr))  in musb_h_tx_flush_fifo() 144 static void musb_h_ep0_flush_fifo(struct musb_hw_ep *ep)  in musb_h_ep0_flush_fifo()  argument 146 	void __iomem	*epio = ep->regs;  in musb_h_ep0_flush_fifo() 161 			ep->epnum, csr);  in musb_h_ep0_flush_fifo() 171 static inline void musb_h_tx_start(struct musb_hw_ep *ep)  in musb_h_tx_start()  argument 176 	if (ep->epnum) {  in musb_h_tx_start() 177 		txcsr = musb_readw(ep->regs, MUSB_TXCSR);  in musb_h_tx_start() [all …] 
 | 
| D | blackfin.h | 80 #define USB_DMA_REG(ep, reg)	(USB_DMA_BASE + 0x20 * ep + reg)  argument
  | 
| /linux-4.4.14/drivers/usb/gadget/function/ | 
| D | f_sourcesink.c | 299 static inline struct usb_request *ss_alloc_ep_req(struct usb_ep *ep, int len)  in ss_alloc_ep_req()  argument 301 	struct f_sourcesink		*ss = ep->driver_data;  in ss_alloc_ep_req() 303 	return alloc_ep_req(ep, len, ss->buflen);  in ss_alloc_ep_req() 306 void free_ep_req(struct usb_ep *ep, struct usb_request *req)  in free_ep_req()  argument 309 	usb_ep_free_request(ep, req);  in free_ep_req() 312 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep)  in disable_ep()  argument 316 	value = usb_ep_disable(ep);  in disable_ep() 318 		DBG(cdev, "disable %s --> %d\n", ep->name, value);  in disable_ep() 518 static void reinit_write_data(struct usb_ep *ep, struct usb_request *req)  in reinit_write_data()  argument 522 	int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize);  in reinit_write_data() [all …] 
 | 
| D | f_midi.c | 198 static inline struct usb_request *midi_alloc_ep_req(struct usb_ep *ep,  in midi_alloc_ep_req()  argument 201 	return alloc_ep_req(ep, length, length);  in midi_alloc_ep_req() 204 static void free_ep_req(struct usb_ep *ep, struct usb_request *req)  in free_ep_req()  argument 207 	usb_ep_free_request(ep, req);  in free_ep_req() 217 static void f_midi_read_data(struct usb_ep *ep, int cable,  in f_midi_read_data()  argument 220 	struct f_midi *midi = ep->driver_data;  in f_midi_read_data() 233 static void f_midi_handle_out_data(struct usb_ep *ep, struct usb_request *req)  in f_midi_handle_out_data()  argument 242 			f_midi_read_data(ep, cable, &buf[i + 1], length);  in f_midi_handle_out_data() 247 f_midi_complete(struct usb_ep *ep, struct usb_request *req)  in f_midi_complete()  argument 249 	struct f_midi *midi = ep->driver_data;  in f_midi_complete() [all …] 
 | 
| D | f_fs.c | 112 	struct usb_ep			*ep;	/* P: ffs->eps_lock */  member 129 	struct ffs_ep			*ep;	/* P: ffs->eps_lock */  member 155 	struct usb_ep *ep;  member 198 static void ffs_ep0_complete(struct usb_ep *ep, struct usb_request *req)  in ffs_ep0_complete()  argument 637 		struct ffs_ep *ep = _ep->driver_data;  in ffs_epfile_io_complete()  local 638 		ep->status = req->status ? req->status : req->actual;  in ffs_epfile_io_complete() 664 	usb_ep_free_request(io_data->ep, io_data->req);  in ffs_user_copy_worker() 686 	struct ffs_ep *ep;  in ffs_epfile_io()  local 698 	ep = epfile->ep;  in ffs_epfile_io() 699 	if (!ep) {  in ffs_epfile_io() [all …] 
 | 
| D | uvc_video.c | 163 uvc_video_complete(struct usb_ep *ep, struct usb_request *req)  in uvc_video_complete()  argument 196 	if ((ret = usb_ep_queue(ep, req, GFP_ATOMIC)) < 0) {  in uvc_video_complete() 198 		usb_ep_set_halt(ep);  in uvc_video_complete() 220 			usb_ep_free_request(video->ep, video->req[i]);  in uvc_video_free_requests() 244 	req_size = video->ep->maxpacket  in uvc_video_alloc_requests() 245 		 * max_t(unsigned int, video->ep->maxburst, 1)  in uvc_video_alloc_requests() 246 		 * (video->ep->mult + 1);  in uvc_video_alloc_requests() 253 		video->req[i] = usb_ep_alloc_request(video->ep, GFP_KERNEL);  in uvc_video_alloc_requests() 323 		ret = usb_ep_queue(video->ep, req, GFP_ATOMIC);  in uvcg_video_pump() 326 			usb_ep_set_halt(video->ep);  in uvcg_video_pump() [all …] 
 | 
| D | f_loopback.c | 239 static void loopback_complete(struct usb_ep *ep, struct usb_request *req)  in loopback_complete()  argument 241 	struct f_loopback	*loop = ep->driver_data;  in loopback_complete() 247 		if (ep == loop->out_ep) {  in loopback_complete() 256 			ep = loop->in_ep;  in loopback_complete() 264 			ep = loop->out_ep;  in loopback_complete() 268 		status = usb_ep_queue(ep, req, GFP_ATOMIC);  in loopback_complete() 273 			      ep->name, status);  in loopback_complete() 279 		ERROR(cdev, "%s loop complete --> %d, %d/%d\n", ep->name,  in loopback_complete() 292 		usb_ep_free_request(ep == loop->in_ep ?  in loopback_complete() 295 		free_ep_req(ep, req);  in loopback_complete() [all …] 
 | 
| D | f_uvc.c | 212 uvc_function_ep0_complete(struct usb_ep *ep, struct usb_request *req)  in uvc_function_ep0_complete()  argument 283 		return uvc->video.ep->enabled ? 1 : 0;  in uvc_function_get_alt() 335 		if (uvc->video.ep)  in uvc_function_set_alt() 336 			usb_ep_disable(uvc->video.ep);  in uvc_function_set_alt() 349 		if (!uvc->video.ep)  in uvc_function_set_alt() 353 		usb_ep_disable(uvc->video.ep);  in uvc_function_set_alt() 356 				&(uvc->func), uvc->video.ep);  in uvc_function_set_alt() 359 		usb_ep_enable(uvc->video.ep);  in uvc_function_set_alt() 385 	usb_ep_disable(uvc->video.ep);  in uvc_function_disable() 568 	uvc_streaming_header->bEndpointAddress = uvc->video.ep->address;  in uvc_copy_descriptors() [all …] 
 | 
| D | f_acm.c | 308 static void acm_complete_set_line_coding(struct usb_ep *ep,  in acm_complete_set_line_coding()  argument 311 	struct f_acm	*acm = ep->driver_data;  in acm_complete_set_line_coding() 324 		usb_ep_set_halt(ep);  in acm_complete_set_line_coding() 496 	struct usb_ep			*ep = acm->notify;  in acm_cdc_notify()  local 521 	status = usb_ep_queue(ep, req, GFP_ATOMIC);  in acm_cdc_notify() 553 static void acm_cdc_notify_complete(struct usb_ep *ep, struct usb_request *req)  in acm_cdc_notify_complete()  argument 613 	struct usb_ep		*ep;  in acm_bind()  local 650 	ep = usb_ep_autoconfig(cdev->gadget, &acm_fs_in_desc);  in acm_bind() 651 	if (!ep)  in acm_bind() 653 	acm->port.in = ep;  in acm_bind() [all …] 
 | 
| D | u_serial.c | 293 gs_alloc_req(struct usb_ep *ep, unsigned len, gfp_t kmalloc_flags)  in gs_alloc_req()  argument 297 	req = usb_ep_alloc_request(ep, kmalloc_flags);  in gs_alloc_req() 303 			usb_ep_free_request(ep, req);  in gs_alloc_req() 317 void gs_free_req(struct usb_ep *ep, struct usb_request *req)  in gs_free_req()  argument 320 	usb_ep_free_request(ep, req);  in gs_free_req() 584 static void gs_read_complete(struct usb_ep *ep, struct usb_request *req)  in gs_read_complete()  argument 586 	struct gs_port	*port = ep->driver_data;  in gs_read_complete() 595 static void gs_write_complete(struct usb_ep *ep, struct usb_request *req)  in gs_write_complete()  argument 597 	struct gs_port	*port = ep->driver_data;  in gs_write_complete() 607 				__func__, ep->name, req->status);  in gs_write_complete() [all …] 
 | 
| D | f_rndis.c | 410 static void rndis_response_complete(struct usb_ep *ep, struct usb_request *req)  in rndis_response_complete()  argument 428 			ep->name, status,  in rndis_response_complete() 432 		if (ep != rndis->notify)  in rndis_response_complete() 449 static void rndis_command_complete(struct usb_ep *ep, struct usb_request *req)  in rndis_command_complete()  argument 673 	struct usb_ep		*ep;  in rndis_bind()  local 741 	ep = usb_ep_autoconfig(cdev->gadget, &fs_in_desc);  in rndis_bind() 742 	if (!ep)  in rndis_bind() 744 	rndis->port.in_ep = ep;  in rndis_bind() 746 	ep = usb_ep_autoconfig(cdev->gadget, &fs_out_desc);  in rndis_bind() 747 	if (!ep)  in rndis_bind() [all …] 
 | 
| D | f_serial.c | 194 	struct usb_ep		*ep;  in gser_bind()  local 218 	ep = usb_ep_autoconfig(cdev->gadget, &gser_fs_in_desc);  in gser_bind() 219 	if (!ep)  in gser_bind() 221 	gser->port.in = ep;  in gser_bind() 223 	ep = usb_ep_autoconfig(cdev->gadget, &gser_fs_out_desc);  in gser_bind() 224 	if (!ep)  in gser_bind() 226 	gser->port.out = ep;  in gser_bind()
  | 
| D | f_phonet.c | 203 static void pn_tx_complete(struct usb_ep *ep, struct usb_request *req)  in pn_tx_complete()  argument 205 	struct f_phonet *fp = ep->driver_data;  in pn_tx_complete() 320 static void pn_rx_complete(struct usb_ep *ep, struct usb_request *req)  in pn_rx_complete()  argument 322 	struct f_phonet *fp = ep->driver_data;  in pn_rx_complete() 491 	struct usb_ep *ep;  in pn_bind()  local 529 	ep = usb_ep_autoconfig(gadget, &pn_fs_sink_desc);  in pn_bind() 530 	if (!ep)  in pn_bind() 532 	fp->out_ep = ep;  in pn_bind() 534 	ep = usb_ep_autoconfig(gadget, &pn_fs_source_desc);  in pn_bind() 535 	if (!ep)  in pn_bind() [all …] 
 | 
| D | f_subset.c | 302 	struct usb_ep		*ep;  in geth_bind()  local 342 	ep = usb_ep_autoconfig(cdev->gadget, &fs_subset_in_desc);  in geth_bind() 343 	if (!ep)  in geth_bind() 345 	geth->port.in_ep = ep;  in geth_bind() 347 	ep = usb_ep_autoconfig(cdev->gadget, &fs_subset_out_desc);  in geth_bind() 348 	if (!ep)  in geth_bind() 350 	geth->port.out_ep = ep;  in geth_bind()
  | 
| D | f_ecm.c | 446 static void ecm_notify_complete(struct usb_ep *ep, struct usb_request *req)  in ecm_notify_complete()  argument 686 	struct usb_ep		*ep;  in ecm_bind()  local 743 	ep = usb_ep_autoconfig(cdev->gadget, &fs_ecm_in_desc);  in ecm_bind() 744 	if (!ep)  in ecm_bind() 746 	ecm->port.in_ep = ep;  in ecm_bind() 748 	ep = usb_ep_autoconfig(cdev->gadget, &fs_ecm_out_desc);  in ecm_bind() 749 	if (!ep)  in ecm_bind() 751 	ecm->port.out_ep = ep;  in ecm_bind() 757 	ep = usb_ep_autoconfig(cdev->gadget, &fs_ecm_notify_desc);  in ecm_bind() 758 	if (!ep)  in ecm_bind() [all …] 
 | 
| D | f_obex.c | 312 	struct usb_ep		*ep;  in obex_bind()  local 347 	ep = usb_ep_autoconfig(cdev->gadget, &obex_fs_ep_in_desc);  in obex_bind() 348 	if (!ep)  in obex_bind() 350 	obex->port.in = ep;  in obex_bind() 352 	ep = usb_ep_autoconfig(cdev->gadget, &obex_fs_ep_out_desc);  in obex_bind() 353 	if (!ep)  in obex_bind() 355 	obex->port.out = ep;  in obex_bind()
  | 
| D | f_uac1.c | 321 static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req)  in f_audio_out_ep_complete()  argument 350 	err = usb_ep_queue(ep, req, GFP_ATOMIC);  in f_audio_out_ep_complete() 352 		ERROR(cdev, "%s queue req: %d\n", ep->name, err);  in f_audio_out_ep_complete() 358 static void f_audio_complete(struct usb_ep *ep, struct usb_request *req)  in f_audio_complete()  argument 368 		if (ep == out_ep)  in f_audio_complete() 369 			f_audio_out_ep_complete(ep, req);  in f_audio_complete() 461 	u16			ep = le16_to_cpu(ctrl->wIndex);  in audio_set_endpoint_req()  local 466 			ctrl->bRequest, w_value, len, ep);  in audio_set_endpoint_req() 497 	u8 ep = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF);  in audio_get_endpoint_req()  local 502 			ctrl->bRequest, w_value, len, ep);  in audio_get_endpoint_req() [all …] 
 | 
| D | f_eem.c | 251 	struct usb_ep		*ep;  in eem_bind()  local 289 	ep = usb_ep_autoconfig(cdev->gadget, &eem_fs_in_desc);  in eem_bind() 290 	if (!ep)  in eem_bind() 292 	eem->port.in_ep = ep;  in eem_bind() 294 	ep = usb_ep_autoconfig(cdev->gadget, &eem_fs_out_desc);  in eem_bind() 295 	if (!ep)  in eem_bind() 297 	eem->port.out_ep = ep;  in eem_bind() 328 static void eem_cmd_complete(struct usb_ep *ep, struct usb_request *req)  in eem_cmd_complete()  argument
  | 
| /linux-4.4.14/drivers/char/xillybus/ | 
| D | xillybus_core.c | 128 	struct xilly_endpoint *ep = data;  in xillybus_isr()  local 136 	buf = ep->msgbuf_addr;  in xillybus_isr() 137 	buf_size = ep->msg_buf_size/sizeof(u32);  in xillybus_isr() 139 	ep->ephw->hw_sync_sgl_for_cpu(ep,  in xillybus_isr() 140 				      ep->msgbuf_dma_addr,  in xillybus_isr() 141 				      ep->msg_buf_size,  in xillybus_isr() 145 		if (((buf[i+1] >> 28) & 0xf) != ep->msg_counter) {  in xillybus_isr() 146 			malformed_message(ep, &buf[i]);  in xillybus_isr() 147 			dev_warn(ep->dev,  in xillybus_isr() 150 				 ep->msg_counter,  in xillybus_isr() [all …] 
 | 
| D | xillybus_of.c | 42 static void xilly_dma_sync_single_for_cpu_of(struct xilly_endpoint *ep,  in xilly_dma_sync_single_for_cpu_of()  argument 47 	dma_sync_single_for_cpu(ep->dev, dma_handle, size, direction);  in xilly_dma_sync_single_for_cpu_of() 50 static void xilly_dma_sync_single_for_device_of(struct xilly_endpoint *ep,  in xilly_dma_sync_single_for_device_of()  argument 55 	dma_sync_single_for_device(ep->dev, dma_handle, size, direction);  in xilly_dma_sync_single_for_device_of() 58 static void xilly_dma_sync_single_nop(struct xilly_endpoint *ep,  in xilly_dma_sync_single_nop()  argument 75 static int xilly_map_single_of(struct xilly_endpoint *ep,  in xilly_map_single_of()  argument 90 	addr = dma_map_single(ep->dev, ptr, size, direction);  in xilly_map_single_of() 92 	if (dma_mapping_error(ep->dev, addr)) {  in xilly_map_single_of() 97 	this->device = ep->dev;  in xilly_map_single_of() 104 	rc = devm_add_action(ep->dev, xilly_of_unmap, this);  in xilly_map_single_of() [all …] 
 | 
| D | xillybus_pcie.c | 53 static void xilly_dma_sync_single_for_cpu_pci(struct xilly_endpoint *ep,  in xilly_dma_sync_single_for_cpu_pci()  argument 58 	pci_dma_sync_single_for_cpu(ep->pdev,  in xilly_dma_sync_single_for_cpu_pci() 64 static void xilly_dma_sync_single_for_device_pci(struct xilly_endpoint *ep,  in xilly_dma_sync_single_for_device_pci()  argument 69 	pci_dma_sync_single_for_device(ep->pdev,  in xilly_dma_sync_single_for_device_pci() 91 static int xilly_map_single_pci(struct xilly_endpoint *ep,  in xilly_map_single_pci()  argument 109 	addr = pci_map_single(ep->pdev, ptr, size, pci_direction);  in xilly_map_single_pci() 111 	if (pci_dma_mapping_error(ep->pdev, addr)) {  in xilly_map_single_pci() 116 	this->device = ep->pdev;  in xilly_map_single_pci() 123 	rc = devm_add_action(ep->dev, xilly_pci_unmap, this);  in xilly_map_single_pci() 125 		pci_unmap_single(ep->pdev, addr, size, pci_direction);  in xilly_map_single_pci()
  | 
| /linux-4.4.14/drivers/target/tcm_fc/ | 
| D | tfc_io.c | 58 	struct fc_exch *ep;  in ft_queue_data_in()  local 83 	ep = fc_seq_exch(cmd->seq);  in ft_queue_data_in() 84 	lport = ep->lp;  in ft_queue_data_in() 108 				 __func__, ep->xid);  in ft_queue_data_in() 175 		fc_fill_fc_hdr(fp, FC_RCTL_DD_SOL_DATA, ep->did, ep->sid,  in ft_queue_data_in() 182 						__func__, fp, ep->xid,  in ft_queue_data_in() 213 	struct fc_exch *ep;  in ft_recv_write_data()  local 234 	ep = fc_seq_exch(seq);  in ft_recv_write_data() 235 	lport = ep->lp;  in ft_recv_write_data() 237 		BUG_ON(!ep);  in ft_recv_write_data() [all …] 
 | 
| D | tfc_cmd.c | 47 	struct fc_exch *ep;  in _ft_dump_cmd()  local 69 		ep = fc_seq_exch(sp);  in _ft_dump_cmd() 72 			caller, cmd, ep->sid, ep->did, ep->oxid, ep->rxid,  in _ft_dump_cmd() 73 			sp->id, ep->esb_stat);  in _ft_dump_cmd() 123 	struct fc_exch *ep;  in ft_queue_status()  local 130 	ep = fc_seq_exch(cmd->seq);  in ft_queue_status() 131 	lport = ep->lp;  in ft_queue_status() 166 	fc_fill_fc_hdr(fp, FC_RCTL_DD_CMD_STATUS, ep->did, ep->sid, FC_TYPE_FCP,  in ft_queue_status() 172 				    "xid <0x%x>\n", __func__, fp, ep->xid);  in ft_queue_status() 201 	struct fc_exch *ep;  in ft_write_pending()  local [all …] 
 | 
| /linux-4.4.14/drivers/gpu/drm/ | 
| D | drm_of.c | 47 	struct device_node *remote_port, *ep;  in drm_of_find_possible_crtcs()  local 50 	for_each_endpoint_of_node(port, ep) {  in drm_of_find_possible_crtcs() 51 		remote_port = of_graph_get_remote_port(ep);  in drm_of_find_possible_crtcs() 53 			of_node_put(ep);  in drm_of_find_possible_crtcs() 83 	struct device_node *ep, *port, *remote;  in drm_of_component_probe()  local 131 		for_each_child_of_node(port, ep) {  in drm_of_component_probe() 132 			remote = of_graph_get_remote_port_parent(ep);  in drm_of_component_probe()
  | 
| /linux-4.4.14/drivers/media/platform/xilinx/ | 
| D | xilinx-vipp.c | 78 	struct device_node *ep = NULL;  in xvip_graph_build_one()  local 86 		next = of_graph_get_next_endpoint(entity->node, ep);  in xvip_graph_build_one() 90 		of_node_put(ep);  in xvip_graph_build_one() 91 		ep = next;  in xvip_graph_build_one() 93 		dev_dbg(xdev->dev, "processing endpoint %s\n", ep->full_name);  in xvip_graph_build_one() 95 		ret = v4l2_of_parse_link(ep, &link);  in xvip_graph_build_one() 98 				ep->full_name);  in xvip_graph_build_one() 171 	of_node_put(ep);  in xvip_graph_build_one() 198 	struct device_node *ep = NULL;  in xvip_graph_build_dma()  local 207 		next = of_graph_get_next_endpoint(node, ep);  in xvip_graph_build_dma() [all …] 
 | 
| /linux-4.4.14/tools/perf/util/ | 
| D | strfilter.c | 77 						  const char **ep)  in strfilter_node__new()  argument 141 	*ep = s;  in strfilter_node__new() 146 	*ep = s;  in strfilter_node__new() 158 	const char *ep = NULL;  in strfilter__new()  local 161 		filter->root = strfilter_node__new(rules, &ep);  in strfilter__new() 163 	if (!filter || !filter->root || *ep != '\0') {  in strfilter__new() 165 			*err = ep;  in strfilter__new() 177 	const char *ep = NULL;  in strfilter__append()  local 182 	right = strfilter_node__new(rules, &ep);  in strfilter__append() 183 	if (!right || *ep != '\0') {  in strfilter__append() [all …] 
 | 
| /linux-4.4.14/drivers/usb/gadget/legacy/ | 
| D | inode.c | 196 	struct usb_ep			*ep;  member 272 static void epio_complete (struct usb_ep *ep, struct usb_request *req)  in epio_complete()  argument 274 	struct ep_data	*epdata = ep->driver_data;  in epio_complete() 335 	if (likely (epdata->ep != NULL)) {  in ep_io() 342 		value = usb_ep_queue (epdata->ep, req, GFP_ATOMIC);  in ep_io() 351 			if (likely (epdata->ep != NULL)) {  in ep_io() 354 				usb_ep_dequeue (epdata->ep, epdata->req);  in ep_io() 387 		usb_ep_disable(data->ep);  in ep_release() 403 	if (likely (data->ep != NULL)) {  in ep_ioctl() 406 			status = usb_ep_fifo_status (data->ep);  in ep_ioctl() [all …] 
 | 
| D | dbgp.c | 80 static void __disable_ep(struct usb_ep *ep)  in __disable_ep()  argument 82 	usb_ep_disable(ep);  in __disable_ep() 91 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req)  in dbgp_complete()  argument 97 	if (ep == dbgp.i_ep) {  in dbgp_complete() 110 	err = usb_ep_queue(ep, req, GFP_ATOMIC);  in dbgp_complete() 127 static int dbgp_enable_ep_req(struct usb_ep *ep)  in dbgp_enable_ep_req()  argument 132 	req = usb_ep_alloc_request(ep, GFP_KERNEL);  in dbgp_enable_ep_req() 148 	err = usb_ep_queue(ep, req, GFP_ATOMIC);  in dbgp_enable_ep_req() 166 static int __enable_ep(struct usb_ep *ep, struct usb_endpoint_descriptor *desc)  in __enable_ep()  argument 169 	ep->desc = desc;  in __enable_ep() [all …] 
 | 
| D | tcm_usb_gadget.c | 55 static void bot_status_complete(struct usb_ep *ep, struct usb_request *req)  in bot_status_complete()  argument 94 static void bot_err_compl(struct usb_ep *ep, struct usb_request *req)  in bot_err_compl()  argument 103 		if (cmd->data_len > ep->maxpacket) {  in bot_err_compl() 104 			req->length = ep->maxpacket;  in bot_err_compl() 105 			cmd->data_len -= ep->maxpacket;  in bot_err_compl() 111 		usb_ep_queue(ep, req, GFP_ATOMIC);  in bot_err_compl() 122 	struct usb_ep *ep;  in bot_send_bad_status()  local 128 			ep = fu->ep_in;  in bot_send_bad_status() 131 			ep = fu->ep_out;  in bot_send_bad_status() 136 			req->length = ep->maxpacket;  in bot_send_bad_status() [all …] 
 | 
| /linux-4.4.14/include/net/sctp/ | 
| D | auth.h | 89 int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep, 92 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp); 107 int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id); 108 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, 110 int sctp_auth_set_key(struct sctp_endpoint *ep, 113 int sctp_auth_set_active_key(struct sctp_endpoint *ep, 116 int sctp_auth_del_key_id(struct sctp_endpoint *ep,
  | 
| /linux-4.4.14/drivers/usb/renesas_usbhs/ | 
| D | mod_gadget.c | 38 	struct usb_ep		 ep;  member 100 #define usbhsg_ep_to_uep(e)		container_of(e, struct usbhsg_uep, ep) 139 	usb_gadget_giveback_request(&uep->ep, &ureq->req);  in __usbhsg_queue_pop() 309 static void __usbhsg_recip_send_complete(struct usb_ep *ep,  in __usbhsg_recip_send_complete()  argument 316 	usb_ep_free_request(ep, req);  in __usbhsg_recip_send_complete() 329 	req = usb_ep_alloc_request(&dcp->ep, GFP_ATOMIC);  in __usbhsg_recip_send_status() 338 		usb_ep_free_request(&dcp->ep, req);  in __usbhsg_recip_send_status() 581 static int usbhsg_ep_enable(struct usb_ep *ep,  in usbhsg_ep_enable()  argument 584 	struct usbhsg_uep *uep   = usbhsg_ep_to_uep(ep);  in usbhsg_ep_enable() 628 static int usbhsg_ep_disable(struct usb_ep *ep)  in usbhsg_ep_disable()  argument [all …] 
 | 
| D | mod_host.c | 86 	struct usb_host_endpoint *ep;  member 135 #define usbhsh_uep_to_ep(u)	((u)->ep) 217 	int maxp = usb_endpoint_maxp(&urb->ep->desc);  in usbhsh_endpoint_sequence_save() 261 	struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep);  in usbhsh_pipe_attach() 264 	struct usb_endpoint_descriptor *desc = &urb->ep->desc;  in usbhsh_pipe_attach() 358 		struct usb_host_endpoint *ep = usbhsh_uep_to_ep(uep);  in usbhsh_pipe_detach()  local 367 			usb_endpoint_num(&ep->desc),  in usbhsh_pipe_detach() 384 	struct usb_host_endpoint *ep = urb->ep;  in usbhsh_endpoint_attach()  local 387 	struct usb_endpoint_descriptor *desc = &ep->desc;  in usbhsh_endpoint_attach() 407 	usbhsh_uep_to_ep(uep)	= ep;  in usbhsh_endpoint_attach() [all …] 
 | 
| /linux-4.4.14/arch/s390/oprofile/ | 
| D | hwsampler.c | 68 	struct hws_execute_parms *ep = parms;  in execute_qsi()  local 70 	ep->rc = qsi(ep->buffer);  in execute_qsi() 75 	struct hws_execute_parms *ep = parms;  in execute_ssctl()  local 77 	ep->rc = lsctl(ep->buffer);  in execute_ssctl() 83 	struct hws_execute_parms ep;  in smp_ctl_ssctl_stop()  local 91 	ep.buffer = &cb->ssctl;  in smp_ctl_ssctl_stop() 92 	smp_call_function_single(cpu, execute_ssctl, &ep, 1);  in smp_ctl_ssctl_stop() 93 	rc = ep.rc;  in smp_ctl_ssctl_stop() 99 	ep.buffer = &cb->qsi;  in smp_ctl_ssctl_stop() 100 	smp_call_function_single(cpu, execute_qsi, &ep, 1);  in smp_ctl_ssctl_stop() [all …] 
 | 
| /linux-4.4.14/drivers/net/wireless/mwifiex/ | 
| D | usb.c | 61 			    struct sk_buff *skb, u8 ep)  in mwifiex_usb_recv()  argument 76 	switch (ep) {  in mwifiex_usb_recv() 152 			    "%s: unknown endport %#x\n", __func__, ep);  in mwifiex_usb_recv() 180 	if (card->rx_cmd_ep == context->ep)  in mwifiex_usb_rx_complete() 190 			if (card->rx_cmd_ep != context->ep)  in mwifiex_usb_rx_complete() 199 		status = mwifiex_usb_recv(adapter, skb, context->ep);  in mwifiex_usb_rx_complete() 211 			if (card->rx_cmd_ep == context->ep)  in mwifiex_usb_rx_complete() 219 			if (card->rx_cmd_ep != context->ep)  in mwifiex_usb_rx_complete() 232 		if (card->rx_cmd_ep != context->ep)  in mwifiex_usb_rx_complete() 239 	if (card->rx_cmd_ep == context->ep)  in mwifiex_usb_rx_complete() [all …] 
 | 
| /linux-4.4.14/drivers/infiniband/ulp/iser/ | 
| D | iscsi_iser.c | 466 	struct iscsi_endpoint *ep;  in iscsi_iser_conn_bind()  local 475 	ep = iscsi_lookup_endpoint(transport_eph);  in iscsi_iser_conn_bind() 476 	if (!ep) {  in iscsi_iser_conn_bind() 481 	iser_conn = ep->dd_data;  in iscsi_iser_conn_bind() 606 iscsi_iser_session_create(struct iscsi_endpoint *ep,  in iscsi_iser_session_create()  argument 631 	if (ep) {  in iscsi_iser_session_create() 632 		iser_conn = ep->dd_data;  in iscsi_iser_session_create() 768 static int iscsi_iser_get_ep_param(struct iscsi_endpoint *ep,  in iscsi_iser_get_ep_param()  argument 771 	struct iser_conn *iser_conn = ep->dd_data;  in iscsi_iser_get_ep_param() 812 	struct iscsi_endpoint *ep;  in iscsi_iser_ep_connect()  local [all …] 
 | 
| /linux-4.4.14/arch/powerpc/boot/dts/ | 
| D | sam440ep.dts | 58 		compatible = "ibm,uic-440ep","ibm,uic"; 68 		compatible = "ibm,uic-440ep","ibm,uic"; 80 		compatible = "ibm,sdr-440ep"; 85 		compatible = "ibm,cpr-440ep"; 90 		compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 97 			compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 102 			compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 107 			compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 124 		  	compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 137 				compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; [all …] 
 | 
| D | yosemite.dts | 55 		compatible = "ibm,uic-440ep","ibm,uic"; 65 		compatible = "ibm,uic-440ep","ibm,uic"; 77 		compatible = "ibm,sdr-440ep"; 82 		compatible = "ibm,cpr-440ep"; 87 		compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 94 			compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 99 			compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 104 			compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 121 			compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 134 				compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; [all …] 
 | 
| D | bamboo.dts | 57 		compatible = "ibm,uic-440ep","ibm,uic"; 67 		compatible = "ibm,uic-440ep","ibm,uic"; 79 		compatible = "ibm,sdr-440ep"; 84 		compatible = "ibm,cpr-440ep"; 89 		compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 96 			compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 101 			compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 106 			compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 123 		  	compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 136 				compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; [all …] 
 | 
| D | warp.dts | 51 		compatible = "ibm,uic-440ep","ibm,uic"; 61 		compatible = "ibm,uic-440ep","ibm,uic"; 73 		compatible = "ibm,sdr-440ep"; 78 		compatible = "ibm,cpr-440ep"; 83 		compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 90 			compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 95 			compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 100 			compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 117 		  	compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 127 				compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; [all …] 
 | 
| D | hotfoot.dts | 69 			compatible = "ibm,sdram-405ep"; 74 			compatible = "ibm,mcmal-405ep", "ibm,mcmal"; 88 			compatible = "ibm,opb-405ep", "ibm,opb"; 122 				compatible = "ibm,iic-405ep", "ibm,iic"; 162 				compatible = "ibm,emac-405ep", "ibm,emac"; 183 				compatible = "ibm,emac-405ep", "ibm,emac"; 204 			compatible = "ibm,ebc-405ep", "ibm,ebc";
  | 
| /linux-4.4.14/arch/sparc/kernel/ | 
| D | mdesc.c | 388 	struct mdesc_elem *ep = node_block(&hp->mdesc);  in mdesc_node_by_name()  local 398 		ret = ep[from_node].d.val;  in mdesc_node_by_name() 402 		if (ep[ret].tag != MD_NODE)  in mdesc_node_by_name() 404 		if (!strcmp(names + ep[ret].name_offset, name))  in mdesc_node_by_name() 406 		ret = ep[ret].d.val;  in mdesc_node_by_name() 420 	struct mdesc_elem *ep;  in mdesc_get_property()  local 425 	ep = node_block(&hp->mdesc) + node;  in mdesc_get_property() 426 	ep++;  in mdesc_get_property() 427 	for (; ep->tag != MD_NODE_END; ep++) {  in mdesc_get_property() 431 		switch (ep->tag) {  in mdesc_get_property() [all …] 
 | 
| /linux-4.4.14/lib/mpi/ | 
| D | mpi-pow.c | 41 	mpi_ptr_t rp, ep, mp, bp;  in mpi_powm()  local 59 	ep = exp->d;  in mpi_powm() 115 		if (rp == ep || rp == mp || rp == bp) {  in mpi_powm() 134 		if (rp == ep) {  in mpi_powm() 136 			ep = ep_marker = mpi_alloc_limb_space(esize);  in mpi_powm() 137 			if (!ep)  in mpi_powm() 139 			MPN_COPY(ep, rp, esize);  in mpi_powm() 168 		negative_result = (ep[0] & 1) && base->sign;  in mpi_powm() 171 		e = ep[i];  in mpi_powm() 259 			e = ep[i];  in mpi_powm()
  | 
| /linux-4.4.14/drivers/usb/dwc3/ | 
| D | gadget.h | 27 #define to_dwc3_ep(ep)		(container_of(ep, struct dwc3_ep, endpoint))  argument 85 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value); 86 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value); 87 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
  | 
| D | gadget.c | 313 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,  in dwc3_send_gadget_ep_cmd()  argument 316 	struct dwc3_ep		*dep = dwc->eps[ep];  in dwc3_send_gadget_ep_cmd() 322 	dwc3_writel(dwc->regs, DWC3_DEPCMDPAR0(ep), params->param0);  in dwc3_send_gadget_ep_cmd() 323 	dwc3_writel(dwc->regs, DWC3_DEPCMDPAR1(ep), params->param1);  in dwc3_send_gadget_ep_cmd() 324 	dwc3_writel(dwc->regs, DWC3_DEPCMDPAR2(ep), params->param2);  in dwc3_send_gadget_ep_cmd() 326 	dwc3_writel(dwc->regs, DWC3_DEPCMD(ep), cmd | DWC3_DEPCMD_CMDACT);  in dwc3_send_gadget_ep_cmd() 328 		reg = dwc3_readl(dwc->regs, DWC3_DEPCMD(ep));  in dwc3_send_gadget_ep_cmd() 671 static int dwc3_gadget_ep0_enable(struct usb_ep *ep,  in dwc3_gadget_ep0_enable()  argument 677 static int dwc3_gadget_ep0_disable(struct usb_ep *ep)  in dwc3_gadget_ep0_disable()  argument 684 static int dwc3_gadget_ep_enable(struct usb_ep *ep,  in dwc3_gadget_ep_enable()  argument [all …] 
 | 
| /linux-4.4.14/drivers/md/ | 
| D | dm-cache-policy-mq.c | 330 static int epool_init(struct entry_pool *ep, unsigned nr_entries)  in epool_init()  argument 334 	ep->entries = vzalloc(sizeof(struct entry) * nr_entries);  in epool_init() 335 	if (!ep->entries)  in epool_init() 338 	ep->entries_end = ep->entries + nr_entries;  in epool_init() 340 	INIT_LIST_HEAD(&ep->free);  in epool_init() 342 		list_add(&ep->entries[i].list, &ep->free);  in epool_init() 344 	ep->nr_allocated = 0;  in epool_init() 349 static void epool_exit(struct entry_pool *ep)  in epool_exit()  argument 351 	vfree(ep->entries);  in epool_exit() 354 static struct entry *alloc_entry(struct entry_pool *ep)  in alloc_entry()  argument [all …] 
 | 
| /linux-4.4.14/drivers/usb/host/whci/ | 
| D | hcd.c | 173 				 struct usb_host_endpoint *ep)  in whc_endpoint_disable()  argument 179 	qset = ep->hcpriv;  in whc_endpoint_disable() 181 		ep->hcpriv = NULL;  in whc_endpoint_disable() 182 		if (usb_endpoint_xfer_bulk(&ep->desc)  in whc_endpoint_disable() 183 		    || usb_endpoint_xfer_control(&ep->desc))  in whc_endpoint_disable() 191 			       struct usb_host_endpoint *ep)  in whc_endpoint_reset()  argument 200 	qset = ep->hcpriv;  in whc_endpoint_reset() 205 		if (usb_endpoint_xfer_bulk(&ep->desc)  in whc_endpoint_reset() 206 		    || usb_endpoint_xfer_control(&ep->desc))  in whc_endpoint_reset()
  | 
| D | qset.c | 63 	qset->max_packet = le16_to_cpu(urb->ep->desc.wMaxPacketSize);  in qset_fill_qh() 65 	epcd = (struct usb_wireless_ep_comp_descriptor *)qset->ep->extra;  in qset_fill_qh() 163 	qset = urb->ep->hcpriv;  in get_qset() 169 		qset->ep = urb->ep;  in get_qset() 170 		urb->ep->hcpriv = qset;  in get_qset() 361 	dma_addr_t sp, ep;  in qset_fill_page_list()  local 372 	ep = dma_addr + std->len;  in qset_fill_page_list() 373 	std->num_pointers = DIV_ROUND_UP(ep - sp, WHCI_PAGE_SIZE);  in qset_fill_page_list() 453 		dma_addr_t sp, ep;  in qset_add_urb_sg()  local 509 			ep = dma_addr + dma_len;  in qset_add_urb_sg() [all …] 
 | 
| /linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/ | 
| D | aio_simple.c | 210 	int ep[2];  in main()  local 250 		ep[i] = open(ep_path, O_RDWR);  in main() 251 		if (ep[i] < 0) {  in main() 314 				if (e[i].obj->aio_fildes == ep[0]) {  in main() 317 				} else if (e[i].obj->aio_fildes == ep[1]) {  in main() 326 			io_prep_pwrite(iocb_in, ep[0], buf_in, BUF_LEN, 0);  in main() 340 			io_prep_pread(iocb_out, ep[1], buf_out, BUF_LEN, 0);  in main() 364 		close(ep[i]);  in main()
  | 
| /linux-4.4.14/drivers/scsi/be2iscsi/ | 
| D | be_iscsi.c | 40 struct iscsi_cls_session *beiscsi_session_create(struct iscsi_endpoint *ep,  in beiscsi_session_create()  argument 54 	if (!ep) {  in beiscsi_session_create() 59 	beiscsi_ep = ep->dd_data;  in beiscsi_session_create() 151 	beiscsi_conn->ep = NULL;  in beiscsi_conn_create() 206 	struct iscsi_endpoint *ep;  in beiscsi_conn_bind()  local 208 	ep = iscsi_lookup_endpoint(transport_fd);  in beiscsi_conn_bind() 209 	if (!ep)  in beiscsi_conn_bind() 212 	beiscsi_ep = ep->dd_data;  in beiscsi_conn_bind() 229 	beiscsi_conn->ep = beiscsi_ep;  in beiscsi_conn_bind() 641 int beiscsi_ep_get_param(struct iscsi_endpoint *ep,  in beiscsi_ep_get_param()  argument [all …] 
 | 
| D | be_iscsi.h | 53 struct iscsi_cls_session *beiscsi_session_create(struct iscsi_endpoint *ep, 67 int beiscsi_ep_get_param(struct iscsi_endpoint *ep, enum iscsi_param param, 84 int beiscsi_ep_poll(struct iscsi_endpoint *ep, int timeout_ms); 86 void beiscsi_ep_disconnect(struct iscsi_endpoint *ep);
  | 
| /linux-4.4.14/drivers/usb/c67x00/ | 
| D | c67x00.h | 105 #define DEVICE_N_ENDPOINT_N_CTL_REG(dev, ep)	((dev)  		\  argument 106 						 ? (0x0280 + (ep << 4)) \ 107 						 : (0x0200 + (ep << 4))) 108 #define DEVICE_N_ENDPOINT_N_STAT_REG(dev, ep)	((dev)			\  argument 109 						 ? (0x0286 + (ep << 4)) \ 110 						 : (0x0206 + (ep << 4)))
  | 
| /linux-4.4.14/drivers/usb/usbip/ | 
| D | stub_rx.c | 347 	struct usb_host_endpoint *ep;  in get_pipe()  local 351 		ep = udev->ep_in[epnum & 0x7f];  in get_pipe() 353 		ep = udev->ep_out[epnum & 0x7f];  in get_pipe() 354 	if (!ep) {  in get_pipe() 360 	epd = &ep->desc;  in get_pipe() 398 	struct usb_host_endpoint	*ep;  in masking_bogus_flags()  local 408 	ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out)  in masking_bogus_flags() 410 	if (!ep)  in masking_bogus_flags() 413 	xfertype = usb_endpoint_type(&ep->desc);  in masking_bogus_flags() 423 		is_out = usb_endpoint_dir_out(&ep->desc);  in masking_bogus_flags() [all …] 
 | 
| /linux-4.4.14/drivers/media/platform/exynos4-is/ | 
| D | media-dev.c | 197 static int __fimc_pipeline_open(struct exynos_media_pipeline *ep,  in __fimc_pipeline_open()  argument 201 	struct fimc_pipeline *p = to_fimc_pipeline(ep);  in __fimc_pipeline_open() 238 static int __fimc_pipeline_close(struct exynos_media_pipeline *ep)  in __fimc_pipeline_close()  argument 240 	struct fimc_pipeline *p = to_fimc_pipeline(ep);  in __fimc_pipeline_close() 266 static int __fimc_pipeline_s_stream(struct exynos_media_pipeline *ep, bool on)  in __fimc_pipeline_s_stream()  argument 272 	struct fimc_pipeline *p = to_fimc_pipeline(ep);  in __fimc_pipeline_s_stream() 313 	p->ep.ops = &fimc_pipeline_ops;  in fimc_md_pipeline_create() 314 	return &p->ep;  in fimc_md_pipeline_create() 334 	struct device_node *rem, *ep, *np;  in fimc_md_parse_port_node()  local 338 	ep = of_get_next_child(port, NULL);  in fimc_md_parse_port_node() [all …] 
 | 
| D | media-dev.h | 61 	struct exynos_media_pipeline ep;  member 67 #define to_fimc_pipeline(_ep) container_of(_ep, struct fimc_pipeline, ep) 199 				struct exynos_media_pipeline *ep,  in __fimc_md_get_subdev()  argument 202 	struct fimc_pipeline *p = to_fimc_pipeline(ep);  in __fimc_md_get_subdev()
  | 
| /linux-4.4.14/arch/x86/pci/ | 
| D | sta2x11-fixup.c | 87 	int ep;  in sta2x11_pdev_to_instance()  local 90 		ep = pdev->bus->number - instance->bus0;  in sta2x11_pdev_to_instance() 91 		if (ep >= 0 && ep < STA2X11_NR_EP)  in sta2x11_pdev_to_instance() 111 	int ep;  in sta2x11_pdev_to_mapping()  local 116 	ep = sta2x11_pdev_to_ep(pdev);  in sta2x11_pdev_to_mapping() 117 	return instance->map + ep;  in sta2x11_pdev_to_mapping()
  | 
| /linux-4.4.14/drivers/w1/masters/ | 
| D | ds2490.c | 145 	int			ep[NUM_EP];  member 206 	err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]),  in ds_send_control_cmd() 221 	err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]),  in ds_send_control_mode() 236 	err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]),  in ds_send_control() 256 		dev->ep[EP_STATUS]), buf, size, &count, 1000);  in ds_recv_status_nodump() 259 		       dev->ep[EP_STATUS], err);  in ds_recv_status_nodump() 278 	pr_info("0x%x: count=%d, status: ", dev->ep[EP_STATUS], count);  in ds_dump_status() 359 	err = usb_bulk_msg(dev->udev, usb_rcvbulkpipe(dev->udev, dev->ep[EP_DATA_IN]),  in ds_recv_data() 365 		pr_info("Clearing ep0x%x.\n", dev->ep[EP_DATA_IN]);  in ds_recv_data() 366 		usb_clear_halt(dev->udev, usb_rcvbulkpipe(dev->udev, dev->ep[EP_DATA_IN]));  in ds_recv_data() [all …] 
 | 
| /linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ | 
| D | atmel_hlcdc_output.c | 229 					   struct of_endpoint *ep)  in atmel_hlcdc_create_panel_output()  argument 237 	np = of_graph_get_remote_port_parent(ep->local_node);  in atmel_hlcdc_create_panel_output() 291 	struct of_endpoint ep;  in atmel_hlcdc_create_outputs()  local 304 	ret = of_graph_parse_endpoint(np, &ep);  in atmel_hlcdc_create_outputs() 311 	return atmel_hlcdc_create_panel_output(dev, &ep);  in atmel_hlcdc_create_outputs()
  | 
| /linux-4.4.14/fs/xfs/libxfs/ | 
| D | xfs_bmap.c | 346 	xfs_bmbt_rec_t		*ep;	/* pointer to current extent */  in xfs_bmap_check_leaf_extents()  local 435 		ep = XFS_BMBT_REC_ADDR(mp, block, 1);  in xfs_bmap_check_leaf_extents() 439 			       xfs_bmbt_disk_get_startoff(ep));  in xfs_bmap_check_leaf_extents() 443 			ASSERT(xfs_bmbt_disk_get_startoff(ep) +  in xfs_bmap_check_leaf_extents() 444 			       xfs_bmbt_disk_get_blockcount(ep) <=  in xfs_bmap_check_leaf_extents() 446 			ep = nextp;  in xfs_bmap_check_leaf_extents() 449 		last = *ep;  in xfs_bmap_check_leaf_extents() 734 	xfs_bmbt_rec_host_t	*ep;		/* extent record pointer */  in xfs_bmap_extents_to_btree()  local 829 		ep = xfs_iext_get_ext(ifp, i);  in xfs_bmap_extents_to_btree() 830 		if (!isnullstartblock(xfs_bmbt_get_startblock(ep))) {  in xfs_bmap_extents_to_btree() [all …] 
 | 
| /linux-4.4.14/drivers/gpu/drm/tilcdc/ | 
| D | tilcdc_external.c | 141 	struct device_node *ep = NULL;  in tilcdc_get_external_components()  local 144 	while ((ep = of_graph_get_next_endpoint(dev->of_node, ep))) {  in tilcdc_get_external_components() 147 		node = of_graph_get_remote_port_parent(ep);  in tilcdc_get_external_components()
  | 
| /linux-4.4.14/drivers/gpu/drm/rockchip/ | 
| D | rockchip_drm_drv.c | 391 	struct device_node *ep;  in rockchip_drm_encoder_get_mux_id()  local 400 	for_each_endpoint_of_node(node, ep) {  in rockchip_drm_encoder_get_mux_id() 401 		port = of_graph_get_remote_port(ep);  in rockchip_drm_encoder_get_mux_id() 404 			ret = of_graph_parse_endpoint(ep, &endpoint);  in rockchip_drm_encoder_get_mux_id() 405 			of_node_put(ep);  in rockchip_drm_encoder_get_mux_id() 425 	struct device_node *ep, *remote;  in rockchip_add_endpoints()  local 427 	for_each_child_of_node(port, ep) {  in rockchip_add_endpoints() 428 		remote = of_graph_get_remote_port_parent(ep);  in rockchip_add_endpoints()
  | 
| /linux-4.4.14/drivers/media/usb/uvc/ | 
| D | uvc_status.c | 165 	struct usb_host_endpoint *ep = dev->int_ep;  in uvc_status_init()  local 169 	if (ep == NULL)  in uvc_status_init() 184 	pipe = usb_rcvintpipe(dev->udev, ep->desc.bEndpointAddress);  in uvc_status_init() 189 	interval = ep->desc.bInterval;  in uvc_status_init()
  | 
| D | uvc_video.c | 1472 					 struct usb_host_endpoint *ep)  in uvc_endpoint_max_bpi()  argument 1478 		return le16_to_cpu(ep->ss_ep_comp.wBytesPerInterval);  in uvc_endpoint_max_bpi() 1480 		psize = usb_endpoint_maxp(&ep->desc);  in uvc_endpoint_max_bpi() 1483 		psize = usb_endpoint_maxp(&ep->desc);  in uvc_endpoint_max_bpi() 1486 		psize = usb_endpoint_maxp(&ep->desc);  in uvc_endpoint_max_bpi() 1496 	struct usb_host_endpoint *ep, gfp_t gfp_flags)  in uvc_init_video_isoc()  argument 1503 	psize = uvc_endpoint_max_bpi(stream->dev->udev, ep);  in uvc_init_video_isoc() 1522 				ep->desc.bEndpointAddress);  in uvc_init_video_isoc() 1529 		urb->interval = ep->desc.bInterval;  in uvc_init_video_isoc() 1551 	struct usb_host_endpoint *ep, gfp_t gfp_flags)  in uvc_init_video_bulk()  argument [all …] 
 | 
| /linux-4.4.14/drivers/media/usb/gspca/ | 
| D | gspca.c | 193 			  struct usb_endpoint_descriptor *ep)  in alloc_and_submit_int_urb()  argument 202 	buffer_len = le16_to_cpu(ep->wMaxPacketSize);  in alloc_and_submit_int_urb() 203 	interval = ep->bInterval;  in alloc_and_submit_int_urb() 206 		ep->bEndpointAddress, buffer_len, interval);  in alloc_and_submit_int_urb() 223 		usb_rcvintpipe(dev, ep->bEndpointAddress),  in alloc_and_submit_int_urb() 250 	struct usb_endpoint_descriptor *ep;  in gspca_input_create_urb()  local 257 			ep = &intf_desc->endpoint[i].desc;  in gspca_input_create_urb() 258 			if (usb_endpoint_dir_in(ep) &&  in gspca_input_create_urb() 259 			    usb_endpoint_xfer_int(ep)) {  in gspca_input_create_urb() 261 				alloc_and_submit_int_urb(gspca_dev, ep);  in gspca_input_create_urb() [all …] 
 | 
| /linux-4.4.14/drivers/scsi/ | 
| D | scsi_transport_iscsi.c | 158 	struct iscsi_endpoint *ep = iscsi_dev_to_endpoint(dev);  in iscsi_endpoint_release()  local 159 	kfree(ep);  in iscsi_endpoint_release() 170 	struct iscsi_endpoint *ep = iscsi_dev_to_endpoint(dev);  in show_ep_handle()  local 171 	return sprintf(buf, "%llu\n", (unsigned long long) ep->id);  in show_ep_handle() 173 static ISCSI_ATTR(ep, handle, S_IRUGO, show_ep_handle, NULL); 188 	struct iscsi_endpoint *ep = iscsi_dev_to_endpoint(dev);  in iscsi_match_epid()  local 191 	return *epid == ep->id;  in iscsi_match_epid() 198 	struct iscsi_endpoint *ep;  in iscsi_create_endpoint()  local 216 	ep = kzalloc(sizeof(*ep) + dd_size, GFP_KERNEL);  in iscsi_create_endpoint() 217 	if (!ep)  in iscsi_create_endpoint() [all …] 
 | 
| /linux-4.4.14/drivers/gpu/drm/exynos/ | 
| D | exynos_drm_dpi.c | 246 	struct device_node *np, *ep;  in exynos_dpi_of_find_panel_node()  local 252 	ep = of_graph_get_endpoint_by_reg(np, 0);  in exynos_dpi_of_find_panel_node() 254 	if (!ep)  in exynos_dpi_of_find_panel_node() 257 	np = of_graph_get_remote_port_parent(ep);  in exynos_dpi_of_find_panel_node() 258 	of_node_put(ep);  in exynos_dpi_of_find_panel_node()
  | 
| /linux-4.4.14/drivers/gpu/drm/rcar-du/ | 
| D | rcar_du_kms.c | 555 				     struct of_endpoint *ep)  in rcar_du_encoders_init_one()  argument 578 	entity = of_graph_get_remote_port_parent(ep->local_node);  in rcar_du_encoders_init_one() 581 			ep->local_node->full_name);  in rcar_du_encoders_init_one() 585 	entity_ep_node = of_parse_phandle(ep->local_node, "remote-endpoint", 0);  in rcar_du_encoders_init_one() 668 		struct of_endpoint ep;  in rcar_du_encoders_init()  local 672 		ret = of_graph_parse_endpoint(ep_node, &ep);  in rcar_du_encoders_init() 681 			    rcdu->info->routes[i].port == ep.port) {  in rcar_du_encoders_init() 690 				 ep.port);  in rcar_du_encoders_init() 695 		ret = rcar_du_encoders_init_one(rcdu, output, &ep);  in rcar_du_encoders_init()
  | 
| /linux-4.4.14/drivers/isdn/hisax/ | 
| D | hfc_usb.c | 1263 	struct usb_host_endpoint *ep;  in hfc_usb_probe()  local 1303 				ep = iface->endpoint;  in hfc_usb_probe() 1311 						ep->desc.bEndpointAddress;  in hfc_usb_probe() 1316 					attr = ep->desc.bmAttributes;  in hfc_usb_probe() 1332 					    && (ep->desc.bInterval < vcf[17])) {  in hfc_usb_probe() 1335 					ep++;  in hfc_usb_probe() 1362 			ep = iface->endpoint;  in hfc_usb_probe() 1366 				ep_addr = ep->desc.bEndpointAddress;  in hfc_usb_probe() 1372 				attr = ep->desc.bmAttributes;  in hfc_usb_probe() 1384 							 ep->desc.  in hfc_usb_probe() [all …] 
 | 
| /linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ | 
| D | dma.c | 280 				 struct sk_buff *skb, u8 ep)  in mt7601u_dma_submit_tx()  argument 283 	unsigned snd_pipe = usb_sndbulkpipe(usb_dev, dev->out_eps[ep]);  in mt7601u_dma_submit_tx() 285 	struct mt7601u_tx_queue *q = &dev->tx_q[ep];  in mt7601u_dma_submit_tx() 332 static enum mt76_qsel ep2dmaq(u8 ep)  in ep2dmaq()  argument 334 	if (ep == 5)  in ep2dmaq() 342 	u8 ep = q2ep(hw_q);  in mt7601u_dma_enqueue_tx()  local 350 	ret = mt7601u_dma_skb_wrap_pkt(skb, ep2dmaq(ep), dma_flags);  in mt7601u_dma_enqueue_tx() 354 	ret = mt7601u_dma_submit_tx(dev, skb, ep);  in mt7601u_dma_enqueue_tx()
  | 
| /linux-4.4.14/security/tomoyo/ | 
| D | realpath.c | 156 		char *ep;  in tomoyo_get_local_path()  local 157 		const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10);  in tomoyo_get_local_path() 158 		if (*ep == '/' && pid && pid ==  in tomoyo_get_local_path() 160 			pos = ep - 5;  in tomoyo_get_local_path()
  | 
| /linux-4.4.14/drivers/media/rc/ | 
| D | igorplugusb.c | 152 	struct usb_endpoint_descriptor *ep;  in igorplugusb_probe()  local 165 	ep = &idesc->endpoint[0].desc;  in igorplugusb_probe() 166 	if (!usb_endpoint_dir_in(ep) || !usb_endpoint_xfer_control(ep)) {  in igorplugusb_probe()
  |