ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-611.27.1.el9_7.x86_64/include/linux/firmware/imx/svc
/
usr
src
kernels
5.14.0-611.27.1.el9_7.x86_64
include
linux
firmware
imx
svc
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
misc.h
1.95 MB
chmod
View
DL
Edit
Rename
Delete
pm.h
2.65 MB
chmod
View
DL
Edit
Rename
Delete
rm.h
2.23 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-611.27.1.el9_7.x86_64/include/linux/firmware/imx/svc/rm.h
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright 2017-2020 NXP * * Header file containing the public API for the System Controller (SC) * Resource Management (RM) function. This includes functions for * partitioning resources, pads, and memory regions. * * RM_SVC (SVC) Resource Management Service * * Module for the Resource Management (RM) service. */ #ifndef _SC_RM_API_H #define _SC_RM_API_H #include <linux/firmware/imx/sci.h> /* * This type is used to indicate RPC RM function calls. */ enum imx_sc_rm_func { IMX_SC_RM_FUNC_UNKNOWN = 0, IMX_SC_RM_FUNC_PARTITION_ALLOC = 1, IMX_SC_RM_FUNC_SET_CONFIDENTIAL = 31, IMX_SC_RM_FUNC_PARTITION_FREE = 2, IMX_SC_RM_FUNC_GET_DID = 26, IMX_SC_RM_FUNC_PARTITION_STATIC = 3, IMX_SC_RM_FUNC_PARTITION_LOCK = 4, IMX_SC_RM_FUNC_GET_PARTITION = 5, IMX_SC_RM_FUNC_SET_PARENT = 6, IMX_SC_RM_FUNC_MOVE_ALL = 7, IMX_SC_RM_FUNC_ASSIGN_RESOURCE = 8, IMX_SC_RM_FUNC_SET_RESOURCE_MOVABLE = 9, IMX_SC_RM_FUNC_SET_SUBSYS_RSRC_MOVABLE = 28, IMX_SC_RM_FUNC_SET_MASTER_ATTRIBUTES = 10, IMX_SC_RM_FUNC_SET_MASTER_SID = 11, IMX_SC_RM_FUNC_SET_PERIPHERAL_PERMISSIONS = 12, IMX_SC_RM_FUNC_IS_RESOURCE_OWNED = 13, IMX_SC_RM_FUNC_GET_RESOURCE_OWNER = 33, IMX_SC_RM_FUNC_IS_RESOURCE_MASTER = 14, IMX_SC_RM_FUNC_IS_RESOURCE_PERIPHERAL = 15, IMX_SC_RM_FUNC_GET_RESOURCE_INFO = 16, IMX_SC_RM_FUNC_MEMREG_ALLOC = 17, IMX_SC_RM_FUNC_MEMREG_SPLIT = 29, IMX_SC_RM_FUNC_MEMREG_FRAG = 32, IMX_SC_RM_FUNC_MEMREG_FREE = 18, IMX_SC_RM_FUNC_FIND_MEMREG = 30, IMX_SC_RM_FUNC_ASSIGN_MEMREG = 19, IMX_SC_RM_FUNC_SET_MEMREG_PERMISSIONS = 20, IMX_SC_RM_FUNC_IS_MEMREG_OWNED = 21, IMX_SC_RM_FUNC_GET_MEMREG_INFO = 22, IMX_SC_RM_FUNC_ASSIGN_PAD = 23, IMX_SC_RM_FUNC_SET_PAD_MOVABLE = 24, IMX_SC_RM_FUNC_IS_PAD_OWNED = 25, IMX_SC_RM_FUNC_DUMP = 27, }; #if IS_ENABLED(CONFIG_IMX_SCU) bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource); int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt); #else static inline bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) { return true; } static inline int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt) { return -EOPNOTSUPP; } #endif #endif
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply