Lines Matching refs:dev_info
124 struct lpi_device_constraint_amd dev_info = {}; in lpi_device_get_constraints_amd() local
136 dev_info.enabled = obj->integer.value; in lpi_device_get_constraints_amd()
139 dev_info.name = obj->string.pointer; in lpi_device_get_constraints_amd()
142 dev_info.function_states = obj->integer.value; in lpi_device_get_constraints_amd()
145 dev_info.min_dstate = obj->integer.value; in lpi_device_get_constraints_amd()
149 if (!dev_info.enabled || !dev_info.name || in lpi_device_get_constraints_amd()
150 !dev_info.min_dstate) in lpi_device_get_constraints_amd()
153 status = acpi_get_handle(NULL, dev_info.name, in lpi_device_get_constraints_amd()
159 "Name:%s\n", dev_info.name); in lpi_device_get_constraints_amd()
161 list->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints_amd()
249 struct lpi_device_constraint dev_info; in lpi_device_get_constraints() local
261 dev_info.uid = obj->integer.value; in lpi_device_get_constraints()
263 dev_info.min_dstate = obj->integer.value; in lpi_device_get_constraints()
267 dev_info.uid, in lpi_device_get_constraints()
268 acpi_power_state_string(dev_info.min_dstate)); in lpi_device_get_constraints()
270 constraint->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints()