machdep.h (e6aa0f07cb5e81a7cbeaf3be6e2101234c2f0d30) machdep.h (4fc665b88a79a45bae8bbf3a05563c27c7337c3d)
1#ifndef _ASM_POWERPC_MACHDEP_H
2#define _ASM_POWERPC_MACHDEP_H
3#ifdef __KERNEL__
4
5/*
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 74 unchanged lines hidden (view full) ---

83 enum dma_data_direction direction,
84 struct dma_attrs *attrs);
85 void (*tce_free)(struct iommu_table *tbl,
86 long index,
87 long npages);
88 unsigned long (*tce_get)(struct iommu_table *tbl,
89 long index);
90 void (*tce_flush)(struct iommu_table *tbl);
1#ifndef _ASM_POWERPC_MACHDEP_H
2#define _ASM_POWERPC_MACHDEP_H
3#ifdef __KERNEL__
4
5/*
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 74 unchanged lines hidden (view full) ---

83 enum dma_data_direction direction,
84 struct dma_attrs *attrs);
85 void (*tce_free)(struct iommu_table *tbl,
86 long index,
87 long npages);
88 unsigned long (*tce_get)(struct iommu_table *tbl,
89 long index);
90 void (*tce_flush)(struct iommu_table *tbl);
91 void (*pci_dma_dev_setup)(struct pci_dev *dev);
92 void (*pci_dma_bus_setup)(struct pci_bus *bus);
93
94 void __iomem * (*ioremap)(phys_addr_t addr, unsigned long size,
95 unsigned long flags);
96 void (*iounmap)(volatile void __iomem *token);
97
98#ifdef CONFIG_PM
99 void (*iommu_save)(void);
100 void (*iommu_restore)(void);
101#endif
102#endif /* CONFIG_PPC64 */
103
91
92 void __iomem * (*ioremap)(phys_addr_t addr, unsigned long size,
93 unsigned long flags);
94 void (*iounmap)(volatile void __iomem *token);
95
96#ifdef CONFIG_PM
97 void (*iommu_save)(void);
98 void (*iommu_restore)(void);
99#endif
100#endif /* CONFIG_PPC64 */
101
102 void (*pci_dma_dev_setup)(struct pci_dev *dev);
103 void (*pci_dma_bus_setup)(struct pci_bus *bus);
104
104 int (*probe)(void);
105 void (*setup_arch)(void); /* Optional, may be NULL */
106 void (*init_early)(void);
107 /* Optional, may be NULL. */
108 void (*show_cpuinfo)(struct seq_file *m);
109 void (*show_percpuinfo)(struct seq_file *m, int i);
110
111 void (*init_IRQ)(void);

--- 254 unchanged lines hidden ---
105 int (*probe)(void);
106 void (*setup_arch)(void); /* Optional, may be NULL */
107 void (*init_early)(void);
108 /* Optional, may be NULL. */
109 void (*show_cpuinfo)(struct seq_file *m);
110 void (*show_percpuinfo)(struct seq_file *m, int i);
111
112 void (*init_IRQ)(void);

--- 254 unchanged lines hidden ---