linux/drivers/staging/media/ipu3/ipu3-css-fw.h

/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2018 Intel Corporation */

#ifndef __IPU3_CSS_FW_H
#define __IPU3_CSS_FW_H

/******************* Firmware file definitions *******************/

#define IMGU_FW_NAME
#define IMGU_FW_NAME_20161208
#define IMGU_FW_NAME_IPU_20161208

imgu_fw_ptr;

enum imgu_fw_type {};

enum imgu_fw_acc_type {};

struct imgu_fw_isp_parameter {};

struct imgu_fw_param_memory_offsets {};

struct imgu_fw_config_memory_offsets {};

struct imgu_fw_state_memory_offsets {};

imgu_fw_all_memory_offsets;

struct imgu_fw_binary_xinfo {};

struct imgu_fw_sp_info {};

struct imgu_fw_bl_info {};

struct imgu_fw_acc_info {};

imgu_fw_union;

struct imgu_fw_info {};

struct imgu_fw_bi_file_h {};

struct imgu_fw_header {};

/******************* Firmware functions *******************/

int imgu_css_fw_init(struct imgu_css *css);
void imgu_css_fw_cleanup(struct imgu_css *css);

unsigned int imgu_css_fw_obgrid_size(const struct imgu_fw_info *bi);
void *imgu_css_fw_pipeline_params(struct imgu_css *css, unsigned int pipe,
				  enum imgu_abi_param_class cls,
				  enum imgu_abi_memories mem,
				  struct imgu_fw_isp_parameter *par,
				  size_t par_size, void *binary_params);

#endif