Searched refs:qmp_cdev (Results 1 – 1 of 1) sorted by relevance
412 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_get_cur_state() local414 *state = qmp_cdev->state; in qmp_cdev_get_cur_state()421 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_set_cur_state() local429 if (qmp_cdev->state == state) in qmp_cdev_set_cur_state()434 qmp_cdev->name, in qmp_cdev_set_cur_state()437 ret = qmp_send(qmp_cdev->qmp, buf, sizeof(buf)); in qmp_cdev_set_cur_state()440 qmp_cdev->state = cdev_state; in qmp_cdev_set_cur_state()452 struct qmp_cooling_device *qmp_cdev, in qmp_cooling_device_add() argument457 qmp_cdev->qmp = qmp; in qmp_cooling_device_add()458 qmp_cdev->state = qmp_cdev_init_state; in qmp_cooling_device_add()[all …]