/drivers/gpu/drm/tiny/ |
D | repaper.c | 200 static void repaper_even_pixels(struct repaper_epd *epd, u8 **pp, in repaper_even_pixels() argument 206 for (b = 0; b < (epd->width / 8); b++) { in repaper_even_pixels() 246 static void repaper_odd_pixels(struct repaper_epd *epd, u8 **pp, in repaper_odd_pixels() argument 252 for (b = epd->width / 8; b > 0; b--) { in repaper_odd_pixels() 296 static void repaper_all_pixels(struct repaper_epd *epd, u8 **pp, in repaper_all_pixels() argument 302 for (b = epd->width / 8; b > 0; b--) { in repaper_all_pixels() 340 static void repaper_one_line(struct repaper_epd *epd, unsigned int line, in repaper_one_line() argument 344 u8 *p = epd->line_buffer; in repaper_one_line() 347 repaper_spi_mosi_low(epd->spi); in repaper_one_line() 349 if (epd->pre_border_byte) in repaper_one_line() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | usb.c | 390 struct usb_endpoint_descriptor *epd; in mwifiex_usb_probe() local 437 epd = &iface_desc->endpoint[i].desc; in mwifiex_usb_probe() 438 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe() 439 usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT && in mwifiex_usb_probe() 440 (usb_endpoint_xfer_bulk(epd) || in mwifiex_usb_probe() 441 usb_endpoint_xfer_int(epd))) { in mwifiex_usb_probe() 442 card->rx_cmd_ep_type = usb_endpoint_type(epd); in mwifiex_usb_probe() 443 card->rx_cmd_interval = epd->bInterval; in mwifiex_usb_probe() 445 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 446 epd->bEndpointAddress, card->rx_cmd_ep_type); in mwifiex_usb_probe() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | device.c | 558 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 …]
|
/drivers/usb/common/ |
D | common.c | 232 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()
|
/drivers/usb/serial/ |
D | usb-serial.c | 800 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() 809 epds->bulk_in[epds->num_bulk_in++] = epd; in store_endpoint() 810 } else if (usb_endpoint_is_bulk_out(epd)) { in store_endpoint() 814 epds->bulk_out[epds->num_bulk_out++] = epd; in store_endpoint() 815 } else if (usb_endpoint_is_int_in(epd)) { in store_endpoint() 819 epds->interrupt_in[epds->num_interrupt_in++] = epd; in store_endpoint() 820 } else if (usb_endpoint_is_int_out(epd)) { in store_endpoint() 824 epds->interrupt_out[epds->num_interrupt_out++] = epd; in store_endpoint() [all …]
|
/drivers/usb/core/ |
D | usb.c | 75 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument 81 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() [all …]
|
D | quirks.c | 598 struct usb_endpoint_descriptor *epd) in usb_endpoint_is_ignored() argument 611 if (address == epd->bEndpointAddress) in usb_endpoint_is_ignored()
|
D | usb.h | 43 struct usb_endpoint_descriptor *epd);
|
D | config.c | 227 struct usb_endpoint_descriptor *epd; in config_endpoint_is_duplicate() local 243 epd = &alt->endpoint[k].desc; in config_endpoint_is_duplicate() 245 if (endpoint_is_duplicate(epd, d)) in config_endpoint_is_duplicate()
|
/drivers/usb/usbip/ |
D | stub_rx.c | 331 struct usb_endpoint_descriptor *epd = NULL; in get_pipe() local 345 epd = &ep->desc; in get_pipe() 347 if (usb_endpoint_xfer_control(epd)) { in get_pipe() 354 if (usb_endpoint_xfer_bulk(epd)) { in get_pipe() 361 if (usb_endpoint_xfer_int(epd)) { in get_pipe() 368 if (usb_endpoint_xfer_isoc(epd)) { in get_pipe()
|
/drivers/usb/host/ |
D | xhci-mtk-sch.c | 66 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()
|
/drivers/usb/misc/ |
D | chaoskey.c | 111 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()
|
D | uss720.c | 676 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()
|
/drivers/usb/mon/ |
D | mon_bin.c | 491 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()
|
/drivers/video/fbdev/ |
D | xen-fbfront.c | 531 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()
|
/drivers/usb/musb/ |
D | musb_host.c | 2122 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()
|