shbde_iproc.h (983B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 */ 7 8 #ifndef __SHBDE_IPROC_H__ 9 #define __SHBDE_IPROC_H__ 10 11 #include <shbde.h> 12 13 extern int 14 shbde_iproc_config_init(shbde_iproc_config_t *icfg, 15 unsigned int dev_id, unsigned int dev_rev); 16 17 extern int 18 shbde_iproc_paxb_init(shbde_hal_t *shbde, void *iproc_regs, 19 shbde_iproc_config_t *icfg); 20 21 extern unsigned int 22 shbde_iproc_pci_read(shbde_hal_t *shbde, void *iproc_regs, 23 unsigned int addr); 24 25 extern void 26 shbde_iproc_pci_write(shbde_hal_t *shbde, void *iproc_regs, 27 unsigned int addr, unsigned int data); 28 29 extern int 30 shbde_iproc_pcie_preemphasis_set(shbde_hal_t *shbde, void *iproc_regs, 31 shbde_iproc_config_t *icfg, void *pci_dev); 32 33 #endif /* __SHBDE_IPROC_H__ */