• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3 
4 #ifndef _IONIC_BUS_H_
5 #define _IONIC_BUS_H_
6 
7 int ionic_bus_get_irq(struct ionic *ionic, unsigned int num);
8 const char *ionic_bus_info(struct ionic *ionic);
9 int ionic_bus_alloc_irq_vectors(struct ionic *ionic, unsigned int nintrs);
10 void ionic_bus_free_irq_vectors(struct ionic *ionic);
11 int ionic_bus_register_driver(void);
12 void ionic_bus_unregister_driver(void);
13 void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num);
14 void ionic_bus_unmap_dbpage(struct ionic *ionic, void __iomem *page);
15 
16 #endif /* _IONIC_BUS_H_ */
17