/drivers/media/cec/core/ |
D | cec-notifier.c | 28 struct cec_adapter *cec_adap; member 119 if (n->cec_adap) { in cec_notifier_conn_register() 120 if (!n->cec_adap->adap_controls_phys_addr) in cec_notifier_conn_register() 121 cec_phys_addr_invalidate(n->cec_adap); in cec_notifier_conn_register() 122 cec_s_conn_info(n->cec_adap, conn_info); in cec_notifier_conn_register() 137 if (n->cec_adap) { in cec_notifier_conn_unregister() 138 if (!n->cec_adap->adap_controls_phys_addr) in cec_notifier_conn_unregister() 139 cec_phys_addr_invalidate(n->cec_adap); in cec_notifier_conn_unregister() 140 cec_s_conn_info(n->cec_adap, NULL); in cec_notifier_conn_unregister() 161 n->cec_adap = adap; in cec_notifier_cec_adap_register() [all …]
|
/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_cec.c | 49 cec_transmit_attempt_done(adv7511->cec_adap, in adv_cec_tx_raw_status() 77 cec_transmit_done(adv7511->cec_adap, status, in adv_cec_tx_raw_status() 82 cec_transmit_attempt_done(adv7511->cec_adap, CEC_TX_STATUS_OK); in adv_cec_tx_raw_status() 128 cec_received_msg(adv7511->cec_adap, &msg); in adv7511_cec_irq_process() 312 adv7511->cec_adap = cec_allocate_adapter(&adv7511_cec_adap_ops, in adv7511_cec_init() 314 if (IS_ERR(adv7511->cec_adap)) { in adv7511_cec_init() 315 ret = PTR_ERR(adv7511->cec_adap); in adv7511_cec_init() 334 ret = cec_register_adapter(adv7511->cec_adap, dev); in adv7511_cec_init() 340 cec_delete_adapter(adv7511->cec_adap); in adv7511_cec_init() 341 adv7511->cec_adap = NULL; in adv7511_cec_init()
|
D | adv7511_drv.c | 459 cec_phys_addr_invalidate(adv7511->cec_adap); in adv7511_hpd_work() 632 cec_s_phys_addr_from_edid(adv7511->cec_adap, edid); in adv7511_get_edid() 973 cec_phys_addr_invalidate(adv->cec_adap); in adv7511_bridge_hpd_notify() 1325 cec_unregister_adapter(adv7511->cec_adap); in adv7511_probe() 1351 cec_unregister_adapter(adv7511->cec_adap); in adv7511_remove()
|
D | adv7511.h | 376 struct cec_adapter *cec_adap; member
|
/drivers/media/cec/platform/seco/ |
D | seco-cec.c | 28 struct cec_adapter *cec_adap; member 319 cec_received_msg(cec->cec_adap, &msg); in secocec_rx_done() 473 secocec_rx_done(cec->cec_adap, cec_val); in secocec_irq_handler() 476 secocec_tx_done(cec->cec_adap, cec_val); in secocec_irq_handler() 640 secocec->cec_adap = cec_allocate_adapter(&secocec_cec_adap_ops, in secocec_probe() 647 if (IS_ERR(secocec->cec_adap)) { in secocec_probe() 648 ret = PTR_ERR(secocec->cec_adap); in secocec_probe() 653 secocec->cec_adap); in secocec_probe() 659 ret = cec_register_adapter(secocec->cec_adap, dev); in secocec_probe() 674 cec_notifier_cec_adap_unregister(secocec->notifier, secocec->cec_adap); in secocec_probe() [all …]
|
/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_enc.c | 223 cec_s_phys_addr_from_edid(hdmi->cec_adap, edid); in sun4i_hdmi_get_modes() 264 cec_phys_addr_invalidate(hdmi->cec_adap); in sun4i_hdmi_connector_detect() 625 hdmi->cec_adap = cec_pin_allocate_adapter(&sun4i_hdmi_cec_pin_ops, in sun4i_hdmi_bind() 627 ret = PTR_ERR_OR_ZERO(hdmi->cec_adap); in sun4i_hdmi_bind() 646 cec_s_conn_info(hdmi->cec_adap, &conn_info); in sun4i_hdmi_bind() 652 ret = cec_register_adapter(hdmi->cec_adap, dev); in sun4i_hdmi_bind() 660 cec_delete_adapter(hdmi->cec_adap); in sun4i_hdmi_bind() 680 cec_unregister_adapter(hdmi->cec_adap); in sun4i_hdmi_unbind()
|
D | sun4i_hdmi.h | 289 struct cec_adapter *cec_adap; member
|
/drivers/media/i2c/ |
D | tc358743.c | 99 struct cec_adapter *cec_adap; member 940 cec_transmit_attempt_done(state->cec_adap, in tc358743_cec_handler() 943 cec_transmit_attempt_done(state->cec_adap, in tc358743_cec_handler() 946 cec_transmit_attempt_done(state->cec_adap, in tc358743_cec_handler() 953 cec_transmit_attempt_done(state->cec_adap, in tc358743_cec_handler() 971 cec_received_msg(state->cec_adap, &msg); in tc358743_cec_handler() 1483 msecs = state->cec_adap ? POLL_INTERVAL_CEC_MS : POLL_INTERVAL_MS; in tc358743_irq_poll_timer() 1799 cec_phys_addr_invalidate(state->cec_adap); in tc358743_s_edid() 1816 cec_s_phys_addr(state->cec_adap, pa, false); in tc358743_s_edid() 2121 state->cec_adap = cec_allocate_adapter(&tc358743_cec_adap_ops, in tc358743_probe() [all …]
|
D | adv7511-v4l2.c | 93 struct cec_adapter *cec_adap; member 854 cec_transmit_done(state->cec_adap, CEC_TX_STATUS_ARB_LOST, in adv_cec_tx_raw_status() 875 cec_transmit_done(state->cec_adap, status, in adv_cec_tx_raw_status() 881 cec_transmit_done(state->cec_adap, CEC_TX_STATUS_OK, 0, 0, 0, 0); in adv_cec_tx_raw_status() 980 cec_received_msg(state->cec_adap, &msg); in adv7511_isr() 1472 cec_s_phys_addr(state->cec_adap, ed.phys_addr, false); in adv7511_notify_no_edid() 1710 cec_s_phys_addr(state->cec_adap, ed.phys_addr, false); in adv7511_check_edid_status() 1724 err = cec_register_adapter(state->cec_adap, &client->dev); in adv7511_registered() 1726 cec_delete_adapter(state->cec_adap); in adv7511_registered() 1734 cec_unregister_adapter(state->cec_adap); in adv7511_unregistered() [all …]
|
D | adv7842.c | 137 struct cec_adapter *cec_adap; member 784 cec_phys_addr_invalidate(state->cec_adap); in edid_write_hdmi_segment() 838 cec_s_phys_addr(state->cec_adap, parent_pa, false); in edid_write_hdmi_segment() 2180 cec_transmit_done(state->cec_adap, CEC_TX_STATUS_ARB_LOST, in adv7842_cec_tx_raw_status() 2201 cec_transmit_done(state->cec_adap, status, in adv7842_cec_tx_raw_status() 2207 cec_transmit_done(state->cec_adap, CEC_TX_STATUS_OK, 0, 0, 0, 0); in adv7842_cec_tx_raw_status() 2237 cec_received_msg(state->cec_adap, &msg); in adv7842_cec_isr() 3273 err = cec_register_adapter(state->cec_adap, &client->dev); in adv7842_registered() 3275 cec_delete_adapter(state->cec_adap); in adv7842_registered() 3283 cec_unregister_adapter(state->cec_adap); in adv7842_unregistered() [all …]
|
D | adv7604.c | 197 struct cec_adapter *cec_adap; member 2001 cec_transmit_done(state->cec_adap, CEC_TX_STATUS_ARB_LOST, in adv76xx_cec_tx_raw_status() 2022 cec_transmit_done(state->cec_adap, status, in adv76xx_cec_tx_raw_status() 2028 cec_transmit_done(state->cec_adap, CEC_TX_STATUS_OK, 0, 0, 0, 0); in adv76xx_cec_tx_raw_status() 2060 cec_received_msg(state->cec_adap, &msg); in adv76xx_cec_isr() 2337 cec_phys_addr_invalidate(state->cec_adap); in adv76xx_set_edid() 2442 cec_s_phys_addr(state->cec_adap, parent_pa, false); in adv76xx_set_edid() 2693 err = cec_register_adapter(state->cec_adap, &client->dev); in adv76xx_registered() 2695 cec_delete_adapter(state->cec_adap); in adv76xx_registered() 2703 cec_unregister_adapter(state->cec_adap); in adv76xx_unregistered() [all …]
|
/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 193 cec_s_phys_addr_from_edid(vc4_hdmi->cec_adap, edid); in vc4_hdmi_connector_detect() 204 cec_phys_addr_invalidate(vc4_hdmi->cec_adap); in vc4_hdmi_connector_detect() 223 cec_s_phys_addr_from_edid(vc4_hdmi->cec_adap, edid); in vc4_hdmi_connector_get_modes() 1640 cec_received_msg(vc4_hdmi->cec_adap, in vc4_cec_irq_handler_rx_thread() 1651 cec_transmit_done(vc4_hdmi->cec_adap, CEC_TX_STATUS_OK, in vc4_cec_irq_handler_tx_thread() 1658 cec_transmit_done(vc4_hdmi->cec_adap, CEC_TX_STATUS_NACK, in vc4_cec_irq_handler_tx_thread() 1857 vc4_hdmi->cec_adap = cec_allocate_adapter(&vc4_hdmi_cec_adap_ops, in vc4_hdmi_cec_init() 1862 ret = PTR_ERR_OR_ZERO(vc4_hdmi->cec_adap); in vc4_hdmi_cec_init() 1867 cec_s_conn_info(vc4_hdmi->cec_adap, &conn_info); in vc4_hdmi_cec_init() 1901 ret = cec_register_adapter(vc4_hdmi->cec_adap, &pdev->dev); in vc4_hdmi_cec_init() [all …]
|
D | vc4_hdmi.h | 167 struct cec_adapter *cec_adap; member
|