/drivers/media/video/gspca/ |
H A D | kinect.c | 164 PDEBUG(D_USBO, "Control reply: %d", res); 208 uint16_t reply[2]; local 216 res = send_cmd(gspca_dev, 0x03, cmd, 4, reply, 4); 221 res, reply[0], reply[1]);
|
/drivers/macintosh/ |
H A D | via-cuda.c | 489 /* CUDA has sent us the first byte of data of a reply */ 495 reply_ptr = current_req->reply; 557 req->reply_len = reply_ptr - req->reply; 559 /* Have to adjust the reply from ADB commands */ 560 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { 564 /* leave just the command and result bytes in the reply */ 566 memmove(req->reply, req->reply + 2, req->reply_len);
|
H A D | via-pmu-backlight.c | 186 (req.reply[0] >> 4) *
|
/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_base.h | 312 #define MPT2_CMD_REPLY_VALID 0x0004 /* reply is valid */ 319 * @reply: reply message pointer 327 void *reply; member in struct:_internal_cmd 563 * struct adapter_reply_queue - the reply queue struct 568 * @reply_post_free: reply post base virt address 762 * @reply_depth: hba reply queue depth: 763 * @reply_sz: per reply frame size: 764 * @reply: pool of replys: 767 * @reply_free_queue_depth: reply fre 950 u8 *reply; member in struct:MPT2SAS_ADAPTER [all...] |
H A D | mpt2sas_ctl.c | 115 * @mpi_reply: reply message frame 265 * @reply: reply message frame(lower 32bit addr) 275 u32 reply) 287 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); 289 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); 343 * @mpi_reply: reply message frame 394 * @reply: reply message frame(lower 32bit addr) 405 u32 reply) 274 mpt2sas_ctl_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 404 mpt2sas_ctl_event_callback(struct MPT2SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument [all...] |
/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 324 unsigned char *reply = us->iobuf; local 327 rc = usbat_get_status(us, reply); 332 if (*reply & 0x01 && *reply != 0x51) 336 if (*reply & 0x20) 1064 unsigned char *reply; local 1071 reply = kmalloc(512, GFP_NOIO); 1072 if (!reply) 1092 rc = usbat_read_block(us, reply, 512, 0); 1096 info->sectors = ((u32)(reply[11 [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 40 static int reply(struct ib_smp *smp) function 265 return reply(smp); 301 return reply(smp); 334 return reply(smp); 446 ret = reply(smp); 542 ret = reply(smp); 590 return reply(smp); 828 * Don't send a reply if the response would be sent 1047 return reply(smp); 1059 return reply(sm [all...] |
/drivers/block/ |
H A D | nbd.c | 326 struct nbd_reply reply; local 329 reply.magic = 0; 330 result = sock_xmit(nbd, 0, &reply, sizeof(reply), MSG_WAITALL); 337 if (ntohl(reply.magic) != NBD_REPLY_MAGIC) { 339 (unsigned long)ntohl(reply.magic)); 344 req = nbd_find_request(nbd, *(struct request **)reply.handle); 350 dev_err(disk_to_dev(nbd->disk), "Unexpected reply (%p)\n", 351 reply.handle); 356 if (ntohl(reply [all...] |
/drivers/media/dvb/bt8xx/ |
H A D | dst_ca.c | 92 u8 reply; local 107 if (read_dst(state, &reply, GET_ACK) < 0) { 378 static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) argument 380 if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) { 425 static int ca_set_pmt(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u8 reply, u8 query) argument 439 write_to_8820(state, hw_buffer, (length + tag_length), reply); 445 /* Board supports CA PMT reply ? */
|
H A D | dst.c | 190 u8 reply; local 194 if (dst_gpio_inb(state, &reply) < 0) { 198 if ((reply & RDC_8820_PIO_0_ENABLE) == 0) { 315 dprintk(verbose, DST_DEBUG, 1, "reply is 0x%x", ret[0]); 1083 u8 reply; local 1101 if (read_dst(state, &reply, GET_ACK)) 1103 if (reply != ACK) { 1104 dprintk(verbose, DST_INFO, 1, "Write not Acknowledged! [Reply=0x%02x]", reply); 1223 u8 reply; local 1244 if (read_dst(state, &reply, GET_AC 1385 u8 reply; local [all...] |
/drivers/s390/crypto/ |
H A D | ap_bus.c | 1094 char *reply; local 1097 reply = (void *) get_zeroed_page(GFP_KERNEL); 1098 if (!reply) { 1113 status = __ap_recv(ap_dev->qid, &psmid, reply, 4096); 1120 if (reply[0] == 0x00 && reply[1] == 0x86) 1129 free_page((unsigned long) reply); 1307 * ap_poll_read(): Receive pending reply messages from an AP device. 1321 status = __ap_recv(ap_dev->qid, &ap_dev->reply->psmid, 1322 ap_dev->reply [all...] |
H A D | ap_bus.h | 171 struct ap_message *reply; /* Per device reply message. */ member in struct:ap_device
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | 1134 struct wmi_bit_rate_reply *reply; local 1141 reply = (struct wmi_bit_rate_reply *) datap; 1143 ath6kl_dbg(ATH6KL_DBG_WMI, "rateindex %d\n", reply->rate_index); 1145 if (reply->rate_index == (s8) RATE_AUTO) { 1148 index = reply->rate_index & 0x7f; 1149 sgi = (reply->rate_index & 0x80) ? 1 : 0; 1187 struct wmi_tx_pwr_reply *reply; local 1192 reply = (struct wmi_tx_pwr_reply *) datap; 1193 ath6kl_txpwr_rx_evt(wmi->parent_dev, reply->dbM); 1345 struct wmi_rssi_threshold_event *reply; local 1441 struct wmi_cac_event *reply; local 1529 struct wmi_snr_threshold_event *reply; local 2958 struct wmi_pmkid_list_reply *reply; local [all...] |
/drivers/message/i2o/ |
H A D | driver.c | 174 * i2o_driver_dispatch - dispatch an I2O reply message 178 * The reply is delivered to the driver from which the original message 193 osm_warn("%s: Spurious reply to unknown driver %d\n", c->name, 203 osm_warn("%s: Spurious reply to unknown driver %d\n", c->name, 242 if (unlikely(!drv->reply)) { 243 osm_debug("%s: Reply to driver %s, but no reply function" 248 return drv->reply(c, m, msg);
|
/drivers/net/usb/ |
H A D | cx82310_eth.c | 61 * - optionally wait for the reply 62 * - optionally read some data from the reply 64 static int cx82310_cmd(struct usbnet *dev, enum cx82310_cmd cmd, bool reply, argument 88 if (reply) { 89 /* wait for reply, retry if it's empty */ 96 "reply receive error %d\n", ret); 103 dev_err(&dev->udev->dev, "no reply to command %#x\n", 110 "got reply to command %#x, expected: %#x\n",
|
/drivers/scsi/ |
H A D | dpt_i2o.c | 722 * Turn a pointer to ioctl reply data into an u32 'context' 724 static u32 adpt_ioctl_to_context(adpt_hba * pHba, void *reply) argument 727 return (u32)(unsigned long)reply; 736 pHba->ioctl_reply_context[i] = reply; 742 kfree (reply); 753 * Go from an u32 'context' to a pointer to ioctl reply data. 1799 u32* reply = NULL; local 1837 reply = kzalloc(REPLY_FRAME_SIZE*4, GFP_KERNEL); 1838 if(reply == NULL) { 1839 printk(KERN_WARNING"%s: Could not allocate reply buffe 2211 void __iomem *reply; local 2458 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd) argument [all...] |
/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 1132 struct host_to_dev_fis *reply; local 1135 reply = port->rxfis + RX_FIS_D2H_REG; 1828 struct host_to_dev_fis *reply = (port->rxfis + RX_FIS_D2H_REG); local 1864 command[0] = reply->command; /* Status*/ 1865 command[1] = reply->features; /* Error*/ 1866 command[4] = reply->cyl_low; 1867 command[5] = reply->cyl_hi; 1896 struct host_to_dev_fis *reply = (port->rxfis + RX_FIS_D2H_REG); local 1936 command[0] = reply->command; /* Status*/ 1937 command[1] = reply 2016 struct host_to_dev_fis *reply; local [all...] |
/drivers/gpu/drm/ |
H A D | drm_irq.c | 1101 vblwait->reply.sequence = vblwait->request.sequence; 1118 vblwait->reply.sequence = seq; 1124 vblwait->reply.sequence = vblwait->request.sequence; 1226 vblwait->reply.sequence = drm_vblank_count_and_time(dev, crtc, &now); 1227 vblwait->reply.tval_sec = now.tv_sec; 1228 vblwait->reply.tval_usec = now.tv_usec; 1231 vblwait->reply.sequence);
|
H A D | drm_ioc32.c | 982 struct drm_wait_vblank_reply32 reply; member in union:drm_wait_vblank32 1007 if (__get_user(req32.reply.type, &request->reply.type) 1008 || __get_user(req32.reply.sequence, &request->reply.sequence) 1009 || __get_user(req32.reply.tval_sec, &request->reply.tval_sec) 1010 || __get_user(req32.reply.tval_usec, &request->reply.tval_usec))
|
/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 60 } reply; member in union:xs_stored_msg::__anon5997 164 body = msg->u.reply.body; 225 /* Send message to xs, get kmalloc'ed reply. ERR_PTR() on error. */ 298 static int xs_error(char *reply) argument 300 if (IS_ERR(reply)) 301 return PTR_ERR(reply); 302 kfree(reply); 845 msg->u.reply.body = body;
|
/drivers/macintosh/ams/ |
H A D | ams-pmu.c | 77 return req.reply[0];
|
/drivers/message/fusion/ |
H A D | mptscsih.c | 106 MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply); 426 * mptscsih_info_scsiio - debug print info on reply frame 429 * @pScsiReply: Pointer to MPT reply frame 578 * @r: Pointer to MPT reply frame (NULL if TurboReply) 643 sc->result = DID_OK << 16; /* Set default reply as OK */ 658 /* special context reply handling */ 1006 } /* end of address reply case */ 1020 * Scsi_Host instance taskQ and reply to OS. 1726 (SCSITaskMgmtReply_t *) ioc->taskmgmt_cmds.reply); 2137 * @mr: Pointer to SCSI task mgmt reply fram 2728 mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) argument 2778 mptscsih_get_completion_code(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) argument [all...] |
/drivers/gpu/drm/i915/ |
H A D | intel_dp.c | 529 uint8_t reply[20]; local 545 reply, reply_bytes); 550 ack = reply[0]; 552 memcpy(recv, reply + 1, ret - 1); 572 uint8_t reply[2]; local 612 reply, reply_bytes); 618 switch (reply[0] & AUX_NATIVE_REPLY_MASK) { 631 DRM_ERROR("aux_ch invalid native reply 0x%02x\n", 632 reply[0]); 636 switch (reply[ [all...] |
/drivers/gpu/drm/via/ |
H A D | via_irq.c | 388 irqwait->reply.tval_sec = now.tv_sec; 389 irqwait->reply.tval_usec = now.tv_usec;
|
/drivers/media/dvb/frontends/ |
H A D | tda10071.c | 335 struct dvb_diseqc_slave_reply *reply) 365 /* reply len */ 370 reply->msg_len = tmp & 0x1f; /* [4:0] */; 371 if (reply->msg_len > sizeof(reply->msg)) 372 reply->msg_len = sizeof(reply->msg); /* truncate API max */ 374 /* read reply */ 382 ret = tda10071_rd_regs(priv, cmd.len, reply->msg, reply 334 tda10071_diseqc_recv_slave_reply(struct dvb_frontend *fe, struct dvb_diseqc_slave_reply *reply) argument [all...] |