mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 13:41:12 +00:00
25 lines
670 B
C
25 lines
670 B
C
/*
|
|
* Copyright (C) 2021 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>
|
|
|
|
/**
|
|
* FU_THUNDERBOLT_DEVICE_FLAG_FORCE_ENUMERATION:
|
|
*
|
|
* Forces composite device components to be enumerated.
|
|
*/
|
|
#define FU_THUNDERBOLT_DEVICE_FLAG_FORCE_ENUMERATION (1ull << 1)
|
|
|
|
gboolean
|
|
fu_thunderbolt_udev_set_port_online(FuUdevDevice *device, GError **error);
|
|
gboolean
|
|
fu_thunderbolt_udev_set_port_offline(FuUdevDevice *device, GError **error);
|
|
guint16
|
|
fu_thunderbolt_udev_get_attr_uint16(FuUdevDevice *device, const gchar *name, GError **error);
|