Searched refs:qmp_cdev (Results 1 – 1 of 1) sorted by relevance
416 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_get_cur_state() local418 *state = qmp_cdev->state; in qmp_cdev_get_cur_state()425 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_set_cur_state() local433 if (qmp_cdev->state == state) in qmp_cdev_set_cur_state()438 qmp_cdev->name, in qmp_cdev_set_cur_state()441 ret = qmp_send(qmp_cdev->qmp, buf, sizeof(buf)); in qmp_cdev_set_cur_state()444 qmp_cdev->state = cdev_state; in qmp_cdev_set_cur_state()456 struct qmp_cooling_device *qmp_cdev, in qmp_cooling_device_add() argument461 qmp_cdev->qmp = qmp; in qmp_cooling_device_add()462 qmp_cdev->state = !qmp_cdev_max_state; in qmp_cooling_device_add()[all …]