Lines Matching refs:dev_info
139 struct lpi_device_constraint_amd dev_info = {}; in lpi_device_get_constraints_amd() local
150 dev_info.enabled = obj->integer.value; in lpi_device_get_constraints_amd()
153 dev_info.name = obj->string.pointer; in lpi_device_get_constraints_amd()
156 dev_info.function_states = obj->integer.value; in lpi_device_get_constraints_amd()
159 dev_info.min_dstate = obj->integer.value; in lpi_device_get_constraints_amd()
166 dev_info.name, in lpi_device_get_constraints_amd()
167 dev_info.enabled, in lpi_device_get_constraints_amd()
168 dev_info.function_states, in lpi_device_get_constraints_amd()
169 dev_info.min_dstate); in lpi_device_get_constraints_amd()
171 if (!dev_info.enabled || !dev_info.name || in lpi_device_get_constraints_amd()
172 !dev_info.min_dstate) in lpi_device_get_constraints_amd()
175 status = acpi_get_handle(NULL, dev_info.name, &list->handle); in lpi_device_get_constraints_amd()
179 list->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints_amd()
261 struct lpi_device_constraint dev_info; in lpi_device_get_constraints() local
273 dev_info.uid = obj->integer.value; in lpi_device_get_constraints()
275 dev_info.min_dstate = obj->integer.value; in lpi_device_get_constraints()
279 dev_info.uid, in lpi_device_get_constraints()
280 acpi_power_state_string(dev_info.min_dstate)); in lpi_device_get_constraints()
282 constraint->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints()