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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    ivtv firmware functions.
    Copyright (C) 2003-2004  Kevin Thayer <nufan_wfk at yahoo.com>
    Copyright (C) 2004  Chris Kennedy <[email protected]>
    Copyright (C) 2005-2007  Hans Verkuil <[email protected]>

 */

#include "ivtv-driver.h"
#include "ivtv-mailbox.h"
#include "ivtv-firmware.h"
#include "ivtv-yuv.h"
#include "ivtv-ioctl.h"
#include "ivtv-cards.h"
#include <linux/firmware.h>
#include <media/i2c/saa7127.h>

#define IVTV_MASK_SPU_ENABLE
#define IVTV_MASK_VPU_ENABLE15
#define IVTV_MASK_VPU_ENABLE16
#define IVTV_CMD_VDM_STOP
#define IVTV_CMD_AO_STOP
#define IVTV_CMD_APU_PING
#define IVTV_CMD_VPU_STOP15
#define IVTV_CMD_VPU_STOP16
#define IVTV_CMD_HW_BLOCKS_RST
#define IVTV_CMD_SPU_STOP
#define IVTV_CMD_SDRAM_PRECHARGE_INIT
#define IVTV_CMD_SDRAM_REFRESH_INIT
#define IVTV_SDRAM_SLEEPTIME

#define IVTV_DECODE_INIT_MPEG_FILENAME
#define IVTV_DECODE_INIT_MPEG_SIZE

/* Encoder/decoder firmware sizes */
#define IVTV_FW_ENC_SIZE
#define IVTV_FW_DEC_SIZE

static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv *itv, long size)
{}

void ivtv_halt_firmware(struct ivtv *itv)
{}

void ivtv_firmware_versions(struct ivtv *itv)
{}

static int ivtv_firmware_copy(struct ivtv *itv)
{}

static volatile struct ivtv_mailbox __iomem *ivtv_search_mailbox(const volatile u8 __iomem *mem, u32 size)
{}

int ivtv_firmware_init(struct ivtv *itv)
{}

void ivtv_init_mpeg_decoder(struct ivtv *itv)
{}

/* Try to restart the card & restore previous settings */
static int ivtv_firmware_restart(struct ivtv *itv)
{}

/* Check firmware running state. The checks fall through
   allowing multiple failures to be logged. */
int ivtv_firmware_check(struct ivtv *itv, char *where)
{}

MODULE_FIRMWARE();
MODULE_FIRMWARE();
MODULE_FIRMWARE();