Lines Matching refs:state

188 		/* Port state is only one of two values for now. */
355 /* Port state is only one of two values for now. */
383 /* Port state is only one of two values for now. */
871 * lpfc_state_show - Return the link state of the port
874 * @buf: on return contains text describing the state of the link.
968 (link.link0.state == LPFC_LINK_UP) ?
975 (link.link1.state == LPFC_LINK_UP) ?
982 (link.link2.state == LPFC_LINK_UP) ?
989 (link.link3.state == LPFC_LINK_UP) ?
1056 * return from link state change function if non-zero
1306 * -EBUSY, port is not in offline state
1538 /* Keep state if we need to restore back */
1594 /* keep the original port state */
1720 * lpfc_board_mode_show - Return the state of the board
1723 * @buf: on return contains the state of the adapter.
1734 char * state;
1737 state = "error";
1739 state = "warm start";
1741 state = "offline";
1743 state = "online";
1745 return scnprintf(buf, PAGE_SIZE, "%s\n", state);
1749 * lpfc_board_mode_store - Puts the hba in online, offline, warm or error state
3139 * lpfc_oas_lun_state_show - Return the current state (enabled or disabled)
3160 * lpfc_oas_lun_state_store - Store the state (enabled or disabled)
3231 * @lun: the fc lun for setting oas state.
3232 * @oas_state: the oas state to be set to the lun.
3306 * @lun: the fc lun for setting oas state.
3307 * @oas_state: the oas state to be set to the oas_lun.
3378 * lpfc_oas_lun_store - Sets the OAS state for lun
3383 * This function sets the OAS state for lun. Before this function is called,
3384 * the vport wwpn, target wwpn, and oas state need to be set.
3423 "priority 0x%x with oas state %d\n",
4316 * current statistical data collection state.
4728 * lpfc_aer_cleanup_state - Clean up aer state to the aer enabled device
4731 * @buf: containing flag 1 for aer cleanup state.
5242 * @buf: on return contains text describing the state of the link.
6088 enum ras_state state;
6100 state = phba->ras_fwlog.state;
6103 if (state == REG_INPROGRESS) {
6114 if (state == ACTIVE) {
6613 * lpfc_get_host_port_state - Set the value of the scsi host port state
6635 /* Links up, reports port state accordingly */