Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl_ptp.c40 int reply_sz; in idpf_ptp_get_caps() local
49 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_ptp_get_caps()
50 if (reply_sz < 0) in idpf_ptp_get_caps()
51 return reply_sz; in idpf_ptp_get_caps()
52 else if (reply_sz != sizeof(*recv_ptp_caps_msg)) in idpf_ptp_get_caps()
166 int reply_sz; in idpf_ptp_get_dev_clk_time() local
169 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_ptp_get_dev_clk_time()
170 if (reply_sz < 0) in idpf_ptp_get_dev_clk_time()
171 return reply_sz; in idpf_ptp_get_dev_clk_time()
172 if (reply_sz != sizeof(get_dev_clk_time_msg)) in idpf_ptp_get_dev_clk_time()
[all …]
H A Didpf_virtchnl.c458 xn->reply_sz = 0; in idpf_vc_xn_exec()
502 retval = xn->reply_sz; in idpf_vc_xn_exec()
544 xn->reply_sz = 0; in idpf_vc_xn_forward_async()
555 xn->reply_sz = 0; in idpf_vc_xn_forward_async()
633 xn->reply_sz = 0; in idpf_vc_xn_forward_reply()
640 xn->reply_sz = 0; in idpf_vc_xn_forward_reply()
651 xn->reply_sz = payload_size; in idpf_vc_xn_forward_reply()
790 ssize_t reply_sz; in idpf_send_chunked_msg() local
798 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_chunked_msg()
799 if (reply_sz < 0) in idpf_send_chunked_msg()
[all …]
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c36 u16 request_sz, void *reply, u16 reply_sz, int timeout, in mpi3mr_post_transport_req() argument
80 memcpy((u8 *)reply, mrioc->transport_cmds.reply, reply_sz); in mpi3mr_post_transport_req()
145 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_report_manufacture() local
178 memset(&mpi_reply, 0, reply_sz); in mpi3mr_report_manufacture()
195 &mpi_reply, reply_sz, in mpi3mr_report_manufacture()
2576 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_get_expander_phy_error_log() local
2612 memset(&mpi_reply, 0, reply_sz); in mpi3mr_get_expander_phy_error_log()
2629 &mpi_reply, reply_sz, MPI3MR_INTADMCMD_TIMEOUT, &ioc_status)) in mpi3mr_get_expander_phy_error_log()
2839 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_expander_phy_control() local
2883 memset(&mpi_reply, 0, reply_sz); in mpi3mr_expander_phy_control()
[all …]
H A Dmpi3mr_fw.c432 mrioc->reply_sz); in mpi3mr_process_admin_reply_desc()
1418 if (mrioc->facts.reply_sz > mrioc->reply_sz) { in mpi3mr_revalidate_factsdata()
1421 mrioc->reply_sz, mrioc->facts.reply_sz); in mpi3mr_revalidate_factsdata()
3269 mrioc->facts.reply_sz = le16_to_cpu(facts_data->reply_frame_size) * 4; in mpi3mr_process_factsdata()
3378 mrioc->init_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
3382 mrioc->bsg_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
3386 mrioc->transport_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
3391 mrioc->dev_rmhs_cmds[i].reply = kzalloc(mrioc->reply_sz, in mpi3mr_alloc_reply_sense_bufs()
3398 mrioc->evtack_cmds[i].reply = kzalloc(mrioc->reply_sz, in mpi3mr_alloc_reply_sense_bufs()
3404 mrioc->host_tm_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
[all …]
/linux/drivers/message/fusion/
H A Dmptbase.c1819 ioc->reply_sz = MPT_REPLY_FRAME_SIZE; in mpt_attach()
3076 int reply_sz; in GetIocFacts() local
3092 reply_sz = sizeof(*facts); in GetIocFacts()
3093 memset(facts, 0, reply_sz); in GetIocFacts()
3104 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3110 reply_sz, (u16*)facts, 5 /*seconds*/, sleepFlag); in GetIocFacts()
3211 ioc->reply_sz = MPT_REPLY_FRAME_SIZE; in GetIocFacts()
3215 ioc->name, ioc->reply_sz, ioc->reply_depth)); in GetIocFacts()
3250 int reply_sz; in GetPortFacts() local
3263 reply_sz = sizeof(*pfacts); in GetPortFacts()
[all …]
H A Dmptctl.c227 sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength); in mptctl_reply()
2034 (pInit->ReplyFrameSize != cpu_to_le16(ioc->reply_sz)) || in mptctl_do_mpt_command()
2230 if (karg.maxReplyBytes < ioc->reply_sz) { in mptctl_do_mpt_command()
2234 sz = min(ioc->reply_sz, 4*ioc->ioctl_cmds.reply[2]); in mptctl_do_mpt_command()
H A Dmptbase.h638 int reply_sz; /* Reply frame size */ member
H A Dmptsas.c2096 min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); in mptsas_mgmt_done()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c643 sz = min_t(u32, karg->max_reply_bytes, ioc->reply_sz); in _ctl_set_task_mid()
770 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_do_mpt_command()
1131 sz = min_t(u32, karg.max_reply_bytes, ioc->reply_sz); in _ctl_do_mpt_command()
1759 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_diag_register_2()
2238 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in mpt3sas_send_diag_release()
2493 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_diag_read_buffer()
2972 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in mpt3sas_send_mctp_passthru_req()
3030 sz = min_t(u32, command->max_reply_bytes, ioc->reply_sz); in mpt3sas_send_mctp_passthru_req()
H A Dmpt3sas_config.c418 _debug_dump_reply(mpi_reply, ioc->reply_sz/4); in _config_request()
432 _debug_dump_reply(mpi_reply, ioc->reply_sz/4); in _config_request()
459 _debug_dump_reply(mpi_reply, ioc->reply_sz/4); in _config_request()
475 _debug_dump_reply(mpi_reply, ioc->reply_sz/4); in _config_request()
H A Dmpt3sas_base.c6130 ioc->reply_free_queue_depth, ioc->reply_sz, sz/1024); in _base_allocate_reply_pool()
6373 ioc->reply_sz = facts->ReplyFrameSize * 4; in _base_allocate_memory_pools()
6647 sz = ioc->reply_free_queue_depth * ioc->reply_sz; in _base_allocate_memory_pools()
8267 ioc->reply_sz) { in _base_make_ioc_operational()
8601 ioc->base_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
8605 ioc->port_enable_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
8609 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
8614 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
8619 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
8624 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
[all …]