xref: /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/vivid-cec.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * vivid-cec.h - A Virtual Video Test Driver, cec emulation
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifdef CONFIG_VIDEO_VIVID_CEC
98c2ecf20Sopenharmony_cistruct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
108c2ecf20Sopenharmony_ci					 unsigned int idx,
118c2ecf20Sopenharmony_ci					 bool is_source);
128c2ecf20Sopenharmony_civoid vivid_cec_bus_free_work(struct vivid_dev *dev);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#else
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cistatic inline void vivid_cec_bus_free_work(struct vivid_dev *dev)
178c2ecf20Sopenharmony_ci{
188c2ecf20Sopenharmony_ci}
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif
21

Indexes created Thu Nov 07 10:32:03 CST 2024