Searched refs:RSWITCH_NUM_PORTS (Results 1 – 2 of 2) sorted by relevance
16 #define RSWITCH_NUM_PORTS 3 macro18 for (i = 0; i < RSWITCH_NUM_PORTS; i++) \31 #define TS_RING_SIZE (TX_RING_SIZE * RSWITCH_NUM_PORTS)1018 struct rswitch_device *rdev[RSWITCH_NUM_PORTS];1019 DECLARE_BITMAP(opened_ports, RSWITCH_NUM_PORTS);1022 struct rswitch_etha etha[RSWITCH_NUM_PORTS];
686 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_gwca_hw_init()1028 if (unlikely(port >= RSWITCH_NUM_PORTS)) in rswitch_ts()1566 i = RSWITCH_NUM_PORTS; in rswitch_ether_port_init_all()1590 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_open()1627 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_stop()1913 if (index >= RSWITCH_NUM_PORTS) in rswitch_device_alloc()1993 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()1997 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()2018 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_init()2077 for (i = 0; i < RSWITCH_NUM_PORTS; i++) in rswitch_init()[all …]