Linux Audio

Check our new training course

Embedded Linux training

Mar 31-Apr 8, 2025
Register
Loading...
v4.17
 
 1/*
 2 * Arch specific extensions to struct device
 3 *
 4 * This file is released under the GPLv2
 5 */
 6#ifndef _ASM_SPARC_DEVICE_H
 7#define _ASM_SPARC_DEVICE_H
 8
 9#include <asm/openprom.h>
10
11struct device_node;
12struct platform_device;
13
14struct dev_archdata {
15	void			*iommu;
16	void			*stc;
17	void			*host_controller;
18	struct platform_device	*op;
19	int			numa_node;
20};
21
22void of_propagate_archdata(struct platform_device *bus);
23
24struct pdev_archdata {
25	struct resource		resource[PROMREG_MAX];
26	unsigned int		irqs[PROMINTR_MAX];
27	int			num_irqs;
28};
29
30#endif /* _ASM_SPARC_DEVICE_H */
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Arch specific extensions to struct device
 
 
 4 */
 5#ifndef _ASM_SPARC_DEVICE_H
 6#define _ASM_SPARC_DEVICE_H
 7
 8#include <asm/openprom.h>
 9
10struct device_node;
11struct platform_device;
12
13struct dev_archdata {
14	void			*iommu;
15	void			*stc;
16	void			*host_controller;
17	struct platform_device	*op;
18	int			numa_node;
19};
20
21void of_propagate_archdata(struct platform_device *bus);
22
23struct pdev_archdata {
24	struct resource		resource[PROMREG_MAX];
25	unsigned int		irqs[PROMINTR_MAX];
26	int			num_irqs;
27};
28
29#endif /* _ASM_SPARC_DEVICE_H */