tegrakernel/kernel/nvidia/drivers/platform/tegra/rtcpu/device-group.h

31 lines
1.0 KiB
C
Raw Permalink Normal View History

2022-02-16 09:13:02 -06:00
/*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an express
* license agreement from NVIDIA CORPORATION is strictly prohibited.
*/
#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 */