Home
last modified time | relevance | path

Searched refs:_efx (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Denum.h104 #define LOOPBACKS_EXTERNAL(_efx) \ argument
105 ((_efx)->loopback_modes & ~LOOPBACKS_INTERNAL & \
108 #define LOOPBACK_MASK(_efx) \ argument
109 (1 << (_efx)->loopback_mode)
111 #define LOOPBACK_INTERNAL(_efx) \ argument
112 (!!(LOOPBACKS_INTERNAL & LOOPBACK_MASK(_efx)))
114 #define LOOPBACK_EXTERNAL(_efx) \ argument
115 (!!(LOOPBACK_MASK(_efx) & LOOPBACKS_EXTERNAL(_efx)))
Dnet_driver.h1174 #define ef4_for_each_channel(_channel, _efx) \ argument
1175 for (_channel = (_efx)->channel[0]; \
1177 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1178 (_efx)->channel[_channel->channel + 1] : NULL)
1181 #define ef4_for_each_channel_rev(_channel, _efx) \ argument
1182 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1185 (_efx)->channel[_channel->channel - 1] : NULL)
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Denum.h104 #define LOOPBACKS_EXTERNAL(_efx) \ argument
105 ((_efx)->loopback_modes & ~LOOPBACKS_INTERNAL & \
108 #define LOOPBACK_MASK(_efx) \ argument
109 (1 << (_efx)->loopback_mode)
111 #define LOOPBACK_INTERNAL(_efx) \ argument
112 (!!(LOOPBACKS_INTERNAL & LOOPBACK_MASK(_efx)))
114 #define LOOPBACK_EXTERNAL(_efx) \ argument
115 (!!(LOOPBACK_MASK(_efx) & LOOPBACKS_EXTERNAL(_efx)))
Dnet_driver.h1497 #define efx_for_each_channel(_channel, _efx) \ argument
1498 for (_channel = (_efx)->channel[0]; \
1500 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1501 (_efx)->channel[_channel->channel + 1] : NULL)
1504 #define efx_for_each_channel_rev(_channel, _efx) \ argument
1505 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1508 (_efx)->channel[_channel->channel - 1] : NULL)
/linux-6.6.21/drivers/net/ethernet/sfc/
Denum.h104 #define LOOPBACKS_EXTERNAL(_efx) \ argument
105 ((_efx)->loopback_modes & ~LOOPBACKS_INTERNAL & \
108 #define LOOPBACK_MASK(_efx) \ argument
109 (1 << (_efx)->loopback_mode)
111 #define LOOPBACK_INTERNAL(_efx) \ argument
112 (!!(LOOPBACKS_INTERNAL & LOOPBACK_MASK(_efx)))
114 #define LOOPBACK_EXTERNAL(_efx) \ argument
115 (!!(LOOPBACK_MASK(_efx) & LOOPBACKS_EXTERNAL(_efx)))
Dnet_driver.h1544 #define efx_for_each_channel(_channel, _efx) \ argument
1545 for (_channel = (_efx)->channel[0]; \
1547 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1548 (_efx)->channel[_channel->channel + 1] : NULL)
1551 #define efx_for_each_channel_rev(_channel, _efx) \ argument
1552 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1555 (_efx)->channel[_channel->channel - 1] : NULL)