Lines Matching refs:b53_device

231 static int b53_do_vlan_op(struct b53_device *dev, u8 op)  in b53_do_vlan_op()
250 static void b53_set_vlan_entry(struct b53_device *dev, u16 vid, in b53_set_vlan_entry()
290 static void b53_get_vlan_entry(struct b53_device *dev, u16 vid, in b53_get_vlan_entry()
329 static void b53_set_forwarding(struct b53_device *dev, int enable) in b53_set_forwarding()
356 static void b53_enable_vlan(struct b53_device *dev, int port, bool enable, in b53_enable_vlan()
443 static int b53_set_jumbo(struct b53_device *dev, bool enable, bool allow_10_100) in b53_set_jumbo()
462 static int b53_flush_arl(struct b53_device *dev, u8 mask) in b53_flush_arl()
488 static int b53_fast_age_port(struct b53_device *dev, int port) in b53_fast_age_port()
495 static int b53_fast_age_vlan(struct b53_device *dev, u16 vid) in b53_fast_age_vlan()
504 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup()
520 static void b53_port_set_ucast_flood(struct b53_device *dev, int port, in b53_port_set_ucast_flood()
533 static void b53_port_set_mcast_flood(struct b53_device *dev, int port, in b53_port_set_mcast_flood()
553 static void b53_port_set_learning(struct b53_device *dev, int port, in b53_port_set_learning()
568 struct b53_device *dev = ds->priv; in b53_eee_enable_set()
581 struct b53_device *dev = ds->priv; in b53_enable_port()
625 struct b53_device *dev = ds->priv; in b53_disable_port()
640 struct b53_device *dev = ds->priv; in b53_brcm_hdr_setup()
711 static void b53_enable_cpu_port(struct b53_device *dev, int port) in b53_enable_cpu_port()
731 static void b53_enable_mib(struct b53_device *dev) in b53_enable_mib()
740 static u16 b53_default_pvid(struct b53_device *dev) in b53_default_pvid()
750 struct b53_device *dev = ds->priv; in b53_vlan_port_needs_forced_tagged()
757 struct b53_device *dev = ds->priv; in b53_configure_vlan()
807 static void b53_switch_reset_gpio(struct b53_device *dev) in b53_switch_reset_gpio()
825 static int b53_switch_reset(struct b53_device *dev) in b53_switch_reset()
885 struct b53_device *priv = ds->priv; in b53_phy_read16()
900 struct b53_device *priv = ds->priv; in b53_phy_write16()
908 static int b53_reset_switch(struct b53_device *priv) in b53_reset_switch()
919 static int b53_apply_config(struct b53_device *priv) in b53_apply_config()
932 static void b53_reset_mib(struct b53_device *priv) in b53_reset_mib()
944 static const struct b53_mib_desc *b53_get_mib(struct b53_device *dev) in b53_get_mib()
956 static unsigned int b53_get_mib_size(struct b53_device *dev) in b53_get_mib_size()
984 struct b53_device *dev = ds->priv; in b53_get_strings()
1006 struct b53_device *dev = ds->priv; in b53_get_ethtool_stats()
1051 struct b53_device *dev = ds->priv; in b53_get_sset_count()
1074 struct b53_device *dev = priv; in b53_devlink_vlan_table_get()
1091 struct b53_device *dev = ds->priv; in b53_setup_devlink_resources()
1118 struct b53_device *dev = ds->priv; in b53_setup()
1159 static void b53_force_link(struct b53_device *dev, int port, int link) in b53_force_link()
1181 static void b53_force_port_config(struct b53_device *dev, int port, in b53_force_port_config()
1232 struct b53_device *dev = ds->priv; in b53_adjust_63xx_rgmii()
1276 struct b53_device *dev = ds->priv; in b53_adjust_531x5_rgmii()
1318 struct b53_device *dev = ds->priv; in b53_adjust_5325_mii()
1341 struct b53_device *dev = ds->priv; in b53_port_event()
1354 struct b53_device *dev = ds->priv; in b53_phylink_get_caps()
1394 struct b53_device *dev = dp->ds->priv; in b53_phylink_mac_select_pcs()
1409 struct b53_device *dev = ds->priv; in b53_phylink_mac_config()
1430 struct b53_device *dev = dp->ds->priv; in b53_phylink_mac_link_down()
1455 struct b53_device *dev = ds->priv; in b53_phylink_mac_link_up()
1484 struct b53_device *dev = ds->priv; in b53_vlan_filtering()
1495 struct b53_device *dev = ds->priv; in b53_vlan_prepare()
1520 struct b53_device *dev = ds->priv; in b53_vlan_add()
1559 struct b53_device *dev = ds->priv; in b53_vlan_del()
1589 static int b53_arl_op_wait(struct b53_device *dev) in b53_arl_op_wait()
1607 static int b53_arl_rw_op(struct b53_device *dev, unsigned int op) in b53_arl_rw_op()
1629 static int b53_arl_read(struct b53_device *dev, u64 mac, in b53_arl_read()
1670 static int b53_arl_op(struct b53_device *dev, int op, int port, in b53_arl_op()
1749 struct b53_device *priv = ds->priv; in b53_fdb_add()
1770 struct b53_device *priv = ds->priv; in b53_fdb_del()
1781 static int b53_arl_search_wait(struct b53_device *dev) in b53_arl_search_wait()
1800 static void b53_arl_search_rd(struct b53_device *dev, u8 idx, in b53_arl_search_rd()
1828 struct b53_device *priv = ds->priv; in b53_fdb_dump()
1872 struct b53_device *priv = ds->priv; in b53_mdb_add()
1893 struct b53_device *priv = ds->priv; in b53_mdb_del()
1909 struct b53_device *dev = ds->priv; in b53_br_join()
1960 struct b53_device *dev = ds->priv; in b53_br_leave()
2006 struct b53_device *dev = ds->priv; in b53_br_set_stp_state()
2040 struct b53_device *dev = ds->priv; in b53_br_fast_age()
2120 struct b53_device *dev = ds->priv; in b53_get_tag_protocol()
2151 struct b53_device *dev = ds->priv; in b53_mirror_add()
2176 struct b53_device *dev = ds->priv; in b53_mirror_del()
2230 struct b53_device *dev = ds->priv; in b53_get_mac_eee()
2241 struct b53_device *dev = ds->priv; in b53_set_mac_eee()
2256 struct b53_device *dev = ds->priv; in b53_change_mtu()
2274 struct b53_device *dev = ds->priv; in b53_get_max_mtu()
2631 static int b53_switch_init(struct b53_device *dev) in b53_switch_init()
2718 struct b53_device *b53_switch_alloc(struct device *base, in b53_switch_alloc()
2723 struct b53_device *dev; in b53_switch_alloc()
2759 int b53_switch_detect(struct b53_device *dev) in b53_switch_detect()
2827 int b53_switch_register(struct b53_device *dev) in b53_switch_register()