Searched refs:qmp_cdev (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | qcom_aoss.c | 416 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_get_cur_state() local 418 *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() local 433 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() 461 qmp_cdev->qmp = qmp; in qmp_cooling_device_add() 462 qmp_cdev in qmp_cooling_device_add() 455 qmp_cooling_device_add(struct qmp *qmp, struct qmp_cooling_device *qmp_cdev, struct device_node *node) qmp_cooling_device_add() argument [all...] |
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | qcom_aoss.c | 327 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_get_cur_state() local 329 *state = qmp_cdev->state; in qmp_cdev_get_cur_state() 336 struct qmp_cooling_device *qmp_cdev = cdev->devdata; in qmp_cdev_set_cur_state() local 343 if (qmp_cdev->state == state) in qmp_cdev_set_cur_state() 346 ret = qmp_send(qmp_cdev->qmp, "{class: volt_flr, event:zero_temp, res:%s, value:%s}", 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() 366 qmp_cdev->qmp = qmp; in qmp_cooling_device_add() 367 qmp_cdev in qmp_cooling_device_add() 360 qmp_cooling_device_add(struct qmp *qmp, struct qmp_cooling_device *qmp_cdev, struct device_node *node) qmp_cooling_device_add() argument [all...] |
Completed in 2 milliseconds