/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 180 * Wait for active mailbox commands to finish by waiting at most tov in qla2x00_mailbox_command() 184 if (!wait_for_completion_timeout(&ha->mbx_cmd_comp, mcp->tov * HZ)) { in qla2x00_mailbox_command() 277 mcp->tov * HZ)) { in qla2x00_mailbox_command() 334 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qla2x00_mailbox_command() 362 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qla2x00_mailbox_command() 652 mcp->tov = MBX_TOV_SECONDS; in qla2x00_load_ram() 760 mcp->tov = MBX_TOV_SECONDS; in qla2x00_execute_fw() 857 mcp->tov = MBX_TOV_SECONDS; in qla_get_exlogin_status() 920 mcp->tov in qla_set_exlogin_mem_cfg() 1457 qla2x00_issue_iocb_timeout(scsi_qla_host_t *vha, void *buffer, dma_addr_t phys_addr, size_t size, uint32_t tov) qla2x00_issue_iocb_timeout() argument 1803 qla2x00_get_retry_cnt(scsi_qla_host_t *vha, uint8_t *retry_cnt, uint8_t *tov, uint16_t *r_a_tov) qla2x00_get_retry_cnt() argument [all...] |
H A D | qla_mr.c | 89 * Wait for active mailbox commands to finish by waiting at most tov in qlafx00_mailbox_command() 93 if (!wait_for_completion_timeout(&ha->mbx_cmd_comp, mcp->tov * HZ)) { in qlafx00_mailbox_command() 150 mcp->tov * HZ) != 0); in qlafx00_mailbox_command() 158 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qlafx00_mailbox_command() 173 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qlafx00_mailbox_command() 311 mcp->tov = tmo; in qlafx00_driver_shutdown() 313 mcp->tov = MBX_TOV_SECONDS; in qlafx00_driver_shutdown() 356 mcp->tov = MBX_TOV_SECONDS; in qlafx00_get_firmware_state() 411 mcp->tov in qlafx00_init_firmware() [all...] |
H A D | qla_def.h | 1096 uint32_t tov; member 1109 uint32_t tov; member
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 181 * Wait for active mailbox commands to finish by waiting at most tov in qla2x00_mailbox_command() 185 if (!wait_for_completion_timeout(&ha->mbx_cmd_comp, mcp->tov * HZ)) { in qla2x00_mailbox_command() 273 mcp->tov * HZ)) { in qla2x00_mailbox_command() 325 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qla2x00_mailbox_command() 351 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qla2x00_mailbox_command() 625 mcp->tov = MBX_TOV_SECONDS; in qla2x00_load_ram() 731 mcp->tov = MBX_TOV_SECONDS; in qla2x00_execute_fw() 815 mcp->tov = MBX_TOV_SECONDS; in qla_get_exlogin_status() 878 mcp->tov in qla_set_exlogin_mem_cfg() 1407 qla2x00_issue_iocb_timeout(scsi_qla_host_t *vha, void *buffer, dma_addr_t phys_addr, size_t size, uint32_t tov) qla2x00_issue_iocb_timeout() argument 1753 qla2x00_get_retry_cnt(scsi_qla_host_t *vha, uint8_t *retry_cnt, uint8_t *tov, uint16_t *r_a_tov) qla2x00_get_retry_cnt() argument [all...] |
H A D | qla_mr.c | 89 * Wait for active mailbox commands to finish by waiting at most tov in qlafx00_mailbox_command() 93 if (!wait_for_completion_timeout(&ha->mbx_cmd_comp, mcp->tov * HZ)) { in qlafx00_mailbox_command() 150 mcp->tov * HZ) != 0); in qlafx00_mailbox_command() 158 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qlafx00_mailbox_command() 173 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qlafx00_mailbox_command() 311 mcp->tov = tmo; in qlafx00_driver_shutdown() 313 mcp->tov = MBX_TOV_SECONDS; in qlafx00_driver_shutdown() 356 mcp->tov = MBX_TOV_SECONDS; in qlafx00_get_firmware_state() 411 mcp->tov in qlafx00_init_firmware() [all...] |
H A D | qla_def.h | 986 uint32_t tov; member 999 uint32_t tov; member
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_rport.c | 1348 u32 tov; in fc_rport_rtv_resp() local 1353 tov = ntohl(rtv->rtv_r_a_tov); in fc_rport_rtv_resp() 1354 if (tov == 0) in fc_rport_rtv_resp() 1355 tov = 1; in fc_rport_rtv_resp() 1356 if (tov > rdata->r_a_tov) in fc_rport_rtv_resp() 1357 rdata->r_a_tov = tov; in fc_rport_rtv_resp() 1358 tov = ntohl(rtv->rtv_e_d_tov); in fc_rport_rtv_resp() 1360 tov /= 1000000; in fc_rport_rtv_resp() 1361 if (tov == 0) in fc_rport_rtv_resp() 1362 tov in fc_rport_rtv_resp() [all...] |
H A D | fc_lport.c | 1943 * @tov: The timeout period (in ms) 1947 u32 did, u32 tov) in fc_lport_els_request() 1991 NULL, info, tov)) { in fc_lport_els_request() 2003 * @tov: The timeout period to wait for the response 2006 struct fc_lport *lport, u32 did, u32 tov) in fc_lport_ct_request() 2051 NULL, info, tov)) { in fc_lport_ct_request() 2072 u32 did, tov; in fc_lport_bsg_request() local 2105 tov = rdata->e_d_tov; in fc_lport_bsg_request() 2110 tov = rdata->e_d_tov; in fc_lport_bsg_request() 2114 rc = fc_lport_ct_request(job, lport, did, tov); in fc_lport_bsg_request() 1945 fc_lport_els_request(struct bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) fc_lport_els_request() argument 2005 fc_lport_ct_request(struct bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) fc_lport_ct_request() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_rport.c | 1348 u32 tov; in fc_rport_rtv_resp() local 1353 tov = ntohl(rtv->rtv_r_a_tov); in fc_rport_rtv_resp() 1354 if (tov == 0) in fc_rport_rtv_resp() 1355 tov = 1; in fc_rport_rtv_resp() 1356 if (tov > rdata->r_a_tov) in fc_rport_rtv_resp() 1357 rdata->r_a_tov = tov; in fc_rport_rtv_resp() 1358 tov = ntohl(rtv->rtv_e_d_tov); in fc_rport_rtv_resp() 1360 tov /= 1000000; in fc_rport_rtv_resp() 1361 if (tov == 0) in fc_rport_rtv_resp() 1362 tov in fc_rport_rtv_resp() [all...] |
H A D | fc_lport.c | 2017 * @tov: The timeout period (in ms) 2021 u32 did, u32 tov) in fc_lport_els_request() 2065 NULL, info, tov)) { in fc_lport_els_request() 2077 * @tov: The timeout period to wait for the response 2080 struct fc_lport *lport, u32 did, u32 tov) in fc_lport_ct_request() 2125 NULL, info, tov)) { in fc_lport_ct_request() 2146 u32 did, tov; in fc_lport_bsg_request() local 2179 tov = rdata->e_d_tov; in fc_lport_bsg_request() 2184 tov = rdata->e_d_tov; in fc_lport_bsg_request() 2188 rc = fc_lport_ct_request(job, lport, did, tov); in fc_lport_bsg_request() 2019 fc_lport_els_request(struct bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) fc_lport_els_request() argument 2079 fc_lport_ct_request(struct bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) fc_lport_ct_request() argument [all...] |