• Home
  • Raw
  • Download

Lines Matching refs:smi

78 	int	(*detect)(struct realtek_smi *smi);
79 int (*reset_chip)(struct realtek_smi *smi);
80 int (*setup)(struct realtek_smi *smi);
81 void (*cleanup)(struct realtek_smi *smi);
82 int (*get_mib_counter)(struct realtek_smi *smi,
86 int (*get_vlan_mc)(struct realtek_smi *smi, u32 index,
88 int (*set_vlan_mc)(struct realtek_smi *smi, u32 index,
90 int (*get_vlan_4k)(struct realtek_smi *smi, u32 vid,
92 int (*set_vlan_4k)(struct realtek_smi *smi,
94 int (*get_mc_index)(struct realtek_smi *smi, int port, int *val);
95 int (*set_mc_index)(struct realtek_smi *smi, int port, int index);
96 bool (*is_vlan_valid)(struct realtek_smi *smi, unsigned int vlan);
97 int (*enable_vlan)(struct realtek_smi *smi, bool enable);
98 int (*enable_vlan4k)(struct realtek_smi *smi, bool enable);
99 int (*enable_port)(struct realtek_smi *smi, int port, bool enable);
100 int (*phy_read)(struct realtek_smi *smi, int phy, int regnum);
101 int (*phy_write)(struct realtek_smi *smi, int phy, int regnum,
114 int realtek_smi_write_reg_noack(struct realtek_smi *smi, u32 addr,
116 int realtek_smi_setup_mdio(struct realtek_smi *smi);
119 int rtl8366_mc_is_used(struct realtek_smi *smi, int mc_index, int *used);
120 int rtl8366_set_vlan(struct realtek_smi *smi, int vid, u32 member,
122 int rtl8366_get_pvid(struct realtek_smi *smi, int port, int *val);
123 int rtl8366_set_pvid(struct realtek_smi *smi, unsigned int port,
125 int rtl8366_enable_vlan4k(struct realtek_smi *smi, bool enable);
126 int rtl8366_enable_vlan(struct realtek_smi *smi, bool enable);
127 int rtl8366_reset_vlan(struct realtek_smi *smi);
128 int rtl8366_init_vlan(struct realtek_smi *smi);