Home
last modified time | relevance | path

Searched refs:link_options (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils_fw.c153 struct link_options_s *link_options) in a2_link_speed_mask2fw() argument
155 link_options->rate_10G = !!(speed & AQ_NIC_RATE_10G); in a2_link_speed_mask2fw()
156 link_options->rate_5G = !!(speed & AQ_NIC_RATE_5G); in a2_link_speed_mask2fw()
157 link_options->rate_N5G = link_options->rate_5G; in a2_link_speed_mask2fw()
158 link_options->rate_2P5G = !!(speed & AQ_NIC_RATE_2G5); in a2_link_speed_mask2fw()
159 link_options->rate_N2P5G = link_options->rate_2P5G; in a2_link_speed_mask2fw()
160 link_options->rate_1G = !!(speed & AQ_NIC_RATE_1G); in a2_link_speed_mask2fw()
161 link_options->rate_100M = !!(speed & AQ_NIC_RATE_100M); in a2_link_speed_mask2fw()
162 link_options->rate_10M = !!(speed & AQ_NIC_RATE_10M); in a2_link_speed_mask2fw()
164 link_options->rate_1G_hd = !!(speed & AQ_NIC_RATE_1G_HALF); in a2_link_speed_mask2fw()
[all …]
H A Dhw_atl2_utils.h541 struct link_options_s link_options; member
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h730 static inline bool dpaa2_eth_tx_pause_enabled(u64 link_options) in dpaa2_eth_tx_pause_enabled() argument
732 return !!(link_options & DPNI_LINK_OPT_PAUSE) ^ in dpaa2_eth_tx_pause_enabled()
733 !!(link_options & DPNI_LINK_OPT_ASYM_PAUSE); in dpaa2_eth_tx_pause_enabled()
736 static inline bool dpaa2_eth_rx_pause_enabled(u64 link_options) in dpaa2_eth_rx_pause_enabled() argument
738 return !!(link_options & DPNI_LINK_OPT_PAUSE); in dpaa2_eth_rx_pause_enabled()
H A Ddpaa2-ethtool.c148 u64 link_options = priv->link_state.options; in dpaa2_eth_get_pauseparam() local
160 pause->rx_pause = dpaa2_eth_rx_pause_enabled(link_options); in dpaa2_eth_get_pauseparam()
161 pause->tx_pause = dpaa2_eth_tx_pause_enabled(link_options); in dpaa2_eth_get_pauseparam()