Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/gpu/drm/tiny/
Drepaper.c199 static void repaper_even_pixels(struct repaper_epd *epd, u8 **pp, in repaper_even_pixels() argument
205 for (b = 0; b < (epd->width / 8); b++) { in repaper_even_pixels()
245 static void repaper_odd_pixels(struct repaper_epd *epd, u8 **pp, in repaper_odd_pixels() argument
251 for (b = epd->width / 8; b > 0; b--) { in repaper_odd_pixels()
295 static void repaper_all_pixels(struct repaper_epd *epd, u8 **pp, in repaper_all_pixels() argument
301 for (b = epd->width / 8; b > 0; b--) { in repaper_all_pixels()
339 static void repaper_one_line(struct repaper_epd *epd, unsigned int line, in repaper_one_line() argument
343 u8 *p = epd->line_buffer; in repaper_one_line()
346 repaper_spi_mosi_low(epd->spi); in repaper_one_line()
348 if (epd->pre_border_byte) in repaper_one_line()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/misc/mic/scif/
Dscif_epd.h156 static inline int scif_anon_inode_getfile(scif_epd_t epd) in scif_anon_inode_getfile() argument
158 epd->anon = anon_inode_getfile("scif", &scif_anon_fops, NULL, 0); in scif_anon_inode_getfile()
160 return PTR_ERR_OR_ZERO(epd->anon); in scif_anon_inode_getfile()
163 static inline void scif_anon_inode_fput(scif_epd_t epd) in scif_anon_inode_fput() argument
165 if (epd->anon) { in scif_anon_inode_fput()
166 fput(epd->anon); in scif_anon_inode_fput()
167 epd->anon = NULL; in scif_anon_inode_fput()
182 int scif_user_send(scif_epd_t epd, void __user *msg, int len, int flags);
183 int scif_user_recv(scif_epd_t epd, void __user *msg, int len, int flags);
193 int __scif_connect(scif_epd_t epd, struct scif_port_id *dst, bool non_block);
[all …]
Dscif_fence.c196 static int _scif_prog_signal(scif_epd_t epd, dma_addr_t dst, u64 val) in _scif_prog_signal() argument
198 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_prog_signal()
293 int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val, in scif_prog_signal() argument
296 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_prog_signal()
332 err = _scif_prog_signal(epd, dst_dma_addr, val); in scif_prog_signal()
339 static int _scif_fence_wait(scif_epd_t epd, int mark) in _scif_fence_wait() argument
341 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_fence_wait()
396 static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark) in _scif_send_fence() argument
401 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_send_fence()
459 static int scif_send_fence_mark(scif_epd_t epd, int *out_mark) in scif_send_fence_mark() argument
[all …]
Dscif_api.c154 int scif_close(scif_epd_t epd) in scif_close() argument
156 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_close()
184 scif_unregister_all_windows(epd); in scif_close()
206 scif_unregister_all_windows(epd); in scif_close()
309 int __scif_flush(scif_epd_t epd) in __scif_flush() argument
311 struct scif_endpt *ep = (struct scif_endpt *)epd; in __scif_flush()
328 int scif_bind(scif_epd_t epd, u16 pn) in scif_bind() argument
330 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_bind()
385 int scif_listen(scif_epd_t epd, int backlog) in scif_listen() argument
387 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_listen()
[all …]
Dscif_rma_list.h43 int scif_unregister_all_windows(scif_epd_t epd);
44 void scif_unmap_all_windows(scif_epd_t epd);
Dscif_dma.c342 scif_register_temp(scif_epd_t epd, unsigned long addr, size_t len, int prot, in scif_register_temp() argument
345 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_register_temp()
1533 static int scif_rma_list_dma_copy_wrapper(struct scif_endpt *epd, in scif_rma_list_dma_copy_wrapper() argument
1634 static int scif_rma_copy(scif_epd_t epd, off_t loffset, unsigned long addr, in scif_rma_copy() argument
1638 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_rma_copy()
1717 err = scif_register_temp(epd, req.va_for_temp, in scif_rma_copy()
1788 err = scif_rma_list_dma_copy_wrapper(epd, &copy_work, in scif_rma_copy()
1823 int scif_readfrom(scif_epd_t epd, off_t loffset, size_t len, in scif_readfrom() argument
1830 epd, loffset, len, roffset, flags); in scif_readfrom()
1833 err = scif_rma_copy(epd, loffset, 0x0, in scif_readfrom()
[all …]
Dscif_rma_list.c225 void scif_unmap_all_windows(scif_epd_t epd) in scif_unmap_all_windows() argument
229 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unmap_all_windows()
247 int scif_unregister_all_windows(scif_epd_t epd) in scif_unregister_all_windows() argument
251 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unregister_all_windows()
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dusb.c401 struct usb_endpoint_descriptor *epd; in mwifiex_usb_probe() local
448 epd = &iface_desc->endpoint[i].desc; in mwifiex_usb_probe()
449 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe()
450 usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT && in mwifiex_usb_probe()
451 (usb_endpoint_xfer_bulk(epd) || in mwifiex_usb_probe()
452 usb_endpoint_xfer_int(epd))) { in mwifiex_usb_probe()
453 card->rx_cmd_ep_type = usb_endpoint_type(epd); in mwifiex_usb_probe()
454 card->rx_cmd_interval = epd->bInterval; in mwifiex_usb_probe()
456 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe()
457 epd->bEndpointAddress, card->rx_cmd_ep_type); in mwifiex_usb_probe()
[all …]
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Ddevice.c558 static int dump_ep(struct c4iw_ep *ep, struct c4iw_debugfs_data *epd) in dump_ep() argument
563 space = epd->bufsize - epd->pos - 1; in dump_ep()
574 cc = snprintf(epd->buf + epd->pos, space, in dump_ep()
595 cc = snprintf(epd->buf + epd->pos, space, in dump_ep()
611 epd->pos += cc; in dump_ep()
616 int dump_listen_ep(struct c4iw_listen_ep *ep, struct c4iw_debugfs_data *epd) in dump_listen_ep() argument
621 space = epd->bufsize - epd->pos - 1; in dump_listen_ep()
631 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep()
644 cc = snprintf(epd->buf + epd->pos, space, in dump_listen_ep()
653 epd->pos += cc; in dump_listen_ep()
[all …]
/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_scif_server.c132 rc = scif_recv(cdev->epd, &msg, sizeof(msg), 0); in cosm_scif_recv()
177 rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_send_time()
196 scif_close(cdev->epd); in cosm_scif_close()
197 cdev->epd = NULL; in cosm_scif_close()
212 cdev->epd = cdev->newepd; in cosm_set_online()
246 pollepd.epd = cdev->epd; in cosm_scif_work()
/Linux-v5.4/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-v5.4/drivers/usb/core/
Dusb.c76 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument
82 switch (usb_endpoint_type(epd)) { in match_endpoint()
84 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
86 *bulk_in = epd; in match_endpoint()
91 *bulk_out = epd; in match_endpoint()
98 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
100 *int_in = epd; in match_endpoint()
105 *int_out = epd; in match_endpoint()
142 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
155 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
[all …]
/Linux-v5.4/drivers/usb/serial/
Dusb-serial.c719 struct usb_endpoint_descriptor *epd; in find_endpoints() local
729 epd = &iface_desc->endpoint[i].desc; in find_endpoints()
731 if (usb_endpoint_is_bulk_in(epd)) { in find_endpoints()
733 epds->bulk_in[epds->num_bulk_in++] = epd; in find_endpoints()
734 } else if (usb_endpoint_is_bulk_out(epd)) { in find_endpoints()
736 epds->bulk_out[epds->num_bulk_out++] = epd; in find_endpoints()
737 } else if (usb_endpoint_is_int_in(epd)) { in find_endpoints()
739 epds->interrupt_in[epds->num_interrupt_in++] = epd; in find_endpoints()
740 } else if (usb_endpoint_is_int_out(epd)) { in find_endpoints()
742 epds->interrupt_out[epds->num_interrupt_out++] = epd; in find_endpoints()
[all …]
/Linux-v5.4/drivers/staging/uwb/i1480/dfu/
Dusb.c227 struct usb_endpoint_descriptor *epd; in i1480_usb_wait_init_done() local
231 epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc; in i1480_usb_wait_init_done()
233 usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress), in i1480_usb_wait_init_done()
235 i1480_usb_neep_cb, i1480, epd->bInterval); in i1480_usb_wait_init_done()
282 struct usb_endpoint_descriptor *epd; in i1480_usb_cmd() local
288 epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc; in i1480_usb_cmd()
291 usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress), in i1480_usb_cmd()
293 i1480_usb_neep_cb, i1480, epd->bInterval); in i1480_usb_cmd()
/Linux-v5.4/drivers/staging/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-v5.4/sound/usb/
Dmidi.c2002 struct usb_endpoint_descriptor *epd; in snd_usbmidi_detect_endpoints() local
2018 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()
2019 if (!usb_endpoint_xfer_bulk(epd) && in snd_usbmidi_detect_endpoints()
2020 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2023 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints()
2024 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()
2025 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2026 endpoint[out_eps].out_interval = epd->bInterval; in snd_usbmidi_detect_endpoints()
2030 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints()
2031 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()
[all …]
/Linux-v5.4/drivers/usb/usbip/
Dstub_rx.c329 struct usb_endpoint_descriptor *epd = NULL; in get_pipe() local
343 epd = &ep->desc; in get_pipe()
345 if (usb_endpoint_xfer_control(epd)) { in get_pipe()
352 if (usb_endpoint_xfer_bulk(epd)) { in get_pipe()
359 if (usb_endpoint_xfer_int(epd)) { in get_pipe()
366 if (usb_endpoint_xfer_isoc(epd)) { in get_pipe()
/Linux-v5.4/fs/btrfs/
Dextent_io.c166 static void end_write_bio(struct extent_page_data *epd, int ret) in end_write_bio() argument
168 if (epd->bio) { in end_write_bio()
169 epd->bio->bi_status = errno_to_blk_status(ret); in end_write_bio()
170 bio_endio(epd->bio); in end_write_bio()
171 epd->bio = NULL; in end_write_bio()
181 static int __must_check flush_write_bio(struct extent_page_data *epd) in flush_write_bio() argument
185 if (epd->bio) { in flush_write_bio()
186 ret = submit_one_bio(epd->bio, 0, 0); in flush_write_bio()
194 epd->bio = NULL; in flush_write_bio()
3409 struct extent_page_data *epd, in __extent_writepage_io() argument
[all …]
/Linux-v5.4/drivers/usb/misc/
Dchaoskey.c111 struct usb_endpoint_descriptor *epd; in chaoskey_probe() local
121 res = usb_find_bulk_in_endpoint(altsetting, &epd); in chaoskey_probe()
127 in_ep = usb_endpoint_num(epd); in chaoskey_probe()
128 size = usb_endpoint_maxp(epd); in chaoskey_probe()
/Linux-v5.4/sound/usb/misc/
Dua101.c963 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local
1022 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1023 if (!usb_endpoint_is_isoc_in(epd)) { in detect_usb_format()
1027 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1028 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
1030 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1031 if (!usb_endpoint_is_isoc_out(epd)) { in detect_usb_format()
1035 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1036 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()

12