14ced2b04STomasz Duszynski /* SPDX-License-Identifier: BSD-3-Clause 24ced2b04STomasz Duszynski * Copyright(C) 2020 Marvell. 34ced2b04STomasz Duszynski */ 44ced2b04STomasz Duszynski 54ced2b04STomasz Duszynski #ifndef _ROC_BPHY_ 64ced2b04STomasz Duszynski #define _ROC_BPHY_ 74ced2b04STomasz Duszynski 84ced2b04STomasz Duszynski #include "roc_api.h" 943c7a9bbSTomasz Duszynski #include "roc_bphy_irq.h" 104ced2b04STomasz Duszynski 114ced2b04STomasz Duszynski struct roc_bphy { 124ced2b04STomasz Duszynski struct plt_pci_device *pci_dev; 134ced2b04STomasz Duszynski } __plt_cache_aligned; 144ced2b04STomasz Duszynski 154ced2b04STomasz Duszynski int __roc_api roc_bphy_dev_init(struct roc_bphy *roc_bphy); 164ced2b04STomasz Duszynski int __roc_api roc_bphy_dev_fini(struct roc_bphy *roc_bphy); 17*84a972a5STomasz Duszynski __roc_api uint16_t roc_bphy_npa_pf_func_get(void); 18*84a972a5STomasz Duszynski __roc_api uint16_t roc_bphy_sso_pf_func_get(void); 194ced2b04STomasz Duszynski 204ced2b04STomasz Duszynski #endif /* _ROC_BPHY_ */ 21