162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __NITROX_HAL_H
362306a36Sopenharmony_ci#define __NITROX_HAL_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include "nitrox_dev.h"
662306a36Sopenharmony_ci
762306a36Sopenharmony_civoid nitrox_config_aqm_rings(struct nitrox_device *ndev);
862306a36Sopenharmony_civoid nitrox_config_aqm_unit(struct nitrox_device *ndev);
962306a36Sopenharmony_civoid nitrox_config_emu_unit(struct nitrox_device *ndev);
1062306a36Sopenharmony_civoid nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
1162306a36Sopenharmony_civoid nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev);
1262306a36Sopenharmony_civoid nitrox_config_nps_core_unit(struct nitrox_device *ndev);
1362306a36Sopenharmony_civoid nitrox_config_nps_pkt_unit(struct nitrox_device *ndev);
1462306a36Sopenharmony_civoid nitrox_config_pom_unit(struct nitrox_device *ndev);
1562306a36Sopenharmony_civoid nitrox_config_rand_unit(struct nitrox_device *ndev);
1662306a36Sopenharmony_civoid nitrox_config_efl_unit(struct nitrox_device *ndev);
1762306a36Sopenharmony_civoid nitrox_config_bmi_unit(struct nitrox_device *ndev);
1862306a36Sopenharmony_civoid nitrox_config_bmo_unit(struct nitrox_device *ndev);
1962306a36Sopenharmony_civoid nitrox_config_lbc_unit(struct nitrox_device *ndev);
2062306a36Sopenharmony_civoid invalidate_lbc(struct nitrox_device *ndev);
2162306a36Sopenharmony_civoid enable_aqm_ring(struct nitrox_device *ndev, int qno);
2262306a36Sopenharmony_civoid enable_pkt_input_ring(struct nitrox_device *ndev, int ring);
2362306a36Sopenharmony_civoid enable_pkt_solicit_port(struct nitrox_device *ndev, int port);
2462306a36Sopenharmony_civoid config_nps_core_vfcfg_mode(struct nitrox_device *ndev, enum vf_mode mode);
2562306a36Sopenharmony_civoid nitrox_get_hwinfo(struct nitrox_device *ndev);
2662306a36Sopenharmony_civoid enable_pf2vf_mbox_interrupts(struct nitrox_device *ndev);
2762306a36Sopenharmony_civoid disable_pf2vf_mbox_interrupts(struct nitrox_device *ndev);
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#endif /* __NITROX_HAL_H */
30