Lines Matching refs:cpsw_priv
23 struct cpsw_priv *priv;
27 static int cpsw_port_stp_state_set(struct cpsw_priv *priv, u8 state) in cpsw_port_stp_state_set()
58 static int cpsw_port_attr_br_flags_set(struct cpsw_priv *priv, in cpsw_port_attr_br_flags_set()
93 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_port_attr_set()
119 static u16 cpsw_get_pvid(struct cpsw_priv *priv) in cpsw_get_pvid()
141 static void cpsw_set_pvid(struct cpsw_priv *priv, u16 vid, bool cfi, u32 cos) in cpsw_set_pvid()
165 static int cpsw_port_vlan_add(struct cpsw_priv *priv, bool untag, bool pvid, in cpsw_port_vlan_add()
212 static int cpsw_port_vlan_del(struct cpsw_priv *priv, u16 vid, in cpsw_port_vlan_del()
250 static int cpsw_port_vlans_add(struct cpsw_priv *priv, in cpsw_port_vlans_add()
263 static int cpsw_port_mdb_add(struct cpsw_priv *priv, in cpsw_port_mdb_add()
286 static int cpsw_port_mdb_del(struct cpsw_priv *priv, in cpsw_port_mdb_del()
315 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_port_obj_add()
342 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_port_obj_del()
380 struct cpsw_priv *priv = switchdev_work->priv; in cpsw_switchdev_event_work()
435 struct cpsw_priv *priv = netdev_priv(ndev); in cpsw_switchdev_event()