cros_ec_cec 42 drivers/media/platform/cros-ec-cec/cros-ec-cec.c static void handle_cec_message(struct cros_ec_cec *cros_ec_cec) cros_ec_cec 44 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; cros_ec_cec 48 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->rx_msg.len = len; cros_ec_cec 49 drivers/media/platform/cros-ec-cec/cros-ec-cec.c memcpy(cros_ec_cec->rx_msg.msg, cec_message, len); cros_ec_cec 51 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_received_msg(cros_ec_cec->adap, &cros_ec_cec->rx_msg); cros_ec_cec 54 drivers/media/platform/cros-ec-cec/cros-ec-cec.c static void handle_cec_event(struct cros_ec_cec *cros_ec_cec) cros_ec_cec 56 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; cros_ec_cec 60 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_transmit_attempt_done(cros_ec_cec->adap, cros_ec_cec 65 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_transmit_attempt_done(cros_ec_cec->adap, cros_ec_cec 74 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec; cros_ec_cec 77 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec = container_of(nb, struct cros_ec_cec, notifier); cros_ec_cec 78 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec = cros_ec_cec->cros_ec; cros_ec_cec 81 drivers/media/platform/cros-ec-cec/cros-ec-cec.c handle_cec_event(cros_ec_cec); cros_ec_cec 86 drivers/media/platform/cros-ec-cec/cros-ec-cec.c handle_cec_message(cros_ec_cec); cros_ec_cec 95 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec = adap->priv; cros_ec_cec 96 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; cros_ec_cec 121 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec = adap->priv; cros_ec_cec 122 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; cros_ec_cec 145 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec = adap->priv; cros_ec_cec 146 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; cros_ec_cec 179 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec = dev_get_drvdata(&pdev->dev); cros_ec_cec 182 drivers/media/platform/cros-ec-cec/cros-ec-cec.c enable_irq_wake(cros_ec_cec->cros_ec->irq); cros_ec_cec 190 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec = dev_get_drvdata(&pdev->dev); cros_ec_cec 193 drivers/media/platform/cros-ec-cec/cros-ec-cec.c disable_irq_wake(cros_ec_cec->cros_ec->irq); cros_ec_cec 264 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec; cros_ec_cec 273 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec = devm_kzalloc(&pdev->dev, sizeof(*cros_ec_cec), cros_ec_cec 275 drivers/media/platform/cros-ec-cec/cros-ec-cec.c if (!cros_ec_cec) cros_ec_cec 278 drivers/media/platform/cros-ec-cec/cros-ec-cec.c platform_set_drvdata(pdev, cros_ec_cec); cros_ec_cec 279 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->cros_ec = cros_ec; cros_ec_cec 287 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->adap = cec_allocate_adapter(&cros_ec_cec_ops, cros_ec_cec, cros_ec_cec 291 drivers/media/platform/cros-ec-cec/cros-ec-cec.c if (IS_ERR(cros_ec_cec->adap)) cros_ec_cec 292 drivers/media/platform/cros-ec-cec/cros-ec-cec.c return PTR_ERR(cros_ec_cec->adap); cros_ec_cec 294 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->notify = cec_notifier_cec_adap_register(hdmi_dev, conn, cros_ec_cec 295 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->adap); cros_ec_cec 296 drivers/media/platform/cros-ec-cec/cros-ec-cec.c if (!cros_ec_cec->notify) { cros_ec_cec 302 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec->notifier.notifier_call = cros_ec_cec_event; cros_ec_cec 304 drivers/media/platform/cros-ec-cec/cros-ec-cec.c &cros_ec_cec->notifier); cros_ec_cec 310 drivers/media/platform/cros-ec-cec/cros-ec-cec.c ret = cec_register_adapter(cros_ec_cec->adap, &pdev->dev); cros_ec_cec 317 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_notifier_cec_adap_unregister(cros_ec_cec->notify); cros_ec_cec 319 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_delete_adapter(cros_ec_cec->adap); cros_ec_cec 325 drivers/media/platform/cros-ec-cec/cros-ec-cec.c struct cros_ec_cec *cros_ec_cec = platform_get_drvdata(pdev); cros_ec_cec 330 drivers/media/platform/cros-ec-cec/cros-ec-cec.c &cros_ec_cec->cros_ec->event_notifier, cros_ec_cec 331 drivers/media/platform/cros-ec-cec/cros-ec-cec.c &cros_ec_cec->notifier); cros_ec_cec 338 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_notifier_cec_adap_unregister(cros_ec_cec->notify); cros_ec_cec 339 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cec_unregister_adapter(cros_ec_cec->adap);