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
133 * @cap_vsec_tmu: Offset to the TMU vendor specific capability (%0 if not found)
173 struct tb_switch_tmu tmu; member
239 * @cap_tmu: Offset of the adapter specific TMU capability (%0 if not present)
982 * tb_switch_tmu_is_configured() - Is given TMU mode configured
986 * Checks if given router TMU mode is configured to @mode. Note the
987 * router TMU might not be enabled to this mode.
992 return sw->tmu.mode_request == mode; in tb_switch_tmu_is_configured()
996 * tb_switch_tmu_is_enabled() - Checks if the specified TMU mode is enabled
997 * @sw: Router whose TMU mode to check
999 * Return true if hardware TMU configuration matches the requested
1004 return sw->tmu.mode != TB_SWITCH_TMU_MODE_OFF && in tb_switch_tmu_is_enabled()
1005 sw->tmu.mode == sw->tmu.mode_request; in tb_switch_tmu_is_enabled()