| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tiny/ |
| H A D | repaper.c | 199 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 …]
|
| /OK3568_Linux_fs/u-boot/include/linux/usb/ |
| H A D | ch9.h | 451 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument 453 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num() 463 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument 465 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 474 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument 476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 486 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument 488 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out() 498 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument 500 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/usb/ |
| H A D | ch9.h | 462 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/usb/ |
| H A D | ch9.h | 462 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 …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/usb/ |
| H A D | ch9.h | 469 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument 471 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num() 481 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument 483 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 492 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument 494 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 504 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument 506 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out() 516 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument 518 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | usb.c | 402 struct usb_endpoint_descriptor *epd; in mwifiex_usb_probe() local 449 epd = &iface_desc->endpoint[i].desc; in mwifiex_usb_probe() 450 if (usb_endpoint_dir_in(epd) && in mwifiex_usb_probe() 451 usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT && in mwifiex_usb_probe() 452 (usb_endpoint_xfer_bulk(epd) || in mwifiex_usb_probe() 453 usb_endpoint_xfer_int(epd))) { in mwifiex_usb_probe() 454 card->rx_cmd_ep_type = usb_endpoint_type(epd); in mwifiex_usb_probe() 455 card->rx_cmd_interval = epd->bInterval; in mwifiex_usb_probe() 457 le16_to_cpu(epd->wMaxPacketSize), in mwifiex_usb_probe() 458 epd->bEndpointAddress, card->rx_cmd_ep_type); in mwifiex_usb_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/GobiNet/ |
| H A D | Structs.h | 91 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument 93 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 104 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument 106 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 116 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument 118 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out() 129 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_int() argument 131 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/common/ |
| H A D | common.c | 211 unsigned int usb_decode_interval(const struct usb_endpoint_descriptor *epd, in usb_decode_interval() argument 216 switch (usb_endpoint_type(epd)) { in usb_decode_interval() 220 interval = epd->bInterval; in usb_decode_interval() 223 interval = 1 << (epd->bInterval - 1); in usb_decode_interval() 227 if (speed == USB_SPEED_HIGH && usb_endpoint_dir_out(epd)) in usb_decode_interval() 228 interval = epd->bInterval; in usb_decode_interval() 232 interval = 1 << (epd->bInterval - 1); in usb_decode_interval() 234 interval = epd->bInterval; in usb_decode_interval()
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | usb-serial.c | 719 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wimax/i2400m/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/ |
| H A D | usb_intf.c | 336 static inline int RT_usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_in() argument 338 return (epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN; in RT_usb_endpoint_dir_in() 341 static inline int RT_usb_endpoint_dir_out(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_out() argument 343 return (epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in RT_usb_endpoint_dir_out() 346 static inline int RT_usb_endpoint_xfer_int(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_int() argument 348 return (epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT; in RT_usb_endpoint_xfer_int() 351 static inline int RT_usb_endpoint_xfer_bulk(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_bulk() argument 353 return (epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK; in RT_usb_endpoint_xfer_bulk() 356 static inline int RT_usb_endpoint_is_bulk_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_is_bulk_in() argument 358 return RT_usb_endpoint_xfer_bulk(epd) && RT_usb_endpoint_dir_in(epd); in RT_usb_endpoint_is_bulk_in() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | usb_intf.c | 267 static inline int RT_usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_in() argument 269 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in RT_usb_endpoint_dir_in() 272 static inline int RT_usb_endpoint_dir_out(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_out() argument 274 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in RT_usb_endpoint_dir_out() 277 static inline int RT_usb_endpoint_xfer_int(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_int() argument 279 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT); in RT_usb_endpoint_xfer_int() 282 static inline int RT_usb_endpoint_xfer_bulk(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_bulk() argument 284 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK); in RT_usb_endpoint_xfer_bulk() 287 static inline int RT_usb_endpoint_is_bulk_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_is_bulk_in() argument 289 return (RT_usb_endpoint_xfer_bulk(epd) && RT_usb_endpoint_dir_in(epd)); in RT_usb_endpoint_is_bulk_in() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/ |
| H A D | usb_intf.c | 327 static inline int RT_usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_in() argument 329 return (epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN; in RT_usb_endpoint_dir_in() 332 static inline int RT_usb_endpoint_dir_out(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_out() argument 334 return (epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in RT_usb_endpoint_dir_out() 337 static inline int RT_usb_endpoint_xfer_int(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_int() argument 339 return (epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT; in RT_usb_endpoint_xfer_int() 342 static inline int RT_usb_endpoint_xfer_bulk(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_bulk() argument 344 return (epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK; in RT_usb_endpoint_xfer_bulk() 347 static inline int RT_usb_endpoint_is_bulk_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_is_bulk_in() argument 349 return RT_usb_endpoint_xfer_bulk(epd) && RT_usb_endpoint_dir_in(epd); in RT_usb_endpoint_is_bulk_in() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | usb_intf.c | 327 static inline int RT_usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_in() argument 329 return (epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN; in RT_usb_endpoint_dir_in() 332 static inline int RT_usb_endpoint_dir_out(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_dir_out() argument 334 return (epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in RT_usb_endpoint_dir_out() 337 static inline int RT_usb_endpoint_xfer_int(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_int() argument 339 return (epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT; in RT_usb_endpoint_xfer_int() 342 static inline int RT_usb_endpoint_xfer_bulk(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_xfer_bulk() argument 344 return (epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK; in RT_usb_endpoint_xfer_bulk() 347 static inline int RT_usb_endpoint_is_bulk_in(const struct usb_endpoint_descriptor *epd) in RT_usb_endpoint_is_bulk_in() argument 349 return RT_usb_endpoint_xfer_bulk(epd) && RT_usb_endpoint_dir_in(epd); in RT_usb_endpoint_is_bulk_in() [all …]
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | midi.c | 2030 struct usb_endpoint_descriptor *epd; in snd_usbmidi_detect_endpoints() local 2046 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints() 2047 if (!usb_endpoint_xfer_bulk(epd) && in snd_usbmidi_detect_endpoints() 2048 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints() 2051 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints() 2052 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints() 2053 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints() 2054 endpoint[out_eps].out_interval = epd->bInterval; in snd_usbmidi_detect_endpoints() 2058 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints() 2059 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints() [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | extent_io.c | 182 static void end_write_bio(struct extent_page_data *epd, int ret) in end_write_bio() argument 184 if (epd->bio) { in end_write_bio() 185 epd->bio->bi_status = errno_to_blk_status(ret); in end_write_bio() 186 bio_endio(epd->bio); in end_write_bio() 187 epd->bio = NULL; in end_write_bio() 197 static int __must_check flush_write_bio(struct extent_page_data *epd) in flush_write_bio() argument 201 if (epd->bio) { in flush_write_bio() 202 ret = submit_one_bio(epd->bio, 0, 0); in flush_write_bio() 210 epd->bio = NULL; in flush_write_bio() 3457 struct extent_page_data *epd, in __extent_writepage_io() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/usbip/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-mtk-sch.c | 71 struct usb_endpoint_descriptor *epd = &ep->desc; in decode_ep() local 75 interval = usb_decode_interval(epd, speed); in decode_ep() 84 usb_speed_string(speed), usb_endpoint_num(epd), in decode_ep() 85 usb_endpoint_dir_in(epd) ? "in" : "out", in decode_ep() 86 usb_ep_type_string(usb_endpoint_type(epd)), in decode_ep() 87 usb_endpoint_maxp(epd), epd->bInterval, interval, unit); in decode_ep()
|
| /OK3568_Linux_fs/kernel/sound/usb/misc/ |
| H A D | ua101.c | 944 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local 1003 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format() 1004 if (!usb_endpoint_is_isoc_in(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format() 1008 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format() 1009 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format() 1011 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format() 1012 if (!usb_endpoint_is_isoc_out(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format() 1016 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format() 1017 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
|
| /OK3568_Linux_fs/kernel/drivers/usb/misc/ |
| H A 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()
|