/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 91 struct uvc_request *ureq = req->context; in uvc_video_encode_bulk() local 118 ureq->last_buf = buf; in uvc_video_encode_bulk() 134 struct uvc_request *ureq = req->context; in uvc_video_encode_isoc_sg() local 141 sg = ureq->sgt.sgl; in uvc_video_encode_isoc_sg() 142 sg_init_table(sg, ureq->sgt.nents); in uvc_video_encode_isoc_sg() 145 header_len = uvc_video_encode_header(video, buf, ureq->header, in uvc_video_encode_isoc_sg() 147 sg_set_buf(sg, ureq->header, header_len); in uvc_video_encode_isoc_sg() 159 for_each_sg(sg, iter, ureq->sgt.nents - 1, i) { in uvc_video_encode_isoc_sg() 179 req->sg = ureq->sgt.sgl; in uvc_video_encode_isoc_sg() 192 ureq in uvc_video_encode_isoc_sg() 201 struct uvc_request *ureq = req->context; uvc_video_encode_isoc() local 253 struct uvc_request *ureq = req->context; uvc_video_complete() local [all...] |
H A D | uvc.h | 105 struct uvc_request *ureq; member
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | u_audio.c | 44 struct uac_req *ureq; member 341 if (prm->ureq[i].req) { in free_ep() 342 if (usb_ep_dequeue(ep, prm->ureq[i].req)) in free_ep() 343 usb_ep_free_request(ep, prm->ureq[i].req); in free_ep() 350 prm->ureq[i].req = NULL; in free_ep() 380 if (!prm->ureq[i].req) { in u_audio_start_capture() 385 prm->ureq[i].req = req; in u_audio_start_capture() 386 prm->ureq[i].pp = prm; in u_audio_start_capture() 389 req->context = &prm->ureq[i]; in u_audio_start_capture() 395 if (usb_ep_queue(ep, prm->ureq[ in u_audio_start_capture() [all...] |
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 119 struct usbhsg_request *ureq, in __usbhsg_queue_pop() 130 ureq->req.status = status; in __usbhsg_queue_pop() 132 usb_gadget_giveback_request(&uep->ep, &ureq->req); in __usbhsg_queue_pop() 137 struct usbhsg_request *ureq, in usbhsg_queue_pop() 145 __usbhsg_queue_pop(uep, ureq, status); in usbhsg_queue_pop() 153 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); in usbhsg_queue_done() local 156 ureq->req.actual = pkt->actual; in usbhsg_queue_done() 160 __usbhsg_queue_pop(uep, ureq, 0); in usbhsg_queue_done() 165 struct usbhsg_request *ureq) in usbhsg_queue_push() 170 struct usbhs_pkt *pkt = usbhsg_ureq_to_pkt(ureq); in usbhsg_queue_push() 118 __usbhsg_queue_pop(struct usbhsg_uep *uep, struct usbhsg_request *ureq, int status) __usbhsg_queue_pop() argument 136 usbhsg_queue_pop(struct usbhsg_uep *uep, struct usbhsg_request *ureq, int status) usbhsg_queue_pop() argument 164 usbhsg_queue_push(struct usbhsg_uep *uep, struct usbhsg_request *ureq) usbhsg_queue_push() argument 190 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); usbhsg_dma_map_ctrl() local 304 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); __usbhsg_recip_send_complete() local 662 struct usbhsg_request *ureq; usbhsg_ep_alloc_request() local 676 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); usbhsg_ep_free_request() local 687 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); usbhsg_ep_queue() local 704 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); usbhsg_ep_dequeue() local [all...] |
H A D | mod_host.c | 159 struct usbhsh_request *ureq; in usbhsh_ureq_alloc() local 161 ureq = kzalloc(sizeof(struct usbhsh_request), mem_flags); in usbhsh_ureq_alloc() 162 if (!ureq) in usbhsh_ureq_alloc() 165 usbhs_pkt_init(&ureq->pkt); in usbhsh_ureq_alloc() 166 ureq->urb = urb; in usbhsh_ureq_alloc() 167 usbhsh_urb_to_ureq(urb) = ureq; in usbhsh_ureq_alloc() 169 return ureq; in usbhsh_ureq_alloc() 173 struct usbhsh_request *ureq) in usbhsh_ureq_free() 175 usbhsh_urb_to_ureq(ureq->urb) = NULL; in usbhsh_ureq_free() 176 ureq in usbhsh_ureq_free() 172 usbhsh_ureq_free(struct usbhsh_hpriv *hpriv, struct usbhsh_request *ureq) usbhsh_ureq_free() argument 631 struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); usbhsh_queue_done() local 667 struct usbhsh_request *ureq; usbhsh_queue_push() local 800 struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); usbhsh_data_stage_packet_done() local 814 struct usbhsh_request *ureq; usbhsh_data_stage_packet_push() local 844 struct usbhsh_request *ureq; usbhsh_status_stage_packet_push() local 921 struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); usbhsh_dma_map_ctrl() local 1034 struct usbhsh_request *ureq = usbhsh_urb_to_ureq(urb); usbhsh_urb_dequeue() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 119 struct usbhsg_request *ureq, in __usbhsg_queue_pop() 130 ureq->req.status = status; in __usbhsg_queue_pop() 132 usb_gadget_giveback_request(&uep->ep, &ureq->req); in __usbhsg_queue_pop() 137 struct usbhsg_request *ureq, in usbhsg_queue_pop() 145 __usbhsg_queue_pop(uep, ureq, status); in usbhsg_queue_pop() 153 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); in usbhsg_queue_done() local 156 ureq->req.actual = pkt->actual; in usbhsg_queue_done() 160 __usbhsg_queue_pop(uep, ureq, 0); in usbhsg_queue_done() 165 struct usbhsg_request *ureq) in usbhsg_queue_push() 170 struct usbhs_pkt *pkt = usbhsg_ureq_to_pkt(ureq); in usbhsg_queue_push() 118 __usbhsg_queue_pop(struct usbhsg_uep *uep, struct usbhsg_request *ureq, int status) __usbhsg_queue_pop() argument 136 usbhsg_queue_pop(struct usbhsg_uep *uep, struct usbhsg_request *ureq, int status) usbhsg_queue_pop() argument 164 usbhsg_queue_push(struct usbhsg_uep *uep, struct usbhsg_request *ureq) usbhsg_queue_push() argument 190 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); usbhsg_dma_map_ctrl() local 304 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); __usbhsg_recip_send_complete() local 662 struct usbhsg_request *ureq; usbhsg_ep_alloc_request() local 676 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); usbhsg_ep_free_request() local 687 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); usbhsg_ep_queue() local 704 struct usbhsg_request *ureq = usbhsg_req_to_ureq(req); usbhsg_ep_dequeue() local [all...] |
H A D | mod_host.c | 159 struct usbhsh_request *ureq; in usbhsh_ureq_alloc() local 161 ureq = kzalloc(sizeof(struct usbhsh_request), mem_flags); in usbhsh_ureq_alloc() 162 if (!ureq) in usbhsh_ureq_alloc() 165 usbhs_pkt_init(&ureq->pkt); in usbhsh_ureq_alloc() 166 ureq->urb = urb; in usbhsh_ureq_alloc() 167 usbhsh_urb_to_ureq(urb) = ureq; in usbhsh_ureq_alloc() 169 return ureq; in usbhsh_ureq_alloc() 173 struct usbhsh_request *ureq) in usbhsh_ureq_free() 175 usbhsh_urb_to_ureq(ureq->urb) = NULL; in usbhsh_ureq_free() 176 ureq in usbhsh_ureq_free() 172 usbhsh_ureq_free(struct usbhsh_hpriv *hpriv, struct usbhsh_request *ureq) usbhsh_ureq_free() argument 631 struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); usbhsh_queue_done() local 667 struct usbhsh_request *ureq; usbhsh_queue_push() local 800 struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); usbhsh_data_stage_packet_done() local 814 struct usbhsh_request *ureq; usbhsh_data_stage_packet_push() local 844 struct usbhsh_request *ureq; usbhsh_status_stage_packet_push() local 921 struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); usbhsh_dma_map_ctrl() local 1034 struct usbhsh_request *ureq = usbhsh_urb_to_ureq(urb); usbhsh_urb_dequeue() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | user_mad.c | 686 struct ib_user_mad_reg_req ureq; in ib_umad_reg_agent() local 702 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent() 707 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent() 710 ureq.qpn); in ib_umad_reg_agent() 726 if (ureq.mgmt_class) { in ib_umad_reg_agent() 728 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent() 729 req.mgmt_class_version = ureq.mgmt_class_version; in ib_umad_reg_agent() 730 memcpy(req.oui, ureq in ib_umad_reg_agent() 788 struct ib_user_mad_reg_req2 ureq; ib_umad_reg_agent2() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | user_mad.c | 686 struct ib_user_mad_reg_req ureq; in ib_umad_reg_agent() local 701 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent() 706 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent() 709 ureq.qpn); in ib_umad_reg_agent() 725 if (ureq.mgmt_class) { in ib_umad_reg_agent() 727 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent() 728 req.mgmt_class_version = ureq.mgmt_class_version; in ib_umad_reg_agent() 729 memcpy(req.oui, ureq in ib_umad_reg_agent() 787 struct ib_user_mad_reg_req2 ureq; ib_umad_reg_agent2() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.c | 926 struct erdma_ureq_create_qp ureq; in erdma_create_qp() local 960 ret = ib_copy_from_udata(&ureq, udata, in erdma_create_qp() 961 min(sizeof(ureq), udata->inlen)); in erdma_create_qp() 965 ret = init_user_qp(qp, uctx, ureq.qbuf_va, ureq.qbuf_len, in erdma_create_qp() 966 ureq.db_record_va); in erdma_create_qp() 1578 struct erdma_ureq_create_cq *ureq) in erdma_init_user_cq() 1583 ret = get_mtt_entries(dev, &cq->user_cq.qbuf_mem, ureq->qbuf_va, in erdma_init_user_cq() 1584 ureq->qbuf_len, 0, ureq in erdma_init_user_cq() 1577 erdma_init_user_cq(struct erdma_ucontext *ctx, struct erdma_cq *cq, struct erdma_ureq_create_cq *ureq) erdma_init_user_cq() argument 1643 struct erdma_ureq_create_cq ureq; erdma_create_cq() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | auxgm200.c | 44 const u32 ureq = unksel ? 0x00100000 : 0x00200000; in gm200_i2c_aux_init() local 60 nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00700000, ureq); in gm200_i2c_aux_init()
|
H A D | auxg94.c | 44 const u32 ureq = unksel ? 0x00100000 : 0x00200000; in g94_i2c_aux_init() local 60 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00300000, ureq); in g94_i2c_aux_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | auxg94.c | 44 const u32 ureq = unksel ? 0x00100000 : 0x00200000; in g94_i2c_aux_init() local 60 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00300000, ureq); in g94_i2c_aux_init()
|
H A D | auxgm200.c | 44 const u32 ureq = unksel ? 0x00100000 : 0x00200000; in gm200_i2c_aux_init() local 60 nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00700000, ureq); in gm200_i2c_aux_init()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
H A D | verbs.c | 265 struct qedr_alloc_ucontext_req ureq = {}; in qedr_alloc_ucontext() local 274 rc = ib_copy_from_udata(&ureq, udata, in qedr_alloc_ucontext() 275 min(sizeof(ureq), udata->inlen)); in qedr_alloc_ucontext() 280 ctx->edpm_mode = !!(ureq.context_flags & in qedr_alloc_ucontext() 282 ctx->db_rec = !!(ureq.context_flags & QEDR_ALLOC_UCTX_DB_REC); in qedr_alloc_ucontext() 325 if (ureq.context_flags & QEDR_SUPPORT_DPM_SIZES) { in qedr_alloc_ucontext() 916 struct qedr_create_cq_ureq ureq = {}; in qedr_create_cq() local 946 if (ib_copy_from_udata(&ureq, udata, min(sizeof(ureq), in qedr_create_cq() 953 if (!ureq in qedr_create_cq() 1456 qedr_init_srq_user_params(struct ib_udata *udata, struct qedr_srq *srq, struct qedr_create_srq_ureq *ureq, int access) qedr_init_srq_user_params() argument 1539 struct qedr_create_srq_ureq ureq = {}; qedr_create_srq() local 1834 struct qedr_create_qp_ureq ureq = {}; qedr_create_user_qp() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/qedr/ |
H A D | verbs.c | 267 struct qedr_alloc_ucontext_req ureq = {}; in qedr_alloc_ucontext() local 276 rc = ib_copy_from_udata(&ureq, udata, in qedr_alloc_ucontext() 277 min(sizeof(ureq), udata->inlen)); in qedr_alloc_ucontext() 282 ctx->edpm_mode = !!(ureq.context_flags & in qedr_alloc_ucontext() 284 ctx->db_rec = !!(ureq.context_flags & QEDR_ALLOC_UCTX_DB_REC); in qedr_alloc_ucontext() 327 if (ureq.context_flags & QEDR_SUPPORT_DPM_SIZES) { in qedr_alloc_ucontext() 918 struct qedr_create_cq_ureq ureq = {}; in qedr_create_cq() local 951 if (ib_copy_from_udata(&ureq, udata, min(sizeof(ureq), in qedr_create_cq() 958 if (!ureq in qedr_create_cq() 1466 qedr_init_srq_user_params(struct ib_udata *udata, struct qedr_srq *srq, struct qedr_create_srq_ureq *ureq, int access) qedr_init_srq_user_params() argument 1549 struct qedr_create_srq_ureq ureq = {}; qedr_create_srq() local 1848 struct qedr_create_qp_ureq ureq = {}; qedr_create_user_qp() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
H A D | gadget.c | 861 * @ureq: Request to transfer 872 struct usb_request *ureq = NULL; in dwc2_gadget_config_nonisoc_xfer_ddma() local 879 ureq = &hs_ep->req->req; in dwc2_gadget_config_nonisoc_xfer_ddma() 882 if (!ureq || !ureq->num_sgs) { in dwc2_gadget_config_nonisoc_xfer_ddma() 889 for_each_sg(ureq->sg, sg, ureq->num_sgs, i) { in dwc2_gadget_config_nonisoc_xfer_ddma() 1054 struct usb_request *ureq = &hs_req->req; in dwc2_hsotg_start_req() local 1095 length = ureq->length - ureq in dwc2_hsotg_start_req() 2181 struct usb_request *ureq; dwc2_gadget_complete_isoc_request_ddma() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/dwc2/ |
H A D | gadget.c | 860 * @ureq: Request to transfer 871 struct usb_request *ureq = NULL; in dwc2_gadget_config_nonisoc_xfer_ddma() local 878 ureq = &hs_ep->req->req; in dwc2_gadget_config_nonisoc_xfer_ddma() 881 if (!ureq || !ureq->num_sgs) { in dwc2_gadget_config_nonisoc_xfer_ddma() 888 for_each_sg(ureq->sg, sg, ureq->num_sgs, i) { in dwc2_gadget_config_nonisoc_xfer_ddma() 1053 struct usb_request *ureq = &hs_req->req; in dwc2_hsotg_start_req() local 1094 length = ureq->length - ureq in dwc2_hsotg_start_req() 2181 struct usb_request *ureq; dwc2_gadget_complete_isoc_request_ddma() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 1315 struct siw_ureq_reg_mr ureq; in siw_reg_user_mr() local 1367 if (udata->inlen < sizeof(ureq)) { in siw_reg_user_mr() 1371 rv = ib_copy_from_udata(&ureq, udata, sizeof(ureq)); in siw_reg_user_mr() 1375 mr->base_mr.lkey |= ureq.stag_key; in siw_reg_user_mr() 1376 mr->base_mr.rkey |= ureq.stag_key; in siw_reg_user_mr() 1377 mem->stag |= ureq.stag_key; in siw_reg_user_mr()
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 1322 struct siw_ureq_reg_mr ureq; in siw_reg_user_mr() local 1374 if (udata->inlen < sizeof(ureq)) { in siw_reg_user_mr() 1378 rv = ib_copy_from_udata(&ureq, udata, sizeof(ureq)); in siw_reg_user_mr() 1382 mr->base_mr.lkey |= ureq.stag_key; in siw_reg_user_mr() 1383 mr->base_mr.rkey |= ureq.stag_key; in siw_reg_user_mr() 1384 mem->stag |= ureq.stag_key; in siw_reg_user_mr()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 974 struct ocrdma_create_cq_ureq ureq; in ocrdma_create_cq() local 980 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in ocrdma_create_cq() 983 ureq.dpp_cq = 0; in ocrdma_create_cq() 993 status = ocrdma_mbx_create_cq(dev, cq, entries, ureq.dpp_cq, pd_id); in ocrdma_create_cq() 1299 struct ocrdma_create_qp_ureq ureq; in ocrdma_create_qp() local 1306 memset(&ureq, 0, sizeof(ureq)); in ocrdma_create_qp() 1308 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in ocrdma_create_qp() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 976 struct ocrdma_create_cq_ureq ureq; in ocrdma_create_cq() local 982 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in ocrdma_create_cq() 985 ureq.dpp_cq = 0; in ocrdma_create_cq() 995 status = ocrdma_mbx_create_cq(dev, cq, entries, ureq.dpp_cq, pd_id); in ocrdma_create_cq() 1301 struct ocrdma_create_qp_ureq ureq; in ocrdma_create_qp() local 1311 memset(&ureq, 0, sizeof(ureq)); in ocrdma_create_qp() 1313 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in ocrdma_create_qp() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 910 struct bnxt_re_qp_req ureq; in bnxt_re_init_user_qp() local 918 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in bnxt_re_init_user_qp() 935 umem = ib_umem_get(&rdev->ibdev, ureq.qpsva, bytes, in bnxt_re_init_user_qp() 944 qplib_qp->qp_handle = ureq.qp_handle; in bnxt_re_init_user_qp() 949 umem = ib_umem_get(&rdev->ibdev, ureq.qprva, bytes, in bnxt_re_init_user_qp() 1590 struct bnxt_re_srq_req ureq; in bnxt_re_init_user_srq() local 1597 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in bnxt_re_init_user_srq() 1602 umem = ib_umem_get(&rdev->ibdev, ureq in bnxt_re_init_user_srq() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 1012 struct bnxt_re_qp_req ureq; in bnxt_re_init_user_qp() local 1020 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in bnxt_re_init_user_qp() 1037 umem = ib_umem_get(&rdev->ibdev, ureq.qpsva, bytes, in bnxt_re_init_user_qp() 1046 qplib_qp->qp_handle = ureq.qp_handle; in bnxt_re_init_user_qp() 1051 umem = ib_umem_get(&rdev->ibdev, ureq.qprva, bytes, in bnxt_re_init_user_qp() 1685 struct bnxt_re_srq_req ureq; in bnxt_re_init_user_srq() local 1692 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in bnxt_re_init_user_srq() 1697 umem = ib_umem_get(&rdev->ibdev, ureq in bnxt_re_init_user_srq() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 1197 struct irdma_modify_qp_req ureq = {}; in irdma_modify_qp_roce() local 1447 if (ib_copy_from_udata(&ureq, udata, in irdma_modify_qp_roce() 1448 min(sizeof(ureq), udata->inlen))) in irdma_modify_qp_roce() 1452 (ureq.sq_flush ? IRDMA_FLUSH_SQ : 0) | in irdma_modify_qp_roce() 1453 (ureq.rq_flush ? IRDMA_FLUSH_RQ : 0) | in irdma_modify_qp_roce() 1553 struct irdma_modify_qp_req ureq = {}; in irdma_modify_qp() local 1652 if (ib_copy_from_udata(&ureq, udata, in irdma_modify_qp() 1653 min(sizeof(ureq), udata->inlen))) in irdma_modify_qp() 1657 (ureq.sq_flush ? IRDMA_FLUSH_SQ : 0) | in irdma_modify_qp() 1658 (ureq in irdma_modify_qp() [all...] |