mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-12 19:34:28 +00:00
42 lines
1.2 KiB
C
42 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2016 Mario Limonciello <mario.limonciello@dell.com>
|
|
* Copyright (C) 2017 Peichen Huang <peichenhuang@tw.synaptics.com>
|
|
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <glib.h>
|
|
|
|
/**
|
|
* FuSynapticsmstMode:
|
|
* @FU_SYNAPTICSMST_MODE_UNKNOWN: Type invalid or not known
|
|
* @FU_SYNAPTICSMST_MODE_DIRECT: Directly addressable
|
|
* @FU_SYNAPTICSMST_MODE_REMOTE: Requires remote register work
|
|
*
|
|
* The device type.
|
|
**/
|
|
typedef enum {
|
|
FU_SYNAPTICSMST_MODE_UNKNOWN,
|
|
FU_SYNAPTICSMST_MODE_DIRECT,
|
|
FU_SYNAPTICSMST_MODE_REMOTE,
|
|
/*< private >*/
|
|
FU_SYNAPTICSMST_MODE_LAST
|
|
} FuSynapticsmstMode;
|
|
|
|
typedef enum {
|
|
FU_SYNAPTICSMST_FAMILY_UNKNOWN,
|
|
FU_SYNAPTICSMST_FAMILY_TESLA,
|
|
FU_SYNAPTICSMST_FAMILY_LEAF,
|
|
FU_SYNAPTICSMST_FAMILY_PANAMERA,
|
|
/*<private >*/
|
|
FU_SYNAPTICSMST_FAMILY_LAST
|
|
} FuSynapticsmstFamily;
|
|
|
|
FuSynapticsmstMode fu_synapticsmst_mode_from_string (const gchar *mode);
|
|
const gchar *fu_synapticsmst_mode_to_string (FuSynapticsmstMode mode);
|
|
const gchar *fu_synapticsmst_family_to_string (FuSynapticsmstFamily family);
|
|
FuSynapticsmstFamily fu_synapticsmst_family_from_chip_id (guint16 chip_id);
|