Searched refs:RSWITCH_NUM_PORTS (Results 1 – 2 of 2) sorted by relevance
117 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_fwd_init()122 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_fwd_init()132 iowrite32(GENMASK(RSWITCH_NUM_PORTS - 1, 0), priv->addr + FWPBFC(priv->gwca.index)); in rswitch_fwd_init()677 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_gwca_hw_init()1517 i = RSWITCH_NUM_PORTS; in rswitch_ether_port_init_all()1530 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_ether_port_deinit_all()1551 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_open()1568 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_stop()1862 if (index >= RSWITCH_NUM_PORTS) in rswitch_device_alloc()1944 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()[all …]
15 #define RSWITCH_NUM_PORTS 3 macro17 for (i = 0; i < RSWITCH_NUM_PORTS; i++) \30 #define TS_RING_SIZE (TX_RING_SIZE * RSWITCH_NUM_PORTS)1031 struct rswitch_device *rdev[RSWITCH_NUM_PORTS];1032 DECLARE_BITMAP(opened_ports, RSWITCH_NUM_PORTS);1035 struct rswitch_etha etha[RSWITCH_NUM_PORTS];