18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __NITROX_HAL_H 38c2ecf20Sopenharmony_ci#define __NITROX_HAL_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include "nitrox_dev.h" 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_civoid nitrox_config_aqm_rings(struct nitrox_device *ndev); 88c2ecf20Sopenharmony_civoid nitrox_config_aqm_unit(struct nitrox_device *ndev); 98c2ecf20Sopenharmony_civoid nitrox_config_emu_unit(struct nitrox_device *ndev); 108c2ecf20Sopenharmony_civoid nitrox_config_pkt_input_rings(struct nitrox_device *ndev); 118c2ecf20Sopenharmony_civoid nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev); 128c2ecf20Sopenharmony_civoid nitrox_config_nps_core_unit(struct nitrox_device *ndev); 138c2ecf20Sopenharmony_civoid nitrox_config_nps_pkt_unit(struct nitrox_device *ndev); 148c2ecf20Sopenharmony_civoid nitrox_config_pom_unit(struct nitrox_device *ndev); 158c2ecf20Sopenharmony_civoid nitrox_config_rand_unit(struct nitrox_device *ndev); 168c2ecf20Sopenharmony_civoid nitrox_config_efl_unit(struct nitrox_device *ndev); 178c2ecf20Sopenharmony_civoid nitrox_config_bmi_unit(struct nitrox_device *ndev); 188c2ecf20Sopenharmony_civoid nitrox_config_bmo_unit(struct nitrox_device *ndev); 198c2ecf20Sopenharmony_civoid nitrox_config_lbc_unit(struct nitrox_device *ndev); 208c2ecf20Sopenharmony_civoid invalidate_lbc(struct nitrox_device *ndev); 218c2ecf20Sopenharmony_civoid enable_aqm_ring(struct nitrox_device *ndev, int qno); 228c2ecf20Sopenharmony_civoid enable_pkt_input_ring(struct nitrox_device *ndev, int ring); 238c2ecf20Sopenharmony_civoid enable_pkt_solicit_port(struct nitrox_device *ndev, int port); 248c2ecf20Sopenharmony_civoid config_nps_core_vfcfg_mode(struct nitrox_device *ndev, enum vf_mode mode); 258c2ecf20Sopenharmony_civoid nitrox_get_hwinfo(struct nitrox_device *ndev); 268c2ecf20Sopenharmony_civoid enable_pf2vf_mbox_interrupts(struct nitrox_device *ndev); 278c2ecf20Sopenharmony_civoid disable_pf2vf_mbox_interrupts(struct nitrox_device *ndev); 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#endif /* __NITROX_HAL_H */ 30