/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 201 unsigned long reply_len, bool hb) in vmw_port_hb_in() argument 213 reply_len, si, di, in vmw_port_hb_in() 223 while (reply_len) { in vmw_port_hb_in() 224 unsigned int bytes = min_t(unsigned long, reply_len, 4); in vmw_port_hb_in() 239 reply_len -= bytes; in vmw_port_hb_in() 312 size_t reply_len; in vmw_recv_msg() local 341 reply_len = ebx; in vmw_recv_msg() 342 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg() 350 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg() 363 reply[reply_len] = '\0'; in vmw_recv_msg() [all …]
|
/drivers/macintosh/ |
D | via-macii.c | 116 static int reply_len; /* number of bytes received in reply_buf or req->reply */ variable 207 req.reply_len = 0; in macii_queue_poll() 247 req->reply_len = 0; in macii_write() 403 reply_len = 0; in macii_interrupt() 409 reply_len = 1; in macii_interrupt() 476 reply_len = 0; in macii_interrupt() 487 reply_len < ARRAY_SIZE(reply_buf)) { in macii_interrupt() 490 reply_len++; in macii_interrupt() 503 req->reply_len = reply_len; in macii_interrupt() 508 } else if (reply_len && autopoll_devs) in macii_interrupt() [all …]
|
D | smu.c | 188 int reply_len; in smu_db_intr() local 206 reply_len = rc == 0 ? smu->cmd_buf->length : 0; in smu_db_intr() 207 DPRINTK("SMU: reply len: %d\n", reply_len); in smu_db_intr() 208 if (reply_len > cmd->reply_len) { in smu_db_intr() 211 reply_len, cmd->reply_len); in smu_db_intr() 212 reply_len = cmd->reply_len; in smu_db_intr() 214 cmd->reply_len = reply_len; in smu_db_intr() 215 if (cmd->reply_buf && reply_len) in smu_db_intr() 216 memcpy(cmd->reply_buf, smu->cmd_buf->data, reply_len); in smu_db_intr() 270 cmd->reply_len > SMU_MAX_DATA) in smu_queue_cmd() [all …]
|
D | via-cuda.c | 517 req->reply_len = 0; in cuda_write() 687 req->reply_len = reply_ptr - req->reply; in cuda_interrupt() 690 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { in cuda_interrupt() 692 req->reply_len = 0; in cuda_interrupt() 695 req->reply_len -= 2; in cuda_interrupt() 696 memmove(req->reply, req->reply + 2, req->reply_len); in cuda_interrupt() 784 if (req.reply_len != 7) in cuda_get_time() 785 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_get_time() 802 if ((req.reply_len != 3) && (req.reply_len != 7)) in cuda_set_rtc_time() 803 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_set_rtc_time()
|
D | adb.c | 117 printk("adb reply (%d)", req->reply_len); 118 for(i = 0; i < req->reply_len; i++) 136 if (req.reply_len > 1) in adb_scan_bus() 170 if (req.reply_len <= 1) continue; in adb_scan_bus() 177 if (req.reply_len > 1) { in adb_scan_bus() 565 if (req.reply_len < 2) in try_handler_change() 620 req->reply_len = 0; in adb_write_done() 657 req->reply_len = 2; in do_adb_query() 762 ret = req->reply_len; in adb_read()
|
D | via-pmu.c | 628 if (req.reply_len > 0) in init_pmu() 636 if (req.reply_len == 2) { in init_pmu() 666 if (req.reply_len < 2) in pmu_set_server_mode() 822 "len: %d, %4ph\n", req->reply_len, in done_battery_state_smart() 1006 req->reply_len = 1; in pmu_send_request() 1008 req->reply_len = 0; in pmu_send_request() 1018 req->reply_len = 3; in pmu_send_request() 1031 req->reply_len = 3; in pmu_send_request() 1050 req->reply_len = 0; in pmu_send_request() 1112 req.reply_len = 0; in pmu_adb_reset_bus() [all …]
|
D | adb-iop.c | 142 req->reply_len = amsg->count + 1; in adb_iop_listen() 143 memcpy(req->reply, &amsg->cmd, req->reply_len); in adb_iop_listen() 248 req->reply_len = 0; in adb_iop_write()
|
D | macio-adb.c | 181 req->reply_len = 0; in macio_send_request() 240 req->reply_len = in_8(&adb->dcount.r) & HMB; in macio_adb_interrupt() 241 for (i = 0; i < req->reply_len; ++i) in macio_adb_interrupt()
|
D | adbhid.c | 1047 if ((req.reply_len) && in adbhid_probe() 1054 else if ((req.reply_len >= 4) && in adbhid_probe() 1061 else if ((req.reply_len >= 4) && in adbhid_probe() 1068 else if ((req.reply_len == 9) && in adbhid_probe() 1095 if (req.reply_len < 8) in init_trackpad()
|
D | windfarm_smu_sensors.c | 78 if (cmd.cmd.reply_len != 2) { in smu_read_adc() 80 id, cmd.cmd.reply_len); in smu_read_adc()
|
D | windfarm_smu_controls.c | 86 cmd.reply_len = 16; in smu_set_fan()
|
/drivers/scsi/ufs/ |
D | ufs_bsg.c | 30 unsigned int reply_len) in ufs_bsg_verify_query_size() argument 35 if (min_req_len > request_len || min_rsp_len > reply_len) { in ufs_bsg_verify_query_size() 87 unsigned int reply_len = job->reply_len; in ufs_bsg_request() local 95 ret = ufs_bsg_verify_query_size(hba, req_len, reply_len); in ufs_bsg_request() 155 job->reply_len = sizeof(struct ufs_bsg_reply); in ufs_bsg_request()
|
/drivers/net/usb/ |
D | rndis_host.c | 229 void **reply, int *reply_len) in rndis_query() argument 261 if (*reply_len != -1 && len != *reply_len) in rndis_query() 265 *reply_len = len; in rndis_query() 306 int reply_len; in generic_rndis_bind() local 387 reply_len = sizeof *phym; in generic_rndis_bind() 390 0, (void **) &phym, &reply_len); in generic_rndis_bind() 412 reply_len = ETH_ALEN; in generic_rndis_bind() 415 48, (void **) &bp, &reply_len); in generic_rndis_bind()
|
/drivers/media/usb/gspca/ |
D | kinect.c | 121 unsigned int cmd_len, void *replybuf, unsigned int reply_len) in send_cmd() argument 185 if (actual_len > reply_len) { in send_cmd() 187 reply_len, actual_len); in send_cmd() 188 memcpy(replybuf, ibuf+sizeof(*rhdr), reply_len); in send_cmd()
|
/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 919 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla2x00_process_loopback() 1074 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_updatefw() 1255 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_mgmt_cmd() 1360 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla24xx_iidma() 1566 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_update_fru_versions() 1616 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_fru_status() 1664 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_fru_status() 1710 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_i2c() 1759 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_i2c() 1937 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla24xx_process_bidir_cmd() [all …]
|
D | qla_isr.c | 1505 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry() 1530 bsg_job->reply_len = 0; in qla2x00_ct_entry() 1636 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); in qla24xx_els_ct_entry() 1670 bsg_job->reply_len = 0; in qla24xx_els_ct_entry() 2382 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla25xx_process_bidir_status_iocb()
|
/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 644 unsigned int reply_len, pad_len; in convert_type86_ica() local 674 reply_len = msg->length - 2; in convert_type86_ica() 675 if (reply_len > outputdatalength) in convert_type86_ica() 687 pad_len = outputdatalength - reply_len; in convert_type86_ica() 698 if (copy_to_user(outputdata + pad_len, data, reply_len)) in convert_type86_ica()
|
/drivers/scsi/ |
D | sg.c | 442 if (old_hdr->reply_len < 0) { in sg_read() 498 old_hdr->reply_len = (int) hp->timeout; in sg_read() 499 old_hdr->pack_len = old_hdr->reply_len; /* old, strange behaviour */ in sg_read() 546 if (count > old_hdr->reply_len) in sg_read() 547 count = old_hdr->reply_len; in sg_read() 637 if (old_hdr.reply_len < 0) in sg_write() 664 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write() 677 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write() 688 hp->timeout = old_hdr.reply_len; /* structure abuse ... */ in sg_write() 705 old_hdr.reply_len - (int)SZ_SG_HEADER, in sg_write()
|
D | scsi_transport_fc.c | 3655 BUG_ON(job->reply_len < sizeof(uint32_t)); in fc_bsg_host_dispatch() 3658 job->reply_len = sizeof(uint32_t); in fc_bsg_host_dispatch() 3724 BUG_ON(job->reply_len < sizeof(uint32_t)); in fc_bsg_rport_dispatch() 3727 job->reply_len = sizeof(uint32_t); in fc_bsg_rport_dispatch()
|
/drivers/block/ |
D | rbd.c | 1965 size_t reply_len; in __rbd_object_map_load() local 1983 reply_len = num_pages * PAGE_SIZE; in __rbd_object_map_load() 1987 NULL, 0, pages, &reply_len); in __rbd_object_map_load() 1992 end = p + min(reply_len, (size_t)PAGE_SIZE); in __rbd_object_map_load() 2004 if (offset_in_page(p) + object_map_bytes > reply_len) { in __rbd_object_map_load() 3867 size_t reply_len; in rbd_notify_op_lock() local 3869 __rbd_notify_op_lock(rbd_dev, notify_op, &reply_pages, &reply_len); in rbd_notify_op_lock() 3870 ceph_release_page_vector(reply_pages, calc_pages_for(0, reply_len)); in rbd_notify_op_lock() 3892 size_t reply_len; in rbd_request_lock() local 3899 &reply_pages, &reply_len); in rbd_request_lock() [all …]
|
/drivers/macintosh/ams/ |
D | ams-pmu.c | 72 if (req.reply_len > 0) in ams_pmu_get_register()
|
/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 494 bsg_job->reply_len = sizeof(struct iscsi_bsg_reply) + sizeof(mbox_sts); in ql4xxx_execute_diag_cmd() 722 bsg_job->reply_len = sizeof(struct iscsi_bsg_reply) + sizeof(mbox_sts); in qla4xxx_execute_diag_loopback_cmd()
|
/drivers/scsi/smartpqi/ |
D | smartpqi_sas_transport.c | 503 job->reply_len = le16_to_cpu(error_info->sense_data_length); in pqi_build_sas_smp_handler_reply()
|
/drivers/scsi/bfa/ |
D | bfad_bsg.c | 3162 job->reply_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request() 3174 job->reply_len = sizeof(uint32_t); in bfad_im_bsg_vendor_request() 3360 job->reply_len = sizeof(uint32_t); /* Atleast uint32_t reply_len */ in bfad_im_bsg_els_ct_request() 3508 job->reply_len = drv_fcxp->rsp_len; in bfad_im_bsg_els_ct_request() 3514 job->reply_len = sizeof(uint32_t); in bfad_im_bsg_els_ct_request()
|
/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 2501 if (job->reply_len < in lpfc_sli4_bsg_link_diag_test() 2508 job->reply_len); in lpfc_sli4_bsg_link_diag_test() 3423 if (job->reply_len < in lpfc_bsg_get_dfc_rev() 5206 if (job->reply_len < in lpfc_menlo_cmd() 5363 if (job->reply_len < in lpfc_forced_link_speed() 5709 if (job->reply_len < in lpfc_get_trunk_info()
|