Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/serial/
A Dusb-serial.c807 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 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()
A 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()
A 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()
A 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()
A 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()
A Df81534.c836 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 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()
A 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()
A 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()
A 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()
A Dmos7840.c1499 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 Dio_ti.c2470 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 Dquatech2.c246 struct usb_serial_endpoints *epds) in qt2_calc_num_ports() argument
A Dsierra.c85 struct usb_serial_endpoints *epds) in sierra_calc_num_ports() argument
/linux-6.3-rc2/fs/
A Deventpoll.c2057 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 Deventpoll.h56 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
/linux-6.3-rc2/include/linux/usb/
A Dserial.h255 struct usb_serial_endpoints *epds);

Completed in 42 milliseconds