nitrox_hal.h 1.4 KB

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NITROX_HAL_H
  3. #define __NITROX_HAL_H
  4. #include "nitrox_dev.h"
  5. void nitrox_config_aqm_rings(struct nitrox_device *ndev);
  6. void nitrox_config_aqm_unit(struct nitrox_device *ndev);
  7. void nitrox_config_emu_unit(struct nitrox_device *ndev);
  8. void nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
  9. void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev);
  10. void nitrox_config_nps_core_unit(struct nitrox_device *ndev);
  11. void nitrox_config_nps_pkt_unit(struct nitrox_device *ndev);
  12. void nitrox_config_pom_unit(struct nitrox_device *ndev);
  13. void nitrox_config_rand_unit(struct nitrox_device *ndev);
  14. void nitrox_config_efl_unit(struct nitrox_device *ndev);
  15. void nitrox_config_bmi_unit(struct nitrox_device *ndev);
  16. void nitrox_config_bmo_unit(struct nitrox_device *ndev);
  17. void nitrox_config_lbc_unit(struct nitrox_device *ndev);
  18. void invalidate_lbc(struct nitrox_device *ndev);
  19. void enable_aqm_ring(struct nitrox_device *ndev, int qno);
  20. void enable_pkt_input_ring(struct nitrox_device *ndev, int ring);
  21. void enable_pkt_solicit_port(struct nitrox_device *ndev, int port);
  22. void config_nps_core_vfcfg_mode(struct nitrox_device *ndev, enum vf_mode mode);
  23. void nitrox_get_hwinfo(struct nitrox_device *ndev);
  24. void enable_pf2vf_mbox_interrupts(struct nitrox_device *ndev);
  25. void disable_pf2vf_mbox_interrupts(struct nitrox_device *ndev);
  26. #endif /* __NITROX_HAL_H */