Lines Matching refs:state
1192 u8 state;
1216 (data->state == QETH_SBP_STATE_INACTIVE) ? "inactive" :
1217 (data->state == QETH_SBP_STATE_STANDBY) ? "standby" :
1218 (data->state == QETH_SBP_STATE_ACTIVE) ? "active" :
1250 data->state = qports->entry[0].state;
1365 ? "Bridge port state change"
1435 enum qeth_sbp_states *state;
1624 /* first entry contains the state of the local port */
1628 if (cbctl->data.qports.state)
1629 *cbctl->data.qports.state = qports->entry[0].state;
1638 * @state: State of the port: 0-inactive, 1-standby, 2-active.
1642 * 'role' and 'state' are not updated in case of hardware operation failure.
1645 enum qeth_sbp_roles *role, enum qeth_sbp_states *state)
1652 .state = state,
1917 /* set current VNICC flag state; called from sysfs store function */
1918 int qeth_l2_vnicc_set_state(struct qeth_card *card, u32 vnicc, bool state)
1934 if (state) {
1948 if (state)
1961 if (state && vnicc == QETH_VNICC_RX_BCAST)
1963 if (!state && vnicc == QETH_VNICC_LEARNING)
1971 /* get current VNICC flag state; called from sysfs show function */
1972 int qeth_l2_vnicc_get_state(struct qeth_card *card, u32 vnicc, bool *state)
1985 /* if card is ready, query current VNICC state */
1989 *state = (card->options.vnicc.cur_chars & vnicc) ? true : false;
2210 if (gdev->state == CCWGROUP_ONLINE)
2244 card->state = CARD_STATE_SOFTSETUP;
2287 card->state = CARD_STATE_DOWN;
2298 if (card->state == CARD_STATE_SOFTSETUP)
2299 card->state = CARD_STATE_DOWN;