ixp4xx-qmgr.c (d5d9f7ac58ea1041375a028f143ca5784693ea86) ixp4xx-qmgr.c (09aa9aabdcc4966270b031816a16d4641fb45dfa)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Intel IXP4xx Queue Manager driver for Linux
4 *
5 * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl>
6 */
7
8#include <linux/ioport.h>
9#include <linux/interrupt.h>
10#include <linux/kernel.h>
11#include <linux/module.h>
12#include <linux/of.h>
13#include <linux/platform_device.h>
14#include <linux/soc/ixp4xx/qmgr.h>
15#include <mach/hardware.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Intel IXP4xx Queue Manager driver for Linux
4 *
5 * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl>
6 */
7
8#include <linux/ioport.h>
9#include <linux/interrupt.h>
10#include <linux/kernel.h>
11#include <linux/module.h>
12#include <linux/of.h>
13#include <linux/platform_device.h>
14#include <linux/soc/ixp4xx/qmgr.h>
15#include <mach/hardware.h>
16#include <mach/cpu.h>
16#include <linux/soc/ixp4xx/cpu.h>
17
18static struct qmgr_regs __iomem *qmgr_regs;
19static int qmgr_irq_1;
20static int qmgr_irq_2;
21static spinlock_t qmgr_lock;
22static u32 used_sram_bitmap[4]; /* 128 16-dword pages */
23static void (*irq_handlers[QUEUES])(void *pdev);
24static void *irq_pdevs[QUEUES];

--- 463 unchanged lines hidden ---
17
18static struct qmgr_regs __iomem *qmgr_regs;
19static int qmgr_irq_1;
20static int qmgr_irq_2;
21static spinlock_t qmgr_lock;
22static u32 used_sram_bitmap[4]; /* 128 16-dword pages */
23static void (*irq_handlers[QUEUES])(void *pdev);
24static void *irq_pdevs[QUEUES];

--- 463 unchanged lines hidden ---