/linux-6.12.1/drivers/usb/serial/ |
D | usb-serial.c | 799 struct usb_serial_endpoints *epds, in store_endpoint() argument 806 if (epds->num_bulk_in == ARRAY_SIZE(epds->bulk_in)) in store_endpoint() 809 epds->bulk_in[epds->num_bulk_in++] = epd; in store_endpoint() 811 if (epds->num_bulk_out == ARRAY_SIZE(epds->bulk_out)) in store_endpoint() 814 epds->bulk_out[epds->num_bulk_out++] = epd; in store_endpoint() 816 if (epds->num_interrupt_in == ARRAY_SIZE(epds->interrupt_in)) in store_endpoint() 819 epds->interrupt_in[epds->num_interrupt_in++] = epd; in store_endpoint() 821 if (epds->num_interrupt_out == ARRAY_SIZE(epds->interrupt_out)) in store_endpoint() 824 epds->interrupt_out[epds->num_interrupt_out++] = epd; in store_endpoint() 829 struct usb_serial_endpoints *epds, in find_endpoints() argument [all …]
|
D | ipaq.c | 33 struct usb_serial_endpoints *epds); 550 struct usb_serial_endpoints *epds) in ipaq_calc_num_ports() argument 557 if (epds->num_bulk_in == 0 || epds->num_bulk_out == 0) in ipaq_calc_num_ports() 564 if (epds->num_bulk_in > 1 && epds->num_bulk_out > 1) { in ipaq_calc_num_ports() 565 epds->bulk_in[0] = epds->bulk_in[1]; in ipaq_calc_num_ports() 566 epds->bulk_out[0] = epds->bulk_out[1]; in ipaq_calc_num_ports() 573 epds->num_bulk_in = 1; in ipaq_calc_num_ports() 574 epds->num_bulk_out = 1; in ipaq_calc_num_ports()
|
D | visor.c | 41 struct usb_serial_endpoints *epds); 43 struct usb_serial_endpoints *epds); 465 struct usb_serial_endpoints *epds) in visor_calc_num_ports() argument 478 epds->num_interrupt_in == 0) in visor_calc_num_ports() 481 if (epds->num_bulk_in < 2 || epds->num_interrupt_in < 2) { in visor_calc_num_ports() 493 swap(epds->bulk_in[0], epds->bulk_in[1]); in visor_calc_num_ports() 494 swap(epds->interrupt_in[0], epds->interrupt_in[1]); in visor_calc_num_ports() 500 struct usb_serial_endpoints *epds) in clie_5_calc_num_ports() argument 513 epds->bulk_out[0] = epds->bulk_out[1]; in clie_5_calc_num_ports()
|
D | omninet.c | 38 struct usb_serial_endpoints *epds); 103 struct usb_serial_endpoints *epds) in omninet_calc_num_ports() argument 106 epds->bulk_out[0] = epds->bulk_out[1]; in omninet_calc_num_ports() 107 epds->num_bulk_out = 1; in omninet_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 | 341 struct usb_serial_endpoints *epds) in pl2303_endpoint_hack() argument 363 if (epds->num_interrupt_in < ARRAY_SIZE(epds->interrupt_in)) in pl2303_endpoint_hack() 364 epds->interrupt_in[epds->num_interrupt_in++] = endpoint; in pl2303_endpoint_hack() 371 struct usb_serial_endpoints *epds) in pl2303_calc_num_ports() argument 378 ret = pl2303_endpoint_hack(serial, epds); in pl2303_calc_num_ports() 383 if (epds->num_interrupt_in < 1) { in pl2303_calc_num_ports()
|
D | f81534.c | 838 struct usb_serial_endpoints *epds) in f81534_calc_num_ports() argument 842 int size_bulk_in = usb_endpoint_maxp(epds->bulk_in[0]); in f81534_calc_num_ports() 843 int size_bulk_out = usb_endpoint_maxp(epds->bulk_out[0]); in f81534_calc_num_ports() 940 BUILD_BUG_ON(ARRAY_SIZE(epds->bulk_out) < F81534_NUM_PORT); in f81534_calc_num_ports() 943 epds->bulk_out[i] = epds->bulk_out[0]; in f81534_calc_num_ports() 945 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 | 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()
|
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 | 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()
|
D | mos7840.c | 1500 struct usb_serial_endpoints *epds) in mos7840_calc_num_ports() argument 1508 if (epds->num_bulk_in < num_ports || epds->num_bulk_out < num_ports) { in mos7840_calc_num_ports()
|
D | io_ti.c | 2475 struct usb_serial_endpoints *epds) in edge_calc_num_ports() argument 2482 if (epds->num_bulk_in < num_ports || in edge_calc_num_ports() 2483 epds->num_bulk_out < num_ports || in edge_calc_num_ports() 2484 epds->num_interrupt_in < 1) { in edge_calc_num_ports()
|
D | quatech2.c | 238 struct usb_serial_endpoints *epds) in qt2_calc_num_ports() argument
|
D | sierra.c | 85 struct usb_serial_endpoints *epds) in sierra_calc_num_ports() argument
|
/linux-6.12.1/fs/ |
D | eventpoll.c | 2252 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds, in do_epoll_ctl() argument 2279 ep_take_care_of_epollwakeup(epds); in do_epoll_ctl() 2295 if (ep_op_has_event(op) && (epds->events & EPOLLEXCLUSIVE)) { in do_epoll_ctl() 2299 (epds->events & ~EPOLLEXCLUSIVE_OK_BITS))) in do_epoll_ctl() 2359 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl() 2360 error = ep_insert(ep, epds, fd_file(tf), fd, full_check); in do_epoll_ctl() 2379 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl() 2380 error = ep_modify(ep, epi, epds); in do_epoll_ctl() 2411 struct epoll_event epds; in SYSCALL_DEFINE4() local 2414 copy_from_user(&epds, event, sizeof(struct epoll_event))) in SYSCALL_DEFINE4() [all …]
|
/linux-6.12.1/include/linux/ |
D | eventpoll.h | 56 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
|
/linux-6.12.1/include/linux/usb/ |
D | serial.h | 255 struct usb_serial_endpoints *epds);
|