Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* drivers/media/platform/s5p-cec/exynos_hdmi_cec.h
0003  *
0004  * Copyright (c) 2010, 2014 Samsung Electronics
0005  *      http://www.samsung.com/
0006  *
0007  * Header file for interface of Samsung Exynos hdmi cec hardware
0008  */
0009 
0010 #ifndef _EXYNOS_HDMI_CEC_H_
0011 #define _EXYNOS_HDMI_CEC_H_ __FILE__
0012 
0013 #include <linux/regmap.h>
0014 #include "s5p_cec.h"
0015 
0016 void s5p_cec_set_divider(struct s5p_cec_dev *cec);
0017 void s5p_cec_enable_rx(struct s5p_cec_dev *cec);
0018 void s5p_cec_mask_rx_interrupts(struct s5p_cec_dev *cec);
0019 void s5p_cec_unmask_rx_interrupts(struct s5p_cec_dev *cec);
0020 void s5p_cec_mask_tx_interrupts(struct s5p_cec_dev *cec);
0021 void s5p_cec_unmask_tx_interrupts(struct s5p_cec_dev *cec);
0022 void s5p_cec_reset(struct s5p_cec_dev *cec);
0023 void s5p_cec_tx_reset(struct s5p_cec_dev *cec);
0024 void s5p_cec_rx_reset(struct s5p_cec_dev *cec);
0025 void s5p_cec_threshold(struct s5p_cec_dev *cec);
0026 void s5p_cec_copy_packet(struct s5p_cec_dev *cec, char *data,
0027              size_t count, u8 retries);
0028 void s5p_cec_set_addr(struct s5p_cec_dev *cec, u32 addr);
0029 u32 s5p_cec_get_status(struct s5p_cec_dev *cec);
0030 void s5p_clr_pending_tx(struct s5p_cec_dev *cec);
0031 void s5p_clr_pending_rx(struct s5p_cec_dev *cec);
0032 void s5p_cec_get_rx_buf(struct s5p_cec_dev *cec, u32 size, u8 *buffer);
0033 
0034 #endif /* _EXYNOS_HDMI_CEC_H_ */