• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/

Lines Matching refs:dev

750 ar7240_set_vid(struct switch_dev *dev, const struct switch_attr *attr,
753 struct ar7240sw *as = sw_to_ar7240(dev);
759 ar7240_get_vid(struct switch_dev *dev, const struct switch_attr *attr,
762 struct ar7240sw *as = sw_to_ar7240(dev);
768 ar7240_set_pvid(struct switch_dev *dev, int port, int vlan)
770 struct ar7240sw *as = sw_to_ar7240(dev);
774 if (vlan >= dev->vlans)
782 ar7240_get_pvid(struct switch_dev *dev, int port, int *vlan)
784 struct ar7240sw *as = sw_to_ar7240(dev);
790 ar7240_get_ports(struct switch_dev *dev, struct switch_val *val)
792 struct ar7240sw *as = sw_to_ar7240(dev);
814 ar7240_set_ports(struct switch_dev *dev, struct switch_val *val)
816 struct ar7240sw *as = sw_to_ar7240(dev);
845 ar7240_set_vlan(struct switch_dev *dev, const struct switch_attr *attr,
848 struct ar7240sw *as = sw_to_ar7240(dev);
854 ar7240_get_vlan(struct switch_dev *dev, const struct switch_attr *attr,
857 struct ar7240sw *as = sw_to_ar7240(dev);
863 ar7240_set_max_frame_size(struct switch_dev *dev, const struct switch_attr *attr,
866 struct ar7240sw *as = sw_to_ar7240(dev);
874 ar7240_get_max_frame_size(struct switch_dev *dev, const struct switch_attr *attr,
878 struct ar7240sw *as = sw_to_ar7240(dev);
887 ar7240_igmp_snooping(struct switch_dev *dev, const struct switch_attr *attr,
891 struct ar7240sw *as = sw_to_ar7240(dev);
954 ar7240_hw_apply(struct switch_dev *dev)
956 struct ar7240sw *as = sw_to_ar7240(dev);
1004 ar7240_reset_switch(struct switch_dev *dev)
1006 struct ar7240sw *as = sw_to_ar7240(dev);
1012 ar7240_get_port_link(struct switch_dev *dev, int port,
1015 struct ar7240sw *as = sw_to_ar7240(dev);
1051 ar7240_get_port_stats(struct switch_dev *dev, int port,
1054 struct ar7240sw *as = sw_to_ar7240(dev);
1146 ag->dev->name, phy_id1, phy_id2);
1177 ag->dev->name);
1190 ag->dev->name, ctrl);
1198 if (register_switch(&as->swdev, ag->dev) < 0)
1201 pr_info("%s: Found an %s\n", ag->dev->name, swdev->name);
1257 ar7240_set_addr(as, ag->dev->dev_addr);