Lines Matching refs:qca8k_priv
66 int qca8k_read(struct qca8k_priv *priv, u32 reg, u32 *val) in qca8k_read()
71 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val) in qca8k_write()
76 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_rmw()
104 static int qca8k_busy_wait(struct qca8k_priv *priv, u32 reg, u32 mask) in qca8k_busy_wait()
112 static int qca8k_fdb_read(struct qca8k_priv *priv, struct qca8k_fdb *fdb) in qca8k_fdb_read()
140 static void qca8k_fdb_write(struct qca8k_priv *priv, u16 vid, u8 port_mask, in qca8k_fdb_write()
164 static int qca8k_fdb_access(struct qca8k_priv *priv, enum qca8k_fdb_cmd cmd, in qca8k_fdb_access()
200 static int qca8k_fdb_next(struct qca8k_priv *priv, struct qca8k_fdb *fdb, in qca8k_fdb_next()
213 static int qca8k_fdb_add(struct qca8k_priv *priv, const u8 *mac, in qca8k_fdb_add()
226 static int qca8k_fdb_del(struct qca8k_priv *priv, const u8 *mac, in qca8k_fdb_del()
239 void qca8k_fdb_flush(struct qca8k_priv *priv) in qca8k_fdb_flush()
246 static int qca8k_fdb_search_and_insert(struct qca8k_priv *priv, u8 port_mask, in qca8k_fdb_search_and_insert()
283 static int qca8k_fdb_search_and_del(struct qca8k_priv *priv, u8 port_mask, in qca8k_fdb_search_and_del()
325 static int qca8k_vlan_access(struct qca8k_priv *priv, in qca8k_vlan_access()
358 static int qca8k_vlan_add(struct qca8k_priv *priv, u8 port, u16 vid, in qca8k_vlan_add()
396 static int qca8k_vlan_del(struct qca8k_priv *priv, u8 port, u16 vid) in qca8k_vlan_del()
439 int qca8k_mib_init(struct qca8k_priv *priv) in qca8k_mib_init()
466 void qca8k_port_set_status(struct qca8k_priv *priv, int port, int enable) in qca8k_port_set_status()
483 struct qca8k_priv *priv = ds->priv; in qca8k_get_strings()
496 struct qca8k_priv *priv = ds->priv; in qca8k_get_ethtool_stats()
528 struct qca8k_priv *priv = ds->priv; in qca8k_get_sset_count()
540 struct qca8k_priv *priv = ds->priv; in qca8k_set_mac_eee()
570 struct qca8k_priv *priv = ds->priv; in qca8k_port_configure_learning()
585 struct qca8k_priv *priv = ds->priv; in qca8k_port_stp_state_set()
617 static int qca8k_update_port_member(struct qca8k_priv *priv, int port, in qca8k_update_port_member()
677 struct qca8k_priv *priv = ds->priv; in qca8k_port_bridge_flags()
709 struct qca8k_priv *priv = ds->priv; in qca8k_port_bridge_join()
717 struct qca8k_priv *priv = ds->priv; in qca8k_port_bridge_leave()
729 struct qca8k_priv *priv = ds->priv; in qca8k_port_fast_age()
738 struct qca8k_priv *priv = ds->priv; in qca8k_set_ageing_time()
759 struct qca8k_priv *priv = ds->priv; in qca8k_port_enable()
772 struct qca8k_priv *priv = ds->priv; in qca8k_port_disable()
780 struct qca8k_priv *priv = ds->priv; in qca8k_port_change_mtu()
821 int qca8k_port_fdb_insert(struct qca8k_priv *priv, const u8 *addr, in qca8k_port_fdb_insert()
836 struct qca8k_priv *priv = ds->priv; in qca8k_port_fdb_add()
846 struct qca8k_priv *priv = ds->priv; in qca8k_port_fdb_del()
858 struct qca8k_priv *priv = ds->priv; in qca8k_port_fdb_dump()
882 struct qca8k_priv *priv = ds->priv; in qca8k_port_mdb_add()
897 struct qca8k_priv *priv = ds->priv; in qca8k_port_mdb_del()
911 struct qca8k_priv *priv = ds->priv; in qca8k_port_mirror_add()
965 struct qca8k_priv *priv = ds->priv; in qca8k_port_mirror_del()
1002 struct qca8k_priv *priv = ds->priv; in qca8k_port_vlan_filtering()
1024 struct qca8k_priv *priv = ds->priv; in qca8k_port_vlan_add()
1051 struct qca8k_priv *priv = ds->priv; in qca8k_port_vlan_del()
1103 struct qca8k_priv *priv = ds->priv; in qca8k_lag_setup_hash()
1149 struct qca8k_priv *priv = ds->priv; in qca8k_lag_refresh_portmap()
1237 int qca8k_read_switch_id(struct qca8k_priv *priv) in qca8k_read_switch_id()