Home
last modified time | relevance | path

Searched refs:epd (Results 1 – 36 of 36) sorted by relevance

/linux-4.4.14/include/linux/
Dscif.h125 scif_epd_t epd; member
204 int scif_bind(scif_epd_t epd, u16 pn);
233 int scif_listen(scif_epd_t epd, int backlog);
274 int scif_connect(scif_epd_t epd, struct scif_port_id *dst);
331 int scif_accept(scif_epd_t epd, struct scif_port_id *peer, scif_epd_t
368 int scif_close(scif_epd_t epd);
419 int scif_send(scif_epd_t epd, void *msg, int len, int flags);
471 int scif_recv(scif_epd_t epd, void *msg, int len, int flags);
548 off_t scif_register(scif_epd_t epd, void *addr, size_t len, off_t offset,
597 int scif_unregister(scif_epd_t epd, off_t offset, size_t len);
[all …]
/linux-4.4.14/include/uapi/linux/usb/
Dch9.h425 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument
427 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
437 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument
439 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()
448 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument
450 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
460 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument
462 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
472 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument
474 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()
[all …]
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_epd.h165 static inline int scif_anon_inode_getfile(scif_epd_t epd) in scif_anon_inode_getfile() argument
167 epd->anon = anon_inode_getfile("scif", &scif_anon_fops, NULL, 0); in scif_anon_inode_getfile()
168 if (IS_ERR(epd->anon)) in scif_anon_inode_getfile()
169 return PTR_ERR(epd->anon); in scif_anon_inode_getfile()
173 static inline void scif_anon_inode_fput(scif_epd_t epd) in scif_anon_inode_fput() argument
175 if (epd->anon) { in scif_anon_inode_fput()
176 fput(epd->anon); in scif_anon_inode_fput()
177 epd->anon = NULL; in scif_anon_inode_fput()
192 int scif_user_send(scif_epd_t epd, void __user *msg, int len, int flags);
193 int scif_user_recv(scif_epd_t epd, void __user *msg, int len, int flags);
[all …]
Dscif_fence.c203 static int _scif_prog_signal(scif_epd_t epd, dma_addr_t dst, u64 val) in _scif_prog_signal() argument
205 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_prog_signal()
289 int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val, in scif_prog_signal() argument
292 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_prog_signal()
328 err = _scif_prog_signal(epd, dst_dma_addr, val); in scif_prog_signal()
335 static int _scif_fence_wait(scif_epd_t epd, int mark) in _scif_fence_wait() argument
337 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_fence_wait()
392 static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark) in _scif_send_fence() argument
397 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_send_fence()
455 static int scif_send_fence_mark(scif_epd_t epd, int *out_mark) in scif_send_fence_mark() argument
[all …]
Dscif_api.c163 int scif_close(scif_epd_t epd) in scif_close() argument
165 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_close()
192 scif_unregister_all_windows(epd); in scif_close()
214 scif_unregister_all_windows(epd); in scif_close()
317 int __scif_flush(scif_epd_t epd) in __scif_flush() argument
319 struct scif_endpt *ep = (struct scif_endpt *)epd; in __scif_flush()
336 int scif_bind(scif_epd_t epd, u16 pn) in scif_bind() argument
338 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_bind()
394 int scif_listen(scif_epd_t epd, int backlog) in scif_listen() argument
396 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_listen()
[all …]
Dscif_rma_list.h52 int scif_unregister_all_windows(scif_epd_t epd);
53 void scif_unmap_all_windows(scif_epd_t epd);
Dscif_dma.c375 scif_register_temp(scif_epd_t epd, unsigned long addr, size_t len, int prot, in scif_register_temp() argument
378 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register_temp()
1568 static int scif_rma_list_dma_copy_wrapper(struct scif_endpt *epd, in scif_rma_list_dma_copy_wrapper() argument
1674 static int scif_rma_copy(scif_epd_t epd, off_t loffset, unsigned long addr, in scif_rma_copy() argument
1678 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_rma_copy()
1757 err = scif_register_temp(epd, req.va_for_temp, in scif_rma_copy()
1828 err = scif_rma_list_dma_copy_wrapper(epd, &copy_work, in scif_rma_copy()
1863 int scif_readfrom(scif_epd_t epd, off_t loffset, size_t len, in scif_readfrom() argument
1870 epd, loffset, len, roffset, flags); in scif_readfrom()
1873 err = scif_rma_copy(epd, loffset, 0x0, in scif_readfrom()
[all …]
Dscif_rma_list.c234 void scif_unmap_all_windows(scif_epd_t epd) in scif_unmap_all_windows() argument
238 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unmap_all_windows()
256 int scif_unregister_all_windows(scif_epd_t epd) in scif_unregister_all_windows() argument
260 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unregister_all_windows()
Dscif_rma.h337 int _scif_fence_mark(scif_epd_t epd, int *mark);
338 int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val,
Dscif_mmap.c221 int scif_get_pages(scif_epd_t epd, off_t offset, size_t len, in scif_get_pages() argument
224 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_get_pages()
611 int scif_mmap(struct vm_area_struct *vma, scif_epd_t epd) in scif_mmap() argument
615 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_mmap()
Dscif_rma.c1490 off_t scif_register_pinned_pages(scif_epd_t epd, in scif_register_pinned_pages() argument
1494 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register_pinned_pages()
1592 off_t scif_register(scif_epd_t epd, void *addr, size_t len, off_t offset, in scif_register() argument
1597 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register()
1605 epd, addr, len, offset, prot, map_flags); in scif_register()
1704 epd, addr, len, computed_offset); in scif_register()
1717 scif_unregister(scif_epd_t epd, off_t offset, size_t len) in scif_unregister() argument
1719 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unregister()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dusb.c380 struct usb_endpoint_descriptor *epd; in mwifiex_usb_probe() local
425 epd = &iface_desc->endpoint[i].desc; in mwifiex_usb_probe()
426 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe()
427 usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT && in mwifiex_usb_probe()
428 usb_endpoint_xfer_bulk(epd)) { in mwifiex_usb_probe()
430 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe()
431 epd->bEndpointAddress); in mwifiex_usb_probe()
432 card->rx_cmd_ep = usb_endpoint_num(epd); in mwifiex_usb_probe()
435 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe()
436 usb_endpoint_num(epd) == MWIFIEX_USB_EP_DATA && in mwifiex_usb_probe()
[all …]
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c544 struct c4iw_debugfs_data *epd = data; in dump_ep() local
548 space = epd->bufsize - epd->pos - 1; in dump_ep()
562 cc = snprintf(epd->buf + epd->pos, space, in dump_ep()
586 cc = snprintf(epd->buf + epd->pos, space, in dump_ep()
602 epd->pos += cc; in dump_ep()
609 struct c4iw_debugfs_data *epd = data; in dump_listen_ep() local
613 space = epd->bufsize - epd->pos - 1; in dump_listen_ep()
623 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep()
636 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep()
645 epd->pos += cc; in dump_listen_ep()
[all …]
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_scif_server.c142 rc = scif_recv(cdev->epd, &msg, sizeof(msg), 0); in cosm_scif_recv()
183 rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_send_time()
202 scif_close(cdev->epd); in cosm_scif_close()
203 cdev->epd = NULL; in cosm_scif_close()
218 cdev->epd = cdev->newepd; in cosm_set_online()
252 pollepd.epd = cdev->epd; in cosm_scif_work()
Dcosm_main.c227 if (!cdev->epd) { in cosm_shutdown()
234 rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_shutdown()
/linux-4.4.14/drivers/net/wimax/i2400m/
Dusb-fw.c95 struct usb_endpoint_descriptor *epd; in i2400mu_tx_bulk_out() local
103 epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_out); in i2400mu_tx_bulk_out()
104 pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_tx_bulk_out()
249 struct usb_endpoint_descriptor *epd; in i2400mu_notif_submit() local
252 epd = usb_get_epd(i2400mu->usb_iface, in i2400mu_notif_submit()
254 pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_notif_submit()
258 epd->bInterval); in i2400mu_notif_submit()
Dusb-notif.c196 struct usb_endpoint_descriptor *epd; in i2400mu_notification_setup() local
212 epd = usb_get_epd(i2400mu->usb_iface, in i2400mu_notification_setup()
214 usb_pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_notification_setup()
217 i2400mu_notification_cb, i2400mu, epd->bInterval); in i2400mu_notification_setup()
Dusb-tx.c94 struct usb_endpoint_descriptor *epd; in i2400mu_tx() local
104 epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_out); in i2400mu_tx()
105 usb_pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_tx()
Dusb-rx.c197 struct usb_endpoint_descriptor *epd; in i2400mu_rx() local
208 epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_in); in i2400mu_rx()
209 usb_pipe = usb_rcvbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_rx()
Dusb.c161 struct usb_endpoint_descriptor *epd = NULL; in __i2400mu_send_barker() local
176 epd = usb_get_epd(i2400mu->usb_iface, endpoint); in __i2400mu_send_barker()
177 pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); in __i2400mu_send_barker()
/linux-4.4.14/drivers/uwb/i1480/dfu/
Dusb.c241 struct usb_endpoint_descriptor *epd; in i1480_usb_wait_init_done() local
245 epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc; in i1480_usb_wait_init_done()
247 usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress), in i1480_usb_wait_init_done()
249 i1480_usb_neep_cb, i1480, epd->bInterval); in i1480_usb_wait_init_done()
296 struct usb_endpoint_descriptor *epd; in i1480_usb_cmd() local
302 epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc; in i1480_usb_cmd()
305 usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress), in i1480_usb_cmd()
307 i1480_usb_neep_cb, i1480, epd->bInterval); in i1480_usb_cmd()
/linux-4.4.14/drivers/usb/wusbcore/
Dwa-nep.c266 struct usb_endpoint_descriptor *epd; in wa_nep_create() local
271 epd = &iface->cur_altsetting->endpoint[0].desc; in wa_nep_create()
285 usb_rcvintpipe(usb_dev, epd->bEndpointAddress), in wa_nep_create()
287 wa_nep_cb, wa, epd->bInterval); in wa_nep_create()
/linux-4.4.14/drivers/usb/usbip/
Dstub_rx.c348 struct usb_endpoint_descriptor *epd = NULL; in get_pipe() local
360 epd = &ep->desc; in get_pipe()
361 if (usb_endpoint_xfer_control(epd)) { in get_pipe()
368 if (usb_endpoint_xfer_bulk(epd)) { in get_pipe()
375 if (usb_endpoint_xfer_int(epd)) { in get_pipe()
382 if (usb_endpoint_xfer_isoc(epd)) { in get_pipe()
/linux-4.4.14/sound/usb/
Dmidi.c1978 struct usb_endpoint_descriptor *epd; in snd_usbmidi_detect_endpoints() local
1994 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()
1995 if (!usb_endpoint_xfer_bulk(epd) && in snd_usbmidi_detect_endpoints()
1996 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
1999 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints()
2000 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()
2001 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2002 endpoint[out_eps].out_interval = epd->bInterval; in snd_usbmidi_detect_endpoints()
2006 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints()
2007 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()
[all …]
Dquirks.c209 struct usb_endpoint_descriptor *epd; in create_auto_pcm_quirk() local
229 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk()
230 if (!usb_endpoint_xfer_isoc(epd)) in create_auto_pcm_quirk()
332 struct usb_endpoint_descriptor *epd; in create_auto_midi_quirk() local
341 epd = get_endpoint(alts, 0); in create_auto_midi_quirk()
342 if (!usb_endpoint_xfer_bulk(epd) && in create_auto_midi_quirk()
343 !usb_endpoint_xfer_int(epd)) in create_auto_midi_quirk()
Dpcm.c294 struct usb_endpoint_descriptor *epd; in search_roland_implicit_fb() local
307 epd = get_endpoint(*alts, 0); in search_roland_implicit_fb()
308 if (!usb_endpoint_is_isoc_in(epd) || in search_roland_implicit_fb()
309 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in search_roland_implicit_fb()
312 *ep = epd->bEndpointAddress; in search_roland_implicit_fb()
/linux-4.4.14/fs/btrfs/
Dextent_io.c3347 struct extent_page_data *epd, in writepage_delalloc() argument
3351 struct extent_io_tree *tree = epd->tree; in writepage_delalloc()
3359 if (epd->extent_locked || !tree->ops || !tree->ops->fill_delalloc) in writepage_delalloc()
3437 struct extent_page_data *epd, in __extent_writepage_io() argument
3442 struct extent_io_tree *tree = epd->tree; in __extent_writepage_io()
3501 em = epd->get_extent(inode, page, pg_offset, cur, in __extent_writepage_io()
3570 bdev, &epd->bio, max_nr, in __extent_writepage_io()
3600 struct extent_page_data *epd = data; in __extent_writepage() local
3644 ret = writepage_delalloc(inode, page, wbc, epd, start, &nr_written); in __extent_writepage()
3650 ret = __extent_writepage_io(inode, page, wbc, epd, in __extent_writepage()
[all …]
/linux-4.4.14/sound/usb/misc/
Dua101.c975 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local
1034 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1035 if (!usb_endpoint_is_isoc_in(epd)) { in detect_usb_format()
1039 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1040 ua->capture.max_packet_bytes = le16_to_cpu(epd->wMaxPacketSize); in detect_usb_format()
1042 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1043 if (!usb_endpoint_is_isoc_out(epd)) { in detect_usb_format()
1047 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1048 ua->playback.max_packet_bytes = le16_to_cpu(epd->wMaxPacketSize); in detect_usb_format()
/linux-4.4.14/drivers/misc/mic/bus/
Dcosm_bus.h75 scif_epd_t epd; member
/linux-4.4.14/drivers/usb/mon/
Dmon_bin.c485 const struct usb_endpoint_descriptor *epd = &urb->ep->desc; in mon_bin_event() local
508 if (usb_endpoint_xfer_isoc(epd)) { in mon_bin_event()
565 ep->xfer_type = xfer_to_pipe[usb_endpoint_type(epd)]; in mon_bin_event()
566 ep->epnum = dir | usb_endpoint_num(epd); in mon_bin_event()
577 if (usb_endpoint_xfer_int(epd)) { in mon_bin_event()
579 } else if (usb_endpoint_xfer_isoc(epd)) { in mon_bin_event()
586 if (usb_endpoint_xfer_control(epd) && ev_type == 'S') { in mon_bin_event()
/linux-4.4.14/drivers/uwb/
Dhwa-rc.c695 struct usb_endpoint_descriptor *epd; in hwarc_neep_init() local
697 epd = &iface->cur_altsetting->endpoint[0].desc; in hwarc_neep_init()
709 usb_rcvintpipe(usb_dev, epd->bEndpointAddress), in hwarc_neep_init()
711 hwarc_neep_cb, hwarc, epd->bInterval); in hwarc_neep_init()
/linux-4.4.14/drivers/usb/class/
Dusblp.c1242 struct usb_endpoint_descriptor *epd, *epwrite, *epread; in usblp_select_alts() local
1266 epd = &ifd->endpoint[e].desc; in usblp_select_alts()
1268 if (usb_endpoint_is_bulk_out(epd)) in usblp_select_alts()
1270 epwrite = epd; in usblp_select_alts()
1272 if (usb_endpoint_is_bulk_in(epd)) in usblp_select_alts()
1274 epread = epd; in usblp_select_alts()
/linux-4.4.14/drivers/video/fbdev/
Dxen-fbfront.c549 int epd = PAGE_SIZE / sizeof(info->gfns[0]); in xenfb_init_shared_page() local
554 for (i = 0; i * epd < info->nr_pages; i++) in xenfb_init_shared_page()
555 info->page->pd[i] = vmalloc_to_gfn(&info->gfns[i * epd]); in xenfb_init_shared_page()
DKconfig2380 This driver implements support for the AUO K1900 epd-controller.
2388 This driver implements support for the AUO K1901 epd-controller.
/linux-4.4.14/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c160 pollepd.epd = client_epd; in cosm_scif_client()
/linux-4.4.14/drivers/usb/musb/
Dmusb_host.c2200 struct usb_endpoint_descriptor *epd = &hep->desc; in musb_urb_enqueue() local
2246 qh->maxpacket = usb_endpoint_maxp(epd); in musb_urb_enqueue()
2247 qh->type = usb_endpoint_type(epd); in musb_urb_enqueue()
2267 qh->epnum = usb_endpoint_num(epd); in musb_urb_enqueue()
2294 interval = max_t(u8, epd->bInterval, 1); in musb_urb_enqueue()
2300 interval = min_t(u8, epd->bInterval, 16); in musb_urb_enqueue()
2354 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK); in musb_urb_enqueue()