Searched refs:RSWITCH_NUM_PORTS (Results 1 – 2 of 2) sorted by relevance
114 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_fwd_init()119 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_fwd_init()129 iowrite32(GENMASK(RSWITCH_NUM_PORTS - 1, 0), priv->addr + FWPBFC(priv->gwca.index)); in rswitch_fwd_init()655 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_gwca_hw_init()1427 i = RSWITCH_NUM_PORTS; in rswitch_ether_port_init_all()1440 for (i = 0; i < RSWITCH_NUM_PORTS; i++) { in rswitch_ether_port_deinit_all()1461 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_open()1478 if (bitmap_empty(rdev->priv->opened_ports, RSWITCH_NUM_PORTS)) in rswitch_stop()1712 if (index >= RSWITCH_NUM_PORTS) in rswitch_device_alloc()1791 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)1008 struct rswitch_device *rdev[RSWITCH_NUM_PORTS];1009 DECLARE_BITMAP(opened_ports, RSWITCH_NUM_PORTS);1012 struct rswitch_etha etha[RSWITCH_NUM_PORTS];