404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.117.146.157: ~ $
/*
 * Copyright (C) 2016 ARM Limited, All Rights Reserved.
 * Author: Marc Zyngier <marc.zyngier@arm.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <linux/fwnode.h>
#include <linux/cpumask.h>
#include <linux/irqdomain.h>

struct partition_affinity {
	cpumask_t			mask;
	void				*partition_id;
};

struct partition_desc;

#ifdef CONFIG_PARTITION_PERCPU
int partition_translate_id(struct partition_desc *desc, void *partition_id);
struct partition_desc *partition_create_desc(struct fwnode_handle *fwnode,
					     struct partition_affinity *parts,
					     int nr_parts,
					     int chained_irq,
					     const struct irq_domain_ops *ops);
struct irq_domain *partition_get_domain(struct partition_desc *dsc);
#else
static inline int partition_translate_id(struct partition_desc *desc,
					 void *partition_id)
{
	return -EINVAL;
}

static inline
struct partition_desc *partition_create_desc(struct fwnode_handle *fwnode,
					     struct partition_affinity *parts,
					     int nr_parts,
					     int chained_irq,
					     const struct irq_domain_ops *ops)
{
	return NULL;
}

static inline
struct irq_domain *partition_get_domain(struct partition_desc *dsc)
{
	return NULL;
}
#endif

Filemanager

Name Type Size Permission Actions
arm-gic-common.h File 825 B 0644
arm-gic-v3.h File 22.39 KB 0644
arm-gic-v4.h File 3.1 KB 0644
arm-gic.h File 5.38 KB 0644
arm-vic.h File 1.4 KB 0644
chained_irq.h File 1.44 KB 0644
ingenic.h File 759 B 0644
irq-bcm2836.h File 2.34 KB 0644
irq-omap-intc.h File 977 B 0644
irq-partition-percpu.h File 1.71 KB 0644
irq-sa11x0.h File 502 B 0644
metag-ext.h File 861 B 0644
metag.h File 485 B 0644
mmp.h File 155 B 0644
mxs.h File 367 B 0644
versatile-fpga.h File 353 B 0644
xtensa-mx.h File 467 B 0644
xtensa-pic.h File 532 B 0644