linux/drivers/hid/amd-sfh-hid/amd_sfh_hid.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * AMD MP2 Sensors transport driver
 *
 * Copyright 2020-2021 Advanced Micro Devices, Inc.
 * Authors: Nehal Bakulchandra Shah <[email protected]>
 *	    Sandeep Singh <[email protected]>
 *	    Basavaraj Natikar <[email protected]>
 */
#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

/**
 * amdtp_hid_parse() - hid-core .parse() callback
 * @hid:	hid device instance
 *
 * This function gets called during call to hid_add_device
 *
 * Return: 0 on success and non zero on error
 */
static int amdtp_hid_parse(struct hid_device *hid)
{}

/* Empty callbacks with success return code */
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)
{}