Lines Matching refs:state
1301 u8 state;
1325 (data->state == QETH_SBP_STATE_INACTIVE) ? "inactive" :
1326 (data->state == QETH_SBP_STATE_STANDBY) ? "standby" :
1327 (data->state == QETH_SBP_STATE_ACTIVE) ? "active" :
1359 data->state = qports->entry[0].state;
1476 ? "Bridge port state change"
1546 enum qeth_sbp_states *state;
1735 /* first entry contains the state of the local port */
1739 if (cbctl->data.qports.state)
1740 *cbctl->data.qports.state = qports->entry[0].state;
1749 * @state: State of the port: 0-inactive, 1-standby, 2-active.
1753 * 'role' and 'state' are not updated in case of hardware operation failure.
1756 enum qeth_sbp_roles *role, enum qeth_sbp_states *state)
1763 .state = state,
2028 /* set current VNICC flag state; called from sysfs store function */
2029 int qeth_l2_vnicc_set_state(struct qeth_card *card, u32 vnicc, bool state)
2045 if (state) {
2059 if (state)
2072 if (state && vnicc == QETH_VNICC_RX_BCAST)
2074 if (!state && vnicc == QETH_VNICC_LEARNING)
2082 /* get current VNICC flag state; called from sysfs show function */
2083 int qeth_l2_vnicc_get_state(struct qeth_card *card, u32 vnicc, bool *state)
2096 /* if card is ready, query current VNICC state */
2100 *state = (card->options.vnicc.cur_chars & vnicc) ? true : false;
2322 if (gdev->state == CCWGROUP_ONLINE)
2362 card->state = CARD_STATE_SOFTSETUP;
2405 card->state = CARD_STATE_DOWN;
2416 if (card->state == CARD_STATE_SOFTSETUP)
2417 card->state = CARD_STATE_DOWN;