Lines Matching refs:dev
952 int rtl8366_sw_reset_switch(struct switch_dev *dev)
954 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
977 int rtl8366_sw_get_port_pvid(struct switch_dev *dev, int port, int *val)
979 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
984 int rtl8366_sw_set_port_pvid(struct switch_dev *dev, int port, int val)
986 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
991 int rtl8366_sw_get_port_mib(struct switch_dev *dev,
995 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1025 int rtl8366_sw_get_vlan_info(struct switch_dev *dev,
1032 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1067 int rtl8366_sw_get_vlan_ports(struct switch_dev *dev, struct switch_val *val)
1069 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1095 int rtl8366_sw_set_vlan_ports(struct switch_dev *dev, struct switch_val *val)
1097 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1133 int rtl8366_sw_get_vlan_fid(struct switch_dev *dev,
1138 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1154 int rtl8366_sw_set_vlan_fid(struct switch_dev *dev,
1159 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1179 int rtl8366_sw_get_vlan_enable(struct switch_dev *dev,
1183 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);
1197 int rtl8366_sw_set_vlan_enable(struct switch_dev *dev,
1201 struct rtl8366_smi *smi = sw_to_rtl8366_smi(dev);