Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Duvc_video.c95 struct uvc_request *ureq = req->context; in uvc_video_encode_bulk() local
122 ureq->last_buf = buf; in uvc_video_encode_bulk()
138 struct uvc_request *ureq = req->context; in uvc_video_encode_isoc_sg() local
145 sg = ureq->sgt.sgl; in uvc_video_encode_isoc_sg()
146 sg_init_table(sg, ureq->sgt.nents); in uvc_video_encode_isoc_sg()
149 header_len = uvc_video_encode_header(video, buf, ureq->header, in uvc_video_encode_isoc_sg()
151 sg_set_buf(sg, ureq->header, header_len); in uvc_video_encode_isoc_sg()
163 for_each_sg(sg, iter, ureq->sgt.nents - 1, i) { in uvc_video_encode_isoc_sg()
183 req->sg = ureq->sgt.sgl; in uvc_video_encode_isoc_sg()
196 ureq in uvc_video_encode_isoc_sg()
205 struct uvc_request *ureq = req->context; uvc_video_encode_isoc() local
239 uvc_video_free_request(struct uvc_request * ureq,struct usb_ep * ep) uvc_video_free_request() argument
291 struct uvc_request *ureq = req->context; uvcg_video_usb_req_queue() local
333 struct uvc_request *ureq = req->context; uvc_video_complete() local
486 struct uvc_request *ureq, *temp; uvc_video_free_requests() local
549 struct uvc_request *ureq; uvc_video_alloc_requests() local
690 struct uvc_request *ureq, *utemp; uvcg_video_disable() local
[all...]
/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c159 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 in usbhsh_ureq_free()
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...]
H A Dmod_gadget.c119 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()
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...]
/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/usb/dwc2/
H A Dgadget.c860 * @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_mapped_sgs, i) { in dwc2_gadget_config_nonisoc_xfer_ddma()
891 (i == (ureq->num_mapped_sgs - 1))); in dwc2_gadget_config_nonisoc_xfer_ddma()
1053 struct usb_request *ureq = &hs_req->req; in dwc2_hsotg_start_req() local
1094 length = ureq in dwc2_hsotg_start_req()
2185 struct usb_request *ureq; dwc2_gadget_complete_isoc_request_ddma() local
[all...]
/linux/fs/xfs/
H A Dxfs_handle.c871 struct xfs_getparents __user *ureq) in xfs_ioc_getparents() argument
884 if (copy_from_user(kreq, ureq, sizeof(*kreq))) in xfs_ioc_getparents()
891 if (copy_to_user(ureq, kreq, sizeof(*kreq))) in xfs_ioc_getparents()
901 struct xfs_getparents_by_handle __user *ureq) in xfs_ioc_getparents_by_handle() argument
914 if (copy_from_user(kreq, ureq, sizeof(*kreq))) in xfs_ioc_getparents_by_handle()
938 if (copy_to_user(ureq, kreq, sizeof(*kreq))) in xfs_ioc_getparents_by_handle()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c365 struct nix_mcast_grp_update_req *ureq, in otx2_tc_update_mcast() argument
405 ureq->op = NIX_MCAST_OP_ADD_ENTRY; in otx2_tc_update_mcast()
406 ureq->mcast_grp_idx = grp_index; in otx2_tc_update_mcast()
407 ureq->num_mce_entry = num_intf; in otx2_tc_update_mcast()
408 ureq->pcifunc[0] = nic->pcifunc; in otx2_tc_update_mcast()
409 ureq->channel[0] = nic->hw.tx_chan_base; in otx2_tc_update_mcast()
411 ureq->dest_type[0] = NIX_RX_RSS; in otx2_tc_update_mcast()
412 ureq->rq_rss_index[0] = 0; in otx2_tc_update_mcast()
413 memcpy(&ureq->hdr, &grp_update_req->hdr, sizeof(struct mbox_msghdr)); in otx2_tc_update_mcast()
414 memcpy(grp_update_req, ureq, sizeo in otx2_tc_update_mcast()
[all...]
/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.c971 struct erdma_ureq_create_qp ureq; in erdma_create_qp() local
1013 ret = ib_copy_from_udata(&ureq, udata, in erdma_create_qp()
1014 min(sizeof(ureq), udata->inlen)); in erdma_create_qp()
1018 ret = init_user_qp(qp, uctx, ureq.qbuf_va, ureq.qbuf_len, in erdma_create_qp()
1019 ureq.db_record_va); in erdma_create_qp()
1875 struct erdma_ureq_create_cq *ureq) in erdma_init_user_cq() argument
1880 ret = get_mtt_entries(dev, &cq->user_cq.qbuf_mem, ureq->qbuf_va, in erdma_init_user_cq()
1881 ureq->qbuf_len, 0, ureq in erdma_init_user_cq()
1949 struct erdma_ureq_create_cq ureq; erdma_create_cq() local
[all...]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c1333 struct siw_ureq_reg_mr ureq; in siw_reg_user_mr() local
1373 if (udata->inlen < sizeof(ureq)) { in siw_reg_user_mr()
1377 rv = ib_copy_from_udata(&ureq, udata, sizeof(ureq)); in siw_reg_user_mr()
1381 mr->base_mr.lkey |= ureq.stag_key; in siw_reg_user_mr()
1382 mr->base_mr.rkey |= ureq.stag_key; in siw_reg_user_mr()
1383 mem->stag |= ureq.stag_key; in siw_reg_user_mr()
/linux/net/wireless/
H A Dreg.c3563 struct regulatory_request *ureq; in restore_regulatory_settings() local
3566 ureq = list_last_entry(&reg_requests_list, in restore_regulatory_settings()
3569 list_del(&ureq->list); in restore_regulatory_settings()
3572 notify_self_managed_wiphys(ureq); in restore_regulatory_settings()
3573 reg_update_last_request(ureq); in restore_regulatory_settings()