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

pm.h (478B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright 2000 Deep Blue Solutions Ltd
      4 * Copyright 2004 ARM Limited
      5 * Copyright 2008 Cavium Networks
      6 */
      7
      8#ifndef __CNS3XXX_PM_H
      9#define __CNS3XXX_PM_H
     10
     11#include <linux/atomic.h>
     12
     13void cns3xxx_pwr_clk_en(unsigned int block);
     14void cns3xxx_pwr_clk_dis(unsigned int block);
     15void cns3xxx_pwr_power_up(unsigned int block);
     16void cns3xxx_pwr_power_down(unsigned int block);
     17
     18extern atomic_t usb_pwr_ref;
     19
     20#endif /* __CNS3XXX_PM_H */