Lines Matching refs:qeth_card
31 static int qeth_l2_setdelmac_makerc(struct qeth_card *card, u16 retcode) in qeth_l2_setdelmac_makerc()
65 static int qeth_l2_send_setdelmac_cb(struct qeth_card *card, in qeth_l2_send_setdelmac_cb()
74 static int qeth_l2_send_setdelmac(struct qeth_card *card, const __u8 *mac, in qeth_l2_send_setdelmac()
91 static int qeth_l2_send_setmac(struct qeth_card *card, const __u8 *mac) in qeth_l2_send_setmac()
115 static int qeth_l2_write_mac(struct qeth_card *card, u8 *mac) in qeth_l2_write_mac()
132 static int qeth_l2_remove_mac(struct qeth_card *card, u8 *mac) in qeth_l2_remove_mac()
146 static void qeth_l2_drain_rx_mode_cache(struct qeth_card *card) in qeth_l2_drain_rx_mode_cache()
192 static int qeth_l2_setdelvlan_makerc(struct qeth_card *card, u16 retcode) in qeth_l2_setdelvlan_makerc()
213 static int qeth_l2_send_setdelvlan_cb(struct qeth_card *card, in qeth_l2_send_setdelvlan_cb()
229 static int qeth_l2_send_setdelvlan(struct qeth_card *card, __u16 i, in qeth_l2_send_setdelvlan()
248 struct qeth_card *card = dev->ml_priv; in qeth_l2_vlan_rx_add_vid()
260 struct qeth_card *card = dev->ml_priv; in qeth_l2_vlan_rx_kill_vid()
269 static void qeth_l2_set_pnso_mode(struct qeth_card *card, in qeth_l2_set_pnso_mode()
280 static void qeth_l2_dev2br_fdb_flush(struct qeth_card *card) in qeth_l2_dev2br_fdb_flush()
296 static int qeth_l2_request_initial_mac(struct qeth_card *card) in qeth_l2_request_initial_mac()
331 static void qeth_l2_register_dev_addr(struct qeth_card *card) in qeth_l2_register_dev_addr()
344 struct qeth_card *card = dev->ml_priv; in qeth_l2_validate_addr()
356 struct qeth_card *card = dev->ml_priv; in qeth_l2_set_mac_address()
388 static void qeth_l2_promisc_to_bridge(struct qeth_card *card, bool enable) in qeth_l2_promisc_to_bridge()
411 static void qeth_l2_set_promisc_mode(struct qeth_card *card) in qeth_l2_set_promisc_mode()
432 static void qeth_l2_add_mac(struct qeth_card *card, struct netdev_hw_addr *ha) in qeth_l2_add_mac()
456 struct qeth_card *card = container_of(work, struct qeth_card, in qeth_l2_rx_mode_work()
501 struct qeth_card *card = dev->ml_priv; in qeth_l2_hard_start_xmit()
531 struct qeth_card *card = dev->ml_priv; in qeth_l2_set_rx_mode()
550 static int qeth_l2_pnso(struct qeth_card *card, u8 oc, int cnc, in qeth_l2_pnso()
604 static bool qeth_is_my_net_if_token(struct qeth_card *card, in qeth_is_my_net_if_token()
627 static void qeth_l2_dev2br_fdb_notify(struct qeth_card *card, u8 code, in qeth_l2_dev2br_fdb_notify()
670 struct qeth_card *card = priv; in qeth_l2_dev2br_an_set_cb()
690 static int qeth_l2_dev2br_an_set(struct qeth_card *card, bool enable) in qeth_l2_dev2br_an_set()
756 struct qeth_card *card = lsyncdev->ml_priv; in qeth_l2_br2dev_worker()
827 struct qeth_card *card; in qeth_l2_br2dev_queue_work()
856 struct qeth_card *card; in qeth_l2_switchdev_event()
940 struct qeth_card *card = dev->ml_priv; in qeth_l2_bridge_getlink()
972 struct qeth_card *card = dev->ml_priv; in qeth_l2_bridge_setlink()
1088 static int qeth_l2_setup_netdev(struct qeth_card *card) in qeth_l2_setup_netdev()
1140 static void qeth_l2_trace_features(struct qeth_card *card) in qeth_l2_trace_features()
1152 static void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card) in qeth_l2_setup_bridgeport_attrs()
1175 static void qeth_l2_detect_dev2br_support(struct qeth_card *card) in qeth_l2_detect_dev2br_support()
1195 static void qeth_l2_enable_brport_features(struct qeth_card *card) in qeth_l2_enable_brport_features()
1246 static void qeth_bridge_emit_host_event(struct qeth_card *card, in qeth_bridge_emit_host_event()
1299 struct qeth_card *card;
1334 static void qeth_bridge_state_change(struct qeth_card *card, in qeth_bridge_state_change()
1366 struct qeth_card *card;
1374 struct qeth_card *card; in qeth_l2_dev2br_worker()
1451 struct qeth_card *card; in qeth_addr_change_event_worker()
1499 static void qeth_addr_change_event(struct qeth_card *card, in qeth_addr_change_event()
1551 static int qeth_bridgeport_makerc(struct qeth_card *card, in qeth_bridgeport_makerc()
1649 static struct qeth_cmd_buffer *qeth_sbp_build_cmd(struct qeth_card *card, in qeth_sbp_build_cmd()
1673 static int qeth_bridgeport_query_support_cb(struct qeth_card *card, in qeth_bridgeport_query_support_cb()
1697 static void qeth_bridgeport_query_support(struct qeth_card *card) in qeth_bridgeport_query_support()
1717 static int qeth_bridgeport_query_ports_cb(struct qeth_card *card, in qeth_bridgeport_query_ports_cb()
1755 int qeth_bridgeport_query_ports(struct qeth_card *card, in qeth_bridgeport_query_ports()
1779 static int qeth_bridgeport_set_cb(struct qeth_card *card, in qeth_bridgeport_set_cb()
1795 int qeth_bridgeport_setrole(struct qeth_card *card, enum qeth_sbp_roles role) in qeth_bridgeport_setrole()
1828 struct qeth_card *card = (struct qeth_card *)priv; in qeth_bridgeport_an_set_cb()
1849 int qeth_bridgeport_an_set(struct qeth_card *card, int enable) in qeth_bridgeport_an_set()
1873 static int qeth_l2_vnicc_makerc(struct qeth_card *card, u16 ipa_rc) in qeth_l2_vnicc_makerc()
1905 static int qeth_l2_vnicc_request_cb(struct qeth_card *card, in qeth_l2_vnicc_request_cb()
1928 static struct qeth_cmd_buffer *qeth_l2_vnicc_build_cmd(struct qeth_card *card, in qeth_l2_vnicc_build_cmd()
1948 static int qeth_l2_vnicc_query_chars(struct qeth_card *card) in qeth_l2_vnicc_query_chars()
1961 static int qeth_l2_vnicc_query_cmds(struct qeth_card *card, u32 vnic_char, in qeth_l2_vnicc_query_cmds()
1978 static int qeth_l2_vnicc_set_char(struct qeth_card *card, u32 vnic_char, in qeth_l2_vnicc_set_char()
1994 static int qeth_l2_vnicc_getset_timeout(struct qeth_card *card, u32 vnicc, in qeth_l2_vnicc_getset_timeout()
2016 static bool qeth_l2_vnicc_recover_timeout(struct qeth_card *card, u32 vnicc, in qeth_l2_vnicc_recover_timeout()
2029 int qeth_l2_vnicc_set_state(struct qeth_card *card, u32 vnicc, bool state) in qeth_l2_vnicc_set_state()
2083 int qeth_l2_vnicc_get_state(struct qeth_card *card, u32 vnicc, bool *state) in qeth_l2_vnicc_get_state()
2107 int qeth_l2_vnicc_set_timeout(struct qeth_card *card, u32 timeout) in qeth_l2_vnicc_set_timeout()
2143 int qeth_l2_vnicc_get_timeout(struct qeth_card *card, u32 *timeout) in qeth_l2_vnicc_get_timeout()
2168 static bool _qeth_l2_vnicc_is_in_use(struct qeth_card *card) in _qeth_l2_vnicc_is_in_use()
2190 bool qeth_bridgeport_allowed(struct qeth_card *card) in qeth_bridgeport_allowed()
2199 static bool qeth_l2_vnicc_recover_char(struct qeth_card *card, u32 vnicc, in qeth_l2_vnicc_recover_char()
2214 static void qeth_l2_vnicc_init(struct qeth_card *card) in qeth_l2_vnicc_init()
2273 static void qeth_l2_vnicc_set_defaults(struct qeth_card *card) in qeth_l2_vnicc_set_defaults()
2293 struct qeth_card *card = dev_get_drvdata(&gdev->dev); in qeth_l2_probe_device()
2313 struct qeth_card *card = dev_get_drvdata(&gdev->dev); in qeth_l2_remove_device()
2336 static int qeth_l2_set_online(struct qeth_card *card, bool carrier_ok) in qeth_l2_set_online()
2409 static void qeth_l2_set_offline(struct qeth_card *card) in qeth_l2_set_offline()
2425 static int qeth_l2_control_event(struct qeth_card *card, in qeth_l2_control_event()