Home
last modified time | relevance | path

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

1234

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/dsa/b53/
H A Db53_priv.h30 struct b53_device;
103 struct b53_device { struct
153 static inline int is5325(struct b53_device *dev) in is5325() argument
158 static inline int is5365(struct b53_device *dev) in is5365()
173 static inline int is539x(struct b53_device *dev) in is539x()
180 static inline int is531x5(struct b53_device *dev) in is531x5()
187 static inline int is63xx(struct b53_device *dev) in is63xx()
192 static inline int is5301x(struct b53_device *dev) in is5301x()
201 static inline int is58xx(struct b53_device *dev) in is58xx()
221 int b53_switch_detect(struct b53_device *dev);
[all …]
H A Db53_serdes.h102 static inline u8 b53_serdes_map_lane(struct b53_device *dev, int port) in b53_serdes_map_lane()
110 int b53_serdes_get_link(struct b53_device *dev, int port);
111 int b53_serdes_link_state(struct b53_device *dev, int port,
113 void b53_serdes_config(struct b53_device *dev, int port, unsigned int mode,
115 void b53_serdes_an_restart(struct b53_device *dev, int port);
116 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode,
118 void b53_serdes_phylink_validate(struct b53_device *dev, int port,
122 int b53_serdes_init(struct b53_device *dev, int port);
124 static inline int b53_serdes_init(struct b53_device *dev, int port) in b53_serdes_init()
H A Db53_mdio.c41 static int b53_mdio_op(struct b53_device *dev, u8 page, u8 reg, u16 op) in b53_mdio_op()
79 static int b53_mdio_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mdio_read8()
94 static int b53_mdio_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mdio_read16()
181 static int b53_mdio_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write16()
195 static int b53_mdio_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write32()
214 static int b53_mdio_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write48()
233 static int b53_mdio_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write64()
252 static int b53_mdio_phy_read16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_read16()
262 static int b53_mdio_phy_write16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_write16()
292 struct b53_device *dev; in b53_mdio_probe()
[all …]
H A 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()
374 struct b53_device *dev = port->dev; in b53_srab_port_thread()
385 struct b53_device *dev = port->dev; in b53_srab_port_isr()
414 static int b53_srab_irq_enable(struct b53_device *dev, int port) in b53_srab_irq_enable()
435 static void b53_srab_irq_disable(struct b53_device *dev, int port) in b53_srab_irq_disable()
505 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_prepare_irq()
536 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_mux_init()
593 struct b53_device *dev; in b53_srab_probe()
[all …]
H A Db53_serdes.c20 static void b53_serdes_write_blk(struct b53_device *dev, u8 offset, u16 block, in b53_serdes_write_blk()
27 static u16 b53_serdes_read_blk(struct b53_device *dev, u8 offset, u16 block) in b53_serdes_read_blk()
37 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane()
49 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write()
56 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read()
63 void b53_serdes_config(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_config()
83 void b53_serdes_an_restart(struct b53_device *dev, int port) in b53_serdes_an_restart()
99 int b53_serdes_link_state(struct b53_device *dev, int port, in b53_serdes_link_state()
141 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_link_set()
161 void b53_serdes_phylink_validate(struct b53_device *dev, int port, in b53_serdes_phylink_validate()
[all …]
H A Db53_common.c500 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup()
564 struct b53_device *dev = ds->priv; in b53_enable_port()
608 struct b53_device *dev = ds->priv; in b53_disable_port()
623 struct b53_device *dev = ds->priv; in b53_brcm_hdr_setup()
733 struct b53_device *dev = ds->priv; in b53_configure_vlan()
949 struct b53_device *dev = ds->priv; in b53_get_strings()
971 struct b53_device *dev = ds->priv; in b53_get_ethtool_stats()
1016 struct b53_device *dev = ds->priv; in b53_get_sset_count()
1039 struct b53_device *dev = priv; in b53_devlink_vlan_table_get()
1056 struct b53_device *dev = ds->priv; in b53_setup_devlink_resources()
[all …]
H A 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()
298 struct b53_device *dev; in b53_spi_probe()
[all …]
H A Db53_mmap.c32 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8()
42 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16()
58 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32()
74 static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read48()
113 static int b53_mmap_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read64()
145 static int b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write16()
162 static int b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write32()
179 static int b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write48()
202 static int b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write64()
281 struct b53_device *dev; in b53_mmap_probe()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/dsa/b53/
H A Db53_priv.h30 struct b53_device;
103 struct b53_device { struct
153 static inline int is5325(struct b53_device *dev) in is5325() argument
158 static inline int is5365(struct b53_device *dev) in is5365()
173 static inline int is539x(struct b53_device *dev) in is539x()
180 static inline int is531x5(struct b53_device *dev) in is531x5()
187 static inline int is63xx(struct b53_device *dev) in is63xx()
192 static inline int is5301x(struct b53_device *dev) in is5301x()
201 static inline int is58xx(struct b53_device *dev) in is58xx()
221 int b53_switch_detect(struct b53_device *dev);
[all …]
H A Db53_serdes.h102 static inline u8 b53_serdes_map_lane(struct b53_device *dev, int port) in b53_serdes_map_lane()
110 int b53_serdes_get_link(struct b53_device *dev, int port);
111 int b53_serdes_link_state(struct b53_device *dev, int port,
113 void b53_serdes_config(struct b53_device *dev, int port, unsigned int mode,
115 void b53_serdes_an_restart(struct b53_device *dev, int port);
116 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode,
118 void b53_serdes_phylink_validate(struct b53_device *dev, int port,
122 int b53_serdes_init(struct b53_device *dev, int port);
124 static inline int b53_serdes_init(struct b53_device *dev, int port) in b53_serdes_init()
H A Db53_mdio.c41 static int b53_mdio_op(struct b53_device *dev, u8 page, u8 reg, u16 op) in b53_mdio_op()
79 static int b53_mdio_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mdio_read8()
94 static int b53_mdio_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mdio_read16()
181 static int b53_mdio_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write16()
195 static int b53_mdio_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write32()
214 static int b53_mdio_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write48()
233 static int b53_mdio_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write64()
252 static int b53_mdio_phy_read16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_read16()
262 static int b53_mdio_phy_write16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_write16()
292 struct b53_device *dev; in b53_mdio_probe()
[all …]
H A 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()
374 struct b53_device *dev = port->dev; in b53_srab_port_thread()
385 struct b53_device *dev = port->dev; in b53_srab_port_isr()
414 static int b53_srab_irq_enable(struct b53_device *dev, int port) in b53_srab_irq_enable()
435 static void b53_srab_irq_disable(struct b53_device *dev, int port) in b53_srab_irq_disable()
505 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_prepare_irq()
536 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_mux_init()
593 struct b53_device *dev; in b53_srab_probe()
[all …]
H A Db53_serdes.c20 static void b53_serdes_write_blk(struct b53_device *dev, u8 offset, u16 block, in b53_serdes_write_blk()
27 static u16 b53_serdes_read_blk(struct b53_device *dev, u8 offset, u16 block) in b53_serdes_read_blk()
37 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane()
49 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write()
56 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read()
63 void b53_serdes_config(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_config()
83 void b53_serdes_an_restart(struct b53_device *dev, int port) in b53_serdes_an_restart()
99 int b53_serdes_link_state(struct b53_device *dev, int port, in b53_serdes_link_state()
141 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_link_set()
161 void b53_serdes_phylink_validate(struct b53_device *dev, int port, in b53_serdes_phylink_validate()
[all …]
H A Db53_common.c500 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup()
564 struct b53_device *dev = ds->priv; in b53_enable_port()
608 struct b53_device *dev = ds->priv; in b53_disable_port()
623 struct b53_device *dev = ds->priv; in b53_brcm_hdr_setup()
733 struct b53_device *dev = ds->priv; in b53_configure_vlan()
949 struct b53_device *dev = ds->priv; in b53_get_strings()
971 struct b53_device *dev = ds->priv; in b53_get_ethtool_stats()
1016 struct b53_device *dev = ds->priv; in b53_get_sset_count()
1039 struct b53_device *dev = priv; in b53_devlink_vlan_table_get()
1056 struct b53_device *dev = ds->priv; in b53_setup_devlink_resources()
[all …]
H A 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()
298 struct b53_device *dev; in b53_spi_probe()
[all …]
H A Db53_mmap.c32 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8()
42 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16()
58 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32()
74 static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read48()
113 static int b53_mmap_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read64()
145 static int b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write16()
162 static int b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write32()
179 static int b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write48()
202 static int b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write64()
281 struct b53_device *dev; in b53_mmap_probe()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/dsa/b53/
H A Db53_priv.h30 struct b53_device;
103 struct b53_device { struct
153 static inline int is5325(struct b53_device *dev) in is5325() argument
158 static inline int is5365(struct b53_device *dev) in is5365()
173 static inline int is539x(struct b53_device *dev) in is539x()
180 static inline int is531x5(struct b53_device *dev) in is531x5()
187 static inline int is63xx(struct b53_device *dev) in is63xx()
192 static inline int is5301x(struct b53_device *dev) in is5301x()
201 static inline int is58xx(struct b53_device *dev) in is58xx()
221 int b53_switch_detect(struct b53_device *dev);
[all …]
H A Db53_serdes.h102 static inline u8 b53_serdes_map_lane(struct b53_device *dev, int port) in b53_serdes_map_lane()
110 int b53_serdes_get_link(struct b53_device *dev, int port);
111 int b53_serdes_link_state(struct b53_device *dev, int port,
113 void b53_serdes_config(struct b53_device *dev, int port, unsigned int mode,
115 void b53_serdes_an_restart(struct b53_device *dev, int port);
116 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode,
118 void b53_serdes_phylink_validate(struct b53_device *dev, int port,
122 int b53_serdes_init(struct b53_device *dev, int port);
124 static inline int b53_serdes_init(struct b53_device *dev, int port) in b53_serdes_init()
H A Db53_mdio.c41 static int b53_mdio_op(struct b53_device *dev, u8 page, u8 reg, u16 op) in b53_mdio_op()
79 static int b53_mdio_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mdio_read8()
94 static int b53_mdio_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mdio_read16()
181 static int b53_mdio_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write16()
195 static int b53_mdio_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write32()
214 static int b53_mdio_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write48()
233 static int b53_mdio_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write64()
252 static int b53_mdio_phy_read16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_read16()
262 static int b53_mdio_phy_write16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_write16()
292 struct b53_device *dev; in b53_mdio_probe()
[all …]
H A 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()
374 struct b53_device *dev = port->dev; in b53_srab_port_thread()
385 struct b53_device *dev = port->dev; in b53_srab_port_isr()
414 static int b53_srab_irq_enable(struct b53_device *dev, int port) in b53_srab_irq_enable()
435 static void b53_srab_irq_disable(struct b53_device *dev, int port) in b53_srab_irq_disable()
505 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_prepare_irq()
536 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_mux_init()
593 struct b53_device *dev; in b53_srab_probe()
[all …]
H A Db53_serdes.c20 static void b53_serdes_write_blk(struct b53_device *dev, u8 offset, u16 block, in b53_serdes_write_blk()
27 static u16 b53_serdes_read_blk(struct b53_device *dev, u8 offset, u16 block) in b53_serdes_read_blk()
37 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane()
49 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write()
56 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read()
63 void b53_serdes_config(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_config()
83 void b53_serdes_an_restart(struct b53_device *dev, int port) in b53_serdes_an_restart()
99 int b53_serdes_link_state(struct b53_device *dev, int port, in b53_serdes_link_state()
141 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_link_set()
161 void b53_serdes_phylink_validate(struct b53_device *dev, int port, in b53_serdes_phylink_validate()
[all …]
H A Db53_common.c500 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup()
564 struct b53_device *dev = ds->priv; in b53_enable_port()
608 struct b53_device *dev = ds->priv; in b53_disable_port()
623 struct b53_device *dev = ds->priv; in b53_brcm_hdr_setup()
733 struct b53_device *dev = ds->priv; in b53_configure_vlan()
949 struct b53_device *dev = ds->priv; in b53_get_strings()
971 struct b53_device *dev = ds->priv; in b53_get_ethtool_stats()
1016 struct b53_device *dev = ds->priv; in b53_get_sset_count()
1039 struct b53_device *dev = priv; in b53_devlink_vlan_table_get()
1056 struct b53_device *dev = ds->priv; in b53_setup_devlink_resources()
[all …]
H A 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()
298 struct b53_device *dev; in b53_spi_probe()
[all …]
H A Db53_mmap.c32 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8()
42 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16()
58 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32()
74 static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read48()
113 static int b53_mmap_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read64()
145 static int b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write16()
162 static int b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write32()
179 static int b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write48()
202 static int b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write64()
281 struct b53_device *dev; in b53_mmap_probe()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/net/phy/
H A Db53.c113 struct b53_device { struct
319 static inline int b53_read8(struct b53_device *dev, u8 page, in b53_read8()
325 static inline int b53_read16(struct b53_device *dev, u8 page, in b53_read16()
331 static inline int b53_read32(struct b53_device *dev, u8 page, in b53_read32()
337 static inline int b53_read48(struct b53_device *dev, u8 page, in b53_read48()
343 static inline int b53_read64(struct b53_device *dev, u8 page, in b53_read64()
379 static int b53_flush_arl(struct b53_device *dev, u8 mask) in b53_flush_arl()
407 struct b53_device *dev = phydev->priv; in b53_switch_reset()
454 struct b53_device *dev = phydev->priv; in b53_enable_cpu_port()
492 struct b53_device *dev = phydev->priv; in b53_port_enable()
[all …]

1234