#include <linux/amd-pmf-io.h>
#include <linux/io-64-nonatomic-lo-hi.h>
#include <linux/iopoll.h>
#include "amd_sfh_interface.h"
static struct amd_mp2_dev *emp2;
static int amd_sfh_wait_response(struct amd_mp2_dev *mp2, u8 sid, u32 cmd_id)
{ … }
static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info)
{ … }
static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx)
{ … }
static void amd_stop_all_sensor(struct amd_mp2_dev *privdata)
{ … }
static struct amd_mp2_ops amd_sfh_ops = …;
void sfh_deinit_emp2(void)
{ … }
void sfh_interface_init(struct amd_mp2_dev *mp2)
{ … }
static int amd_sfh_hpd_info(u8 *user_present)
{ … }
static int amd_sfh_als_info(u32 *ambient_light)
{ … }
int amd_get_sfh_info(struct amd_sfh_info *sfh_info, enum sfh_message_type op)
{ … }
EXPORT_SYMBOL_GPL(…);