Lines Matching refs:role
30 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
44 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
56 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
80 enum qeth_sbp_roles role; in qeth_bridge_port_role_store() local
85 role = QETH_SBP_ROLE_PRIMARY; in qeth_bridge_port_role_store()
87 role = QETH_SBP_ROLE_SECONDARY; in qeth_bridge_port_role_store()
89 role = QETH_SBP_ROLE_NONE; in qeth_bridge_port_role_store()
101 rc = qeth_bridgeport_setrole(card, role); in qeth_bridge_port_role_store()
103 card->options.sbp.role = role; in qeth_bridge_port_role_store()
105 card->options.sbp.role = role; in qeth_bridge_port_role_store()
229 else if (card->options.sbp.role != QETH_SBP_ROLE_NONE) in qeth_bridgeport_reflect_store()
272 if (card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs()
274 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs()
277 &card->options.sbp.role, NULL); in qeth_l2_setup_bridgeport_attrs()