cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

hdmi4_cec.h (1017B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * HDMI header definition for OMAP4 HDMI CEC IP
      4 *
      5 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
      6 */
      7
      8#ifndef _HDMI4_CEC_H_
      9#define _HDMI4_CEC_H_
     10
     11struct hdmi_core_data;
     12struct hdmi_wp_data;
     13struct platform_device;
     14
     15/* HDMI CEC funcs */
     16#ifdef CONFIG_OMAP4_DSS_HDMI_CEC
     17void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa);
     18void hdmi4_cec_irq(struct hdmi_core_data *core);
     19int hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core,
     20		  struct hdmi_wp_data *wp);
     21void hdmi4_cec_uninit(struct hdmi_core_data *core);
     22#else
     23static inline void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa)
     24{
     25}
     26
     27static inline void hdmi4_cec_irq(struct hdmi_core_data *core)
     28{
     29}
     30
     31static inline int hdmi4_cec_init(struct platform_device *pdev,
     32				struct hdmi_core_data *core,
     33				struct hdmi_wp_data *wp)
     34{
     35	return 0;
     36}
     37
     38static inline void hdmi4_cec_uninit(struct hdmi_core_data *core)
     39{
     40}
     41#endif
     42
     43#endif