/* * aQuantia Corporation Network Driver * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. *//* File aq_pci_func.h: Declaration of PCI functions. */#ifndef AQ_PCI_FUNC_H#define AQ_PCI_FUNC_H#include "aq_common.h"structaq_pci_func_s*aq_pci_func_alloc(structaq_hw_ops*hw_ops,structpci_dev*pdev,conststructnet_device_ops*ndev_ops,conststructethtool_ops*eth_ops);intaq_pci_func_init(structaq_pci_func_s*self);intaq_pci_func_alloc_irq(structaq_pci_func_s*self,unsignedinti,char*name,void*aq_vec,cpumask_t*affinity_mask);voidaq_pci_func_free_irqs(structaq_pci_func_s*self);intaq_pci_func_start(structaq_pci_func_s*self);void__iomem*aq_pci_func_get_mmio(structaq_pci_func_s*self);unsignedintaq_pci_func_get_irq_type(structaq_pci_func_s*self);voidaq_pci_func_deinit(structaq_pci_func_s*self);voidaq_pci_func_free(structaq_pci_func_s*self);intaq_pci_func_change_pm_state(structaq_pci_func_s*self,pm_message_t*pm_msg);#endif /* AQ_PCI_FUNC_H */