linux/drivers/input/rmi4/rmi_f34v7.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016, Zodiac Inflight Innovations
 * Copyright (c) 2007-2016, Synaptics Incorporated
 * Copyright (C) 2012 Alexandra Chin <[email protected]>
 * Copyright (C) 2012 Scott Lin <[email protected]>
 */

#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/rmi.h>
#include <linux/firmware.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/unaligned.h>

#include "rmi_driver.h"
#include "rmi_f34.h"

static int rmi_f34v7_read_flash_status(struct f34_data *f34)
{}

static int rmi_f34v7_wait_for_idle(struct f34_data *f34, int timeout_ms)
{}

static int rmi_f34v7_check_command_status(struct f34_data *f34, int timeout_ms)
{}

static int rmi_f34v7_write_command_single_transaction(struct f34_data *f34,
						      u8 cmd)
{}

static int rmi_f34v7_write_command(struct f34_data *f34, u8 cmd)
{}

static int rmi_f34v7_write_partition_id(struct f34_data *f34, u8 cmd)
{}

static int rmi_f34v7_read_partition_table(struct f34_data *f34)
{}

static void rmi_f34v7_parse_partition_table(struct f34_data *f34,
					    const void *partition_table,
					    struct block_count *blkcount,
					    struct physical_address *phyaddr)
{}

static int rmi_f34v7_read_queries_bl_version(struct f34_data *f34)
{}

static int rmi_f34v7_read_queries(struct f34_data *f34)
{}

static int rmi_f34v7_check_bl_config_size(struct f34_data *f34)
{}

static int rmi_f34v7_erase_all(struct f34_data *f34)
{}

static int rmi_f34v7_read_blocks(struct f34_data *f34,
				 u16 block_cnt, u8 command)
{}

static int rmi_f34v7_write_f34v7_blocks(struct f34_data *f34,
					const void *block_ptr, u16 block_cnt,
					u8 command)
{}

static int rmi_f34v7_write_config(struct f34_data *f34)
{}

static int rmi_f34v7_write_ui_config(struct f34_data *f34)
{}

static int rmi_f34v7_write_dp_config(struct f34_data *f34)
{}

static int rmi_f34v7_write_guest_code(struct f34_data *f34)
{}

static int rmi_f34v7_write_flash_config(struct f34_data *f34)
{}

static int rmi_f34v7_write_partition_table(struct f34_data *f34)
{}

static int rmi_f34v7_write_firmware(struct f34_data *f34)
{}

static void rmi_f34v7_parse_img_header_10_bl_container(struct f34_data *f34,
						       const void *image)
{}

static void rmi_f34v7_parse_image_header_10(struct f34_data *f34)
{}

static int rmi_f34v7_parse_image_info(struct f34_data *f34)
{}

int rmi_f34v7_do_reflash(struct f34_data *f34, const struct firmware *fw)
{}

static int rmi_f34v7_enter_flash_prog(struct f34_data *f34)
{}

int rmi_f34v7_start_reflash(struct f34_data *f34, const struct firmware *fw)
{}

int rmi_f34v7_probe(struct f34_data *f34)
{}