Home
last modified time | relevance | path

Searched refs:ureq (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/tee/qcomtee/
H A Duser_obj.c107 struct qcomtee_ureq *ureq) in ureq_enqueue() argument
117 ret = idr_alloc(&ctxdata->reqs_idr, ureq, 0, 0, GFP_KERNEL); in ureq_enqueue()
121 ureq->req_id = ret; in ureq_enqueue()
122 ureq->state = QCOMTEE_REQ_QUEUED; in ureq_enqueue()
123 list_add_tail(&ureq->node, &ctxdata->reqs_list); in ureq_enqueue()
141 struct qcomtee_ureq *ureq; in ureq_dequeue() local
143 ureq = idr_remove(&ctxdata->reqs_idr, req_id); in ureq_dequeue()
144 if (ureq == &empty_ureq || !ureq) in ureq_dequeue()
147 list_del(&ureq->node); in ureq_dequeue()
149 return ureq; in ureq_dequeue()
[all …]
/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c159 struct usbhsh_request *ureq; in usbhsh_ureq_alloc() local
161 ureq = kzalloc_obj(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 …]
/linux/drivers/infiniband/core/
H A Duser_mad.c699 struct ib_user_mad_reg_req ureq; in ib_umad_reg_agent() local
714 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent()
719 if (ureq.qpn != 0 && ureq.qpn != 1) { in ib_umad_reg_agent()
722 ureq.qpn); in ib_umad_reg_agent()
738 if (ureq.mgmt_class) { in ib_umad_reg_agent()
740 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent()
741 req.mgmt_class_version = ureq.mgmt_class_version; in ib_umad_reg_agent()
742 memcpy(req.oui, ureq.oui, sizeof req.oui); in ib_umad_reg_agent()
745 u32 *umm = (u32 *) ureq.method_mask; in ib_umad_reg_agent()
752 memcpy(req.method_mask, ureq.method_mask, in ib_umad_reg_agent()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dauxgm200.c44 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 Dauxg94.c44 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()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c346 struct nix_mcast_grp_update_req *ureq, in otx2_tc_update_mcast() argument
386 ureq->op = NIX_MCAST_OP_ADD_ENTRY; in otx2_tc_update_mcast()
387 ureq->mcast_grp_idx = grp_index; in otx2_tc_update_mcast()
388 ureq->num_mce_entry = num_intf; in otx2_tc_update_mcast()
389 ureq->pcifunc[0] = nic->pcifunc; in otx2_tc_update_mcast()
390 ureq->channel[0] = nic->hw.tx_chan_base; in otx2_tc_update_mcast()
392 ureq->dest_type[0] = NIX_RX_RSS; in otx2_tc_update_mcast()
393 ureq->rq_rss_index[0] = 0; in otx2_tc_update_mcast()
394 memcpy(&ureq->hdr, &grp_update_req->hdr, sizeof(struct mbox_msghdr)); in otx2_tc_update_mcast()
395 memcpy(grp_update_req, ureq, sizeof(struct nix_mcast_grp_update_req)); in otx2_tc_update_mcast()
/linux/drivers/mtd/ubi/
H A Dcdev.c831 static int ubi_get_ec_info(struct ubi_device *ubi, struct ubi_ecinfo_req __user *ureq) in ubi_get_ec_info() argument
840 if (copy_from_user(&req, ureq, sizeof(struct ubi_ecinfo_req))) in ubi_get_ec_info()
854 if (!access_ok((void __user *)ureq->erase_counters, in ubi_get_ec_info()
864 if (__put_user(UBI_UNKNOWN, ureq->erase_counters+read_cnt)) in ubi_get_ec_info()
880 if (__put_user(ec, ureq->erase_counters+read_cnt)) in ubi_get_ec_info()
889 if (copy_to_user(ureq, &req, sizeof(struct ubi_ecinfo_req))) in ubi_get_ec_info()
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c1001 struct erdma_ureq_create_qp ureq; in erdma_create_qp() local
1045 ret = ib_copy_validate_udata_in(udata, ureq, rsvd0); in erdma_create_qp()
1049 ret = init_user_qp(qp, uctx, ureq.qbuf_va, ureq.qbuf_len, in erdma_create_qp()
1050 ureq.db_record_va); in erdma_create_qp()
1927 struct erdma_ureq_create_cq *ureq) in erdma_init_user_cq() argument
1932 ret = get_mtt_entries(dev, &cq->user_cq.qbuf_mem, ureq->qbuf_va, in erdma_init_user_cq()
1933 ureq->qbuf_len, 0, ureq->qbuf_va, SZ_64M - SZ_4K, in erdma_init_user_cq()
1938 ret = erdma_map_user_dbrecords(ctx, ureq->db_record_va, in erdma_init_user_cq()
2003 struct erdma_ureq_create_cq ureq; in erdma_create_cq() local
2006 ret = ib_copy_validate_udata_in(udata, ureq, rsvd0); in erdma_create_cq()
[all …]
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c983 struct irdma_create_qp_req ureq = {}; in irdma_create_qp() local
1005 err_code = ib_copy_validate_udata_in(udata, ureq, user_compl_ctx); in irdma_create_qp()
1073 err_code = irdma_setup_umode_qp(ucontext, &ureq, iwdev, iwqp, in irdma_create_qp()
1319 struct irdma_modify_qp_req ureq = {}; in irdma_modify_qp_roce() local
1340 ret = ib_copy_validate_udata_in(udata, ureq, rsvd); in irdma_modify_qp_roce()
1587 (ureq.sq_flush ? IRDMA_FLUSH_SQ : 0) | in irdma_modify_qp_roce()
1588 (ureq.rq_flush ? IRDMA_FLUSH_RQ : 0) | in irdma_modify_qp_roce()
1684 struct irdma_modify_qp_req ureq = {}; in irdma_modify_qp() local
1700 err = ib_copy_validate_udata_in(udata, ureq, rsvd); in irdma_modify_qp()
1794 (ureq.sq_flush ? IRDMA_FLUSH_SQ : 0) | in irdma_modify_qp()
[all …]
/linux/net/wireless/
H A Dreg.c3583 struct regulatory_request *ureq; in restore_regulatory_settings() local
3586 ureq = list_last_entry(&reg_requests_list, in restore_regulatory_settings()
3589 list_del(&ureq->list); in restore_regulatory_settings()
3592 notify_self_managed_wiphys(ureq); in restore_regulatory_settings()
3593 reg_update_last_request(ureq); in restore_regulatory_settings()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c6425 struct nix_mcast_grp_update_req ureq = { 0 }; in rvu_nix_mcast_flr_free_entries() local
6463 ureq.hdr.pcifunc = pcifunc; in rvu_nix_mcast_flr_free_entries()
6464 ureq.num_mce_entry = 1; in rvu_nix_mcast_flr_free_entries()
6465 ureq.mcast_grp_idx = elem->mcast_grp_idx; in rvu_nix_mcast_flr_free_entries()
6466 ureq.op = NIX_MCAST_OP_DEL_ENTRY; in rvu_nix_mcast_flr_free_entries()
6467 ureq.pcifunc[0] = pcifunc; in rvu_nix_mcast_flr_free_entries()
6468 ureq.is_af = 1; in rvu_nix_mcast_flr_free_entries()
6469 rvu_mbox_handler_nix_mcast_grp_update(rvu, &ureq, &ursp); in rvu_nix_mcast_flr_free_entries()
/linux/drivers/s390/net/
H A Dqeth_core_main.c4689 struct qeth_snmp_ureq __user *ureq; in qeth_snmp_command() local
4704 ureq = (struct qeth_snmp_ureq __user *) udata; in qeth_snmp_command()
4705 if (get_user(qinfo.udata_len, &ureq->hdr.data_len) || in qeth_snmp_command()
4706 get_user(req_len, &ureq->hdr.req_len)) in qeth_snmp_command()
4721 &ureq->cmd, req_len)) { in qeth_snmp_command()