Home
last modified time | relevance | path

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

/linux-6.6.21/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);
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()
Dvisor.c41 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()
Domninet.c38 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()
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.c340 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()
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.6.21/fs/
Deventpoll.c2111 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds, in do_epoll_ctl() argument
2138 ep_take_care_of_epollwakeup(epds); in do_epoll_ctl()
2154 if (ep_op_has_event(op) && (epds->events & EPOLLEXCLUSIVE)) { in do_epoll_ctl()
2158 (epds->events & ~EPOLLEXCLUSIVE_OK_BITS))) in do_epoll_ctl()
2218 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl()
2219 error = ep_insert(ep, epds, tf.file, fd, full_check); in do_epoll_ctl()
2238 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl()
2239 error = ep_modify(ep, epi, epds); in do_epoll_ctl()
2270 struct epoll_event epds; in SYSCALL_DEFINE4() local
2273 copy_from_user(&epds, event, sizeof(struct epoll_event))) in SYSCALL_DEFINE4()
[all …]
/linux-6.6.21/include/linux/
Deventpoll.h56 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
/linux-6.6.21/include/linux/usb/
Dserial.h255 struct usb_serial_endpoints *epds);