cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

reset-prcc.h (566B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2
      3#ifndef __RESET_PRCC_H
      4#define __RESET_PRCC_H
      5
      6#include <linux/reset-controller.h>
      7#include <linux/io.h>
      8
      9/**
     10 * struct u8500_prcc_reset - U8500 PRCC reset controller state
     11 * @rcdev: reset controller device
     12 * @phy_base: the physical base address for each PRCC block
     13 * @base: the remapped PRCC bases
     14 */
     15struct u8500_prcc_reset {
     16	struct reset_controller_dev rcdev;
     17	u32 phy_base[CLKRST_MAX];
     18	void __iomem *base[CLKRST_MAX];
     19};
     20
     21void u8500_prcc_reset_init(struct device_node *np, struct u8500_prcc_reset *ur);
     22
     23#endif