Files
RedLintu16andClaude Opus 5.5 6e587a5630 Import from Sony 73.1.A.2.74 open source archive
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]>
2026-11-13 22:52:53 +00:00

37 lines
958 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* SCMI PMU Protocols header
*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _SCMI_PMU_H
#define _SCMI_PMU_H
#include <linux/bitfield.h>
#include <linux/device.h>
#include <linux/types.h>
#define SCMI_PMU_PROTOCOL 0x86
#define MAX_NUM_CPUS 8
struct scmi_protocol_handle;
/**
* struct scmi_pmu_vendor_ops - represents the various operations provided
* by SCMI PMU Protocol
*
* @set_pmu_map: set pmu map settings
* @set_enable_trace: enable pmu tracing
* @set_cache_enable: enable pmu caching
*/
struct scmi_pmu_vendor_ops {
int (*set_pmu_map)(const struct scmi_protocol_handle *ph, void *buf);
int (*set_enable_trace)(const struct scmi_protocol_handle *ph, void *buf);
int (*set_cache_enable)(const struct scmi_protocol_handle *ph, void *buf);
};
#endif /* _SCMI_PMU_H */