Lines Matching refs:psvt_user
440 union psvt_object *psvt_user; in fill_psvt() local
447 psvt_len = count * sizeof(*psvt_user); in fill_psvt()
449 psvt_user = kzalloc(psvt_len, GFP_KERNEL); in fill_psvt()
450 if (!psvt_user) { 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()
470 if (psvt_user[i].control_knob_type == ACPI_TYPE_STRING) 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()
478 if (copy_to_user(ubuf, psvt_user, psvt_len)) in fill_psvt()
481 kfree(psvt_user); in fill_psvt()