Lines Matching refs:state

363 		/* Port state is only one of two values for now. */
530 /* Port state is only one of two values for now. */
558 /* Port state is only one of two values for now. */
1025 * lpfc_link_state_show - Return the link state of the port
1028 * @buf: on return contains text describing the state of the link.
1129 (link.link0.state == LPFC_LINK_UP) ?
1136 (link.link1.state == LPFC_LINK_UP) ?
1143 (link.link2.state == LPFC_LINK_UP) ?
1150 (link.link3.state == LPFC_LINK_UP) ?
1217 * return from link state change function if non-zero
1466 * -EBUSY, port is not in offline state
1648 * state.
1705 /* Keep state if we need to restore back */
1761 /* keep the original port state */
1990 * lpfc_board_mode_show - Return the state of the board
1993 * @buf: on return contains the state of the adapter.
2004 char * state;
2007 state = "error";
2009 state = "warm start";
2011 state = "offline";
2013 state = "online";
2015 return scnprintf(buf, PAGE_SIZE, "%s\n", state);
2019 * lpfc_board_mode_store - Puts the hba in online, offline, warm or error state
3251 * lpfc_oas_lun_state_show - Return the current state (enabled or disabled)
3272 * lpfc_oas_lun_state_store - Store the state (enabled or disabled)
3344 * @lun: the fc lun for setting oas state.
3345 * @oas_state: the oas state to be set to the lun.
3421 * @lun: the fc lun for setting oas state.
3422 * @oas_state: the oas state to be set to the oas_lun.
3494 * lpfc_oas_lun_store - Sets the OAS state for lun
3500 * This function sets the OAS state for lun. Before this function is called,
3501 * the vport wwpn, target wwpn, and oas state need to be set.
3540 "priority 0x%x with oas state %d\n",
4492 * lpfc_aer_cleanup_state - Clean up aer state to the aer enabled device
4495 * @buf: containing flag 1 for aer cleanup state.
5005 * @buf: on return contains text describing the state of the link.
5856 enum ras_state state;
5868 state = phba->ras_fwlog.state;
5871 if (state == REG_INPROGRESS) {
5882 if (state == ACTIVE) {
6455 * lpfc_get_host_port_state - Set the value of the scsi host port state
6477 /* Links up, reports port state accordingly */