Home
last modified time | relevance | path

Searched refs:b53_device (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/dsa/b53/
Db53_priv.h30 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);
[all …]
Db53_mdio.c42 static int b53_mdio_op(struct b53_device *dev, u8 page, u8 reg, u16 op) in b53_mdio_op()
80 static int b53_mdio_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mdio_read8()
95 static int b53_mdio_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mdio_read16()
109 static int b53_mdio_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mdio_read32()
125 static int b53_mdio_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mdio_read48()
147 static int b53_mdio_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mdio_read64()
169 static int b53_mdio_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_mdio_write8()
182 static int b53_mdio_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write16()
196 static int b53_mdio_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write32()
215 static int b53_mdio_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write48()
[all …]
Db53_srab.c80 struct b53_device *dev;
91 static int b53_srab_request_grant(struct b53_device *dev) in b53_srab_request_grant()
114 static void b53_srab_release_grant(struct b53_device *dev) in b53_srab_release_grant()
125 static int b53_srab_op(struct b53_device *dev, u8 page, u8 reg, u32 op) in b53_srab_op()
153 static int b53_srab_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_srab_read8()
175 static int b53_srab_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_srab_read16()
197 static int b53_srab_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_srab_read32()
219 static int b53_srab_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_srab_read48()
242 static int b53_srab_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_srab_read64()
265 static int b53_srab_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_srab_write8()
[all …]
Db53_spi.c124 static int b53_spi_read(struct b53_device *dev, u8 page, u8 reg, u8 *data, in b53_spi_read()
141 static int b53_spi_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_spi_read8()
146 static int b53_spi_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_spi_read16()
159 static int b53_spi_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_spi_read32()
172 static int b53_spi_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_spi_read48()
185 static int b53_spi_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_spi_read64()
198 static int b53_spi_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_spi_write8()
215 static int b53_spi_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) in b53_spi_write16()
232 static int b53_spi_write32(struct b53_device *dev, u8 page, u8 reg, u32 value) in b53_spi_write32()
249 static int b53_spi_write48(struct b53_device *dev, u8 page, u8 reg, u64 value) in b53_spi_write48()
[all …]
Db53_mmap.c33 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8()
43 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16()
59 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32()
75 static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read48()
114 static int b53_mmap_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read64()
136 static int b53_mmap_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_mmap_write8()
146 static int b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write16()
163 static int b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write32()
180 static int b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write48()
203 static int b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write64()
[all …]
Db53_serdes.c25 static void b53_serdes_write_blk(struct b53_device *dev, u8 offset, u16 block, in b53_serdes_write_blk()
32 static u16 b53_serdes_read_blk(struct b53_device *dev, u8 offset, u16 block) in b53_serdes_read_blk()
42 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane()
54 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write()
61 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read()
73 struct b53_device *dev = pcs_to_b53_pcs(pcs)->dev; in b53_serdes_config()
91 struct b53_device *dev = pcs_to_b53_pcs(pcs)->dev; in b53_serdes_an_restart()
105 struct b53_device *dev = pcs_to_b53_pcs(pcs)->dev; in b53_serdes_get_state()
139 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_link_set()
165 void b53_serdes_phylink_get_caps(struct b53_device *dev, int port, in b53_serdes_phylink_get_caps()
[all …]
Db53_common.c227 static int b53_do_vlan_op(struct b53_device *dev, u8 op) in b53_do_vlan_op()
246 static void b53_set_vlan_entry(struct b53_device *dev, u16 vid, in b53_set_vlan_entry()
286 static void b53_get_vlan_entry(struct b53_device *dev, u16 vid, in b53_get_vlan_entry()
325 static void b53_set_forwarding(struct b53_device *dev, int enable) in b53_set_forwarding()
352 static void b53_enable_vlan(struct b53_device *dev, int port, bool enable, in b53_enable_vlan()
439 static int b53_set_jumbo(struct b53_device *dev, bool enable, bool allow_10_100) in b53_set_jumbo()
458 static int b53_flush_arl(struct b53_device *dev, u8 mask) in b53_flush_arl()
484 static int b53_fast_age_port(struct b53_device *dev, int port) in b53_fast_age_port()
491 static int b53_fast_age_vlan(struct b53_device *dev, u16 vid) in b53_fast_age_vlan()
500 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup()
[all …]
Db53_serdes.h102 static inline u8 b53_serdes_map_lane(struct b53_device *dev, int port) in b53_serdes_map_lane()
110 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode,
112 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
115 void b53_serdes_phylink_get_caps(struct b53_device *dev, int port,
118 int b53_serdes_init(struct b53_device *dev, int port);
120 static inline int b53_serdes_init(struct b53_device *dev, int port) in b53_serdes_init()
/linux-6.6.21/drivers/net/dsa/
Dbcm_sf2.c1076 static int bcm_sf2_core_read8(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_read8()
1086 static int bcm_sf2_core_read16(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_read16()
1096 static int bcm_sf2_core_read32(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_read32()
1106 static int bcm_sf2_core_read64(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_read64()
1116 static int bcm_sf2_core_write8(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_write8()
1126 static int bcm_sf2_core_write16(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_write16()
1136 static int bcm_sf2_core_write32(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_write32()
1146 static int bcm_sf2_core_write64(struct b53_device *dev, u8 page, u8 reg, in bcm_sf2_core_write64()
1353 struct b53_device *dev; in bcm_sf2_sw_probe()
Dbcm_sf2.h90 struct b53_device *dev;
123 struct b53_device *dev = ds->priv; in bcm_sf2_to_priv()