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