Home
last modified time | relevance | path

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

/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c89 struct cx231xx_i2c_xfer_data req_data; in cx231xx_i2c_send_bytes() local
150 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
151 req_data.direction = msg->flags; in cx231xx_i2c_send_bytes()
152 req_data.saddr_len = saddr_len; in cx231xx_i2c_send_bytes()
153 req_data.saddr_dat = msg->buf[0]; in cx231xx_i2c_send_bytes()
154 req_data.buf_size = size > 16 ? 16 : size; in cx231xx_i2c_send_bytes()
155 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()
161 status = dev->cx231xx_send_usb_command(bus, &req_data); in cx231xx_i2c_send_bytes()
177 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
178 req_data.direction = msg->flags; in cx231xx_i2c_send_bytes()
[all …]
Dcx231xx-core.c157 struct cx231xx_i2c_xfer_data *req_data) in cx231xx_send_usb_command() argument
176 saddr_len = req_data->saddr_len; in cx231xx_send_usb_command()
179 ven_req.wValue = (req_data->dev_addr << 9 | _i2c_period << 4 | in cx231xx_send_usb_command()
184 if (req_data->direction & I2C_M_RD) { in cx231xx_send_usb_command()
196 ven_req.wIndex = (req_data->saddr_dat & 0xff); in cx231xx_send_usb_command()
199 ven_req.wIndex = req_data->saddr_dat; in cx231xx_send_usb_command()
204 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command()
210 if (req_data->direction) { in cx231xx_send_usb_command()
212 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command()
217 ven_req.pBuff = req_data->p_buffer; in cx231xx_send_usb_command()
[all …]
Dcx231xx.h688 struct cx231xx_i2c_xfer_data *req_data);
857 struct cx231xx_i2c_xfer_data *req_data);
/drivers/media/usb/gspca/
Dvicam.c117 u8 *req_data = gspca_dev->usb_buf; in vicam_read_frame() local
121 memset(req_data, 0, 16); in vicam_read_frame()
122 req_data[0] = gain; in vicam_read_frame()
124 req_data[1] |= 0x01; /* low nibble x-scale */ in vicam_read_frame()
126 req_data[1] |= 0x10; /* high nibble y-scale */ in vicam_read_frame()
130 req_data[2] = 0x90; /* unknown, does not seem to do anything */ in vicam_read_frame()
132 req_data[3] = 0x06; /* vend? */ in vicam_read_frame()
134 req_data[3] = 0x07; /* vend? */ in vicam_read_frame()
136 req_data[3] = 0x08; /* vend? */ in vicam_read_frame()
140 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/scsi/qla2xxx/
Dqla_bsg.c712 uint8_t *req_data = NULL; in qla2x00_process_loopback() local
759 req_data = dma_alloc_coherent(&ha->pdev->dev, req_data_len, in qla2x00_process_loopback()
761 if (!req_data) { in qla2x00_process_loopback()
779 bsg_job->request_payload.sg_cnt, req_data, req_data_len); in qla2x00_process_loopback()
791 (le32_to_cpu(*(uint32_t *)req_data) == ELS_OPCODE_BYTE && in qla2x00_process_loopback()
924 req_data, req_data_dma); in qla2x00_process_loopback()
Dqla_mr.c1832 fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->port_id); in qlafx00_fx_disc()
1838 fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->tgt_id); in qlafx00_fx_disc()
2225 iocb_job->u.fxiocb.req_data = in qlafx00_ioctl_iosb_entry()
3298 fx_iocb.dataword = fxio->u.fxiocb.req_data; in qlafx00_fxdisc_iocb()
Dqla_def.h361 __le32 req_data; member
/drivers/s390/crypto/
Dzcrypt_msgtype6.c315 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX() local
389 copy_from_user(req_data, xcRB->request_data_address, in XCRB_msg_to_type6CPRB_msgX()
/drivers/infiniband/core/
Dcma.c1853 struct ib_cm_req_event_param *req_data, in cma_set_req_event_data() argument
1858 event->param.conn.responder_resources = req_data->responder_resources; in cma_set_req_event_data()
1859 event->param.conn.initiator_depth = req_data->initiator_depth; in cma_set_req_event_data()
1860 event->param.conn.flow_control = req_data->flow_control; in cma_set_req_event_data()
1861 event->param.conn.retry_count = req_data->retry_count; in cma_set_req_event_data()
1862 event->param.conn.rnr_retry_count = req_data->rnr_retry_count; in cma_set_req_event_data()
1863 event->param.conn.srq = req_data->srq; in cma_set_req_event_data()
1864 event->param.conn.qp_num = req_data->remote_qpn; in cma_set_req_event_data()
/drivers/rapidio/
Drio_cm.c385 static int riocm_req_handler(struct cm_dev *cm, void *req_data) in riocm_req_handler() argument
389 struct rio_ch_chan_hdr *hh = req_data; in riocm_req_handler()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c195 u64 req_data = (((u64)le32_to_cpu(req_desc->u.high) << 32) | in megasas_fire_cmd_fusion() local
198 writeq(req_data, &instance->reg_set->inbound_low_queue_port); in megasas_fire_cmd_fusion()