diva_pci.h 673 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* $Id: diva_pci.h,v 1.6 2003/01/04 15:29:45 schindler Exp $ */
  3. #ifndef __DIVA_PCI_INTERFACE_H__
  4. #define __DIVA_PCI_INTERFACE_H__
  5. void __iomem *divasa_remap_pci_bar(diva_os_xdi_adapter_t *a,
  6. int id,
  7. unsigned long bar,
  8. unsigned long area_length);
  9. void divasa_unmap_pci_bar(void __iomem *bar);
  10. unsigned long divasa_get_pci_irq(unsigned char bus,
  11. unsigned char func, void *pci_dev_handle);
  12. unsigned long divasa_get_pci_bar(unsigned char bus,
  13. unsigned char func,
  14. int bar, void *pci_dev_handle);
  15. byte diva_os_get_pci_bus(void *pci_dev_handle);
  16. byte diva_os_get_pci_func(void *pci_dev_handle);
  17. #endif