Lines Matching refs:duty_value
55 u32 duty_value = 0;
79 duty_value = value & duty_mask;
80 duty_value >>= pr->throttling.duty_offset;
82 if (duty_value)
83 state = pr->throttling.state_count - duty_value;
101 u32 duty_value = 0;
117 * Calculate the duty_value and duty_mask.
120 duty_value = pr->throttling.state_count - state;
122 duty_value <<= pr->throttling.duty_offset;
124 /* Used to clear all duty_value bits */
135 * turn it off before you can change the duty_value.
144 * Write the new duty_value and then enable throttling. Note
149 value |= duty_value;