linux/drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.h

/* SPDX-License-Identifier: GPL-2.0-only */

/*
 * Copyright 2021-2024 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
 */

#ifndef _CEC_SPLITTER_H_
#define _CEC_SPLITTER_H_

struct cec_splitter;

#define STATE_CHANGE_MAX_REPEATS

struct cec_splitter_port {};

struct cec_splitter {};

void cec_splitter_unconfigured_output(struct cec_splitter_port *port);
void cec_splitter_configured_output(struct cec_splitter_port *port);
int cec_splitter_received_input(struct cec_splitter_port *port, struct cec_msg *msg);
int cec_splitter_received_output(struct cec_splitter_port *port, struct cec_msg *msg,
				 struct cec_adapter *input_adap);
void cec_splitter_nb_transmit_canceled_output(struct cec_splitter_port *port,
					      const struct cec_msg *msg,
					      struct cec_adapter *input_adap);
bool cec_splitter_poll(struct cec_splitter *splitter,
		       struct cec_adapter *input_adap, bool debug);

#endif