Searched refs:snic_get_state (Results 1 – 4 of 4) sorted by relevance
26 return sysfs_emit(buf, "%s\n", snic_state_str[snic_get_state(snic)]); in snic_show_state()
336 if (snic_get_state(snic) != SNIC_ONLINE) { in snic_queuecommand()338 snic_state_str[snic_get_state(snic)]); in snic_queuecommand()1072 SNIC_BUG_ON(snic_get_state(snic) != SNIC_OFFLINE && in snic_hba_reset_cmpl_handler()1073 snic_get_state(snic) != SNIC_FWRESET); in snic_hba_reset_cmpl_handler()1078 if (snic_get_state(snic) == SNIC_FWRESET) in snic_hba_reset_cmpl_handler()1343 if (snic_get_state(snic) == SNIC_FWRESET) in snic_issue_tm_req()1619 if (unlikely(snic_get_state(snic) != SNIC_ONLINE)) { in snic_abort_cmd()2138 if (unlikely(snic_get_state(snic) != SNIC_ONLINE)) { in snic_device_reset()2258 if (snic_get_state(snic) == SNIC_FWRESET) { in snic_issue_hba_reset()2305 sv_state = snic_get_state(snic); in snic_reset()[all …]
326 snic_get_state(struct snic *snic) in snic_get_state() function335 snic_state_to_str(snic_get_state(snic)), in snic_set_state()
397 int snic_get_state(struct snic *);