Lines Matching refs:psvts
221 struct psvt *psvts; in acpi_parse_psvt() local
259 psvts = kcalloc(*psvt_count, sizeof(*psvts), GFP_KERNEL); in acpi_parse_psvt()
260 if (!psvts) { in acpi_parse_psvt()
270 struct psvt *psvt = &psvts[i - 1 - nr_bad_entries]; in acpi_parse_psvt()
339 kfree(psvts); in acpi_parse_psvt()
343 *psvtp = psvts; in acpi_parse_psvt()
441 struct psvt *psvts; in fill_psvt() local
443 ret = acpi_parse_psvt(acpi_thermal_rel_handle, &count, &psvts); in fill_psvt()
458 get_single_name(psvts[i].source, psvt_user[i].source_device); in fill_psvt()
459 get_single_name(psvts[i].target, psvt_user[i].target_device); in fill_psvt()
461 psvt_user[i].priority = psvts[i].priority; in fill_psvt()
462 psvt_user[i].sample_period = psvts[i].sample_period; in fill_psvt()
463 psvt_user[i].passive_temp = psvts[i].passive_temp; in fill_psvt()
464 psvt_user[i].source_domain = psvts[i].source_domain; in fill_psvt()
465 psvt_user[i].control_knob = psvts[i].control_knob; in fill_psvt()
466 psvt_user[i].step_size = psvts[i].step_size; in fill_psvt()
467 psvt_user[i].limit_coeff = psvts[i].limit_coeff; in fill_psvt()
468 psvt_user[i].unlimit_coeff = psvts[i].unlimit_coeff; in fill_psvt()
469 psvt_user[i].control_knob_type = psvts[i].control_knob_type; in fill_psvt()
471 strscpy(psvt_user[i].limit.string, psvts[i].limit.string, in fill_psvt()
474 psvt_user[i].limit.integer = psvts[i].limit.integer; in fill_psvt()
484 kfree(psvts); in fill_psvt()
497 struct psvt *psvts; in acpi_thermal_rel_ioctl() local
537 ret = acpi_parse_psvt(acpi_thermal_rel_handle, &count, &psvts); in acpi_thermal_rel_ioctl()
539 kfree(psvts); in acpi_thermal_rel_ioctl()
546 ret = acpi_parse_psvt(acpi_thermal_rel_handle, &count, &psvts); in acpi_thermal_rel_ioctl()
549 kfree(psvts); in acpi_thermal_rel_ioctl()