Searched refs:link_options (Results 1 – 4 of 4) sorted by relevance
153 struct link_options_s *link_options) in a2_link_speed_mask2fw() argument155 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 …]
541 struct link_options_s link_options; member
692 static inline bool dpaa2_eth_tx_pause_enabled(u64 link_options) in dpaa2_eth_tx_pause_enabled() argument694 return !!(link_options & DPNI_LINK_OPT_PAUSE) ^ in dpaa2_eth_tx_pause_enabled()695 !!(link_options & DPNI_LINK_OPT_ASYM_PAUSE); in dpaa2_eth_tx_pause_enabled()698 static inline bool dpaa2_eth_rx_pause_enabled(u64 link_options) in dpaa2_eth_rx_pause_enabled() argument700 return !!(link_options & DPNI_LINK_OPT_PAUSE); in dpaa2_eth_rx_pause_enabled()
130 u64 link_options = priv->link_state.options; in dpaa2_eth_get_pauseparam() local137 pause->rx_pause = dpaa2_eth_rx_pause_enabled(link_options); in dpaa2_eth_get_pauseparam()138 pause->tx_pause = dpaa2_eth_tx_pause_enabled(link_options); in dpaa2_eth_get_pauseparam()