pci.h (67f43f38eeb34da43b624a29d57b703f4c4844b4) | pci.h (1d57896638f080165165dd9fb4cf848220dfd853) |
---|---|
1#ifndef __ASM_S390_PCI_H 2#define __ASM_S390_PCI_H 3 4/* must be set before including asm-generic/pci.h */ 5#define PCI_DMA_BUS_IS_PHYS (0) 6/* must be set before including pci_clp.h */ 7#define PCI_BAR_COUNT 6 8 --- 121 unchanged lines hidden (view full) --- 130int zpci_enable_device(struct zpci_dev *); 131int zpci_disable_device(struct zpci_dev *); 132void zpci_stop_device(struct zpci_dev *); 133void zpci_free_device(struct zpci_dev *); 134int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64); 135int zpci_unregister_ioat(struct zpci_dev *, u8); 136 137/* CLP */ | 1#ifndef __ASM_S390_PCI_H 2#define __ASM_S390_PCI_H 3 4/* must be set before including asm-generic/pci.h */ 5#define PCI_DMA_BUS_IS_PHYS (0) 6/* must be set before including pci_clp.h */ 7#define PCI_BAR_COUNT 6 8 --- 121 unchanged lines hidden (view full) --- 130int zpci_enable_device(struct zpci_dev *); 131int zpci_disable_device(struct zpci_dev *); 132void zpci_stop_device(struct zpci_dev *); 133void zpci_free_device(struct zpci_dev *); 134int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64); 135int zpci_unregister_ioat(struct zpci_dev *, u8); 136 137/* CLP */ |
138int clp_find_pci_devices(void); | 138int clp_scan_pci_devices(void); 139int clp_rescan_pci_devices(void); |
139int clp_add_pci_device(u32, u32, int); 140int clp_enable_fh(struct zpci_dev *, u8); 141int clp_disable_fh(struct zpci_dev *); 142 143#ifdef CONFIG_PCI 144/* Error handling and recovery */ 145void zpci_event_error(void *); 146void zpci_event_availability(void *); --- 11 unchanged lines hidden (view full) --- 158 return 0; 159} 160static inline void zpci_exit_slot(struct zpci_dev *zdev) {} 161#endif /* CONFIG_HOTPLUG_PCI_S390 */ 162 163/* Helpers */ 164struct zpci_dev *get_zdev(struct pci_dev *); 165struct zpci_dev *get_zdev_by_fid(u32); | 140int clp_add_pci_device(u32, u32, int); 141int clp_enable_fh(struct zpci_dev *, u8); 142int clp_disable_fh(struct zpci_dev *); 143 144#ifdef CONFIG_PCI 145/* Error handling and recovery */ 146void zpci_event_error(void *); 147void zpci_event_availability(void *); --- 11 unchanged lines hidden (view full) --- 159 return 0; 160} 161static inline void zpci_exit_slot(struct zpci_dev *zdev) {} 162#endif /* CONFIG_HOTPLUG_PCI_S390 */ 163 164/* Helpers */ 165struct zpci_dev *get_zdev(struct pci_dev *); 166struct zpci_dev *get_zdev_by_fid(u32); |
166bool zpci_fid_present(u32); | |
167 168/* sysfs */ 169int zpci_sysfs_add_device(struct device *); 170void zpci_sysfs_remove_device(struct device *); 171 172/* DMA */ 173int zpci_dma_init(void); 174void zpci_dma_exit(void); --- 13 unchanged lines hidden --- | 167 168/* sysfs */ 169int zpci_sysfs_add_device(struct device *); 170void zpci_sysfs_remove_device(struct device *); 171 172/* DMA */ 173int zpci_dma_init(void); 174void zpci_dma_exit(void); --- 13 unchanged lines hidden --- |