linux/drivers/infiniband/hw/irdma/i40iw_hw.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/* Copyright (c) 2015 - 2021 Intel Corporation */
#include "osdep.h"
#include "type.h"
#include "i40iw_hw.h"
#include "protos.h"

static u32 i40iw_regs[IRDMA_MAX_REGS] =;

static u32 i40iw_stat_offsets[] =;

static u64 i40iw_masks[IRDMA_MAX_MASKS] =;

static u64 i40iw_shifts[IRDMA_MAX_SHIFTS] =;

/**
 * i40iw_config_ceq- Configure CEQ interrupt
 * @dev: pointer to the device structure
 * @ceq_id: Completion Event Queue ID
 * @idx: vector index
 * @enable: Enable CEQ interrupt when true
 */
static void i40iw_config_ceq(struct irdma_sc_dev *dev, u32 ceq_id, u32 idx,
			     bool enable)
{}

/**
 * i40iw_ena_irq - Enable interrupt
 * @dev: pointer to the device structure
 * @idx: vector index
 */
static void i40iw_ena_irq(struct irdma_sc_dev *dev, u32 idx)
{}

/**
 * i40iw_disable_irq - Disable interrupt
 * @dev: pointer to the device structure
 * @idx: vector index
 */
static void i40iw_disable_irq(struct irdma_sc_dev *dev, u32 idx)
{}

static const struct irdma_irq_ops i40iw_irq_ops =;

static const struct irdma_hw_stat_map i40iw_hw_stat_map[] =;

void i40iw_init_hw(struct irdma_sc_dev *dev)
{}