#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <media/cec.h>
#include "adv7511.h"
static const u8 ADV7511_REG_CEC_RX_FRAME_HDR[] = …;
static const u8 ADV7511_REG_CEC_RX_FRAME_LEN[] = …;
#define ADV7511_INT1_CEC_MASK …
static void adv_cec_tx_raw_status(struct adv7511 *adv7511, u8 tx_raw_status)
{ … }
static void adv7511_cec_rx(struct adv7511 *adv7511, int rx_buf)
{ … }
int adv7511_cec_irq_process(struct adv7511 *adv7511, unsigned int irq1)
{ … }
static int adv7511_cec_adap_enable(struct cec_adapter *adap, bool enable)
{ … }
static int adv7511_cec_adap_log_addr(struct cec_adapter *adap, u8 addr)
{ … }
static int adv7511_cec_adap_transmit(struct cec_adapter *adap, u8 attempts,
u32 signal_free_time, struct cec_msg *msg)
{ … }
static const struct cec_adap_ops adv7511_cec_adap_ops = …;
static int adv7511_cec_parse_dt(struct device *dev, struct adv7511 *adv7511)
{ … }
int adv7511_cec_init(struct device *dev, struct adv7511 *adv7511)
{ … }