| /linux/drivers/tee/qcomtee/ |
| H A D | user_obj.c | 107 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 D | mod_host.c | 159 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 D | user_mad.c | 699 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 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()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_tc.c | 346 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 D | cdev.c | 831 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/net/wireless/ |
| H A D | reg.c | 3549 struct regulatory_request *ureq; in restore_regulatory_settings() local 3552 ureq = list_last_entry(®_requests_list, in restore_regulatory_settings() 3555 list_del(&ureq->list); in restore_regulatory_settings() 3558 notify_self_managed_wiphys(ureq); in restore_regulatory_settings() 3559 reg_update_last_request(ureq); in restore_regulatory_settings()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 6426 struct nix_mcast_grp_update_req ureq = { 0 }; in rvu_nix_mcast_flr_free_entries() local 6464 ureq.hdr.pcifunc = pcifunc; in rvu_nix_mcast_flr_free_entries() 6465 ureq.num_mce_entry = 1; in rvu_nix_mcast_flr_free_entries() 6466 ureq.mcast_grp_idx = elem->mcast_grp_idx; in rvu_nix_mcast_flr_free_entries() 6467 ureq.op = NIX_MCAST_OP_DEL_ENTRY; in rvu_nix_mcast_flr_free_entries() 6468 ureq.pcifunc[0] = pcifunc; in rvu_nix_mcast_flr_free_entries() 6469 ureq.is_af = 1; in rvu_nix_mcast_flr_free_entries() 6470 rvu_mbox_handler_nix_mcast_grp_update(rvu, &ureq, &ursp); in rvu_nix_mcast_flr_free_entries()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_core_main.c | 4689 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()
|