mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
Port RTCPU drivers from kernel/nvidia to kernel/nvidia-oot. In addition to copying the files this patch: 1) Modifies make files to build rtcpu drivers as modules 2) Modifies licenses of all ported files to SPDX 3) Adds MODULE_LICENSE macro to all modules 4) Removes checks for old kernel versions and the dead code after those checks 5) Fixes style errors according to checkpatch.pl Change-Id: If64296a22ce958e5326c7509cb69f8f7154f598e Signed-off-by: Frank Chen <frankc@nvidia.com> Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2783040 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-by: Semi Malinen <smalinen@nvidia.com> Reviewed-by: Pekka Pessi <ppessi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
26 lines
729 B
C
26 lines
729 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*/
|
|
|
|
#ifndef INCLUDE_DEVICE_GROUP_H
|
|
#define INCLUDE_DEVICE_GROUP_H
|
|
|
|
struct device;
|
|
struct platform_device;
|
|
|
|
struct camrtc_device_group *camrtc_device_group_get(
|
|
struct device *dev,
|
|
const char *property_name,
|
|
const char *names_property_name);
|
|
|
|
struct platform_device *camrtc_device_get_byname(
|
|
struct camrtc_device_group *grp,
|
|
const char *device_name);
|
|
|
|
int camrtc_device_group_busy(const struct camrtc_device_group *grp);
|
|
void camrtc_device_group_idle(const struct camrtc_device_group *grp);
|
|
void camrtc_device_group_reset(const struct camrtc_device_group *grp);
|
|
|
|
#endif /* INCLUDE_DEVICE_GROUP_H */
|