• 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:ag

185 void ag71xx_link_adjust(struct ag71xx *ag);
190 int ag71xx_phy_connect(struct ag71xx *ag);
191 void ag71xx_phy_disconnect(struct ag71xx *ag);
192 void ag71xx_phy_start(struct ag71xx *ag);
193 void ag71xx_phy_stop(struct ag71xx *ag);
195 static inline struct ag71xx_platform_data *ag71xx_get_pdata(struct ag71xx *ag)
197 return ag->pdev->dev.platform_data;
354 static inline void ag71xx_check_reg_offset(struct ag71xx *ag, unsigned reg)
367 static inline void ag71xx_wr(struct ag71xx *ag, unsigned reg, u32 value)
371 ag71xx_check_reg_offset(ag, reg);
373 r = ag->mac_base + reg;
379 static inline u32 ag71xx_rr(struct ag71xx *ag, unsigned reg)
383 ag71xx_check_reg_offset(ag, reg);
385 r = ag->mac_base + reg;
389 static inline void ag71xx_sb(struct ag71xx *ag, unsigned reg, u32 mask)
393 ag71xx_check_reg_offset(ag, reg);
395 r = ag->mac_base + reg;
401 static inline void ag71xx_cb(struct ag71xx *ag, unsigned reg, u32 mask)
405 ag71xx_check_reg_offset(ag, reg);
407 r = ag->mac_base + reg;
413 static inline void ag71xx_int_enable(struct ag71xx *ag, u32 ints)
415 ag71xx_sb(ag, AG71XX_REG_INT_ENABLE, ints);
418 static inline void ag71xx_int_disable(struct ag71xx *ag, u32 ints)
420 ag71xx_cb(ag, AG71XX_REG_INT_ENABLE, ints);
424 void ag71xx_add_ar8216_header(struct ag71xx *ag, struct sk_buff *skb);
425 int ag71xx_remove_ar8216_header(struct ag71xx *ag, struct sk_buff *skb,
427 static inline int ag71xx_has_ar8216(struct ag71xx *ag)
429 return ag71xx_get_pdata(ag)->has_ar8216;
432 static inline void ag71xx_add_ar8216_header(struct ag71xx *ag,
437 static inline int ag71xx_remove_ar8216_header(struct ag71xx *ag,
443 static inline int ag71xx_has_ar8216(struct ag71xx *ag)
452 int ag71xx_debugfs_init(struct ag71xx *ag);
453 void ag71xx_debugfs_exit(struct ag71xx *ag);
454 void ag71xx_debugfs_update_int_stats(struct ag71xx *ag, u32 status);
455 void ag71xx_debugfs_update_napi_stats(struct ag71xx *ag, int rx, int tx);
459 static inline int ag71xx_debugfs_init(struct ag71xx *ag) { return 0; }
460 static inline void ag71xx_debugfs_exit(struct ag71xx *ag) {}
461 static inline void ag71xx_debugfs_update_int_stats(struct ag71xx *ag,
463 static inline void ag71xx_debugfs_update_napi_stats(struct ag71xx *ag,
467 void ag71xx_ar7240_start(struct ag71xx *ag);
468 void ag71xx_ar7240_stop(struct ag71xx *ag);
469 int ag71xx_ar7240_init(struct ag71xx *ag);
470 void ag71xx_ar7240_cleanup(struct ag71xx *ag);