Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/tiny/
H A Drepaper.c415 repaper_write_buf(epd->spi, 0x0a, epd->line_buffer, in repaper_one_line()
509 epd->factored_stage_time = epd->stage_time * factor10x / 10; in repaper_get_temperature()
553 repaper_frame_data_repeat(epd, buf, epd->current_frame, in repaper_fb_dirty()
556 repaper_frame_data_repeat(epd, epd->current_frame, NULL, in repaper_fb_dirty()
558 repaper_frame_data_repeat(epd, epd->current_frame, NULL, in repaper_fb_dirty()
612 if (epd->border) in power_off()
652 if (epd->border) in repaper_pipe_enable()
826 power_off(epd); in repaper_pipe_disable()
979 epd->spi = spi; in repaper_probe()
1078 epd->factored_stage_time = epd->stage_time; in repaper_probe()
[all …]
/openbmc/u-boot/include/linux/usb/
H A Dch9.h486 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument
498 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument
511 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_control() argument
525 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_int() argument
555 return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_in(epd); in usb_endpoint_is_bulk_in()
568 return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_out(epd); in usb_endpoint_is_bulk_out()
581 return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd); in usb_endpoint_is_int_in()
594 return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_out(epd); in usb_endpoint_is_int_out()
607 return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_in(epd); in usb_endpoint_is_isoc_in()
620 return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_out(epd); in usb_endpoint_is_isoc_out()
[all …]
/openbmc/linux/sound/usb/
H A Dimplicit.c116 struct usb_endpoint_descriptor *epd; in add_generic_uac2_implicit_fb() local
126 epd = get_endpoint(alts, 0); in add_generic_uac2_implicit_fb()
127 if (!usb_endpoint_is_isoc_in(epd) || in add_generic_uac2_implicit_fb()
155 epd = get_endpoint(alts, 0); in add_roland_implicit_fb()
166 epd = get_endpoint(alts, 0); in add_roland_implicit_fb()
184 epd = get_endpoint(alts, 0); in add_roland_capture_quirk()
194 epd = get_endpoint(alts, 0); in add_roland_capture_quirk()
195 if (!usb_endpoint_is_isoc_out(epd)) in add_roland_capture_quirk()
218 epd = get_endpoint(alts, 0); in is_pioneer_implicit_fb()
223 epd = get_endpoint(alts, 1); in is_pioneer_implicit_fb()
[all …]
H A Dmidi.c2122 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()
2124 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2127 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints()
2129 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2134 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints()
2136 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()
2276 epd = get_endpoint(hostif, 0); in snd_usbmidi_create_endpoints_midiman()
2277 if (!usb_endpoint_dir_in(epd) || !usb_endpoint_xfer_int(epd)) { in snd_usbmidi_create_endpoints_midiman()
2281 epd = get_endpoint(hostif, 2); in snd_usbmidi_create_endpoints_midiman()
2282 if (!usb_endpoint_dir_out(epd) || !usb_endpoint_xfer_bulk(epd)) { in snd_usbmidi_create_endpoints_midiman()
[all …]
H A Dquirks.c222 struct usb_endpoint_descriptor *epd; in create_auto_pcm_quirk() local
242 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk()
243 if (!usb_endpoint_xfer_isoc(epd)) in create_auto_pcm_quirk()
348 struct usb_endpoint_descriptor *epd; in create_auto_midi_quirk() local
357 epd = get_endpoint(alts, 0); in create_auto_midi_quirk()
358 if (!usb_endpoint_xfer_bulk(epd) && in create_auto_midi_quirk()
359 !usb_endpoint_xfer_int(epd)) in create_auto_midi_quirk()
/openbmc/linux/include/uapi/linux/usb/
H A Dch9.h504 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument
516 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument
529 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_control() argument
543 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_int() argument
573 return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_in(epd); in usb_endpoint_is_bulk_in()
586 return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_out(epd); in usb_endpoint_is_bulk_out()
599 return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd); in usb_endpoint_is_int_in()
612 return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_out(epd); in usb_endpoint_is_int_out()
625 return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_in(epd); in usb_endpoint_is_isoc_in()
638 return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_out(epd); in usb_endpoint_is_isoc_out()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dusb.c438 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe()
450 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe()
452 usb_endpoint_xfer_bulk(epd)) { in mwifiex_usb_probe()
455 epd->bEndpointAddress); in mwifiex_usb_probe()
459 if (usb_endpoint_dir_out(epd) && in mwifiex_usb_probe()
461 usb_endpoint_xfer_bulk(epd)) { in mwifiex_usb_probe()
464 epd->bEndpointAddress); in mwifiex_usb_probe()
468 if (usb_endpoint_dir_out(epd) && in mwifiex_usb_probe()
474 epd->bEndpointAddress); in mwifiex_usb_probe()
478 if (usb_endpoint_dir_out(epd) && in mwifiex_usb_probe()
[all …]
/openbmc/linux/drivers/usb/common/
H A Dcommon.c232 unsigned int usb_decode_interval(const struct usb_endpoint_descriptor *epd, in usb_decode_interval() argument
237 switch (usb_endpoint_type(epd)) { in usb_decode_interval()
241 interval = epd->bInterval; in usb_decode_interval()
244 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
248 if (speed == USB_SPEED_HIGH && usb_endpoint_dir_out(epd)) in usb_decode_interval()
249 interval = epd->bInterval; in usb_decode_interval()
253 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
255 interval = epd->bInterval; in usb_decode_interval()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Ddevice.c563 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()
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()
660 if (!epd) { in ep_release()
665 kfree(epd); in ep_release()
678 epd = kmalloc(sizeof(*epd), GFP_KERNEL); in ep_open()
679 if (!epd) { in ep_open()
[all …]
/openbmc/linux/drivers/usb/core/
H A Dusb.c81 switch (usb_endpoint_type(epd)) { in match_endpoint()
83 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
85 *bulk_in = epd; in match_endpoint()
90 *bulk_out = epd; in match_endpoint()
97 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
99 *int_in = epd; in match_endpoint()
104 *int_out = epd; in match_endpoint()
141 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
154 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
187 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints_reverse() local
[all …]
H A Dquirks.c598 struct usb_endpoint_descriptor *epd) in usb_endpoint_is_ignored() argument
611 if (address == epd->bEndpointAddress) in usb_endpoint_is_ignored()
H A Dusb.h43 struct usb_endpoint_descriptor *epd);
/openbmc/linux/drivers/usb/serial/
H A Dusb-serial.c800 struct usb_endpoint_descriptor *epd) in store_endpoint() argument
803 u8 addr = epd->bEndpointAddress; in store_endpoint()
805 if (usb_endpoint_is_bulk_in(epd)) { in store_endpoint()
833 struct usb_endpoint_descriptor *epd; in find_endpoints() local
838 epd = &iface_desc->endpoint[i].desc; in find_endpoints()
839 store_endpoint(serial, epds, epd); in find_endpoints()
888 buffer_size = usb_endpoint_maxp(epd); in setup_port_bulk_out()
922 buffer_size = usb_endpoint_maxp(epd); in setup_port_interrupt_in()
931 epd->bInterval); in setup_port_interrupt_in()
946 buffer_size = usb_endpoint_maxp(epd); in setup_port_interrupt_out()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c66 struct usb_endpoint_descriptor *epd = &ep->desc; in decode_ep() local
70 interval = usb_decode_interval(epd, speed); in decode_ep()
79 usb_speed_string(speed), usb_endpoint_num(epd), in decode_ep()
80 usb_endpoint_dir_in(epd) ? "in" : "out", in decode_ep()
81 usb_ep_type_string(usb_endpoint_type(epd)), in decode_ep()
82 usb_endpoint_maxp(epd), epd->bInterval, interval, unit); in decode_ep()
/openbmc/linux/drivers/usb/usbip/
H A Dstub_rx.c340 struct usb_endpoint_descriptor *epd = NULL; in get_pipe() local
354 epd = &ep->desc; in get_pipe()
356 if (usb_endpoint_xfer_control(epd)) { in get_pipe()
363 if (usb_endpoint_xfer_bulk(epd)) { in get_pipe()
370 if (usb_endpoint_xfer_int(epd)) { in get_pipe()
377 if (usb_endpoint_xfer_isoc(epd)) { in get_pipe()
/openbmc/linux/sound/usb/misc/
H A Dua101.c943 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local
1002 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1003 if (!usb_endpoint_is_isoc_in(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format()
1007 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1008 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
1010 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()
1011 if (!usb_endpoint_is_isoc_out(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format()
1015 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1016 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
/openbmc/linux/include/linux/usb/
H A Dch9.h51 unsigned int usb_decode_interval(const struct usb_endpoint_descriptor *epd,
/openbmc/linux/drivers/usb/misc/
H A 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()
H A Duss720.c676 struct usb_endpoint_descriptor *epd; in uss720_probe() local
738 ret = usb_find_last_int_in_endpoint(interface, &epd); in uss720_probe()
741 epd->bEndpointAddress, epd->bInterval); in uss720_probe()
/openbmc/linux/drivers/usb/mon/
H A Dmon_bin.c491 const struct usb_endpoint_descriptor *epd = &urb->ep->desc; in mon_bin_event() local
514 if (usb_endpoint_xfer_isoc(epd)) { in mon_bin_event()
571 ep->xfer_type = xfer_to_pipe[usb_endpoint_type(epd)]; in mon_bin_event()
572 ep->epnum = dir | usb_endpoint_num(epd); in mon_bin_event()
583 if (usb_endpoint_xfer_int(epd)) { in mon_bin_event()
585 } else if (usb_endpoint_xfer_isoc(epd)) { in mon_bin_event()
592 if (usb_endpoint_xfer_control(epd) && ev_type == 'S') { in mon_bin_event()
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dsilergy,sy7636a.yaml30 epd-pwr-good-gpios:
/openbmc/linux/drivers/video/fbdev/
H A Dxen-fbfront.c531 int epd = PAGE_SIZE / sizeof(info->gfns[0]); in xenfb_init_shared_page() local
536 for (i = 0; i * epd < info->nr_pages; i++) in xenfb_init_shared_page()
537 info->page->pd[i] = vmalloc_to_gfn(&info->gfns[i * epd]); in xenfb_init_shared_page()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_host.c1922 struct usb_endpoint_descriptor *epd = &hep->desc; local
1968 qh->maxpacket = usb_endpoint_maxp(epd);
1969 qh->type = usb_endpoint_type(epd);
1989 qh->epnum = usb_endpoint_num(epd);
2016 interval = max_t(u8, epd->bInterval, 1);
2022 interval = min_t(u8, epd->bInterval, 16);
2096 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK);
/openbmc/linux/drivers/usb/musb/
H A Dmusb_host.c2122 struct usb_endpoint_descriptor *epd = &hep->desc; in musb_urb_enqueue() local
2170 qh->maxpacket = usb_endpoint_maxp(epd); in musb_urb_enqueue()
2171 qh->type = usb_endpoint_type(epd); in musb_urb_enqueue()
2177 qh->hb_mult = usb_endpoint_maxp_mult(epd); in musb_urb_enqueue()
2195 qh->epnum = usb_endpoint_num(epd); in musb_urb_enqueue()
2222 interval = max_t(u8, epd->bInterval, 1); in musb_urb_enqueue()
2228 interval = min_t(u8, epd->bInterval, 16); in musb_urb_enqueue()
2282 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK); in musb_urb_enqueue()
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx7d-remarkable2.dts27 epd-thermal {
325 epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>;

12