#include <linux/hid.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include "amd_sfh_hid.h"
#include "amd_sfh_pcie.h"
#define AMD_SFH_RESPONSE_TIMEOUT …
static int amdtp_hid_parse(struct hid_device *hid)
{ … }
static int amdtp_hid_start(struct hid_device *hid)
{ … }
static void amdtp_hid_stop(struct hid_device *hid)
{ … }
static int amdtp_hid_open(struct hid_device *hid)
{ … }
static void amdtp_hid_close(struct hid_device *hid)
{ … }
static int amdtp_raw_request(struct hid_device *hdev, u8 reportnum,
u8 *buf, size_t len, u8 rtype, int reqtype)
{ … }
static void amdtp_hid_request(struct hid_device *hid, struct hid_report *rep, int reqtype)
{ … }
static int amdtp_wait_for_response(struct hid_device *hid)
{ … }
void amdtp_hid_wakeup(struct hid_device *hid)
{ … }
static const struct hid_ll_driver amdtp_hid_ll_driver = …;
int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data)
{ … }
void amdtp_hid_remove(struct amdtp_cl_data *cli_data)
{ … }