Home
last modified time | relevance | path

Searched refs:weight_attr (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/thermal/
A Dthermal_core.c672 sysfs_attr_init(&dev->weight_attr.attr); in thermal_zone_bind_cooling_device()
673 dev->weight_attr.attr.name = dev->weight_attr_name; in thermal_zone_bind_cooling_device()
674 dev->weight_attr.attr.mode = S_IWUSR | S_IRUGO; in thermal_zone_bind_cooling_device()
675 dev->weight_attr.show = weight_show; in thermal_zone_bind_cooling_device()
676 dev->weight_attr.store = weight_store; in thermal_zone_bind_cooling_device()
677 result = device_create_file(&tz->device, &dev->weight_attr); in thermal_zone_bind_cooling_device()
699 device_remove_file(&tz->device, &dev->weight_attr); in thermal_zone_bind_cooling_device()
749 device_remove_file(&tz->device, &pos->weight_attr); in thermal_zone_unbind_cooling_device()
A Dthermal_core.h100 struct device_attribute weight_attr; member
A Dthermal_sysfs.c899 instance = container_of(attr, struct thermal_instance, weight_attr); in weight_show()
914 instance = container_of(attr, struct thermal_instance, weight_attr); in weight_store()

Completed in 8 milliseconds