Lines Matching defs:cdev
364 int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev,
367 struct param p = { .cdev_id = cdev->id, .cdev_state = state };
372 int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev)
374 struct param p = { .cdev_id = cdev->id, .name = cdev->type,
375 .cdev_max_state = cdev->max_state };
380 int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev)
382 struct param p = { .cdev_id = cdev->id };
541 static int __thermal_genl_cmd_cdev_get(struct thermal_cooling_device *cdev,
546 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CDEV_ID, cdev->id))
549 if (nla_put_string(msg, THERMAL_GENL_ATTR_CDEV_NAME, cdev->type))