Lines Matching refs:b53_device

228 static int b53_do_vlan_op(struct b53_device *dev, u8 op)  in b53_do_vlan_op()
247 static void b53_set_vlan_entry(struct b53_device *dev, u16 vid, in b53_set_vlan_entry()
287 static void b53_get_vlan_entry(struct b53_device *dev, u16 vid, in b53_get_vlan_entry()
326 static void b53_set_forwarding(struct b53_device *dev, int enable) in b53_set_forwarding()
346 static void b53_enable_vlan(struct b53_device *dev, bool enable) in b53_enable_vlan()
424 static int b53_set_jumbo(struct b53_device *dev, bool enable, bool allow_10_100) in b53_set_jumbo()
443 static int b53_flush_arl(struct b53_device *dev, u8 mask) in b53_flush_arl()
469 static int b53_fast_age_port(struct b53_device *dev, int port) in b53_fast_age_port()
476 static int b53_fast_age_vlan(struct b53_device *dev, u16 vid) in b53_fast_age_vlan()
485 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup()
503 struct b53_device *dev = ds->priv; in b53_enable_port()
532 struct b53_device *dev = ds->priv; in b53_disable_port()
546 struct b53_device *dev = ds->priv; in b53_brcm_hdr_setup()
600 static void b53_enable_cpu_port(struct b53_device *dev, int port) in b53_enable_cpu_port()
616 static void b53_enable_mib(struct b53_device *dev) in b53_enable_mib()
627 struct b53_device *dev = ds->priv; in b53_configure_vlan()
652 static void b53_switch_reset_gpio(struct b53_device *dev) in b53_switch_reset_gpio()
670 static int b53_switch_reset(struct b53_device *dev) in b53_switch_reset()
727 struct b53_device *priv = ds->priv; in b53_phy_read16()
742 struct b53_device *priv = ds->priv; in b53_phy_write16()
750 static int b53_reset_switch(struct b53_device *priv) in b53_reset_switch()
761 static int b53_apply_config(struct b53_device *priv) in b53_apply_config()
774 static void b53_reset_mib(struct b53_device *priv) in b53_reset_mib()
786 static const struct b53_mib_desc *b53_get_mib(struct b53_device *dev) in b53_get_mib()
798 static unsigned int b53_get_mib_size(struct b53_device *dev) in b53_get_mib_size()
826 struct b53_device *dev = ds->priv; in b53_get_strings()
848 struct b53_device *dev = ds->priv; in b53_get_ethtool_stats()
893 struct b53_device *dev = ds->priv; in b53_get_sset_count()
912 struct b53_device *dev = ds->priv; in b53_setup()
944 struct b53_device *dev = ds->priv; in b53_adjust_link()
1081 struct b53_device *dev = ds->priv; in b53_vlan_prepare()
1098 struct b53_device *dev = ds->priv; in b53_vlan_add()
1130 struct b53_device *dev = ds->priv; in b53_vlan_del()
1167 static int b53_arl_op_wait(struct b53_device *dev) in b53_arl_op_wait()
1185 static int b53_arl_rw_op(struct b53_device *dev, unsigned int op) in b53_arl_rw_op()
1203 static int b53_arl_read(struct b53_device *dev, u64 mac, in b53_arl_read()
1235 static int b53_arl_op(struct b53_device *dev, int op, int port, in b53_arl_op()
1286 struct b53_device *priv = ds->priv; in b53_fdb_add()
1301 struct b53_device *priv = ds->priv; in b53_fdb_del()
1307 static int b53_arl_search_wait(struct b53_device *dev) in b53_arl_search_wait()
1326 static void b53_arl_search_rd(struct b53_device *dev, u8 idx, in b53_arl_search_rd()
1354 struct b53_device *priv = ds->priv; in b53_fdb_dump()
1392 struct b53_device *dev = ds->priv; in b53_br_join()
1437 struct b53_device *dev = ds->priv; in b53_br_leave()
1486 struct b53_device *dev = ds->priv; in b53_br_set_stp_state()
1520 struct b53_device *dev = ds->priv; in b53_br_fast_age()
1554 struct b53_device *dev = ds->priv; in b53_get_tag_protocol()
1578 struct b53_device *dev = ds->priv; in b53_mirror_add()
1604 struct b53_device *dev = ds->priv; in b53_mirror_del()
1642 struct b53_device *dev = ds->priv; in b53_eee_enable_set()
1673 struct b53_device *dev = ds->priv; in b53_get_mac_eee()
1690 struct b53_device *dev = ds->priv; in b53_set_mac_eee()
1977 static int b53_switch_init(struct b53_device *dev) in b53_switch_init()
2070 struct b53_device *b53_switch_alloc(struct device *base, in b53_switch_alloc()
2075 struct b53_device *dev; in b53_switch_alloc()
2099 int b53_switch_detect(struct b53_device *dev) in b53_switch_detect()
2165 int b53_switch_register(struct b53_device *dev) in b53_switch_register()