Lines Matching defs:dev

233 static int b53_do_vlan_op(struct b53_device *dev, u8 op)  in b53_do_vlan_op()
252 static void b53_set_vlan_entry(struct b53_device *dev, u16 vid, in b53_set_vlan_entry()
292 static void b53_get_vlan_entry(struct b53_device *dev, u16 vid, in b53_get_vlan_entry()
331 static void b53_set_eap_mode(struct b53_device *dev, int port, int mode) in b53_set_eap_mode()
351 static void b53_set_forwarding(struct b53_device *dev, int enable) in b53_set_forwarding()
383 static void b53_enable_vlan(struct b53_device *dev, int port, bool enable, in b53_enable_vlan()
472 static int b53_set_jumbo(struct b53_device *dev, bool enable, bool allow_10_100) in b53_set_jumbo()
491 static int b53_flush_arl(struct b53_device *dev, u8 mask) in b53_flush_arl()
520 static int b53_fast_age_port(struct b53_device *dev, int port) in b53_fast_age_port()
530 static int b53_fast_age_vlan(struct b53_device *dev, u16 vid) in b53_fast_age_vlan()
542 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup() local
562 static void b53_port_set_ucast_flood(struct b53_device *dev, int port, in b53_port_set_ucast_flood()
587 static void b53_port_set_mcast_flood(struct b53_device *dev, int port, in b53_port_set_mcast_flood()
619 static void b53_port_set_learning(struct b53_device *dev, int port, in b53_port_set_learning()
637 struct b53_device *dev = ds->priv; in b53_eee_enable_set() local
650 struct b53_device *dev = ds->priv; in b53_setup_port() local
682 struct b53_device *dev = ds->priv; in b53_enable_port() local
725 struct b53_device *dev = ds->priv; in b53_disable_port() local
743 struct b53_device *dev = ds->priv; in b53_brcm_hdr_setup() local
819 static void b53_enable_cpu_port(struct b53_device *dev, int port) in b53_enable_cpu_port()
835 static void b53_enable_mib(struct b53_device *dev) in b53_enable_mib()
844 static void b53_enable_stp(struct b53_device *dev) in b53_enable_stp()
853 static u16 b53_default_pvid(struct b53_device *dev) in b53_default_pvid()
863 struct b53_device *dev = ds->priv; in b53_vlan_port_needs_forced_tagged() local
870 struct b53_device *dev = ds->priv; in b53_vlan_port_may_join_untagged() local
886 struct b53_device *dev = ds->priv; in b53_configure_vlan() local
949 static void b53_switch_reset_gpio(struct b53_device *dev) in b53_switch_reset_gpio()
967 static int b53_switch_reset(struct b53_device *dev) in b53_switch_reset()
1087 static const struct b53_mib_desc *b53_get_mib(struct b53_device *dev) in b53_get_mib()
1099 static unsigned int b53_get_mib_size(struct b53_device *dev) in b53_get_mib_size()
1127 struct b53_device *dev = ds->priv; in b53_get_strings() local
1148 struct b53_device *dev = ds->priv; in b53_get_ethtool_stats() local
1193 struct b53_device *dev = ds->priv; in b53_get_sset_count() local
1216 struct b53_device *dev = priv; in b53_devlink_vlan_table_get() local
1233 struct b53_device *dev = ds->priv; in b53_setup_devlink_resources() local
1260 struct b53_device *dev = ds->priv; in b53_setup() local
1327 static void b53_force_link(struct b53_device *dev, int port, int link) in b53_force_link()
1351 static void b53_force_port_config(struct b53_device *dev, int port, in b53_force_port_config()
1422 struct b53_device *dev = ds->priv; in b53_adjust_63xx_rgmii() local
1442 struct b53_device *dev = ds->priv; in b53_adjust_531x5_rgmii() local
1486 struct b53_device *dev = ds->priv; in b53_adjust_5325_mii() local
1509 struct b53_device *dev = ds->priv; in b53_port_event() local
1522 struct b53_device *dev = ds->priv; in b53_phylink_get_caps() local
1566 struct b53_device *dev = dp->ds->priv; in b53_phylink_mac_select_pcs() local
1581 struct b53_device *dev = ds->priv; in b53_phylink_mac_config() local
1602 struct b53_device *dev = dp->ds->priv; in b53_phylink_mac_link_down() local
1630 struct b53_device *dev = ds->priv; in b53_phylink_mac_link_up() local
1666 struct b53_device *dev = ds->priv; in b53_vlan_filtering() local
1680 struct b53_device *dev = ds->priv; in b53_vlan_prepare() local
1705 struct b53_device *dev = ds->priv; in b53_vlan_add() local
1758 struct b53_device *dev = ds->priv; in b53_vlan_del() local
1793 static int b53_arl_op_wait(struct b53_device *dev) in b53_arl_op_wait()
1811 static int b53_arl_rw_op(struct b53_device *dev, unsigned int op) in b53_arl_rw_op()
1833 static int b53_arl_read(struct b53_device *dev, u64 mac, in b53_arl_read()
1874 static int b53_arl_read_25(struct b53_device *dev, u64 mac, in b53_arl_read_25()
1913 static int b53_arl_op(struct b53_device *dev, int op, int port, in b53_arl_op()
2027 static int b53_arl_search_wait(struct b53_device *dev) in b53_arl_search_wait()
2051 static void b53_arl_search_rd(struct b53_device *dev, u8 idx, in b53_arl_search_rd()
2180 struct b53_device *dev = ds->priv; in b53_br_join() local
2246 struct b53_device *dev = ds->priv; in b53_br_leave() local
2297 struct b53_device *dev = ds->priv; in b53_br_set_stp_state() local
2331 struct b53_device *dev = ds->priv; in b53_br_fast_age() local
2342 struct b53_device *dev = ds->priv; in b53_br_flags_pre() local
2417 struct b53_device *dev = ds->priv; in b53_get_tag_protocol() local
2451 struct b53_device *dev = ds->priv; in b53_mirror_add() local
2476 struct b53_device *dev = ds->priv; in b53_mirror_del() local
2533 struct b53_device *dev = ds->priv; in b53_support_eee() local
2541 struct b53_device *dev = ds->priv; in b53_set_mac_eee() local
2553 struct b53_device *dev = ds->priv; in b53_change_mtu() local
2571 struct b53_device *dev = ds->priv; in b53_get_max_mtu() local
2581 struct b53_device *dev = ds->priv; in b53_set_ageing_time() local
2955 static int b53_switch_init(struct b53_device *dev) in b53_switch_init()
3054 struct b53_device *dev; in b53_switch_alloc() local
3091 int b53_switch_detect(struct b53_device *dev) in b53_switch_detect()
3174 int b53_switch_register(struct b53_device *dev) in b53_switch_register()