/drivers/misc/mic/scif/ |
D | scif_epd.h | 165 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 …]
|
D | scif_fence.c | 204 static int _scif_prog_signal(scif_epd_t epd, dma_addr_t dst, u64 val) in _scif_prog_signal() argument 206 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_prog_signal() 290 int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val, in scif_prog_signal() argument 293 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_prog_signal() 329 err = _scif_prog_signal(epd, dst_dma_addr, val); in scif_prog_signal() 336 static int _scif_fence_wait(scif_epd_t epd, int mark) in _scif_fence_wait() argument 338 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_fence_wait() 393 static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark) in _scif_send_fence() argument 398 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_send_fence() 456 static int scif_send_fence_mark(scif_epd_t epd, int *out_mark) in scif_send_fence_mark() argument [all …]
|
D | scif_api.c | 163 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 …]
|
D | scif_dma.c | 364 scif_register_temp(scif_epd_t epd, unsigned long addr, size_t len, int prot, in scif_register_temp() argument 367 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register_temp() 1557 static int scif_rma_list_dma_copy_wrapper(struct scif_endpt *epd, in scif_rma_list_dma_copy_wrapper() argument 1663 static int scif_rma_copy(scif_epd_t epd, off_t loffset, unsigned long addr, in scif_rma_copy() argument 1667 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_rma_copy() 1746 err = scif_register_temp(epd, req.va_for_temp, in scif_rma_copy() 1817 err = scif_rma_list_dma_copy_wrapper(epd, ©_work, in scif_rma_copy() 1852 int scif_readfrom(scif_epd_t epd, off_t loffset, size_t len, in scif_readfrom() argument 1859 epd, loffset, len, roffset, flags); in scif_readfrom() 1862 err = scif_rma_copy(epd, loffset, 0x0, in scif_readfrom() [all …]
|
D | scif_rma_list.h | 52 int scif_unregister_all_windows(scif_epd_t epd); 53 void scif_unmap_all_windows(scif_epd_t epd);
|
D | scif_rma_list.c | 234 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()
|
D | scif_rma.h | 337 int _scif_fence_mark(scif_epd_t epd, int *mark); 338 int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val,
|
D | scif_mmap.c | 221 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()
|
D | scif_rma.c | 1487 off_t scif_register_pinned_pages(scif_epd_t epd, in scif_register_pinned_pages() argument 1491 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register_pinned_pages() 1589 off_t scif_register(scif_epd_t epd, void *addr, size_t len, off_t offset, in scif_register() argument 1594 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register() 1602 epd, addr, len, offset, prot, map_flags); in scif_register() 1701 epd, addr, len, computed_offset); in scif_register() 1714 scif_unregister(scif_epd_t epd, off_t offset, size_t len) in scif_unregister() argument 1716 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unregister()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | usb.c | 380 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 …]
|
/drivers/infiniband/hw/cxgb4/ |
D | device.c | 527 struct c4iw_debugfs_data *epd = data; in dump_ep() local 531 space = epd->bufsize - epd->pos - 1; in dump_ep() 545 cc = snprintf(epd->buf + epd->pos, space, in dump_ep() 569 cc = snprintf(epd->buf + epd->pos, space, in dump_ep() 585 epd->pos += cc; in dump_ep() 592 struct c4iw_debugfs_data *epd = data; in dump_listen_ep() local 596 space = epd->bufsize - epd->pos - 1; in dump_listen_ep() 606 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep() 619 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep() 628 epd->pos += cc; in dump_listen_ep() [all …]
|
/drivers/misc/mic/cosm/ |
D | cosm_scif_server.c | 142 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()
|
D | cosm_main.c | 232 if (!cdev->epd) { in cosm_shutdown() 239 rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_shutdown()
|
/drivers/net/wimax/i2400m/ |
D | usb-fw.c | 95 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()
|
D | usb-notif.c | 196 struct usb_endpoint_descriptor *epd; in i2400mu_notification_setup() local 211 epd = usb_get_epd(i2400mu->usb_iface, in i2400mu_notification_setup() 213 usb_pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_notification_setup() 216 i2400mu_notification_cb, i2400mu, epd->bInterval); in i2400mu_notification_setup()
|
D | usb-tx.c | 94 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()
|
D | usb-rx.c | 197 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()
|
D | usb.c | 161 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()
|
/drivers/uwb/i1480/dfu/ |
D | usb.c | 241 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()
|
/drivers/usb/usbip/ |
D | stub_rx.c | 340 struct usb_endpoint_descriptor *epd = NULL; in get_pipe() local 354 epd = &ep->desc; in get_pipe() 364 if (usb_endpoint_xfer_control(epd)) { in get_pipe() 371 if (usb_endpoint_xfer_bulk(epd)) { in get_pipe() 378 if (usb_endpoint_xfer_int(epd)) { in get_pipe() 385 if (usb_endpoint_xfer_isoc(epd)) { in get_pipe() 389 maxp = usb_endpoint_maxp(epd); in get_pipe() 390 maxp *= usb_endpoint_maxp_mult(epd); in get_pipe()
|
/drivers/usb/wusbcore/ |
D | wa-nep.c | 266 struct usb_endpoint_descriptor *epd; in wa_nep_create() local 271 epd = &iface->cur_altsetting->endpoint[0].desc; in wa_nep_create() 280 usb_rcvintpipe(usb_dev, epd->bEndpointAddress), in wa_nep_create() 282 wa_nep_cb, wa, epd->bInterval); in wa_nep_create()
|
/drivers/usb/mon/ |
D | mon_bin.c | 486 const struct usb_endpoint_descriptor *epd = &urb->ep->desc; in mon_bin_event() local 509 if (usb_endpoint_xfer_isoc(epd)) { in mon_bin_event() 566 ep->xfer_type = xfer_to_pipe[usb_endpoint_type(epd)]; in mon_bin_event() 567 ep->epnum = dir | usb_endpoint_num(epd); in mon_bin_event() 578 if (usb_endpoint_xfer_int(epd)) { in mon_bin_event() 580 } else if (usb_endpoint_xfer_isoc(epd)) { in mon_bin_event() 587 if (usb_endpoint_xfer_control(epd) && ev_type == 'S') { in mon_bin_event()
|
/drivers/uwb/ |
D | hwa-rc.c | 695 struct usb_endpoint_descriptor *epd; in hwarc_neep_init() local 697 epd = &iface->cur_altsetting->endpoint[0].desc; in hwarc_neep_init() 707 usb_rcvintpipe(usb_dev, epd->bEndpointAddress), in hwarc_neep_init() 709 hwarc_neep_cb, hwarc, epd->bInterval); in hwarc_neep_init()
|
/drivers/usb/class/ |
D | usblp.c | 1242 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()
|
/drivers/misc/mic/bus/ |
D | cosm_bus.h | 77 scif_epd_t epd; member
|