/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
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[i].req, GFP_ATOMIC)) in u_audio_start_capture() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
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() argument 175 usbhsh_urb_to_ureq(ureq->urb) = NULL; in usbhsh_ureq_free() 176 ureq->urb = NULL; in usbhsh_ureq_free() [all …]
|
D | mod_gadget.c | 119 struct usbhsg_request *ureq, in __usbhsg_queue_pop() argument 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() argument 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() argument 170 struct usbhs_pkt *pkt = usbhsg_ureq_to_pkt(ureq); in usbhsg_queue_push() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | user_mad.c | 681 struct ib_user_mad_reg_req ureq; in ib_umad_reg_agent() local 697 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent() 702 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent() 705 ureq.qpn); in ib_umad_reg_agent() 721 if (ureq.mgmt_class) { in ib_umad_reg_agent() 723 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent() 724 req.mgmt_class_version = ureq.mgmt_class_version; in ib_umad_reg_agent() 725 memcpy(req.oui, ureq.oui, sizeof req.oui); in ib_umad_reg_agent() 728 u32 *umm = (u32 *) ureq.method_mask; in ib_umad_reg_agent() 735 memcpy(req.method_mask, ureq.method_mask, in ib_umad_reg_agent() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
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()
|
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-5.10/drivers/usb/dwc2/ |
D | gadget.c | 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->actual; in dwc2_hsotg_start_req() 1097 ureq->length, ureq->actual); in dwc2_hsotg_start_req() 1134 if (dir_in && ureq->zero && !continuing) { in dwc2_hsotg_start_req() 1136 if ((ureq->length >= hs_ep->ep.maxpacket) && in dwc2_hsotg_start_req() 1137 !(ureq->length % hs_ep->ep.maxpacket)) in dwc2_hsotg_start_req() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
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.len) { in qedr_create_cq() 961 rc = qedr_init_user_queue(udata, dev, &cq->q, ureq.addr, in qedr_create_cq() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 1283 struct siw_ureq_reg_mr ureq; in siw_reg_user_mr() local 1335 if (udata->inlen < sizeof(ureq)) { in siw_reg_user_mr() 1339 rv = ib_copy_from_udata(&ureq, udata, sizeof(ureq)); in siw_reg_user_mr() 1343 mr->base_mr.lkey |= ureq.stag_key; in siw_reg_user_mr() 1344 mr->base_mr.rkey |= ureq.stag_key; in siw_reg_user_mr() 1345 mem->stag |= ureq.stag_key; in siw_reg_user_mr()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
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() 1322 status = ocrdma_mbx_create_qp(qp, attrs, ureq.enable_dpp_cq, in ocrdma_create_qp() 1323 ureq.dpp_cq_id, in ocrdma_create_qp()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 912 struct bnxt_re_qp_req ureq; in bnxt_re_init_user_qp() local 920 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in bnxt_re_init_user_qp() 937 umem = ib_umem_get(&rdev->ibdev, ureq.qpsva, bytes, in bnxt_re_init_user_qp() 946 qplib_qp->qp_handle = ureq.qp_handle; in bnxt_re_init_user_qp() 951 umem = ib_umem_get(&rdev->ibdev, ureq.qprva, bytes, in bnxt_re_init_user_qp() 1592 struct bnxt_re_srq_req ureq; in bnxt_re_init_user_srq() local 1599 if (ib_copy_from_udata(&ureq, udata, sizeof(ureq))) in bnxt_re_init_user_srq() 1604 umem = ib_umem_get(&rdev->ibdev, ureq.srqva, bytes, in bnxt_re_init_user_srq() 1613 qplib_srq->srq_handle = ureq.srq_handle; in bnxt_re_init_user_srq()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | reg.c | 3450 struct regulatory_request *ureq; in restore_regulatory_settings() local 3453 ureq = list_last_entry(®_requests_list, in restore_regulatory_settings() 3456 list_del(&ureq->list); in restore_regulatory_settings() 3459 notify_self_managed_wiphys(ureq); in restore_regulatory_settings() 3460 reg_update_last_request(ureq); in restore_regulatory_settings()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | qeth_core_main.c | 4727 struct qeth_snmp_ureq __user *ureq; in qeth_snmp_command() local 4742 ureq = (struct qeth_snmp_ureq __user *) udata; in qeth_snmp_command() 4743 if (get_user(qinfo.udata_len, &ureq->hdr.data_len) || in qeth_snmp_command() 4744 get_user(req_len, &ureq->hdr.req_len)) in qeth_snmp_command() 4756 &ureq->cmd, req_len)) { in qeth_snmp_command()
|