Searched refs:qmp_cdev (Results 1 – 1 of 1) sorted by relevance
329 *state = qmp_cdev->state; in qmp_cdev_get_cur_state()343 if (qmp_cdev->state == state) in qmp_cdev_set_cur_state()347 qmp_cdev->name, cdev_state ? "on" : "off"); in qmp_cdev_set_cur_state()349 qmp_cdev->state = cdev_state; in qmp_cdev_set_cur_state()361 struct qmp_cooling_device *qmp_cdev, in qmp_cooling_device_add() argument366 qmp_cdev->qmp = qmp; in qmp_cooling_device_add()367 qmp_cdev->state = !qmp_cdev_max_state; in qmp_cooling_device_add()368 qmp_cdev->name = cdev_name; in qmp_cooling_device_add()372 qmp_cdev, &qmp_cooling_device_ops); in qmp_cooling_device_add()374 if (IS_ERR(qmp_cdev->cdev)) in qmp_cooling_device_add()[all …]