Home
last modified time | relevance | path

Searched refs:epds (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/usb/serial/
Dusb-serial.c799 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 …]
Dipaq.c33 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()
Dvisor.c41 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()
Domninet.c38 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()
Daircable.c88 struct usb_serial_endpoints *epds) in aircable_calc_num_ports() argument
91 if (epds->num_bulk_out == 0) { in aircable_calc_num_ports()
Dpl2303.c341 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()
Df81534.c838 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()
Dmetro-usb.c66 struct usb_serial_endpoints *epds) in metrousb_calc_num_ports() argument
69 if (epds->num_interrupt_out == 0) { in metrousb_calc_num_ports()
Dmxuport.c939 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()
Dgeneric.c49 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()
Dmos7720.c821 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()
Dmos7840.c1500 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()
Dio_ti.c2475 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()
Dquatech2.c238 struct usb_serial_endpoints *epds) in qt2_calc_num_ports() argument
Dsierra.c85 struct usb_serial_endpoints *epds) in sierra_calc_num_ports() argument
/linux-6.12.1/fs/
Deventpoll.c2252 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/
Deventpoll.h56 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
/linux-6.12.1/include/linux/usb/
Dserial.h255 struct usb_serial_endpoints *epds);