mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Going forward, struct intel_display will be the main display device structure. Convert intel_lpe_audio.[ch] to it. Do some minor checkpatch fixes while at it. TODO: Not sure if irq_set_chip_data(irq, dev_priv); is used. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/f04dd028cd8869cdfb9ab9eb6aceed8ff8e7ddcd.1736345025.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
40 lines
1 KiB
C
40 lines
1 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_LPE_AUDIO_H__
|
|
#define __INTEL_LPE_AUDIO_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum port;
|
|
enum transcoder;
|
|
struct intel_display;
|
|
|
|
#ifdef I915
|
|
int intel_lpe_audio_init(struct intel_display *display);
|
|
void intel_lpe_audio_teardown(struct intel_display *display);
|
|
void intel_lpe_audio_irq_handler(struct intel_display *display);
|
|
void intel_lpe_audio_notify(struct intel_display *display,
|
|
enum transcoder cpu_transcoder, enum port port,
|
|
const void *eld, int ls_clock, bool dp_output);
|
|
#else
|
|
static inline int intel_lpe_audio_init(struct intel_display *display)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
static inline void intel_lpe_audio_teardown(struct intel_display *display)
|
|
{
|
|
}
|
|
static inline void intel_lpe_audio_irq_handler(struct intel_display *display)
|
|
{
|
|
}
|
|
static inline void intel_lpe_audio_notify(struct intel_display *display,
|
|
enum transcoder cpu_transcoder, enum port port,
|
|
const void *eld, int ls_clock, bool dp_output)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __INTEL_LPE_AUDIO_H__ */
|