fwupd/plugins/thunderbolt/fu-thunderbolt-device.h
Kranthi Kuntala de1f971e14 thunderbolt: set ports offline on host controller
This change offline ports in the host controller
for retimers to enumerate in the NDA case.

-offline and rescan usb4 ports
-this enable enumeration of the retimers
-updates nvm to the enumerated retimers
-online usb4 port this will de-enumerate retimers

BUG=b:187506425
TEST=emerge-volteer fwupd

Signed-off-by: Kranthi Kuntala <kranthi.kuntala@intel.corp-partner.google.com>
2021-12-07 15:54:30 +00:00

24 lines
565 B
C

/*
* Copyright (C) 2018 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2020 Mario Limonciello <mario.limonciello@dell.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <fwupdplugin.h>
#define FU_TYPE_THUNDERBOLT_DEVICE (fu_thunderbolt_device_get_type())
G_DECLARE_FINAL_TYPE(FuThunderboltDevice,
fu_thunderbolt_device,
FU,
THUNDERBOLT_DEVICE,
FuUdevDevice)
gboolean
fu_thunderbolt_probe_retimer(FuDevice *device, GError **error);
gboolean
fu_thunderbolt_device_close(FuDevice *device, GError **error);