Home
last modified time | relevance | path

Searched refs:uep (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c43 struct usbhsg_uep *uep; member
60 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
62 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
64 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
78 ((i) < (g)->uep_size) && ((pos) = (g)->uep + (i)); \
96 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep)
97 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i)
118 static void __usbhsg_queue_pop(struct usbhsg_uep *uep, in __usbhsg_queue_pop() argument
122 struct usbhsg_gpriv *gpriv = usbhsg_uep_to_gpriv(uep); in __usbhsg_queue_pop()
123 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop()
136 usbhsg_queue_pop(struct usbhsg_uep *uep, struct usbhsg_request *ureq, int status) usbhsg_queue_pop() argument
152 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); usbhsg_queue_done() local
164 usbhsg_queue_push(struct usbhsg_uep *uep, struct usbhsg_request *ureq) usbhsg_queue_push() argument
217 usbhsg_recip_handler_std_control_done(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_control_done() argument
230 usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_clear_endpoint() argument
260 usbhsg_recip_handler_std_set_device(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_set_device() argument
278 usbhsg_recip_handler_std_set_endpoint(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_set_endpoint() argument
348 usbhsg_recip_handler_std_get_device(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_get_device() argument
363 usbhsg_recip_handler_std_get_interface(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_get_interface() argument
375 usbhsg_recip_handler_std_get_endpoint(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_get_endpoint() argument
407 struct usbhsg_uep *uep; usbhsg_recip_run_handle() local
556 usbhsg_pipe_disable(struct usbhsg_uep *uep) usbhsg_pipe_disable() argument
582 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_enable() local
638 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_disable() local
685 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_queue() local
703 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_dequeue() local
725 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); __usbhsg_ep_set_halt_wedge() local
877 struct usbhsg_uep *uep; usbhsg_try_stop() local
1079 struct usbhsg_uep *uep; usbhs_mod_gadget_probe() local
[all...]
H A Dmod_host.c37 * +--------+ pipes are reused for each uep.
38 * | udev 1 |-+- [uep 0 (dcp) ] --+ pipe will be switched when
40 * +- [uep 1 (bulk)] --|---+ +--------------+
42 * +- [uep 2 (bulk)] -@ | +--------------+
45 * | udev 2 |-+- [uep 0 (dcp) ] -@ +----------> | pipe2 (bulk) |
47 * +- [uep 1 (int) ] ----+ +------> | pipe3 (bulk) |
50 * | udev 3 |-+- [uep 0 (dcp) ] -@ | +--------------+
52 * +- [uep 1 (bulk)] -@ | | .... |
54 * +- [uep 2 (bulk)]-----------+
56 * @ : uep requeste
248 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); usbhsh_pipe_attach() local
324 usbhsh_pipe_detach(struct usbhsh_hpriv *hpriv, struct usbhsh_ep *uep) usbhsh_pipe_detach() argument
372 struct usbhsh_ep *uep; usbhsh_endpoint_attach() local
410 struct usbhsh_ep *uep = usbhsh_ep_to_uep(ep); usbhsh_endpoint_detach() local
442 struct usbhsh_ep *uep, *next; usbhsh_endpoint_detach_all() local
664 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); usbhsh_queue_push() local
870 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); usbhsh_dcp_queue_push() local
1050 struct usbhsh_ep *uep = usbhsh_ep_to_uep(ep); usbhsh_endpoint_disable() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c43 struct usbhsg_uep *uep; member
60 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
62 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
64 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
78 ((i) < (g)->uep_size) && ((pos) = (g)->uep + (i)); \
96 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep)
97 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i)
118 static void __usbhsg_queue_pop(struct usbhsg_uep *uep, in __usbhsg_queue_pop() argument
122 struct usbhsg_gpriv *gpriv = usbhsg_uep_to_gpriv(uep); in __usbhsg_queue_pop()
123 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop()
136 usbhsg_queue_pop(struct usbhsg_uep *uep, struct usbhsg_request *ureq, int status) usbhsg_queue_pop() argument
152 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); usbhsg_queue_done() local
164 usbhsg_queue_push(struct usbhsg_uep *uep, struct usbhsg_request *ureq) usbhsg_queue_push() argument
217 usbhsg_recip_handler_std_control_done(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_control_done() argument
230 usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_clear_endpoint() argument
260 usbhsg_recip_handler_std_set_device(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_set_device() argument
278 usbhsg_recip_handler_std_set_endpoint(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_set_endpoint() argument
348 usbhsg_recip_handler_std_get_device(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_get_device() argument
363 usbhsg_recip_handler_std_get_interface(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_get_interface() argument
375 usbhsg_recip_handler_std_get_endpoint(struct usbhs_priv *priv, struct usbhsg_uep *uep, struct usb_ctrlrequest *ctrl) usbhsg_recip_handler_std_get_endpoint() argument
407 struct usbhsg_uep *uep; usbhsg_recip_run_handle() local
556 usbhsg_pipe_disable(struct usbhsg_uep *uep) usbhsg_pipe_disable() argument
582 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_enable() local
638 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_disable() local
685 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_queue() local
703 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); usbhsg_ep_dequeue() local
725 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); __usbhsg_ep_set_halt_wedge() local
877 struct usbhsg_uep *uep; usbhsg_try_stop() local
1079 struct usbhsg_uep *uep; usbhs_mod_gadget_probe() local
[all...]
H A Dmod_host.c37 * +--------+ pipes are reused for each uep.
38 * | udev 1 |-+- [uep 0 (dcp) ] --+ pipe will be switched when
40 * +- [uep 1 (bulk)] --|---+ +--------------+
42 * +- [uep 2 (bulk)] -@ | +--------------+
45 * | udev 2 |-+- [uep 0 (dcp) ] -@ +----------> | pipe2 (bulk) |
47 * +- [uep 1 (int) ] ----+ +------> | pipe3 (bulk) |
50 * | udev 3 |-+- [uep 0 (dcp) ] -@ | +--------------+
52 * +- [uep 1 (bulk)] -@ | | .... |
54 * +- [uep 2 (bulk)]-----------+
56 * @ : uep requeste
248 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); usbhsh_pipe_attach() local
324 usbhsh_pipe_detach(struct usbhsh_hpriv *hpriv, struct usbhsh_ep *uep) usbhsh_pipe_detach() argument
372 struct usbhsh_ep *uep; usbhsh_endpoint_attach() local
410 struct usbhsh_ep *uep = usbhsh_ep_to_uep(ep); usbhsh_endpoint_detach() local
442 struct usbhsh_ep *uep, *next; usbhsh_endpoint_detach_all() local
664 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); usbhsh_queue_push() local
870 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); usbhsh_dcp_queue_push() local
1050 struct usbhsh_ep *uep = usbhsh_ep_to_uep(ep); usbhsh_endpoint_disable() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/isp1760/
H A Disp1760-udc.c710 struct isp1760_ep *uep = ep_to_udc_ep(ep); in isp1760_ep_enable() local
711 struct isp1760_udc *udc = uep->udc; in isp1760_ep_enable()
715 dev_dbg(uep->udc->isp->dev, "%s\n", __func__); in isp1760_ep_enable()
723 desc->bEndpointAddress != uep->addr || in isp1760_ep_enable()
728 desc->bEndpointAddress, uep->addr, in isp1760_ep_enable()
752 uep->desc = desc; in isp1760_ep_enable()
753 uep->maxpacket = le16_to_cpu(desc->wMaxPacketSize); in isp1760_ep_enable()
754 uep->rx_pending = false; in isp1760_ep_enable()
755 uep->halted = false; in isp1760_ep_enable()
756 uep in isp1760_ep_enable()
770 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_disable() local
829 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_queue() local
911 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_dequeue() local
933 __isp1760_ep_set_halt(struct isp1760_ep *uep, bool stall, bool wedge) __isp1760_ep_set_halt() argument
990 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_set_halt() local
1006 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_set_wedge() local
1022 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_fifo_flush() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/isp1760/
H A Disp1760-udc.c776 struct isp1760_ep *uep = ep_to_udc_ep(ep); in isp1760_ep_enable() local
777 struct isp1760_udc *udc = uep->udc; in isp1760_ep_enable()
781 dev_dbg(uep->udc->isp->dev, "%s\n", __func__); in isp1760_ep_enable()
789 desc->bEndpointAddress != uep->addr || in isp1760_ep_enable()
794 desc->bEndpointAddress, uep->addr, in isp1760_ep_enable()
818 uep->desc = desc; in isp1760_ep_enable()
819 uep->maxpacket = le16_to_cpu(desc->wMaxPacketSize); in isp1760_ep_enable()
820 uep->rx_pending = false; in isp1760_ep_enable()
821 uep->halted = false; in isp1760_ep_enable()
822 uep in isp1760_ep_enable()
839 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_disable() local
899 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_queue() local
981 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_dequeue() local
1003 __isp1760_ep_set_halt(struct isp1760_ep *uep, bool stall, bool wedge) __isp1760_ep_set_halt() argument
1060 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_set_halt() local
1076 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_set_wedge() local
1092 struct isp1760_ep *uep = ep_to_udc_ep(ep); isp1760_ep_fifo_flush() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
H A Drestrack.c204 union union_ep *uep; in c4iw_fill_res_cm_id_entry() local
212 uep = kcalloc(1, sizeof(*uep), GFP_KERNEL); in c4iw_fill_res_cm_id_entry()
213 if (!uep) in c4iw_fill_res_cm_id_entry()
223 uep->lep = *(struct c4iw_listen_ep *)epcp; in c4iw_fill_res_cm_id_entry()
225 listen_ep = &uep->lep; in c4iw_fill_res_cm_id_entry()
228 uep->ep = *(struct c4iw_ep *)epcp; in c4iw_fill_res_cm_id_entry()
230 ep = &uep->ep; in c4iw_fill_res_cm_id_entry()
261 kfree(uep); in c4iw_fill_res_cm_id_entry()
267 kfree(uep); in c4iw_fill_res_cm_id_entry()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
H A Drestrack.c204 union union_ep *uep; in c4iw_fill_res_cm_id_entry() local
212 uep = kzalloc(sizeof(*uep), GFP_KERNEL); in c4iw_fill_res_cm_id_entry()
213 if (!uep) in c4iw_fill_res_cm_id_entry()
223 uep->lep = *(struct c4iw_listen_ep *)epcp; in c4iw_fill_res_cm_id_entry()
225 listen_ep = &uep->lep; in c4iw_fill_res_cm_id_entry()
228 uep->ep = *(struct c4iw_ep *)epcp; in c4iw_fill_res_cm_id_entry()
230 ep = &uep->ep; in c4iw_fill_res_cm_id_entry()
261 kfree(uep); in c4iw_fill_res_cm_id_entry()
267 kfree(uep); in c4iw_fill_res_cm_id_entry()
[all...]
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_user.c1069 struct xfrm_encap_tmpl *uep; in copy_to_user_encap() local
1074 uep = nla_data(nla); in copy_to_user_encap()
1075 memset(uep, 0, sizeof(*uep)); in copy_to_user_encap()
1077 uep->encap_type = ep->encap_type; in copy_to_user_encap()
1078 uep->encap_sport = ep->encap_sport; in copy_to_user_encap()
1079 uep->encap_dport = ep->encap_dport; in copy_to_user_encap()
1080 uep->encap_oa = ep->encap_oa; in copy_to_user_encap()

Completed in 13 milliseconds