ionic_bus.h (624B)
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 7int ionic_bus_get_irq(struct ionic *ionic, unsigned int num); 8const char *ionic_bus_info(struct ionic *ionic); 9int ionic_bus_alloc_irq_vectors(struct ionic *ionic, unsigned int nintrs); 10void ionic_bus_free_irq_vectors(struct ionic *ionic); 11int ionic_bus_register_driver(void); 12void ionic_bus_unregister_driver(void); 13void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num); 14void ionic_bus_unmap_dbpage(struct ionic *ionic, void __iomem *page); 15 16#endif /* _IONIC_BUS_H_ */