Source: opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII: XQ-GE74, XQ-GE54, SO-51G, SOG17, A601SO, XQ-GE44), unmodified. Co-Authored-By: Claude Opus 5.5 <[email protected]>
25 lines
461 B
C
25 lines
461 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _GH_CTRL_H
|
|
#define _GH_CTRL_H
|
|
|
|
struct gh_virt_time_offset {
|
|
u64 offset;
|
|
u64 ns;
|
|
};
|
|
|
|
#if IS_ENABLED(CONFIG_GUNYAH_GH_CTRL)
|
|
static inline void
|
|
gh_get_virt_time_offset(struct gh_virt_time_offset *virt_time_offset)
|
|
{
|
|
return 0;
|
|
}
|
|
#else
|
|
void gh_get_virt_time_offset(struct gh_virt_time_offset *virt_time_offset);
|
|
#endif
|
|
|
|
#endif
|