0001
0002 #ifndef __NITROX_HAL_H
0003 #define __NITROX_HAL_H
0004
0005 #include "nitrox_dev.h"
0006
0007 void nitrox_config_aqm_rings(struct nitrox_device *ndev);
0008 void nitrox_config_aqm_unit(struct nitrox_device *ndev);
0009 void nitrox_config_emu_unit(struct nitrox_device *ndev);
0010 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
0011 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev);
0012 void nitrox_config_nps_core_unit(struct nitrox_device *ndev);
0013 void nitrox_config_nps_pkt_unit(struct nitrox_device *ndev);
0014 void nitrox_config_pom_unit(struct nitrox_device *ndev);
0015 void nitrox_config_rand_unit(struct nitrox_device *ndev);
0016 void nitrox_config_efl_unit(struct nitrox_device *ndev);
0017 void nitrox_config_bmi_unit(struct nitrox_device *ndev);
0018 void nitrox_config_bmo_unit(struct nitrox_device *ndev);
0019 void nitrox_config_lbc_unit(struct nitrox_device *ndev);
0020 void invalidate_lbc(struct nitrox_device *ndev);
0021 void enable_aqm_ring(struct nitrox_device *ndev, int qno);
0022 void enable_pkt_input_ring(struct nitrox_device *ndev, int ring);
0023 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port);
0024 void config_nps_core_vfcfg_mode(struct nitrox_device *ndev, enum vf_mode mode);
0025 void nitrox_get_hwinfo(struct nitrox_device *ndev);
0026 void enable_pf2vf_mbox_interrupts(struct nitrox_device *ndev);
0027 void disable_pf2vf_mbox_interrupts(struct nitrox_device *ndev);
0028
0029 #endif