1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Apex kernel-userspace interface definitions.
5 * Copyright (C) 2018 Google, Inc.
10 #include <linux/ioctl.h>
12 /* Clock Gating ioctl. */
13 struct apex_gate_clock_ioctl
{
14 /* Enter or leave clock gated state. */
17 /* If set, enter clock gating state, regardless of custom block's
23 /* Base number for all Apex-common IOCTLs */
24 #define APEX_IOCTL_BASE 0x7F
26 /* Enable/Disable clock gating. */
27 #define APEX_IOCTL_GATE_CLOCK \
28 _IOW(APEX_IOCTL_BASE, 0, struct apex_gate_clock_ioctl)
30 #endif /* __APEX_H__ */