Lines Matching +full:i2c +full:- +full:topology

1 /* SPDX-License-Identifier: BSD-3-Clause */
83 * for_each_set_bit - For loop over each set bit in a bit string
94 (bit) != -1; \
125 /* global sysctl indicating whether to enable 5-layer scheduler topology */
145 /* Maximum TSO size is (256K)-1 */
146 #define ICE_TSO_SIZE ((256*1024) - 1)
154 #define ICE_MAX_DMA_SEG_SIZE ((16*1024) - 1)
199 (ice_is_bit_set(sc->feat_en, ICE_FEATURE_SAFE_MODE) ? ICE_SAFE_CAPS : ICE_FULL_CAPS)
238 * number assigned to it in hw->func_caps.guar_num_vsi, though there
248 #define ICE_MAX_MTU (ICE_MAX_FRAME_SIZE - \
249 ETHER_HDR_LEN - ETHER_CRC_LEN - ETHER_VLAN_ENCAP_LEN)
275 #define ICE_INVALID_MIRROR_VSI ((u16)-1)
349 * ice_itr_to_reg - Convert an ITR setting into its register equivalent
358 return itr_setting / hw->itr_gran; in ice_itr_to_reg()
380 #define ICE_FEC_STRING_RS "RS-FEC"
381 #define ICE_FEC_STRING_BASER "FC-FEC/BASE-R"
383 #define ICE_FEC_STRING_DIS_AUTO "Auto (w/ No-FEC)"
397 * I2C data via the Admin Queue before returning EBUSY.
563 u16 idx; /* software index to sc->all_vsi[] */
595 /* context for per-VSI sysctls */
599 /* context for per-txq sysctls */
603 /* context for per-rxq sysctls */
607 /* VSI-level stats */
677 * @brief Port topology from lport i.e. serdes mapping, pcsquad, macport, cage
731 * ice_set_state - Set the specified state
745 * ice_clear_state - Clear the specified state
759 * ice_testandset_state - Test and set the specified state
774 * ice_testandclear_state - Test and clear the specified state
789 * ice_test_state - Test the specified state
808 * numeric->string conversion functions that may want to return non-constant
842 * ice_enable_intr - Enable interrupts for given vector
860 * ice_disable_intr - Disable interrupts for given vector
877 * ice_is_tx_desc_done - determine if a Tx descriptor is done
881 * capable of re-using it.
886 return (((txd->cmd_type_offset_bsz & ICE_TXD_QW1_DTYPE_M) in ice_is_tx_desc_done()
891 * ice_get_pf_id - Get the PF id from the hardware registers
895 * Intended to be used in cases where hw->pf_id hasn't yet been assigned by
900 * cached hw->pf_id value can be used.
909 /* Details of how to re-initialize depend on the networking stack */