/Linux-v4.19/drivers/usb/serial/ |
D | usb-serial.c | 697 struct usb_serial_endpoints *epds) in find_endpoints() argument 704 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_in) < USB_MAXENDPOINTS / 2); in find_endpoints() 705 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_out) < USB_MAXENDPOINTS / 2); in find_endpoints() 706 BUILD_BUG_ON(ARRAY_SIZE(epds->interrupt_in) < USB_MAXENDPOINTS / 2); in find_endpoints() 707 BUILD_BUG_ON(ARRAY_SIZE(epds->interrupt_out) < USB_MAXENDPOINTS / 2); in find_endpoints() 715 epds->bulk_in[epds->num_bulk_in++] = epd; in find_endpoints() 718 epds->bulk_out[epds->num_bulk_out++] = epd; in find_endpoints() 721 epds->interrupt_in[epds->num_interrupt_in++] = epd; in find_endpoints() 724 epds->interrupt_out[epds->num_interrupt_out++] = epd; in find_endpoints() 854 struct usb_serial_endpoints *epds; in usb_serial_probe() local [all …]
|
D | ipaq.c | 33 struct usb_serial_endpoints *epds); 551 struct usb_serial_endpoints *epds) in ipaq_calc_num_ports() argument 558 if (epds->num_bulk_in == 0 || epds->num_bulk_out == 0) in ipaq_calc_num_ports() 565 if (epds->num_bulk_in > 1 && epds->num_bulk_out > 1) { in ipaq_calc_num_ports() 566 epds->bulk_in[0] = epds->bulk_in[1]; in ipaq_calc_num_ports() 567 epds->bulk_out[0] = epds->bulk_out[1]; in ipaq_calc_num_ports() 574 epds->num_bulk_in = 1; in ipaq_calc_num_ports() 575 epds->num_bulk_out = 1; in ipaq_calc_num_ports()
|
D | omninet.c | 37 struct usb_serial_endpoints *epds); 102 struct usb_serial_endpoints *epds) in omninet_calc_num_ports() argument 105 epds->bulk_out[0] = epds->bulk_out[1]; in omninet_calc_num_ports() 106 epds->num_bulk_out = 1; in omninet_calc_num_ports()
|
D | visor.c | 41 struct usb_serial_endpoints *epds); 43 struct usb_serial_endpoints *epds); 468 struct usb_serial_endpoints *epds) in visor_calc_num_ports() argument 481 epds->num_interrupt_in == 0) in visor_calc_num_ports() 484 if (epds->num_bulk_in < 2 || epds->num_interrupt_in < 2) { in visor_calc_num_ports() 496 swap(epds->bulk_in[0], epds->bulk_in[1]); in visor_calc_num_ports() 497 swap(epds->interrupt_in[0], epds->interrupt_in[1]); in visor_calc_num_ports() 503 struct usb_serial_endpoints *epds) in clie_5_calc_num_ports() argument 516 epds->bulk_out[0] = epds->bulk_out[1]; in clie_5_calc_num_ports()
|
D | aircable.c | 88 struct usb_serial_endpoints *epds) in aircable_calc_num_ports() argument 91 if (epds->num_bulk_out == 0) { in aircable_calc_num_ports()
|
D | pl2303.c | 234 struct usb_serial_endpoints *epds) in pl2303_endpoint_hack() argument 256 if (epds->num_interrupt_in < ARRAY_SIZE(epds->interrupt_in)) in pl2303_endpoint_hack() 257 epds->interrupt_in[epds->num_interrupt_in++] = endpoint; in pl2303_endpoint_hack() 264 struct usb_serial_endpoints *epds) in pl2303_calc_num_ports() argument 271 ret = pl2303_endpoint_hack(serial, epds); in pl2303_calc_num_ports() 276 if (epds->num_interrupt_in < 1) { in pl2303_calc_num_ports()
|
D | f81534.c | 833 struct usb_serial_endpoints *epds) in f81534_calc_num_ports() argument 837 int size_bulk_in = usb_endpoint_maxp(epds->bulk_in[0]); in f81534_calc_num_ports() 838 int size_bulk_out = usb_endpoint_maxp(epds->bulk_out[0]); in f81534_calc_num_ports() 935 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_out) < F81534_NUM_PORT); in f81534_calc_num_ports() 938 epds->bulk_out[i] = epds->bulk_out[0]; in f81534_calc_num_ports() 940 epds->num_bulk_out = num_port; in f81534_calc_num_ports()
|
D | metro-usb.c | 66 struct usb_serial_endpoints *epds) in metrousb_calc_num_ports() argument 69 if (epds->num_interrupt_out == 0) { in metrousb_calc_num_ports()
|
D | generic.c | 49 struct usb_serial_endpoints *epds) in usb_serial_generic_calc_num_ports() argument 54 num_ports = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_generic_calc_num_ports()
|
D | mxuport.c | 946 struct usb_serial_endpoints *epds) in mxuport_calc_num_ports() argument 970 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_out) < 16); in mxuport_calc_num_ports() 973 epds->bulk_out[i] = epds->bulk_out[0]; in mxuport_calc_num_ports() 975 epds->num_bulk_out = num_ports; in mxuport_calc_num_ports()
|
D | mos7720.c | 975 struct usb_serial_endpoints *epds) in mos77xx_calc_num_ports() argument 987 swap(epds->bulk_in[0], epds->bulk_in[1]); in mos77xx_calc_num_ports() 988 swap(epds->bulk_out[0], epds->bulk_out[1]); in mos77xx_calc_num_ports()
|
D | io_ti.c | 2527 struct usb_serial_endpoints *epds) in edge_calc_num_ports() argument 2534 if (epds->num_bulk_in < num_ports || in edge_calc_num_ports() 2535 epds->num_bulk_out < num_ports || in edge_calc_num_ports() 2536 epds->num_interrupt_in < 1) { in edge_calc_num_ports()
|
D | mos7840.c | 2089 struct usb_serial_endpoints *epds) in mos7840_calc_num_ports() argument 2103 if (epds->num_bulk_in < num_ports || epds->num_bulk_out < num_ports) { in mos7840_calc_num_ports()
|
D | quatech2.c | 246 struct usb_serial_endpoints *epds) in qt2_calc_num_ports() argument
|
D | sierra.c | 86 struct usb_serial_endpoints *epds) in sierra_calc_num_ports() argument
|
/Linux-v4.19/fs/ |
D | eventpoll.c | 2015 struct epoll_event epds; in SYSCALL_DEFINE4() local 2020 copy_from_user(&epds, event, sizeof(struct epoll_event))) in SYSCALL_DEFINE4() 2040 ep_take_care_of_epollwakeup(&epds); in SYSCALL_DEFINE4() 2056 if (ep_op_has_event(op) && (epds.events & EPOLLEXCLUSIVE)) { in SYSCALL_DEFINE4() 2060 (epds.events & ~EPOLLEXCLUSIVE_OK_BITS))) in SYSCALL_DEFINE4() 2120 epds.events |= EPOLLERR | EPOLLHUP; in SYSCALL_DEFINE4() 2121 error = ep_insert(ep, &epds, tf.file, fd, full_check); in SYSCALL_DEFINE4() 2136 epds.events |= EPOLLERR | EPOLLHUP; in SYSCALL_DEFINE4() 2137 error = ep_modify(ep, epi, &epds); in SYSCALL_DEFINE4()
|
/Linux-v4.19/include/linux/ |
D | scif.h | 1311 int scif_poll(struct scif_pollepd *epds, unsigned int nepds, long timeout);
|
/Linux-v4.19/include/linux/usb/ |
D | serial.h | 266 struct usb_serial_endpoints *epds);
|