Lines Matching refs:b53_device
30 struct b53_device;
34 int (*read8)(struct b53_device *dev, u8 page, u8 reg, u8 *value);
35 int (*read16)(struct b53_device *dev, u8 page, u8 reg, u16 *value);
36 int (*read32)(struct b53_device *dev, u8 page, u8 reg, u32 *value);
37 int (*read48)(struct b53_device *dev, u8 page, u8 reg, u64 *value);
38 int (*read64)(struct b53_device *dev, u8 page, u8 reg, u64 *value);
39 int (*write8)(struct b53_device *dev, u8 page, u8 reg, u8 value);
40 int (*write16)(struct b53_device *dev, u8 page, u8 reg, u16 value);
41 int (*write32)(struct b53_device *dev, u8 page, u8 reg, u32 value);
42 int (*write48)(struct b53_device *dev, u8 page, u8 reg, u64 value);
43 int (*write64)(struct b53_device *dev, u8 page, u8 reg, u64 value);
44 int (*phy_read16)(struct b53_device *dev, int addr, int reg, u16 *value);
45 int (*phy_write16)(struct b53_device *dev, int addr, int reg, u16 value);
46 int (*irq_enable)(struct b53_device *dev, int port);
47 void (*irq_disable)(struct b53_device *dev, int port);
48 void (*phylink_get_caps)(struct b53_device *dev, int port,
50 struct phylink_pcs *(*phylink_mac_select_pcs)(struct b53_device *dev,
53 u8 (*serdes_map_lane)(struct b53_device *dev, int port);
54 void (*serdes_link_set)(struct b53_device *dev, int port,
88 struct b53_device *dev;
107 struct b53_device { struct
160 static inline int is5325(struct b53_device *dev) in is5325() argument
165 static inline int is5365(struct b53_device *dev) in is5365()
174 static inline int is5397_98(struct b53_device *dev) in is5397_98()
180 static inline int is539x(struct b53_device *dev) in is539x()
187 static inline int is531x5(struct b53_device *dev) in is531x5()
195 static inline int is63xx(struct b53_device *dev) in is63xx()
201 static inline int is63268(struct b53_device *dev) in is63268()
206 static inline int is5301x(struct b53_device *dev) in is5301x()
215 static inline int is58xx(struct b53_device *dev) in is58xx()
228 static inline unsigned int b53_max_arl_entries(struct b53_device *dev) in b53_max_arl_entries()
233 struct b53_device *b53_switch_alloc(struct device *base,
237 int b53_switch_detect(struct b53_device *dev);
239 int b53_switch_register(struct b53_device *dev);
241 static inline void b53_switch_remove(struct b53_device *dev) in b53_switch_remove()
246 static inline void b53_switch_shutdown(struct b53_device *dev) in b53_switch_shutdown()
252 static inline int b53_##type_op_size(struct b53_device *dev, u8 page, \
315 static inline int b53_switch_get_reset_gpio(struct b53_device *dev) in b53_switch_get_reset_gpio()
328 static inline int b53_switch_get_reset_gpio(struct b53_device *dev) in b53_switch_get_reset_gpio()