linux/drivers/crypto/cavium/nitrox/nitrox_hal.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/delay.h>

#include "nitrox_dev.h"
#include "nitrox_csr.h"
#include "nitrox_hal.h"

#define PLL_REF_CLK
#define MAX_CSR_RETRIES

/**
 * emu_enable_cores - Enable EMU cluster cores.
 * @ndev: NITROX device
 */
static void emu_enable_cores(struct nitrox_device *ndev)
{}

/**
 * nitrox_config_emu_unit - configure EMU unit.
 * @ndev: NITROX device
 */
void nitrox_config_emu_unit(struct nitrox_device *ndev)
{}

static void reset_pkt_input_ring(struct nitrox_device *ndev, int ring)
{}

void enable_pkt_input_ring(struct nitrox_device *ndev, int ring)
{}

/**
 * nitrox_config_pkt_input_rings - configure Packet Input Rings
 * @ndev: NITROX device
 */
void nitrox_config_pkt_input_rings(struct nitrox_device *ndev)
{}

static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port)
{}

void enable_pkt_solicit_port(struct nitrox_device *ndev, int port)
{}

static void config_pkt_solicit_port(struct nitrox_device *ndev, int port)
{}

void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev)
{}

/**
 * enable_nps_core_interrupts - enable NPS core interrutps
 * @ndev: NITROX device.
 *
 * This includes NPS core interrupts.
 */
static void enable_nps_core_interrupts(struct nitrox_device *ndev)
{}

void nitrox_config_nps_core_unit(struct nitrox_device *ndev)
{}

/**
 * enable_nps_pkt_interrupts - enable NPS packet interrutps
 * @ndev: NITROX device.
 *
 * This includes NPS packet in and slc interrupts.
 */
static void enable_nps_pkt_interrupts(struct nitrox_device *ndev)
{}

void nitrox_config_nps_pkt_unit(struct nitrox_device *ndev)
{}

static void reset_aqm_ring(struct nitrox_device *ndev, int ring)
{}

void enable_aqm_ring(struct nitrox_device *ndev, int ring)
{}

void nitrox_config_aqm_rings(struct nitrox_device *ndev)
{}

static void enable_aqm_interrupts(struct nitrox_device *ndev)
{}

void nitrox_config_aqm_unit(struct nitrox_device *ndev)
{}

void nitrox_config_pom_unit(struct nitrox_device *ndev)
{}

/**
 * nitrox_config_rand_unit - enable NITROX random number unit
 * @ndev: NITROX device
 */
void nitrox_config_rand_unit(struct nitrox_device *ndev)
{}

void nitrox_config_efl_unit(struct nitrox_device *ndev)
{}

void nitrox_config_bmi_unit(struct nitrox_device *ndev)
{}

void nitrox_config_bmo_unit(struct nitrox_device *ndev)
{}

void invalidate_lbc(struct nitrox_device *ndev)
{}

void nitrox_config_lbc_unit(struct nitrox_device *ndev)
{}

void config_nps_core_vfcfg_mode(struct nitrox_device *ndev, enum vf_mode mode)
{}

static const char *get_core_option(u8 se_cores, u8 ae_cores)
{}

static const char *get_feature_option(u8 zip_cores, int core_freq)
{}

void nitrox_get_hwinfo(struct nitrox_device *ndev)
{}

void enable_pf2vf_mbox_interrupts(struct nitrox_device *ndev)
{}

void disable_pf2vf_mbox_interrupts(struct nitrox_device *ndev)
{}