Lines Matching refs:state_count
243 if (target_state >= p_throttling->state_count) {
246 target_state = p_throttling->state_count - 1;
317 if (throttling_limit >= pr->throttling.state_count) {
379 if (!pr->throttling.state_count) {
522 pr->throttling.state_count = tss->package.count;
532 for (i = 0; i < pr->throttling.state_count; i++) {
678 duty_mask = pr->throttling.state_count - 1;
695 state = pr->throttling.state_count - duty_value;
835 for (i = 0; i < pr->throttling.state_count; i++) {
850 if (state >= 0 && state <= pr->throttling.state_count) {
937 pr->throttling.state_count = 1 << acpi_gbl_FADT.duty_width;
945 step = (1000 / pr->throttling.state_count);
947 for (i = 0; i < pr->throttling.state_count; i++) {
964 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
979 duty_value = pr->throttling.state_count - state;
984 duty_mask = pr->throttling.state_count - 1;
1036 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
1083 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
1231 pr->throttling.state_count));