Lines Matching full:tmu
78 * enum tb_switch_tmu_mode - TMU mode
79 * @TB_SWITCH_TMU_MODE_OFF: TMU is off
85 * Ordering is based on TMU accuracy level (highest last).
96 * struct tb_switch_tmu - Structure holding router TMU configuration
97 * @cap: Offset to the TMU capability (%0 if not found)
99 * @mode: TMU mode related to the upstream router. Reflects the HW
101 * @mode_request: TMU mode requested to set. Related to upstream router.
120 * @tmu: The switch TMU configuration
134 * @cap_vsec_tmu: Offset to the TMU vendor specific capability (%0 if not found)
174 struct tb_switch_tmu tmu; member
248 * @cap_tmu: Offset of the adapter specific TMU capability (%0 if not present)
1016 * tb_switch_tmu_is_configured() - Is given TMU mode configured
1020 * Checks if given router TMU mode is configured to @mode. Note the
1021 * router TMU might not be enabled to this mode.
1026 return sw->tmu.mode_request == mode; in tb_switch_tmu_is_configured()
1030 * tb_switch_tmu_is_enabled() - Checks if the specified TMU mode is enabled
1031 * @sw: Router whose TMU mode to check
1033 * Return true if hardware TMU configuration matches the requested
1038 return sw->tmu.mode != TB_SWITCH_TMU_MODE_OFF && in tb_switch_tmu_is_enabled()
1039 sw->tmu.mode == sw->tmu.mode_request; in tb_switch_tmu_is_enabled()