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

irq-davinci-cp-intc.h (616B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright (C) 2019 Texas Instruments
      4 */
      5
      6#ifndef _LINUX_IRQ_DAVINCI_CP_INTC_
      7#define _LINUX_IRQ_DAVINCI_CP_INTC_
      8
      9#include <linux/ioport.h>
     10
     11/**
     12 * struct davinci_cp_intc_config - configuration data for davinci-cp-intc
     13 *                                 driver.
     14 *
     15 * @reg: register range to map
     16 * @num_irqs: number of HW interrupts supported by the controller
     17 */
     18struct davinci_cp_intc_config {
     19	struct resource reg;
     20	unsigned int num_irqs;
     21};
     22
     23int davinci_cp_intc_init(const struct davinci_cp_intc_config *config);
     24
     25#endif /* _LINUX_IRQ_DAVINCI_CP_INTC_ */