Lines Matching refs:dev_info
127 struct lpi_device_constraint_amd dev_info = {}; in lpi_device_get_constraints_amd() local
139 dev_info.enabled = obj->integer.value; in lpi_device_get_constraints_amd()
142 dev_info.name = obj->string.pointer; in lpi_device_get_constraints_amd()
145 dev_info.function_states = obj->integer.value; in lpi_device_get_constraints_amd()
148 dev_info.min_dstate = obj->integer.value; in lpi_device_get_constraints_amd()
152 if (!dev_info.enabled || !dev_info.name || in lpi_device_get_constraints_amd()
153 !dev_info.min_dstate) in lpi_device_get_constraints_amd()
156 status = acpi_get_handle(NULL, dev_info.name, in lpi_device_get_constraints_amd()
162 "Name:%s\n", dev_info.name); in lpi_device_get_constraints_amd()
164 list->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints_amd()
252 struct lpi_device_constraint dev_info; in lpi_device_get_constraints() local
264 dev_info.uid = obj->integer.value; in lpi_device_get_constraints()
266 dev_info.min_dstate = obj->integer.value; in lpi_device_get_constraints()
270 dev_info.uid, in lpi_device_get_constraints()
271 acpi_power_state_string(dev_info.min_dstate)); in lpi_device_get_constraints()
273 constraint->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints()