/linux-6.3-rc2/drivers/usb/serial/ |
A D | usb-serial.c | 807 if (epds->num_bulk_in == ARRAY_SIZE(epds->bulk_in)) in store_endpoint() 810 epds->bulk_in[epds->num_bulk_in++] = epd; in store_endpoint() 812 if (epds->num_bulk_out == ARRAY_SIZE(epds->bulk_out)) in store_endpoint() 815 epds->bulk_out[epds->num_bulk_out++] = epd; in store_endpoint() 820 epds->interrupt_in[epds->num_interrupt_in++] = epd; in store_endpoint() 825 epds->interrupt_out[epds->num_interrupt_out++] = epd; in store_endpoint() 1011 epds = kzalloc(sizeof(*epds), GFP_KERNEL); in usb_serial_probe() 1012 if (!epds) { in usb_serial_probe() 1057 max_endpoints = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_probe() 1161 kfree(epds); in usb_serial_probe() [all …]
|
A 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()
|
A 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()
|
A D | omninet.c | 38 struct usb_serial_endpoints *epds); 104 struct usb_serial_endpoints *epds) in omninet_calc_num_ports() argument 107 epds->bulk_out[0] = epds->bulk_out[1]; in omninet_calc_num_ports() 108 epds->num_bulk_out = 1; in omninet_calc_num_ports()
|
A 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()
|
A D | pl2303.c | 340 struct usb_serial_endpoints *epds) in pl2303_endpoint_hack() argument 362 if (epds->num_interrupt_in < ARRAY_SIZE(epds->interrupt_in)) in pl2303_endpoint_hack() 363 epds->interrupt_in[epds->num_interrupt_in++] = endpoint; in pl2303_endpoint_hack() 370 struct usb_serial_endpoints *epds) in pl2303_calc_num_ports() argument 377 ret = pl2303_endpoint_hack(serial, epds); in pl2303_calc_num_ports() 382 if (epds->num_interrupt_in < 1) { in pl2303_calc_num_ports()
|
A D | f81534.c | 836 struct usb_serial_endpoints *epds) in f81534_calc_num_ports() argument 840 int size_bulk_in = usb_endpoint_maxp(epds->bulk_in[0]); in f81534_calc_num_ports() 841 int size_bulk_out = usb_endpoint_maxp(epds->bulk_out[0]); in f81534_calc_num_ports() 938 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_out) < F81534_NUM_PORT); in f81534_calc_num_ports() 941 epds->bulk_out[i] = epds->bulk_out[0]; in f81534_calc_num_ports() 943 epds->num_bulk_out = num_port; in f81534_calc_num_ports()
|
A 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()
|
A D | mxuport.c | 939 struct usb_serial_endpoints *epds) in mxuport_calc_num_ports() argument 963 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_out) < 16); in mxuport_calc_num_ports() 966 epds->bulk_out[i] = epds->bulk_out[0]; in mxuport_calc_num_ports() 968 epds->num_bulk_out = num_ports; in mxuport_calc_num_ports()
|
A 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()
|
A D | mos7720.c | 821 struct usb_serial_endpoints *epds) in mos77xx_calc_num_ports() argument 833 swap(epds->bulk_in[0], epds->bulk_in[1]); in mos77xx_calc_num_ports() 834 swap(epds->bulk_out[0], epds->bulk_out[1]); in mos77xx_calc_num_ports()
|
A D | mos7840.c | 1499 struct usb_serial_endpoints *epds) in mos7840_calc_num_ports() argument 1507 if (epds->num_bulk_in < num_ports || epds->num_bulk_out < num_ports) { in mos7840_calc_num_ports()
|
A D | io_ti.c | 2470 struct usb_serial_endpoints *epds) in edge_calc_num_ports() argument 2477 if (epds->num_bulk_in < num_ports || in edge_calc_num_ports() 2478 epds->num_bulk_out < num_ports || in edge_calc_num_ports() 2479 epds->num_interrupt_in < 1) { in edge_calc_num_ports()
|
A D | quatech2.c | 246 struct usb_serial_endpoints *epds) in qt2_calc_num_ports() argument
|
A D | sierra.c | 85 struct usb_serial_endpoints *epds) in sierra_calc_num_ports() argument
|
/linux-6.3-rc2/fs/ |
A D | eventpoll.c | 2057 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds, in do_epoll_ctl() argument 2084 ep_take_care_of_epollwakeup(epds); in do_epoll_ctl() 2100 if (ep_op_has_event(op) && (epds->events & EPOLLEXCLUSIVE)) { in do_epoll_ctl() 2104 (epds->events & ~EPOLLEXCLUSIVE_OK_BITS))) in do_epoll_ctl() 2164 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl() 2165 error = ep_insert(ep, epds, tf.file, fd, full_check); in do_epoll_ctl() 2178 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl() 2179 error = ep_modify(ep, epi, epds); in do_epoll_ctl() 2210 struct epoll_event epds; in SYSCALL_DEFINE4() local 2213 copy_from_user(&epds, event, sizeof(struct epoll_event))) in SYSCALL_DEFINE4() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | eventpoll.h | 56 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
|
/linux-6.3-rc2/include/linux/usb/ |
A D | serial.h | 255 struct usb_serial_endpoints *epds);
|