Lines Matching refs:adap
124 struct cec_adapter *adap;
133 static int stih_cec_adap_enable(struct cec_adapter *adap, bool enable)
135 struct stih_cec *cec = cec_get_drvdata(adap);
189 static int stih_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr)
191 struct stih_cec *cec = cec_get_drvdata(adap);
204 static int stih_cec_adap_transmit(struct cec_adapter *adap, u8 attempts,
207 struct stih_cec *cec = cec_get_drvdata(adap);
227 cec_transmit_attempt_done(cec->adap, CEC_TX_STATUS_ERROR);
232 cec_transmit_attempt_done(cec->adap, CEC_TX_STATUS_ARB_LOST);
237 cec_transmit_attempt_done(cec->adap, CEC_TX_STATUS_NACK);
241 cec_transmit_attempt_done(cec->adap, CEC_TX_STATUS_OK);
266 cec_received_msg(cec->adap, &msg);
338 cec->adap = cec_allocate_adapter(&sti_cec_adap_ops, cec, CEC_NAME,
342 ret = PTR_ERR_OR_ZERO(cec->adap);
347 cec->adap);
353 ret = cec_register_adapter(cec->adap, &pdev->dev);
361 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap);
364 cec_delete_adapter(cec->adap);
372 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap);
373 cec_unregister_adapter(cec->adap);