Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/tinydrm/
Drepaper.c191 static void repaper_even_pixels(struct repaper_epd *epd, u8 **pp, in repaper_even_pixels() argument
197 for (b = 0; b < (epd->width / 8); b++) { in repaper_even_pixels()
237 static void repaper_odd_pixels(struct repaper_epd *epd, u8 **pp, in repaper_odd_pixels() argument
243 for (b = epd->width / 8; b > 0; b--) { in repaper_odd_pixels()
287 static void repaper_all_pixels(struct repaper_epd *epd, u8 **pp, in repaper_all_pixels() argument
293 for (b = epd->width / 8; b > 0; b--) { in repaper_all_pixels()
331 static void repaper_one_line(struct repaper_epd *epd, unsigned int line, in repaper_one_line() argument
335 u8 *p = epd->line_buffer; in repaper_one_line()
338 repaper_spi_mosi_low(epd->spi); in repaper_one_line()
340 if (epd->pre_border_byte) in repaper_one_line()
[all …]
/Linux-v4.19/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-v4.19/include/uapi/linux/usb/
Dch9.h462 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument
464 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
474 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument
476 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()
485 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument
487 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
497 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument
499 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
509 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument
511 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()
[all …]
/Linux-v4.19/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.c204 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 …]
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()
193 scif_unregister_all_windows(epd); in scif_close()
215 scif_unregister_all_windows(epd); in scif_close()
318 int __scif_flush(scif_epd_t epd) in __scif_flush() argument
320 struct scif_endpt *ep = (struct scif_endpt *)epd; in __scif_flush()
337 int scif_bind(scif_epd_t epd, u16 pn) in scif_bind() argument
339 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.c356 scif_register_temp(scif_epd_t epd, unsigned long addr, size_t len, int prot, in scif_register_temp() argument
359 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register_temp()
1549 static int scif_rma_list_dma_copy_wrapper(struct scif_endpt *epd, in scif_rma_list_dma_copy_wrapper() argument
1655 static int scif_rma_copy(scif_epd_t epd, off_t loffset, unsigned long addr, in scif_rma_copy() argument
1659 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_rma_copy()
1738 err = scif_register_temp(epd, req.va_for_temp, in scif_rma_copy()
1809 err = scif_rma_list_dma_copy_wrapper(epd, &copy_work, in scif_rma_copy()
1844 int scif_readfrom(scif_epd_t epd, off_t loffset, size_t len, in scif_readfrom() argument
1851 epd, loffset, len, roffset, flags); in scif_readfrom()
1854 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()
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dusb.c388 struct usb_endpoint_descriptor *epd; in mwifiex_usb_probe() local
435 epd = &iface_desc->endpoint[i].desc; in mwifiex_usb_probe()
436 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe()
437 usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT && in mwifiex_usb_probe()
438 (usb_endpoint_xfer_bulk(epd) || in mwifiex_usb_probe()
439 usb_endpoint_xfer_int(epd))) { in mwifiex_usb_probe()
440 card->rx_cmd_ep_type = usb_endpoint_type(epd); in mwifiex_usb_probe()
441 card->rx_cmd_interval = epd->bInterval; in mwifiex_usb_probe()
443 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe()
444 epd->bEndpointAddress, card->rx_cmd_ep_type); in mwifiex_usb_probe()
[all …]
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Ddevice.c564 struct c4iw_debugfs_data *epd = data; in dump_ep() local
568 space = epd->bufsize - epd->pos - 1; in dump_ep()
579 cc = snprintf(epd->buf + epd->pos, space, in dump_ep()
600 cc = snprintf(epd->buf + epd->pos, space, in dump_ep()
616 epd->pos += cc; in dump_ep()
623 struct c4iw_debugfs_data *epd = data; in dump_listen_ep() local
627 space = epd->bufsize - epd->pos - 1; in dump_listen_ep()
637 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep()
650 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep()
659 epd->pos += cc; in dump_listen_ep()
[all …]
/Linux-v4.19/drivers/misc/mic/cosm/
Dcosm_scif_server.c144 rc = scif_recv(cdev->epd, &msg, sizeof(msg), 0); in cosm_scif_recv()
189 rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_send_time()
208 scif_close(cdev->epd); in cosm_scif_close()
209 cdev->epd = NULL; in cosm_scif_close()
224 cdev->epd = cdev->newepd; in cosm_set_online()
258 pollepd.epd = cdev->epd; in cosm_scif_work()
/Linux-v4.19/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
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()
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()
/Linux-v4.19/drivers/usb/serial/
Dusb-serial.c701 struct usb_endpoint_descriptor *epd; in find_endpoints() local
711 epd = &iface_desc->endpoint[i].desc; in find_endpoints()
713 if (usb_endpoint_is_bulk_in(epd)) { in find_endpoints()
715 epds->bulk_in[epds->num_bulk_in++] = epd; in find_endpoints()
716 } else if (usb_endpoint_is_bulk_out(epd)) { in find_endpoints()
718 epds->bulk_out[epds->num_bulk_out++] = epd; in find_endpoints()
719 } else if (usb_endpoint_is_int_in(epd)) { in find_endpoints()
721 epds->interrupt_in[epds->num_interrupt_in++] = epd; in find_endpoints()
722 } else if (usb_endpoint_is_int_out(epd)) { in find_endpoints()
724 epds->interrupt_out[epds->num_interrupt_out++] = epd; in find_endpoints()
[all …]
/Linux-v4.19/drivers/usb/core/
Dusb.c77 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument
83 switch (usb_endpoint_type(epd)) { in match_endpoint()
85 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
87 *bulk_in = epd; in match_endpoint()
92 *bulk_out = epd; in match_endpoint()
99 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
101 *int_in = epd; in match_endpoint()
106 *int_out = epd; in match_endpoint()
143 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
156 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
[all …]
/Linux-v4.19/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-v4.19/drivers/usb/usbip/
Dstub_rx.c326 struct usb_endpoint_descriptor *epd = NULL; in get_pipe() local
340 epd = &ep->desc; in get_pipe()
342 if (usb_endpoint_xfer_control(epd)) { in get_pipe()
349 if (usb_endpoint_xfer_bulk(epd)) { in get_pipe()
356 if (usb_endpoint_xfer_int(epd)) { in get_pipe()
363 if (usb_endpoint_xfer_isoc(epd)) { in get_pipe()
367 maxp = usb_endpoint_maxp(epd); in get_pipe()
368 maxp *= usb_endpoint_maxp_mult(epd); in get_pipe()
/Linux-v4.19/drivers/usb/wusbcore/
Dwa-nep.c252 struct usb_endpoint_descriptor *epd; in wa_nep_create() local
257 epd = &iface->cur_altsetting->endpoint[0].desc; in wa_nep_create()
266 usb_rcvintpipe(usb_dev, epd->bEndpointAddress), in wa_nep_create()
268 wa_nep_cb, wa, epd->bInterval); in wa_nep_create()
/Linux-v4.19/sound/usb/
Dmidi.c2003 struct usb_endpoint_descriptor *epd; in snd_usbmidi_detect_endpoints() local
2019 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()
2020 if (!usb_endpoint_xfer_bulk(epd) && in snd_usbmidi_detect_endpoints()
2021 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2024 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints()
2025 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()
2026 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2027 endpoint[out_eps].out_interval = epd->bInterval; in snd_usbmidi_detect_endpoints()
2031 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints()
2032 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()
[all …]
/Linux-v4.19/fs/btrfs/
Dextent_io.c141 static void flush_write_bio(struct extent_page_data *epd);
3211 struct extent_page_data *epd, in writepage_delalloc() argument
3215 struct extent_io_tree *tree = epd->tree; in writepage_delalloc()
3223 if (epd->extent_locked || !tree->ops || !tree->ops->fill_delalloc) in writepage_delalloc()
3299 struct extent_page_data *epd, in __extent_writepage_io() argument
3304 struct extent_io_tree *tree = epd->tree; in __extent_writepage_io()
3420 bdev, &epd->bio, in __extent_writepage_io()
3445 struct extent_page_data *epd) in __extent_writepage() argument
3488 ret = writepage_delalloc(inode, page, wbc, epd, start, &nr_written); in __extent_writepage()
3494 ret = __extent_writepage_io(inode, page, wbc, epd, in __extent_writepage()
[all …]
/Linux-v4.19/drivers/usb/misc/
Dchaoskey.c110 struct usb_endpoint_descriptor *epd; in chaoskey_probe() local
120 res = usb_find_bulk_in_endpoint(altsetting, &epd); in chaoskey_probe()
126 in_ep = usb_endpoint_num(epd); in chaoskey_probe()
127 size = usb_endpoint_maxp(epd); in chaoskey_probe()
/Linux-v4.19/sound/usb/misc/
Dua101.c973 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local
1032 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1033 if (!usb_endpoint_is_isoc_in(epd)) { in detect_usb_format()
1037 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1038 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
1040 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1041 if (!usb_endpoint_is_isoc_out(epd)) { in detect_usb_format()
1045 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1046 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()

12