Home
last modified time | relevance | path

Searched refs:RSWITCH_NUM_PORTS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/renesas/
H A Drswitch.c116 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_fwd_init()
121 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_fwd_init()
131 iowrite32(GENMASK(RSWITCH_NUM_PORTS - 1, 0), priv->addr + FWPBFC(priv->gwca.index)); in rswitch_fwd_init()
673 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_gwca_hw_init()
949 if (unlikely(port >= RSWITCH_NUM_PORTS)) in rswitch_ts()
1468 i = RSWITCH_NUM_PORTS; in rswitch_ether_port_init_all()
1481 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_ether_port_deinit_all()
1492 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_open()
1529 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_stop()
1817 if (index >= RSWITCH_NUM_PORTS) in rswitch_device_alloc()
[all …]
H A Drswitch.h15 #define RSWITCH_NUM_PORTS 3 macro
17 for (i = 0; i < RSWITCH_NUM_PORTS; i++) \
30 #define TS_RING_SIZE (TX_RING_SIZE * RSWITCH_NUM_PORTS)
1017 struct rswitch_device *rdev[RSWITCH_NUM_PORTS];
1018 DECLARE_BITMAP(opened_ports, RSWITCH_NUM_PORTS);
1021 struct rswitch_etha etha[RSWITCH_NUM_PORTS];