linux/drivers/media/pci/cx18/cx18-firmware.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  cx18 firmware functions
 *
 *  Copyright (C) 2007  Hans Verkuil <[email protected]>
 *  Copyright (C) 2008  Andy Walls <[email protected]>
 */

#include "cx18-driver.h"
#include "cx18-io.h"
#include "cx18-scb.h"
#include "cx18-irq.h"
#include "cx18-firmware.h"
#include "cx18-cards.h"
#include <linux/firmware.h>

#define CX18_PROC_SOFT_RESET
#define CX18_DDR_SOFT_RESET
#define CX18_CLOCK_SELECT1
#define CX18_CLOCK_SELECT2
#define CX18_HALF_CLOCK_SELECT1
#define CX18_HALF_CLOCK_SELECT2
#define CX18_CLOCK_POLARITY1
#define CX18_CLOCK_POLARITY2
#define CX18_ADD_DELAY_ENABLE1
#define CX18_ADD_DELAY_ENABLE2
#define CX18_CLOCK_ENABLE1
#define CX18_CLOCK_ENABLE2

#define CX18_REG_BUS_TIMEOUT_EN

#define CX18_FAST_CLOCK_PLL_INT
#define CX18_FAST_CLOCK_PLL_FRAC
#define CX18_FAST_CLOCK_PLL_POST
#define CX18_FAST_CLOCK_PLL_PRESCALE
#define CX18_FAST_CLOCK_PLL_ADJUST_BANDWIDTH

#define CX18_SLOW_CLOCK_PLL_INT
#define CX18_SLOW_CLOCK_PLL_FRAC
#define CX18_SLOW_CLOCK_PLL_POST
#define CX18_MPEG_CLOCK_PLL_INT
#define CX18_MPEG_CLOCK_PLL_FRAC
#define CX18_MPEG_CLOCK_PLL_POST
#define CX18_PLL_POWER_DOWN
#define CX18_SW1_INT_STATUS
#define CX18_SW1_INT_ENABLE_PCI
#define CX18_SW2_INT_SET
#define CX18_SW2_INT_STATUS
#define CX18_ADEC_CONTROL

#define CX18_DDR_REQUEST_ENABLE
#define CX18_DDR_CHIP_CONFIG
#define CX18_DDR_REFRESH
#define CX18_DDR_TIMING1
#define CX18_DDR_TIMING2
#define CX18_DDR_POWER_REG

#define CX18_DDR_TUNE_LANE
#define CX18_DDR_INITIAL_EMRS
#define CX18_DDR_MB_PER_ROW_7
#define CX18_DDR_BASE_63_ADDR

#define CX18_WMB_CLIENT02
#define CX18_WMB_CLIENT05
#define CX18_WMB_CLIENT06
#define CX18_WMB_CLIENT07
#define CX18_WMB_CLIENT08
#define CX18_WMB_CLIENT09
#define CX18_WMB_CLIENT10
#define CX18_WMB_CLIENT11
#define CX18_WMB_CLIENT12
#define CX18_WMB_CLIENT13
#define CX18_WMB_CLIENT14

#define CX18_DSP0_INTERRUPT_MASK

#define APU_ROM_SYNC1
#define APU_ROM_SYNC2

struct cx18_apu_rom_seghdr {};

static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx)
{}

static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx,
				u32 *entry_addr)
{}

void cx18_halt_firmware(struct cx18 *cx)
{}

void cx18_init_power(struct cx18 *cx, int lowpwr)
{}

void cx18_init_memory(struct cx18 *cx)
{}

#define CX18_CPU_FIRMWARE
#define CX18_APU_FIRMWARE

int cx18_firmware_init(struct cx18 *cx)
{}

MODULE_FIRMWARE();
MODULE_FIRMWARE();