![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/src/linux-headers-5.4.0-193/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2012 ARM Limited */ #ifndef _LINUX_VEXPRESS_H #define _LINUX_VEXPRESS_H #include <linux/device.h> #include <linux/regmap.h> #define VEXPRESS_SITE_MB 0 #define VEXPRESS_SITE_DB1 1 #define VEXPRESS_SITE_DB2 2 #define VEXPRESS_SITE_MASTER 0xf /* Config infrastructure */ void vexpress_config_set_master(u32 site); u32 vexpress_config_get_master(void); void vexpress_config_lock(void *arg); void vexpress_config_unlock(void *arg); int vexpress_config_get_topo(struct device_node *node, u32 *site, u32 *position, u32 *dcc); /* Config bridge API */ struct vexpress_config_bridge_ops { struct regmap * (*regmap_init)(struct device *dev, void *context); void (*regmap_exit)(struct regmap *regmap, void *context); }; struct device *vexpress_config_bridge_register(struct device *parent, struct vexpress_config_bridge_ops *ops, void *context); /* Config regmap API */ struct regmap *devm_regmap_init_vexpress_config(struct device *dev); /* Platform control */ void vexpress_flags_set(u32 data); #endif