Searched refs:valid_type (Results 1 – 2 of 2) sorted by relevance
65 static inline bool valid_type(enum misc_res_type type) in valid_type() function79 if (valid_type(type)) in misc_cg_res_total_usage()100 if (!valid_type(type)) in misc_cg_set_capacity()171 if (!(valid_type(type) && cg && READ_ONCE(misc_res_capacity[type]))) in misc_cg_try_charge()212 if (!(amount && valid_type(type) && cg)) in misc_cg_uncharge()
513 acpi_object_type valid_type; in check_wobj() local528 valid_type = property_map[prop]; in check_wobj()529 if (type != valid_type) { in check_wobj()531 valid_type == ACPI_TYPE_STRING && in check_wobj()580 acpi_object_type valid_type; in check_numeric_sensor_wobj() local633 valid_type = hp_wmi_property_map[prop]; in check_numeric_sensor_wobj()634 if (type != valid_type) in check_numeric_sensor_wobj()654 if (type != valid_type) in check_numeric_sensor_wobj()