Lines Matching refs:realtek_priv
51 struct realtek_priv { struct
92 int (*detect)(struct realtek_priv *priv); argument
93 int (*reset_chip)(struct realtek_priv *priv);
94 int (*setup)(struct realtek_priv *priv);
95 int (*get_mib_counter)(struct realtek_priv *priv,
99 int (*get_vlan_mc)(struct realtek_priv *priv, u32 index,
101 int (*set_vlan_mc)(struct realtek_priv *priv, u32 index,
103 int (*get_vlan_4k)(struct realtek_priv *priv, u32 vid,
105 int (*set_vlan_4k)(struct realtek_priv *priv,
107 int (*get_mc_index)(struct realtek_priv *priv, int port, int *val);
108 int (*set_mc_index)(struct realtek_priv *priv, int port, int index);
109 bool (*is_vlan_valid)(struct realtek_priv *priv, unsigned int vlan);
110 int (*enable_vlan)(struct realtek_priv *priv, bool enable);
111 int (*enable_vlan4k)(struct realtek_priv *priv, bool enable);
112 int (*enable_port)(struct realtek_priv *priv, int port, bool enable);
113 int (*phy_read)(struct realtek_priv *priv, int phy, int regnum);
114 int (*phy_write)(struct realtek_priv *priv, int phy, int regnum,
129 int rtl8366_mc_is_used(struct realtek_priv *priv, int mc_index, int *used);
130 int rtl8366_set_vlan(struct realtek_priv *priv, int vid, u32 member,
132 int rtl8366_set_pvid(struct realtek_priv *priv, unsigned int port,
134 int rtl8366_enable_vlan4k(struct realtek_priv *priv, bool enable);
135 int rtl8366_enable_vlan(struct realtek_priv *priv, bool enable);
136 int rtl8366_reset_vlan(struct realtek_priv *priv);