Lines Matching refs:state_count
234 if (target_state >= p_throttling->state_count) {
236 target_state = p_throttling->state_count - 1;
306 if (throttling_limit >= pr->throttling.state_count) {
368 if (!pr->throttling.state_count) {
510 pr->throttling.state_count = tss->package.count;
520 for (i = 0; i < pr->throttling.state_count; i++) {
666 duty_mask = pr->throttling.state_count - 1;
683 state = pr->throttling.state_count - duty_value;
819 for (i = 0; i < pr->throttling.state_count; i++) {
834 if (state >= 0 && state <= pr->throttling.state_count) {
921 pr->throttling.state_count = 1 << acpi_gbl_FADT.duty_width;
929 step = (1000 / pr->throttling.state_count);
931 for (i = 0; i < pr->throttling.state_count; i++) {
948 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
963 duty_value = pr->throttling.state_count - state;
968 duty_mask = pr->throttling.state_count - 1;
1020 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
1067 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
1213 pr->throttling.state_count);