Lines Matching refs:rc
20 int rc = 0; in qeth_bridge_port_role_state_show() local
28 rc = qeth_bridgeport_query_ports(card, in qeth_bridge_port_role_state_show()
30 if (!rc) { in qeth_bridge_port_role_state_show()
40 rc = -EIO; in qeth_bridge_port_role_state_show()
51 rc = -EIO; in qeth_bridge_port_role_state_show()
53 if (rc) in qeth_bridge_port_role_state_show()
57 rc = sprintf(buf, "%s\n", word); in qeth_bridge_port_role_state_show()
60 return rc; in qeth_bridge_port_role_state_show()
73 int rc = 0; in qeth_bridge_port_role_store() local
90 rc = -EPERM; in qeth_bridge_port_role_store()
92 rc = qeth_bridgeport_setrole(card, role); in qeth_bridge_port_role_store()
93 if (!rc) in qeth_bridge_port_role_store()
100 return rc ? rc : count; in qeth_bridge_port_role_store()
133 int rc = 0; in qeth_bridgeport_hostnotification_store() local
149 rc = qeth_bridgeport_an_set(card, enable); in qeth_bridgeport_hostnotification_store()
150 if (!rc) in qeth_bridgeport_hostnotification_store()
157 return rc ? rc : count; in qeth_bridgeport_hostnotification_store()
189 int rc = 0; in qeth_bridgeport_reflect_store() local
209 rc = -EPERM; in qeth_bridgeport_reflect_store()
213 rc = 0; in qeth_bridgeport_reflect_store()
218 return rc ? rc : count; in qeth_bridgeport_reflect_store()
255 int rc; in qeth_l2_setup_bridgeport_attrs() local
269 rc = qeth_bridgeport_an_set(card, 1); in qeth_l2_setup_bridgeport_attrs()
270 if (rc) in qeth_l2_setup_bridgeport_attrs()