Lines Matching refs:num_sifr
244 unsigned long num_sifr; member
351 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata()
353 pcc->num_sifr, hkey->package.count); in acpi_pcc_retrieve_biosdata()
796 return (pcc->num_sifr > SINF_MUTE) ? attr->mode : 0; in pcc_sysfs_is_visible()
799 return (pcc->num_sifr > SINF_ECO_MODE) ? attr->mode : 0; in pcc_sysfs_is_visible()
802 return (pcc->num_sifr > SINF_CUR_BRIGHT) ? attr->mode : 0; in pcc_sysfs_is_visible()
976 if (pcc->num_sifr > SINF_MUTE) in acpi_pcc_hotkey_resume()
978 if (pcc->num_sifr > SINF_ECO_MODE) in acpi_pcc_hotkey_resume()
983 if (pcc->num_sifr > SINF_CUR_BRIGHT) in acpi_pcc_hotkey_resume()
994 int num_sifr, result; in acpi_pcc_hotkey_add() local
999 num_sifr = acpi_pcc_get_sqty(device); in acpi_pcc_hotkey_add()
1005 if (num_sifr <= SINF_DC_CUR_BRIGHT || num_sifr > 255) { in acpi_pcc_hotkey_add()
1006 pr_err("num_sifr %d out of range %d - 255\n", num_sifr, SINF_DC_CUR_BRIGHT + 1); in acpi_pcc_hotkey_add()
1014 num_sifr++; in acpi_pcc_hotkey_add()
1022 pcc->sinf = kcalloc(num_sifr + 1, sizeof(u32), GFP_KERNEL); in acpi_pcc_hotkey_add()
1030 pcc->num_sifr = num_sifr; in acpi_pcc_hotkey_add()
1070 if (pcc->num_sifr > SINF_MUTE) in acpi_pcc_hotkey_add()
1072 if (pcc->num_sifr > SINF_ECO_MODE) in acpi_pcc_hotkey_add()
1074 if (pcc->num_sifr > SINF_CUR_BRIGHT) in acpi_pcc_hotkey_add()