Searched refs:RSWITCH_NUM_PORTS (Results 1 – 2 of 2) sorted by relevance
18 #define RSWITCH_NUM_PORTS 3 macro24 for (i = 0; i < RSWITCH_NUM_PORTS; i++) \37 #define TS_RING_SIZE (TX_RING_SIZE * RSWITCH_NUM_PORTS)1051 struct rswitch_device *rdev[RSWITCH_NUM_PORTS];1052 DECLARE_BITMAP(opened_ports, RSWITCH_NUM_PORTS);1055 struct rswitch_etha etha[RSWITCH_NUM_PORTS];
711 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_gwca_hw_init()1053 if (unlikely(port >= RSWITCH_NUM_PORTS)) in rswitch_ts()1591 i = RSWITCH_NUM_PORTS; in rswitch_ether_port_init_all()1615 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_open()1658 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_stop()1940 if (index >= RSWITCH_NUM_PORTS) in rswitch_device_alloc()2023 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()2027 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()2048 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_init()2109 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()[all …]