qmp_cdev 412 drivers/soc/qcom/qcom_aoss.c struct qmp_cooling_device *qmp_cdev = cdev->devdata; qmp_cdev 414 drivers/soc/qcom/qcom_aoss.c *state = qmp_cdev->state; qmp_cdev 421 drivers/soc/qcom/qcom_aoss.c struct qmp_cooling_device *qmp_cdev = cdev->devdata; qmp_cdev 429 drivers/soc/qcom/qcom_aoss.c if (qmp_cdev->state == state) qmp_cdev 434 drivers/soc/qcom/qcom_aoss.c qmp_cdev->name, qmp_cdev 437 drivers/soc/qcom/qcom_aoss.c ret = qmp_send(qmp_cdev->qmp, buf, sizeof(buf)); qmp_cdev 440 drivers/soc/qcom/qcom_aoss.c qmp_cdev->state = cdev_state; qmp_cdev 452 drivers/soc/qcom/qcom_aoss.c struct qmp_cooling_device *qmp_cdev, qmp_cdev 457 drivers/soc/qcom/qcom_aoss.c qmp_cdev->qmp = qmp; qmp_cdev 458 drivers/soc/qcom/qcom_aoss.c qmp_cdev->state = qmp_cdev_init_state; qmp_cdev 459 drivers/soc/qcom/qcom_aoss.c qmp_cdev->name = cdev_name; qmp_cdev 460 drivers/soc/qcom/qcom_aoss.c qmp_cdev->cdev = devm_thermal_of_cooling_device_register qmp_cdev 463 drivers/soc/qcom/qcom_aoss.c qmp_cdev, &qmp_cooling_device_ops); qmp_cdev 465 drivers/soc/qcom/qcom_aoss.c if (IS_ERR(qmp_cdev->cdev)) qmp_cdev 469 drivers/soc/qcom/qcom_aoss.c return PTR_ERR_OR_ZERO(qmp_cdev->cdev);