Home
last modified time | relevance | path

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

/drivers/media/usb/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.h678 struct cx231xx_i2c_xfer_data *req_data);
844 struct cx231xx_i2c_xfer_data *req_data);
/drivers/media/usb/gspca/
Dvicam.c118 u8 *req_data = gspca_dev->usb_buf; in vicam_read_frame() local
122 memset(req_data, 0, 16); in vicam_read_frame()
123 req_data[0] = gain; in vicam_read_frame()
125 req_data[1] |= 0x01; /* low nibble x-scale */ in vicam_read_frame()
127 req_data[1] |= 0x10; /* high nibble y-scale */ in vicam_read_frame()
131 req_data[2] = 0x90; /* unknown, does not seem to do anything */ in vicam_read_frame()
133 req_data[3] = 0x06; /* vend? */ in vicam_read_frame()
135 req_data[3] = 0x07; /* vend? */ in vicam_read_frame()
137 req_data[3] = 0x08; /* vend? */ in vicam_read_frame()
141 req_data[4] = 255 - expo; in vicam_read_frame()
[all …]
/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 …]
/drivers/scsi/isci/
Dsas.h204 u8 req_data[0]; member
/drivers/s390/crypto/
Dzcrypt_msgtype6.c311 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX() local
355 copy_from_user(req_data, xcRB->request_data_address, in XCRB_msg_to_type6CPRB_msgX()
/drivers/scsi/qla2xxx/
Dqla_bsg.c699 uint8_t *req_data = NULL; in qla2x00_process_loopback() local
744 req_data = dma_alloc_coherent(&ha->pdev->dev, req_data_len, in qla2x00_process_loopback()
746 if (!req_data) { in qla2x00_process_loopback()
764 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_process_loopback()
777 le32_to_cpu(*(uint32_t *)req_data) == ELS_OPCODE_BYTE in qla2x00_process_loopback()
910 req_data, req_data_dma); in qla2x00_process_loopback()
Dqla_mr.c1762 fdisc->u.fxiocb.req_data = fcport->port_id; in qlafx00_fx_disc()
1768 fdisc->u.fxiocb.req_data = fcport->tgt_id; in qlafx00_fx_disc()
2223 iocb_job->u.fxiocb.req_data = in qlafx00_ioctl_iosb_entry()
3310 cpu_to_le32(fxio->u.fxiocb.req_data); in qlafx00_fxdisc_iocb()
Dqla_def.h344 uint32_t req_data; member
/drivers/infiniband/core/
Dcma.c1176 struct ib_cm_req_event_param *req_data, in cma_set_req_event_data() argument
1181 event->param.conn.responder_resources = req_data->responder_resources; in cma_set_req_event_data()
1182 event->param.conn.initiator_depth = req_data->initiator_depth; in cma_set_req_event_data()
1183 event->param.conn.flow_control = req_data->flow_control; in cma_set_req_event_data()
1184 event->param.conn.retry_count = req_data->retry_count; in cma_set_req_event_data()
1185 event->param.conn.rnr_retry_count = req_data->rnr_retry_count; in cma_set_req_event_data()
1186 event->param.conn.srq = req_data->srq; in cma_set_req_event_data()
1187 event->param.conn.qp_num = req_data->remote_qpn; in cma_set_req_event_data()