linux/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * AMD MP2 1.1 communication interfaces
 *
 * Copyright (c) 2022, Advanced Micro Devices, Inc.
 * All Rights Reserved.
 *
 * Author: Basavaraj Natikar <[email protected]>
 */

#ifndef AMD_SFH_INTERFACE_H
#define AMD_SFH_INTERFACE_H

#include "../amd_sfh_common.h"

#define SENSOR_DATA_MEM_SIZE_DEFAULT
#define TOTAL_STATIC_MEM_DEFAULT
#define OFFSET_SFH_INFO_BASE_DEFAULT
#define OFFSET_SENSOR_DATA_DEFAULT
enum sensor_index {};

struct sfh_cmd_base {};

struct sfh_cmd_response {};

struct sfh_platform_info {};

struct sfh_firmware_info {};

struct sfh_sensor_list {};

struct sfh_sensor_prop {};

struct sfh_base_info {};

struct sfh_common_data {};

struct sfh_float32 {};

struct sfh_accel_data {};

struct sfh_gyro_data {};

struct sfh_mag_data {};

struct sfh_als_data {};

struct hpd_status {};

void sfh_interface_init(struct amd_mp2_dev *mp2);
void sfh_deinit_emp2(void);
void amd_sfh1_1_set_desc_ops(struct amd_mp2_ops *mp2_ops);
int amd_sfh_float_to_int(u32 flt32_val);
#endif