Lines Matching refs:options

396 		if (card->options.sbp.reflect_promisc_primary)  in qeth_l2_promisc_to_bridge()
406 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge()
422 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode()
1144 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features()
1145 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features()
1148 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features()
1149 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features()
1154 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs()
1155 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs()
1157 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs()
1159 qeth_bridgeport_query_ports(card, &card->options.sbp.role, in qeth_l2_setup_bridgeport_attrs()
1162 if (card->options.sbp.hostnotification) { in qeth_l2_setup_bridgeport_attrs()
1164 card->options.sbp.hostnotification = 0; in qeth_l2_setup_bridgeport_attrs()
1479 data->card->options.sbp.hostnotification = 0; in qeth_addr_change_event_worker()
1710 card->options.sbp.role = QETH_SBP_ROLE_NONE; in qeth_bridgeport_query_support()
1711 card->options.sbp.supported_funcs = 0; in qeth_bridgeport_query_support()
1714 card->options.sbp.supported_funcs = cbctl.data.supported; in qeth_bridgeport_query_support()
1769 if (!(card->options.sbp.supported_funcs & IPA_SBP_QUERY_BRIDGE_PORTS)) in qeth_bridgeport_query_ports()
1816 if (!(card->options.sbp.supported_funcs & setcmd)) in qeth_bridgeport_setrole()
1853 if (!card->options.sbp.supported_funcs) in qeth_bridgeport_an_set()
1917 card->options.vnicc.sup_chars = rep->vnicc_cmds.supported; in qeth_l2_vnicc_request_cb()
1918 card->options.vnicc.cur_chars = rep->vnicc_cmds.enabled; in qeth_l2_vnicc_request_cb()
2019 if (card->options.vnicc.sup_chars & vnicc && in qeth_l2_vnicc_recover_timeout()
2020 card->options.vnicc.getset_timeout_sup & vnicc && in qeth_l2_vnicc_recover_timeout()
2037 if (!(card->options.vnicc.sup_chars & vnicc) || in qeth_l2_vnicc_set_state()
2038 !(card->options.vnicc.set_char_sup & vnicc)) in qeth_l2_vnicc_set_state()
2047 card->options.vnicc.wanted_chars |= vnicc; in qeth_l2_vnicc_set_state()
2050 card->options.vnicc.wanted_chars &= ~vnicc; in qeth_l2_vnicc_set_state()
2054 if (card->options.vnicc.cur_chars == card->options.vnicc.wanted_chars) in qeth_l2_vnicc_set_state()
2060 card->options.vnicc.cur_chars |= vnicc; in qeth_l2_vnicc_set_state()
2062 card->options.vnicc.cur_chars &= ~vnicc; in qeth_l2_vnicc_set_state()
2068 card->options.vnicc.wanted_chars = in qeth_l2_vnicc_set_state()
2069 card->options.vnicc.cur_chars; in qeth_l2_vnicc_set_state()
2073 card->options.vnicc.rx_bcast_enabled = true; in qeth_l2_vnicc_set_state()
2076 &card->options.vnicc.learning_timeout); in qeth_l2_vnicc_set_state()
2090 if (!(card->options.vnicc.sup_chars & vnicc)) in qeth_l2_vnicc_get_state()
2100 *state = (card->options.vnicc.cur_chars & vnicc) ? true : false; in qeth_l2_vnicc_get_state()
2114 if (!(card->options.vnicc.sup_chars & QETH_VNICC_LEARNING) || in qeth_l2_vnicc_set_timeout()
2115 !(card->options.vnicc.getset_timeout_sup & QETH_VNICC_LEARNING)) in qeth_l2_vnicc_set_timeout()
2122 if (card->options.vnicc.learning_timeout == timeout) in qeth_l2_vnicc_set_timeout()
2127 card->options.vnicc.learning_timeout = timeout; in qeth_l2_vnicc_set_timeout()
2135 card->options.vnicc.learning_timeout = timeout; in qeth_l2_vnicc_set_timeout()
2150 if (!(card->options.vnicc.sup_chars & QETH_VNICC_LEARNING) || in qeth_l2_vnicc_get_timeout()
2151 !(card->options.vnicc.getset_timeout_sup & QETH_VNICC_LEARNING)) in qeth_l2_vnicc_get_timeout()
2158 *timeout = card->options.vnicc.learning_timeout; in qeth_l2_vnicc_get_timeout()
2170 if (!card->options.vnicc.sup_chars) in _qeth_l2_vnicc_is_in_use()
2175 if (card->options.vnicc.cur_chars == QETH_VNICC_DEFAULT) { in _qeth_l2_vnicc_is_in_use()
2176 if (!card->options.vnicc.rx_bcast_enabled || in _qeth_l2_vnicc_is_in_use()
2204 if (card->options.vnicc.sup_chars & vnicc && in qeth_l2_vnicc_recover_char()
2205 card->options.vnicc.set_char_sup & vnicc && in qeth_l2_vnicc_recover_char()
2208 card->options.vnicc.wanted_chars &= ~vnicc; in qeth_l2_vnicc_recover_char()
2209 card->options.vnicc.wanted_chars |= QETH_VNICC_DEFAULT & vnicc; in qeth_l2_vnicc_recover_char()
2216 u32 *timeout = &card->options.vnicc.learning_timeout; in qeth_l2_vnicc_init()
2224 card->options.vnicc.rx_bcast_enabled = 0; in qeth_l2_vnicc_init()
2227 if (card->options.vnicc.wanted_chars != QETH_VNICC_DEFAULT || in qeth_l2_vnicc_init()
2231 card->options.vnicc.sup_chars = 0; in qeth_l2_vnicc_init()
2232 card->options.vnicc.cur_chars = 0; in qeth_l2_vnicc_init()
2233 card->options.vnicc.wanted_chars = QETH_VNICC_DEFAULT; in qeth_l2_vnicc_init()
2237 chars_tmp = card->options.vnicc.sup_chars; in qeth_l2_vnicc_init()
2238 chars_len = sizeof(card->options.vnicc.sup_chars) * BITS_PER_BYTE; in qeth_l2_vnicc_init()
2247 card->options.vnicc.getset_timeout_sup |= vnicc; in qeth_l2_vnicc_init()
2249 card->options.vnicc.getset_timeout_sup &= ~vnicc; in qeth_l2_vnicc_init()
2252 card->options.vnicc.set_char_sup |= vnicc; in qeth_l2_vnicc_init()
2254 card->options.vnicc.set_char_sup &= ~vnicc; in qeth_l2_vnicc_init()
2260 chars_tmp = card->options.vnicc.wanted_chars ^ in qeth_l2_vnicc_init()
2261 card->options.vnicc.cur_chars; in qeth_l2_vnicc_init()
2262 chars_len = sizeof(card->options.vnicc.wanted_chars) * BITS_PER_BYTE; in qeth_l2_vnicc_init()
2265 enable = card->options.vnicc.wanted_chars & vnicc; in qeth_l2_vnicc_init()
2276 card->options.vnicc.sup_chars = QETH_VNICC_ALL; in qeth_l2_vnicc_set_defaults()
2277 card->options.vnicc.cur_chars = QETH_VNICC_DEFAULT; in qeth_l2_vnicc_set_defaults()
2278 card->options.vnicc.learning_timeout = QETH_VNICC_DEFAULT_TIMEOUT; in qeth_l2_vnicc_set_defaults()
2280 card->options.vnicc.set_char_sup = QETH_VNICC_ALL; in qeth_l2_vnicc_set_defaults()
2281 card->options.vnicc.getset_timeout_sup = QETH_VNICC_LEARNING; in qeth_l2_vnicc_set_defaults()
2283 card->options.vnicc.wanted_chars = QETH_VNICC_DEFAULT; in qeth_l2_vnicc_set_defaults()
2345 if (card->options.sbp.supported_funcs) { in qeth_l2_set_online()