#include <linux/delay.h>
#include <linux/suspend.h>
#include "nhi.h"
#include "nhi_regs.h"
#include "tb.h"
#define ICL_LC_MAILBOX_TIMEOUT …
static int check_for_device(struct device *dev, void *data)
{ … }
static bool icl_nhi_is_device_connected(struct tb_nhi *nhi)
{ … }
static int icl_nhi_force_power(struct tb_nhi *nhi, bool power)
{ … }
static void icl_nhi_lc_mailbox_cmd(struct tb_nhi *nhi, enum icl_lc_mailbox_cmd cmd)
{ … }
static int icl_nhi_lc_mailbox_cmd_complete(struct tb_nhi *nhi, int timeout)
{ … }
static void icl_nhi_set_ltr(struct tb_nhi *nhi)
{ … }
static int icl_nhi_suspend(struct tb_nhi *nhi)
{ … }
static int icl_nhi_suspend_noirq(struct tb_nhi *nhi, bool wakeup)
{ … }
static int icl_nhi_resume(struct tb_nhi *nhi)
{ … }
static void icl_nhi_shutdown(struct tb_nhi *nhi)
{ … }
const struct tb_nhi_ops icl_nhi_ops = …;