#include <linux/pci.h>
#include <linux/netdevice.h>
#include "liquidio_common.h"
#include "octeon_droq.h"
#include "octeon_iq.h"
#include "response_manager.h"
#include "octeon_device.h"
#include "octeon_main.h"
#include "cn66xx_regs.h"
#include "cn66xx_device.h"
int lio_cn6xxx_soft_reset(struct octeon_device *oct)
{ … }
void lio_cn6xxx_enable_error_reporting(struct octeon_device *oct)
{ … }
void lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct,
enum octeon_pcie_mps mps)
{ … }
void lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct,
enum octeon_pcie_mrrs mrrs)
{ … }
u32 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct)
{ … }
u32 lio_cn6xxx_get_oq_ticks(struct octeon_device *oct,
u32 time_intr_in_us)
{ … }
void lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct)
{ … }
static void lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct)
{ … }
void lio_cn6xxx_setup_global_output_regs(struct octeon_device *oct)
{ … }
static int lio_cn6xxx_setup_device_regs(struct octeon_device *oct)
{ … }
void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no)
{ … }
static void lio_cn66xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no)
{ … }
void lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no)
{ … }
int lio_cn6xxx_enable_io_queues(struct octeon_device *oct)
{ … }
void lio_cn6xxx_disable_io_queues(struct octeon_device *oct)
{ … }
void
lio_cn6xxx_bar1_idx_setup(struct octeon_device *oct,
u64 core_addr,
u32 idx,
int valid)
{ … }
void lio_cn6xxx_bar1_idx_write(struct octeon_device *oct,
u32 idx,
u32 mask)
{ … }
u32 lio_cn6xxx_bar1_idx_read(struct octeon_device *oct, u32 idx)
{ … }
u32
lio_cn6xxx_update_read_index(struct octeon_instr_queue *iq)
{ … }
void lio_cn6xxx_enable_interrupt(struct octeon_device *oct,
u8 unused __attribute__((unused)))
{ … }
void lio_cn6xxx_disable_interrupt(struct octeon_device *oct,
u8 unused __attribute__((unused)))
{ … }
static void lio_cn6xxx_get_pcie_qlmport(struct octeon_device *oct)
{ … }
static void
lio_cn6xxx_process_pcie_error_intr(struct octeon_device *oct, u64 intr64)
{ … }
static int lio_cn6xxx_process_droq_intr_regs(struct octeon_device *oct)
{ … }
irqreturn_t lio_cn6xxx_process_interrupt_regs(void *dev)
{ … }
void lio_cn6xxx_setup_reg_address(struct octeon_device *oct,
void *chip,
struct octeon_reg_list *reg_list)
{ … }
int lio_setup_cn66xx_octeon_device(struct octeon_device *oct)
{ … }
EXPORT_SYMBOL_GPL(…);
int lio_validate_cn6xxx_config_info(struct octeon_device *oct,
struct octeon_config *conf6xxx)
{ … }