Submit
Path:
~
/
/
usr
/
lib
/
modules
/
5.15.0-152-generic
/
build
/
include
/
soc
/
qcom
/
File Content:
rpmh.h
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. */ #ifndef __SOC_QCOM_RPMH_H__ #define __SOC_QCOM_RPMH_H__ #include <soc/qcom/tcs.h> #include <linux/platform_device.h> #if IS_ENABLED(CONFIG_QCOM_RPMH) int rpmh_write(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 n); int rpmh_write_async(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 n); int rpmh_write_batch(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 *n); void rpmh_invalidate(const struct device *dev); #else static inline int rpmh_write(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 n) { return -ENODEV; } static inline int rpmh_write_async(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 n) { return -ENODEV; } static inline int rpmh_write_batch(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 *n) { return -ENODEV; } static inline void rpmh_invalidate(const struct device *dev) { } #endif /* CONFIG_QCOM_RPMH */ #endif /* __SOC_QCOM_RPMH_H__ */
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
cmd-db.h
1321 bytes
0644
kryo-l2-accessors.h
298 bytes
0644
ocmem.h
1582 bytes
0644
rpmh.h
1240 bytes
0644
tcs.h
2641 bytes
0644
N4ST4R_ID | Naxtarrr