Lines Matching defs:port

101 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port,  in felix_tag_8021q_vlan_add_rx()
150 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx()
172 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx()
239 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del_tx()
270 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in felix_tag_8021q_vlan_add()
304 static int felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del()
333 static int felix_update_tag_8021q_rx_rules(struct dsa_switch *ds, int port, in felix_update_tag_8021q_rx_rules()
447 static void felix_npi_port_init(struct ocelot *ocelot, int port) in felix_npi_port_init()
465 static void felix_npi_port_deinit(struct ocelot *ocelot, int port) in felix_npi_port_deinit()
520 static int felix_tag_npi_change_conduit(struct dsa_switch *ds, int port, in felix_tag_npi_change_conduit()
654 static int felix_tag_8021q_change_conduit(struct dsa_switch *ds, int port, in felix_tag_8021q_change_conduit()
803 int port, in felix_get_tag_protocol()
812 static void felix_port_set_host_flood(struct dsa_switch *ds, int port, in felix_port_set_host_flood()
834 static int felix_port_change_conduit(struct dsa_switch *ds, int port, in felix_port_change_conduit()
854 static void felix_port_fast_age(struct dsa_switch *ds, int port) in felix_port_fast_age()
865 static int felix_fdb_dump(struct dsa_switch *ds, int port, in felix_fdb_dump()
873 static int felix_fdb_add(struct dsa_switch *ds, int port, in felix_fdb_add()
894 static int felix_fdb_del(struct dsa_switch *ds, int port, in felix_fdb_del()
941 static int felix_mdb_add(struct dsa_switch *ds, int port, in felix_mdb_add()
961 static int felix_mdb_del(struct dsa_switch *ds, int port, in felix_mdb_del()
981 static void felix_bridge_stp_state_set(struct dsa_switch *ds, int port, in felix_bridge_stp_state_set()
989 static int felix_pre_bridge_flags(struct dsa_switch *ds, int port, in felix_pre_bridge_flags()
998 static int felix_bridge_flags(struct dsa_switch *ds, int port, in felix_bridge_flags()
1012 static int felix_bridge_join(struct dsa_switch *ds, int port, in felix_bridge_join()
1022 static void felix_bridge_leave(struct dsa_switch *ds, int port, in felix_bridge_leave()
1030 static int felix_lag_join(struct dsa_switch *ds, int port, in felix_lag_join()
1049 static int felix_lag_leave(struct dsa_switch *ds, int port, in felix_lag_leave()
1063 static int felix_lag_change(struct dsa_switch *ds, int port) in felix_lag_change()
1073 static int felix_vlan_prepare(struct dsa_switch *ds, int port, in felix_vlan_prepare()
1097 static int felix_vlan_filtering(struct dsa_switch *ds, int port, bool enabled, in felix_vlan_filtering()
1120 static int felix_vlan_add(struct dsa_switch *ds, int port, in felix_vlan_add()
1137 static int felix_vlan_del(struct dsa_switch *ds, int port, in felix_vlan_del()
1145 static void felix_phylink_get_caps(struct dsa_switch *ds, int port, in felix_phylink_get_caps()
1164 int port = dp->index; in felix_phylink_mac_config() local
1180 int port = dp->index; in felix_phylink_mac_select_pcs() local
1197 int port = dp->index; in felix_phylink_mac_link_down() local
1215 int port = dp->index; in felix_phylink_mac_link_up() local
1228 static int felix_port_enable(struct dsa_switch *ds, int port, in felix_port_enable()
1249 static void felix_port_qos_map_init(struct ocelot *ocelot, int port) in felix_port_qos_map_init()
1270 static void felix_get_stats64(struct dsa_switch *ds, int port, in felix_get_stats64()
1278 static void felix_get_pause_stats(struct dsa_switch *ds, int port, in felix_get_pause_stats()
1286 static void felix_get_rmon_stats(struct dsa_switch *ds, int port, in felix_get_rmon_stats()
1295 static void felix_get_eth_ctrl_stats(struct dsa_switch *ds, int port, in felix_get_eth_ctrl_stats()
1303 static void felix_get_eth_mac_stats(struct dsa_switch *ds, int port, in felix_get_eth_mac_stats()
1311 static void felix_get_eth_phy_stats(struct dsa_switch *ds, int port, in felix_get_eth_phy_stats()
1319 static void felix_get_strings(struct dsa_switch *ds, int port, in felix_get_strings()
1327 static void felix_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data) in felix_get_ethtool_stats()
1334 static int felix_get_sset_count(struct dsa_switch *ds, int port, int sset) in felix_get_sset_count()
1341 static int felix_get_ts_info(struct dsa_switch *ds, int port, in felix_get_ts_info()
1358 static int felix_validate_phy_mode(struct felix *felix, int port, in felix_validate_phy_mode()
1376 u32 port; in felix_parse_ports_node() local
1478 static struct regmap *felix_request_port_regmap(struct felix *felix, int port) in felix_request_port_regmap()
1492 int port, i, err; in felix_init_structs() local
1583 static void ocelot_port_purge_txtstamp_skb(struct ocelot *ocelot, int port, in ocelot_port_purge_txtstamp_skb()
1620 int port = xmit_work->dp->index; in felix_port_deferred_xmit() local
1768 static int felix_hwtstamp_get(struct dsa_switch *ds, int port, in felix_hwtstamp_get()
1776 static int felix_hwtstamp_set(struct dsa_switch *ds, int port, in felix_hwtstamp_set()
1847 static bool felix_rxtstamp(struct dsa_switch *ds, int port, in felix_rxtstamp()
1894 static void felix_txtstamp(struct dsa_switch *ds, int port, in felix_txtstamp()
1914 static int felix_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in felix_change_mtu()
1931 static int felix_get_max_mtu(struct dsa_switch *ds, int port) in felix_get_max_mtu()
1938 static int felix_cls_flower_add(struct dsa_switch *ds, int port, in felix_cls_flower_add()
1955 static int felix_cls_flower_del(struct dsa_switch *ds, int port, in felix_cls_flower_del()
1963 static int felix_cls_flower_stats(struct dsa_switch *ds, int port, in felix_cls_flower_stats()
1971 static int felix_port_policer_add(struct dsa_switch *ds, int port, in felix_port_policer_add()
1983 static void felix_port_policer_del(struct dsa_switch *ds, int port) in felix_port_policer_del()
1990 static int felix_port_mirror_add(struct dsa_switch *ds, int port, in felix_port_mirror_add()
2000 static void felix_port_mirror_del(struct dsa_switch *ds, int port, in felix_port_mirror_del()
2008 static int felix_port_setup_tc(struct dsa_switch *ds, int port, in felix_port_setup_tc()
2041 static int felix_sb_port_pool_get(struct dsa_switch *ds, int port, in felix_sb_port_pool_get()
2051 static int felix_sb_port_pool_set(struct dsa_switch *ds, int port, in felix_sb_port_pool_set()
2061 static int felix_sb_tc_pool_bind_get(struct dsa_switch *ds, int port, in felix_sb_tc_pool_bind_get()
2073 static int felix_sb_tc_pool_bind_set(struct dsa_switch *ds, int port, in felix_sb_tc_pool_bind_set()
2102 static int felix_sb_occ_port_pool_get(struct dsa_switch *ds, int port, in felix_sb_occ_port_pool_get()
2112 static int felix_sb_occ_tc_port_bind_get(struct dsa_switch *ds, int port, in felix_sb_occ_tc_port_bind_get()
2123 static int felix_mrp_add(struct dsa_switch *ds, int port, in felix_mrp_add()
2131 static int felix_mrp_del(struct dsa_switch *ds, int port, in felix_mrp_del()
2140 felix_mrp_add_ring_role(struct dsa_switch *ds, int port, in felix_mrp_add_ring_role()
2149 felix_mrp_del_ring_role(struct dsa_switch *ds, int port, in felix_mrp_del_ring_role()
2157 static int felix_port_get_default_prio(struct dsa_switch *ds, int port) in felix_port_get_default_prio()
2164 static int felix_port_set_default_prio(struct dsa_switch *ds, int port, in felix_port_set_default_prio()
2172 static int felix_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp) in felix_port_get_dscp_prio()
2179 static int felix_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, in felix_port_add_dscp_prio()
2187 static int felix_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, in felix_port_del_dscp_prio()
2195 static int felix_get_mm(struct dsa_switch *ds, int port, in felix_get_mm()
2203 static int felix_set_mm(struct dsa_switch *ds, int port, in felix_set_mm()
2212 static void felix_get_mm_stats(struct dsa_switch *ds, int port, in felix_get_mm_stats()
2354 struct net_device *felix_port_to_netdev(struct ocelot *ocelot, int port) in felix_port_to_netdev()