Linux Audio

Check our new training course

Linux kernel drivers training

May 6-19, 2025
Register
Loading...
v3.15
 
 1/*
 2 * asm/leon_pci.h
 3 *
 4 * Copyright (C) 2011 Aeroflex Gaisler AB, Daniel Hellstrom
 5 */
 6
 7#ifndef _ASM_LEON_PCI_H_
 8#define _ASM_LEON_PCI_H_
 9
10/* PCI related definitions */
11struct leon_pci_info {
12	struct pci_ops *ops;
13	struct resource	io_space;
14	struct resource	mem_space;
15	struct resource	busn;
16	int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
17};
18
19extern void leon_pci_init(struct platform_device *ofdev,
20				struct leon_pci_info *info);
21
22#endif /* _ASM_LEON_PCI_H_ */
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * asm/leon_pci.h
 4 *
 5 * Copyright (C) 2011 Aeroflex Gaisler AB, Daniel Hellstrom
 6 */
 7
 8#ifndef _ASM_LEON_PCI_H_
 9#define _ASM_LEON_PCI_H_
10
11/* PCI related definitions */
12struct leon_pci_info {
13	struct pci_ops *ops;
14	struct resource	io_space;
15	struct resource	mem_space;
16	struct resource	busn;
17	int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
18};
19
20void leon_pci_init(struct platform_device *ofdev,
21		   struct leon_pci_info *info);
22
23#endif /* _ASM_LEON_PCI_H_ */