Home
last modified time | relevance | path

Searched refs:reply_len (Results 1 – 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c205 unsigned long reply_len, bool hb) in vmw_port_hb_in() argument
218 reply_len, si, di, in vmw_port_hb_in()
228 while (reply_len) { in vmw_port_hb_in()
229 unsigned int bytes = min_t(unsigned long, reply_len, 4); in vmw_port_hb_in()
244 reply_len -= bytes; in vmw_port_hb_in()
317 size_t reply_len; in vmw_recv_msg() local
346 reply_len = ebx; in vmw_recv_msg()
347 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
355 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg()
368 reply[reply_len] = '\0'; in vmw_recv_msg()
[all …]
/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-macii.c121 static int reply_len; /* number of bytes received in reply_buf or req->reply */ variable
227 req.reply_len = 0; in macii_queue_poll()
267 req->reply_len = 0; in macii_write()
410 reply_len = 1; in macii_interrupt()
413 reply_len = 0; in macii_interrupt()
448 reply_len = 1; in macii_interrupt()
462 reply_len = 1; in macii_interrupt()
472 reply_len = 1; in macii_interrupt()
509 if (status == ST_EVEN && reply_len == 1) { in macii_interrupt()
511 } else if (status == ST_ODD && reply_len == 2) { in macii_interrupt()
[all …]
Dsmu.c188 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 …]
Dvia-cuda.c517 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()
Dadb.c117 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()
Dvia-pmu.c625 if (req.reply_len > 0) in init_pmu()
633 if (req.reply_len == 2) { in init_pmu()
663 if (req.reply_len < 2) in pmu_set_server_mode()
819 "len: %d, %4ph\n", req->reply_len, in done_battery_state_smart()
1002 req->reply_len = 1; in pmu_send_request()
1004 req->reply_len = 0; in pmu_send_request()
1014 req->reply_len = 3; in pmu_send_request()
1027 req->reply_len = 3; in pmu_send_request()
1046 req->reply_len = 0; in pmu_send_request()
1108 req.reply_len = 0; in pmu_adb_reset_bus()
[all …]
Dadb-iop.c126 req->reply_len = amsg->count + 1; in adb_iop_listen()
127 memcpy(req->reply, &amsg->cmd, req->reply_len); in adb_iop_listen()
229 req->reply_len = 0; in adb_iop_write()
Dmacio-adb.c185 req->reply_len = 0; in macio_send_request()
244 req->reply_len = in_8(&adb->dcount.r) & HMB; in macio_adb_interrupt()
245 for (i = 0; i < req->reply_len; ++i) in macio_adb_interrupt()
Dadbhid.c1047 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()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs_bsg.c29 unsigned int reply_len) in ufs_bsg_verify_query_size() argument
34 if (min_req_len > request_len || min_rsp_len > reply_len) { in ufs_bsg_verify_query_size()
86 unsigned int reply_len = job->reply_len; in ufs_bsg_request() local
94 ret = ufs_bsg_verify_query_size(hba, req_len, reply_len); in ufs_bsg_request()
156 job->reply_len = sizeof(struct ufs_bsg_reply); in ufs_bsg_request()
/kernel/linux/linux-5.10/net/ethtool/
Dfeatures.c165 int reply_len = 0; in features_send_reply() local
168 reply_len = ethnl_reply_header_size(); in features_send_reply()
173 reply_len += ret; in features_send_reply()
178 reply_len += ret; in features_send_reply()
181 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply()
205 reply_len); in features_send_reply()
Dnetlink.c317 int reply_len; in ethnl_default_doit() local
346 reply_len = ret + ethnl_reply_header_size(); in ethnl_default_doit()
348 rskb = ethnl_reply_init(reply_len, req_info->dev, ops->reply_cmd, in ethnl_default_doit()
366 WARN_ONCE(ret == -EMSGSIZE, "calculated message payload length (%d) not sufficient\n", reply_len); in ethnl_default_doit()
566 int reply_len; in ethnl_default_notify() local
593 reply_len = ret + ethnl_reply_header_size(); in ethnl_default_notify()
595 skb = genlmsg_new(reply_len, GFP_KERNEL); in ethnl_default_notify()
619 reply_len); in ethnl_default_notify()
Dtunnels.c169 int reply_len; in ethnl_tunnel_info_doit() local
183 reply_len = ret + ethnl_reply_header_size(); in ethnl_tunnel_info_doit()
185 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
/kernel/linux/linux-5.10/drivers/net/usb/
Drndis_host.c229 void **reply, int *reply_len) in rndis_query() argument
262 if (*reply_len != -1 && len != *reply_len) in rndis_query()
266 *reply_len = len; in rndis_query()
307 int reply_len; in generic_rndis_bind() local
388 reply_len = sizeof *phym; in generic_rndis_bind()
391 reply_len, (void **)&phym, &reply_len); in generic_rndis_bind()
413 reply_len = ETH_ALEN; in generic_rndis_bind()
416 48, (void **) &bp, &reply_len); in generic_rndis_bind()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dkinect.c121 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()
/kernel/linux/linux-5.10/block/
Dbsg-lib.c95 job->reply_len = sizeof(u32); in bsg_transport_complete_rq()
99 if (job->reply_len && hdr->response) { in bsg_transport_complete_rq()
100 int len = min(hdr->max_response_len, job->reply_len); in bsg_transport_complete_rq()
312 job->reply_len = SCSI_SENSE_BUFFERSIZE; in bsg_initialize_rq()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmu.h397 int reply_len; /* reply len */ member
691 __u32 reply_len; /* Length of data follwing */ member
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_bsg.c930 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla2x00_process_loopback()
1085 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_updatefw()
1266 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_mgmt_cmd()
1371 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla24xx_iidma()
1582 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_update_fru_versions()
1632 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_fru_status()
1680 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_fru_status()
1726 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_i2c()
1775 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_i2c()
1953 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla24xx_process_bidir_cmd()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dbsg-lib.h41 unsigned int reply_len; member
Dadb.h15 int reply_len; member
/kernel/linux/linux-5.10/net/ceph/
Dcls_lock_client.c337 size_t reply_len = PAGE_SIZE; in ceph_cls_lock_info() local
367 get_info_op_buf_size, &reply_page, &reply_len); in ceph_cls_lock_info()
372 end = p + reply_len; in ceph_cls_lock_info()
/kernel/linux/linux-5.10/drivers/scsi/
Dsg.c411 int reply_len; in get_sg_io_pack_id() local
415 if (get_user(reply_len, &old_hdr->reply_len)) in get_sg_io_pack_id()
418 if (reply_len >= 0) in get_sg_io_pack_id()
489 old_hdr->reply_len = (int) hp->timeout; in sg_read()
490 old_hdr->pack_len = old_hdr->reply_len; /* old, strange behaviour */ in sg_read()
537 if (count > old_hdr->reply_len) in sg_read()
538 count = old_hdr->reply_len; in sg_read()
628 if (old_hdr.reply_len < 0) in sg_write()
657 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write()
670 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dhif_tx.h33 void *reply, size_t reply_len, bool async);
/kernel/linux/linux-5.10/include/scsi/
Dsg.h256 int reply_len; /* [i] max length of expected reply (inc. sg_header) */ member
/kernel/linux/linux-5.10/include/linux/ceph/
Dauth.h111 void *reply_buf, size_t reply_len);

12