Home
last modified time | relevance | path

Searched refs:req_data (Results 1 – 25 of 26) sorted by relevance

12

/drivers/nvdimm/
Dnd_virtio.c16 struct virtio_pmem_request *req_data, *req_buf; in virtio_pmem_host_ack() local
21 while ((req_data = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_pmem_host_ack()
22 req_data->done = true; in virtio_pmem_host_ack()
23 wake_up(&req_data->host_acked); in virtio_pmem_host_ack()
42 struct virtio_pmem_request *req_data; in virtio_pmem_flush() local
48 req_data = kmalloc(sizeof(*req_data), GFP_KERNEL); in virtio_pmem_flush()
49 if (!req_data) in virtio_pmem_flush()
52 req_data->done = false; in virtio_pmem_flush()
53 init_waitqueue_head(&req_data->host_acked); in virtio_pmem_flush()
54 init_waitqueue_head(&req_data->wq_buf); in virtio_pmem_flush()
[all …]
/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c77 struct cx231xx_i2c_xfer_data req_data; in cx231xx_i2c_send_bytes() local
138 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
139 req_data.direction = msg->flags; in cx231xx_i2c_send_bytes()
140 req_data.saddr_len = saddr_len; in cx231xx_i2c_send_bytes()
141 req_data.saddr_dat = msg->buf[0]; in cx231xx_i2c_send_bytes()
142 req_data.buf_size = size > 16 ? 16 : size; in cx231xx_i2c_send_bytes()
143 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()
149 status = dev->cx231xx_send_usb_command(bus, &req_data); in cx231xx_i2c_send_bytes()
165 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
166 req_data.direction = msg->flags; in cx231xx_i2c_send_bytes()
[all …]
Dcx231xx-core.c141 struct cx231xx_i2c_xfer_data *req_data) in cx231xx_send_usb_command() argument
160 saddr_len = req_data->saddr_len; in cx231xx_send_usb_command()
163 ven_req.wValue = (req_data->dev_addr << 9 | _i2c_period << 4 | in cx231xx_send_usb_command()
168 if (req_data->direction & I2C_M_RD) { in cx231xx_send_usb_command()
180 ven_req.wIndex = (req_data->saddr_dat & 0xff); in cx231xx_send_usb_command()
183 ven_req.wIndex = req_data->saddr_dat; in cx231xx_send_usb_command()
188 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command()
194 if (req_data->direction) { in cx231xx_send_usb_command()
196 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command()
201 ven_req.pBuff = req_data->p_buffer; in cx231xx_send_usb_command()
[all …]
Dcx231xx.h663 struct cx231xx_i2c_xfer_data *req_data);
833 struct cx231xx_i2c_xfer_data *req_data);
/drivers/scsi/libsas/
Dsas_host_smp.c115 u8 *req_data) in sas_host_smp_write_gpio() argument
126 reg_count, req_data); in sas_host_smp_write_gpio()
228 u8 *req_data, *resp_data; in sas_smp_host_handler() local
238 req_data = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in sas_smp_host_handler()
239 if (!req_data) in sas_smp_host_handler()
242 job->request_payload.sg_cnt, req_data, in sas_smp_host_handler()
253 if (req_data[0] != SMP_REQUEST) in sas_smp_host_handler()
258 resp_data[1] = req_data[1]; in sas_smp_host_handler()
261 switch (req_data[1]) { in sas_smp_host_handler()
284 sas_host_smp_discover(sas_ha, resp_data, req_data[9]); in sas_smp_host_handler()
[all …]
/drivers/media/usb/gspca/
Dvicam.c104 u8 *req_data = gspca_dev->usb_buf; in vicam_read_frame() local
108 memset(req_data, 0, 16); in vicam_read_frame()
109 req_data[0] = gain; in vicam_read_frame()
111 req_data[1] |= 0x01; /* low nibble x-scale */ in vicam_read_frame()
113 req_data[1] |= 0x10; /* high nibble y-scale */ in vicam_read_frame()
117 req_data[2] = 0x90; /* unknown, does not seem to do anything */ in vicam_read_frame()
119 req_data[3] = 0x06; /* vend? */ in vicam_read_frame()
121 req_data[3] = 0x07; /* vend? */ in vicam_read_frame()
123 req_data[3] = 0x08; /* vend? */ in vicam_read_frame()
127 req_data[4] = 255 - expo; in vicam_read_frame()
[all …]
/drivers/media/platform/amphion/
Dvpu_msgs.c36 struct vpu_pkt_mem_req_data req_data = { 0 }; in vpu_session_handle_mem_request() local
38 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&req_data); in vpu_session_handle_mem_request()
41 req_data.enc_frame_size, in vpu_session_handle_mem_request()
42 req_data.enc_frame_num, in vpu_session_handle_mem_request()
43 req_data.ref_frame_size, in vpu_session_handle_mem_request()
44 req_data.ref_frame_num, in vpu_session_handle_mem_request()
45 req_data.act_buf_size, in vpu_session_handle_mem_request()
46 req_data.act_buf_num); in vpu_session_handle_mem_request()
49 req_data.enc_frame_size, in vpu_session_handle_mem_request()
50 req_data.enc_frame_num, in vpu_session_handle_mem_request()
[all …]
Dvpu_windsor.c743 struct vpu_pkt_mem_req_data *req_data = data; in vpu_windsor_unpack_mem_req() local
745 req_data->enc_frame_size = pkt->data[0]; in vpu_windsor_unpack_mem_req()
746 req_data->enc_frame_num = pkt->data[1]; in vpu_windsor_unpack_mem_req()
747 req_data->ref_frame_size = pkt->data[2]; in vpu_windsor_unpack_mem_req()
748 req_data->ref_frame_num = pkt->data[3]; in vpu_windsor_unpack_mem_req()
749 req_data->act_buf_size = pkt->data[4]; in vpu_windsor_unpack_mem_req()
750 req_data->act_buf_num = 1; in vpu_windsor_unpack_mem_req()
/drivers/crypto/virtio/
Dvirtio_crypto_skcipher_algs.c332 struct virtio_crypto_op_data_req *req_data; in __virtio_crypto_skcipher_do_req() local
361 req_data = kzalloc_node(sizeof(*req_data), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
363 if (!req_data) { in __virtio_crypto_skcipher_do_req()
368 vc_req->req_data = req_data; in __virtio_crypto_skcipher_do_req()
372 req_data->header.session_id = in __virtio_crypto_skcipher_do_req()
374 req_data->header.opcode = in __virtio_crypto_skcipher_do_req()
377 req_data->header.session_id = in __virtio_crypto_skcipher_do_req()
379 req_data->header.opcode = in __virtio_crypto_skcipher_do_req()
382 req_data->u.sym_req.op_type = cpu_to_le32(VIRTIO_CRYPTO_SYM_OP_CIPHER); in __virtio_crypto_skcipher_do_req()
383 req_data->u.sym_req.u.cipher.para.iv_len = cpu_to_le32(ivsize); in __virtio_crypto_skcipher_do_req()
[all …]
Dvirtio_crypto_akcipher_algs.c226 struct virtio_crypto_op_data_req *req_data = vc_req->req_data; in __virtio_crypto_akcipher_do_req() local
237 sg_init_one(&outhdr_sg, req_data, sizeof(*req_data)); in __virtio_crypto_akcipher_do_req()
300 vc_req->req_data = kzalloc_node(sizeof(*vc_req->req_data), in virtio_crypto_rsa_do_req()
302 if (!vc_req->req_data) in virtio_crypto_rsa_do_req()
306 header = &vc_req->req_data->header; in virtio_crypto_rsa_do_req()
312 akcipher_req = &vc_req->req_data->u.akcipher_req; in virtio_crypto_rsa_do_req()
318 kfree_sensitive(vc_req->req_data); in virtio_crypto_rsa_do_req()
319 vc_req->req_data = NULL; in virtio_crypto_rsa_do_req()
Dvirtio_crypto_common.h107 struct virtio_crypto_op_data_req *req_data; member
Dvirtio_crypto_core.c20 kfree_sensitive(vc_req->req_data); in virtcrypto_clear_request()
493 kfree(vc_req->req_data); in virtcrypto_free_unused_reqs()
/drivers/scsi/qla2xxx/
Dqla_bsg.c753 void *req_data = NULL; in qla2x00_process_loopback() local
800 req_data = dma_alloc_coherent(&ha->pdev->dev, req_data_len, in qla2x00_process_loopback()
802 if (!req_data) { in qla2x00_process_loopback()
820 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_process_loopback()
833 get_unaligned_le32(req_data) == ELS_OPCODE_BYTE && in qla2x00_process_loopback()
966 req_data, req_data_dma); in qla2x00_process_loopback()
2563 struct ql_vnd_mng_host_stats_param *req_data; in qla2x00_manage_host_stats() local
2580 req_data = kzalloc(sizeof(*req_data), GFP_KERNEL); in qla2x00_manage_host_stats()
2581 if (!req_data) { in qla2x00_manage_host_stats()
2588 bsg_job->request_payload.sg_cnt, req_data, in qla2x00_manage_host_stats()
[all …]
Dqla_mr.c1812 fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->port_id); in qlafx00_fx_disc()
1818 fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->tgt_id); in qlafx00_fx_disc()
2203 iocb_job->u.fxiocb.req_data = in qlafx00_ioctl_iosb_entry()
3263 fx_iocb.dataword = fxio->u.fxiocb.req_data; in qlafx00_fxdisc_iocb()
/drivers/virt/coco/sev-guest/
Dsev-guest.c487 if (!arg->req_data || !arg->resp_data) in get_report()
490 if (copy_from_user(req, (void __user *)arg->req_data, sizeof(*req))) in get_report()
528 if (!arg->req_data || !arg->resp_data) in get_derived_key()
540 if (copy_from_user(req, (void __user *)arg->req_data, sizeof(*req))) in get_derived_key()
567 if (!arg->req_data || !arg->resp_data) in get_ext_report()
570 if (copy_from_user(req, (void __user *)arg->req_data, sizeof(*req))) in get_ext_report()
612 if (copy_to_user((void __user *)arg->req_data, req, sizeof(*req))) in get_ext_report()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmcu.c301 struct req_data { in mt7603_mcu_set_eeprom() struct
314 const int size = 0xff * sizeof(struct req_data); in mt7603_mcu_set_eeprom()
317 struct req_data *data; in mt7603_mcu_set_eeprom()
326 data = (struct req_data *)(req + sizeof(req_hdr)); in mt7603_mcu_set_eeprom()
/drivers/platform/x86/intel/speed_select_if/
Disst_if_mbox_msr.c102 act->mbox_cmd->req_data, in msrl_update_func()
137 action.mbox_cmd->req_data); in isst_if_mbox_proc_cmd()
Disst_if_mbox_pci.c71 mbox_cmd->req_data); in isst_if_mbox_cmd()
151 mbox_cmd->req_data); in isst_if_mbox_proc_cmd()
Disst_if_common.c169 mbox_cmd.req_data = sst_cmd->data; in isst_mbox_resume_command()
/drivers/scsi/isci/
Dsas.h204 u8 req_data[]; member
/drivers/infiniband/core/
Dcma.c2354 const struct ib_cm_req_event_param *req_data, in cma_set_req_event_data() argument
2359 event->param.conn.responder_resources = req_data->responder_resources; in cma_set_req_event_data()
2360 event->param.conn.initiator_depth = req_data->initiator_depth; in cma_set_req_event_data()
2361 event->param.conn.flow_control = req_data->flow_control; in cma_set_req_event_data()
2362 event->param.conn.retry_count = req_data->retry_count; in cma_set_req_event_data()
2363 event->param.conn.rnr_retry_count = req_data->rnr_retry_count; in cma_set_req_event_data()
2364 event->param.conn.srq = req_data->srq; in cma_set_req_event_data()
2365 event->param.conn.qp_num = req_data->remote_qpn; in cma_set_req_event_data()
2367 event->ece.vendor_id = req_data->ece.vendor_id; in cma_set_req_event_data()
2368 event->ece.attr_mod = req_data->ece.attr_mod; in cma_set_req_event_data()
/drivers/s390/crypto/
Dzcrypt_msgtype6.c353 char *req_data = ap_msg->msg + sizeof(struct type6_hdr) + rcblen; in xcrb_msg_to_type6cprb_msgx() local
447 z_copy_from_user(userspace, req_data, xcrb->request_data_address, in xcrb_msg_to_type6cprb_msgx()
/drivers/rapidio/
Drio_cm.c376 static int riocm_req_handler(struct cm_dev *cm, void *req_data) in riocm_req_handler() argument
380 struct rio_ch_chan_hdr *hh = req_data; in riocm_req_handler()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c297 u64 req_data = (((u64)le32_to_cpu(req_desc->u.high) << 32) | in megasas_write_64bit_req_desc() local
299 writeq(req_data, &instance->reg_set->inbound_low_queue_port); in megasas_write_64bit_req_desc()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.c1792 struct req_data { in mt7615_mcu_set_wmm() struct

12