Lines Matching defs:wx
914 struct wx *wx;
985 struct wx {
1088 rd32m(struct wx *wx, u32 reg, u32 mask)
1092 val = rd32(wx, reg);
1097 wr32m(struct wx *wx, u32 reg, u32 mask, u32 field)
1101 val = rd32(wx, reg);
1104 wr32(wx, reg, val);
1108 rd64(struct wx *wx, u32 reg)
1112 lsb = rd32(wx, reg);
1113 msb = rd32(wx, reg + 4);
1123 #define wx_err(wx, fmt, arg...) \
1124 dev_err(&(wx)->pdev->dev, fmt, ##arg)
1126 #define wx_dbg(wx, fmt, arg...) \
1127 dev_dbg(&(wx)->pdev->dev, fmt, ##arg)
1129 static inline struct wx *phylink_to_wx(struct phylink_config *config)
1131 return container_of(config, struct wx, phylink_config);