Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/cx231xx/
Dcx231xx-i2c.c80 struct cx231xx_i2c_xfer_data req_data; in cx231xx_i2c_send_bytes() local
141 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
142 req_data.direction = msg->flags; in cx231xx_i2c_send_bytes()
143 req_data.saddr_len = saddr_len; in cx231xx_i2c_send_bytes()
144 req_data.saddr_dat = msg->buf[0]; in cx231xx_i2c_send_bytes()
145 req_data.buf_size = size > 16 ? 16 : size; in cx231xx_i2c_send_bytes()
146 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()
152 status = dev->cx231xx_send_usb_command(bus, &req_data); in cx231xx_i2c_send_bytes()
168 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
169 req_data.direction = msg->flags; in cx231xx_i2c_send_bytes()
[all …]
Dcx231xx-core.c158 struct cx231xx_i2c_xfer_data *req_data) in cx231xx_send_usb_command() argument
177 saddr_len = req_data->saddr_len; in cx231xx_send_usb_command()
182 req_data-> in cx231xx_send_usb_command()
187 req_data-> in cx231xx_send_usb_command()
192 if (req_data->direction & I2C_M_RD) { in cx231xx_send_usb_command()
204 ven_req.wIndex = (req_data->saddr_dat & 0xff); in cx231xx_send_usb_command()
207 ven_req.wIndex = req_data->saddr_dat; in cx231xx_send_usb_command()
212 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command()
218 if (req_data->direction) { in cx231xx_send_usb_command()
220 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command()
[all …]
Dcx231xx.h698 struct cx231xx_i2c_xfer_data *req_data);
865 struct cx231xx_i2c_xfer_data *req_data);
/linux-3.4.99/drivers/media/video/gspca/
Dvicam.c148 u8 *req_data = gspca_dev->usb_buf; in vicam_read_frame() local
150 memset(req_data, 0, 16); in vicam_read_frame()
151 req_data[0] = sd->ctrls[GAIN].val; in vicam_read_frame()
153 req_data[1] |= 0x01; /* low nibble x-scale */ in vicam_read_frame()
155 req_data[1] |= 0x10; /* high nibble y-scale */ in vicam_read_frame()
159 req_data[2] = 0x90; /* unknown, does not seem to do anything */ in vicam_read_frame()
161 req_data[3] = 0x06; /* vend? */ in vicam_read_frame()
163 req_data[3] = 0x07; /* vend? */ in vicam_read_frame()
165 req_data[3] = 0x08; /* vend? */ in vicam_read_frame()
169 req_data[4] = 255 - sd->ctrls[EXPOSURE].val; in vicam_read_frame()
[all …]
/linux-3.4.99/drivers/scsi/libsas/
Dsas_host_smp.c118 u8 *req_data) in sas_host_smp_write_gpio() argument
129 reg_count, req_data); in sas_host_smp_write_gpio()
231 u8 *req_data = NULL, *resp_data = NULL, *buf; in sas_smp_host_handler() local
246 req_data = kzalloc(blk_rq_bytes(req), GFP_KERNEL); in sas_smp_host_handler()
252 if (!req_data || !resp_data) { in sas_smp_host_handler()
259 memcpy(req_data, buf, blk_rq_bytes(req)); in sas_smp_host_handler()
263 if (req_data[0] != SMP_REQUEST) in sas_smp_host_handler()
272 resp_data[1] = req_data[1]; in sas_smp_host_handler()
275 switch (req_data[1]) { in sas_smp_host_handler()
305 sas_host_smp_discover(sas_ha, resp_data, req_data[9]); in sas_smp_host_handler()
[all …]
/linux-3.4.99/drivers/block/
Drbd.c892 struct rbd_request *req_data; in rbd_do_request() local
896 req_data = kzalloc(sizeof(*req_data), GFP_NOIO); in rbd_do_request()
897 if (!req_data) { in rbd_do_request()
905 req_data->coll = coll; in rbd_do_request()
906 req_data->coll_index = coll_index; in rbd_do_request()
921 req_data->rq = rq; in rbd_do_request()
922 req_data->bio = bio; in rbd_do_request()
923 req_data->pages = pages; in rbd_do_request()
924 req_data->len = len; in rbd_do_request()
926 req->r_priv = req_data; in rbd_do_request()
[all …]
/linux-3.4.99/arch/x86/crypto/
Daesni-intel_glue.c879 struct aesni_hash_subkey_req_data *req_data; in rfc4106_set_hash_subkey() local
896 req_data = kmalloc(sizeof(*req_data), GFP_KERNEL); in rfc4106_set_hash_subkey()
897 if (!req_data) in rfc4106_set_hash_subkey()
900 memset(req_data->iv, 0, sizeof(req_data->iv)); in rfc4106_set_hash_subkey()
906 init_completion(&req_data->result.completion); in rfc4106_set_hash_subkey()
907 sg_init_one(&req_data->sg, hash_subkey, RFC4106_HASH_SUBKEY_SIZE); in rfc4106_set_hash_subkey()
912 &req_data->result); in rfc4106_set_hash_subkey()
914 ablkcipher_request_set_crypt(req, &req_data->sg, in rfc4106_set_hash_subkey()
915 &req_data->sg, RFC4106_HASH_SUBKEY_SIZE, req_data->iv); in rfc4106_set_hash_subkey()
920 (&req_data->result.completion); in rfc4106_set_hash_subkey()
[all …]
/linux-3.4.99/drivers/scsi/isci/
Dsas.h204 u8 req_data[0]; member
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_bsg.c639 uint8_t *req_data = NULL; in qla2x00_process_loopback() local
684 req_data = dma_alloc_coherent(&ha->pdev->dev, req_data_len, in qla2x00_process_loopback()
686 if (!req_data) { in qla2x00_process_loopback()
704 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_process_loopback()
715 le32_to_cpu(*(uint32_t *)req_data) == ELS_OPCODE_BYTE in qla2x00_process_loopback()
839 req_data, req_data_dma); in qla2x00_process_loopback()
/linux-3.4.99/drivers/s390/crypto/
Dzcrypt_pcixcc.c283 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX() local
326 copy_from_user(req_data, xcRB->request_data_address, in XCRB_msg_to_type6CPRB_msgX()
/linux-3.4.99/drivers/infiniband/core/
Dcma.c1170 struct ib_cm_req_event_param *req_data, in cma_set_req_event_data() argument
1175 event->param.conn.responder_resources = req_data->responder_resources; in cma_set_req_event_data()
1176 event->param.conn.initiator_depth = req_data->initiator_depth; in cma_set_req_event_data()
1177 event->param.conn.flow_control = req_data->flow_control; in cma_set_req_event_data()
1178 event->param.conn.retry_count = req_data->retry_count; in cma_set_req_event_data()
1179 event->param.conn.rnr_retry_count = req_data->rnr_retry_count; in cma_set_req_event_data()
1180 event->param.conn.srq = req_data->srq; in cma_set_req_event_data()
1181 event->param.conn.qp_num = req_data->remote_qpn; in cma_set_req_event_data()