Lines Matching defs:a5psw
71 static void a5psw_reg_writel(struct a5psw *a5psw, int offset, u32 value) in a5psw_reg_writel()
76 static u32 a5psw_reg_readl(struct a5psw *a5psw, int offset) in a5psw_reg_readl()
81 static void a5psw_reg_rmw(struct a5psw *a5psw, int offset, u32 mask, u32 val) in a5psw_reg_rmw()
102 static void a5psw_port_pattern_set(struct a5psw *a5psw, int port, int pattern, in a5psw_port_pattern_set()
114 static void a5psw_port_mgmtfwd_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_mgmtfwd_set()
123 static void a5psw_port_tx_enable(struct a5psw *a5psw, int port, bool enable) in a5psw_port_tx_enable()
139 static void a5psw_port_enable_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_enable_set()
150 static int a5psw_lk_execute_ctrl(struct a5psw *a5psw, u32 *ctrl) in a5psw_lk_execute_ctrl()
165 static void a5psw_port_fdb_flush(struct a5psw *a5psw, int port) in a5psw_port_fdb_flush()
174 static void a5psw_port_authorize_set(struct a5psw *a5psw, int port, in a5psw_port_authorize_set()
189 struct a5psw *a5psw = ds->priv; in a5psw_port_disable() local
198 struct a5psw *a5psw = ds->priv; in a5psw_port_enable() local
208 struct a5psw *a5psw = ds->priv; in a5psw_port_change_mtu() local
246 struct a5psw *a5psw = dp->ds->priv; in a5psw_phylink_mac_select_pcs() local
265 struct a5psw *a5psw = dp->ds->priv; in a5psw_phylink_mac_link_down() local
284 struct a5psw *a5psw = dp->ds->priv; in a5psw_phylink_mac_link_up() local
302 struct a5psw *a5psw = ds->priv; in a5psw_set_ageing_time() local
321 static void a5psw_port_learning_set(struct a5psw *a5psw, int port, bool learn) in a5psw_port_learning_set()
329 static void a5psw_port_rx_block_set(struct a5psw *a5psw, int port, bool block) in a5psw_port_rx_block_set()
337 static void a5psw_flooding_set_resolution(struct a5psw *a5psw, int port, in a5psw_flooding_set_resolution()
349 static void a5psw_port_set_standalone(struct a5psw *a5psw, int port, in a5psw_port_set_standalone()
362 struct a5psw *a5psw = ds->priv; in a5psw_port_bridge_join() local
382 struct a5psw *a5psw = ds->priv; in a5psw_port_bridge_leave() local
409 struct a5psw *a5psw = ds->priv; in a5psw_port_bridge_flags() local
450 struct a5psw *a5psw = ds->priv; in a5psw_port_stp_state_set() local
482 struct a5psw *a5psw = ds->priv; in a5psw_port_fast_age() local
487 static int a5psw_lk_execute_lookup(struct a5psw *a5psw, union lk_data *lk_data, in a5psw_lk_execute_lookup()
510 struct a5psw *a5psw = ds->priv; in a5psw_port_fdb_add() local
561 struct a5psw *a5psw = ds->priv; in a5psw_port_fdb_del() local
619 struct a5psw *a5psw = ds->priv; in a5psw_port_fdb_dump() local
659 struct a5psw *a5psw = ds->priv; in a5psw_port_vlan_filtering() local
671 static int a5psw_find_vlan_entry(struct a5psw *a5psw, u16 vid) in a5psw_find_vlan_entry()
686 static int a5psw_new_vlan_res_entry(struct a5psw *a5psw, u16 newvid) in a5psw_new_vlan_res_entry()
704 static void a5psw_port_vlan_tagged_cfg(struct a5psw *a5psw, in a5psw_port_vlan_tagged_cfg()
726 static void a5psw_port_vlan_cfg(struct a5psw *a5psw, unsigned int vlan_res_id, in a5psw_port_vlan_cfg()
744 struct a5psw *a5psw = ds->priv; in a5psw_port_vlan_add() local
772 struct a5psw *a5psw = ds->priv; in a5psw_port_vlan_del() local
786 static u64 a5psw_read_stat(struct a5psw *a5psw, u32 offset, int port) in a5psw_read_stat()
812 struct a5psw *a5psw = ds->priv; in a5psw_get_ethtool_stats() local
830 struct a5psw *a5psw = ds->priv; in a5psw_get_eth_mac_stats() local
870 struct a5psw *a5psw = ds->priv; in a5psw_get_rmon_stats() local
892 struct a5psw *a5psw = ds->priv; in a5psw_get_eth_ctrl_stats() local
901 static void a5psw_vlan_setup(struct a5psw *a5psw, int port) in a5psw_vlan_setup()
924 struct a5psw *a5psw = ds->priv; in a5psw_setup() local
1039 static int a5psw_mdio_wait_busy(struct a5psw *a5psw) in a5psw_mdio_wait_busy()
1055 struct a5psw *a5psw = bus->priv; in a5psw_mdio_read() local
1081 struct a5psw *a5psw = bus->priv; in a5psw_mdio_write() local
1093 static int a5psw_mdio_config(struct a5psw *a5psw, u32 mdio_freq) in a5psw_mdio_config()
1114 static int a5psw_probe_mdio(struct a5psw *a5psw, struct device_node *node) in a5psw_probe_mdio()
1144 static void a5psw_pcs_free(struct a5psw *a5psw) in a5psw_pcs_free()
1154 static int a5psw_pcs_get(struct a5psw *a5psw) in a5psw_pcs_get()
1209 struct a5psw *a5psw; in a5psw_probe() local
1290 struct a5psw *a5psw = platform_get_drvdata(pdev); in a5psw_remove() local
1303 struct a5psw *a5psw = platform_get_drvdata(pdev); in a5psw_shutdown() local