dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
40 lines
787 B
C
40 lines
787 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (c) 2018 Vincent Pelletier
|
|
*/
|
|
/*
|
|
*/
|
|
#ifndef __CCID_H
|
|
#define __CCID_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define USB_INTERFACE_CLASS_CCID 0x0b
|
|
|
|
struct ccid_descriptor {
|
|
__u8 bLength;
|
|
__u8 bDescriptorType;
|
|
__le16 bcdCCID;
|
|
__u8 bMaxSlotIndex;
|
|
__u8 bVoltageSupport;
|
|
__le32 dwProtocols;
|
|
__le32 dwDefaultClock;
|
|
__le32 dwMaximumClock;
|
|
__u8 bNumClockSupported;
|
|
__le32 dwDataRate;
|
|
__le32 dwMaxDataRate;
|
|
__u8 bNumDataRatesSupported;
|
|
__le32 dwMaxIFSD;
|
|
__le32 dwSynchProtocols;
|
|
__le32 dwMechanical;
|
|
__le32 dwFeatures;
|
|
__le32 dwMaxCCIDMessageLength;
|
|
__u8 bClassGetResponse;
|
|
__u8 bClassEnvelope;
|
|
__le16 wLcdLayout;
|
|
__u8 bPINSupport;
|
|
__u8 bMaxCCIDBusySlots;
|
|
} __attribute__ ((packed));
|
|
|
|
#endif /* __CCID_H */
|