linux/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c

/**********************************************************************
 * Author: Cavium, Inc.
 *
 * Contact: [email protected]
 *          Please include "LiquidIO" in the subject.
 *
 * Copyright (c) 2003-2016 Cavium, Inc.
 *
 * This file is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, Version 2, as
 * published by the Free Software Foundation.
 *
 * This file is distributed in the hope that it will be useful, but
 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
 * NONINFRINGEMENT.  See the GNU General Public License for more details.
 ***********************************************************************/
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/vmalloc.h>
#include "liquidio_common.h"
#include "octeon_droq.h"
#include "octeon_iq.h"
#include "response_manager.h"
#include "octeon_device.h"
#include "cn23xx_vf_device.h"
#include "octeon_main.h"
#include "octeon_mailbox.h"

u32 cn23xx_vf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us)
{}

static int cn23xx_vf_reset_io_queues(struct octeon_device *oct, u32 num_queues)
{}

static int cn23xx_vf_setup_global_input_regs(struct octeon_device *oct)
{}

static void cn23xx_vf_setup_global_output_regs(struct octeon_device *oct)
{}

static int cn23xx_setup_vf_device_regs(struct octeon_device *oct)
{}

static void cn23xx_setup_vf_iq_regs(struct octeon_device *oct, u32 iq_no)
{}

static void cn23xx_setup_vf_oq_regs(struct octeon_device *oct, u32 oq_no)
{}

static void cn23xx_vf_mbox_thread(struct work_struct *work)
{}

static int cn23xx_free_vf_mbox(struct octeon_device *oct)
{}

static int cn23xx_setup_vf_mbox(struct octeon_device *oct)
{}

static int cn23xx_enable_vf_io_queues(struct octeon_device *oct)
{}

static void cn23xx_disable_vf_io_queues(struct octeon_device *oct)
{}

void cn23xx_vf_ask_pf_to_do_flr(struct octeon_device *oct)
{}
EXPORT_SYMBOL_GPL();

static void octeon_pfvf_hs_callback(struct octeon_device *oct,
				    struct octeon_mbox_cmd *cmd,
				    void *arg)
{}

int cn23xx_octeon_pfvf_handshake(struct octeon_device *oct)
{}
EXPORT_SYMBOL_GPL();

static void cn23xx_handle_vf_mbox_intr(struct octeon_ioq_vector *ioq_vector)
{}

static u64 cn23xx_vf_msix_interrupt_handler(void *dev)
{}

static u32 cn23xx_update_read_index(struct octeon_instr_queue *iq)
{}

static void cn23xx_enable_vf_interrupt(struct octeon_device *oct, u8 intr_flag)
{}

static void cn23xx_disable_vf_interrupt(struct octeon_device *oct, u8 intr_flag)
{}

int cn23xx_setup_octeon_vf_device(struct octeon_device *oct)
{}
EXPORT_SYMBOL_GPL();