Lines Matching full:tmu
79 * enum tb_switch_tmu_mode - TMU mode
80 * @TB_SWITCH_TMU_MODE_OFF: TMU is off
86 * Ordering is based on TMU accuracy level (highest last).
97 * struct tb_switch_tmu - Structure holding router TMU configuration
98 * @cap: Offset to the TMU capability (%0 if not found)
100 * @mode: TMU mode related to the upstream router. Reflects the HW
102 * @mode_request: TMU mode requested to set. Related to upstream router.
121 * @tmu: The switch TMU configuration
135 * @cap_vsec_tmu: Offset to the TMU vendor specific capability (%0 if not found)
176 struct tb_switch_tmu tmu; member
253 * @cap_tmu: Offset of the adapter specific TMU capability (%0 if not present)
1021 * tb_switch_tmu_is_configured() - Is given TMU mode configured
1025 * Checks if given router TMU mode is configured to @mode. Note the
1026 * router TMU might not be enabled to this mode.
1031 return sw->tmu.mode_request == mode; in tb_switch_tmu_is_configured()
1035 * tb_switch_tmu_is_enabled() - Checks if the specified TMU mode is enabled
1036 * @sw: Router whose TMU mode to check
1038 * Return true if hardware TMU configuration matches the requested
1043 return sw->tmu.mode != TB_SWITCH_TMU_MODE_OFF && in tb_switch_tmu_is_enabled()
1044 sw->tmu.mode == sw->tmu.mode_request; in tb_switch_tmu_is_enabled()