z/Architecture CCW device identification database. More...
Data Structures | |
| struct | arch::s390x::css::devmatch::detail::dev_entry |
| Single entry in the device-type or control-unit-type table. More... | |
| struct | arch::s390x::css::devmatch::match_result |
| Result of a device lookup. More... | |
Enumerations | |
| enum class | arch::s390x::css::devmatch::detail::dev_class : u8 { console , display , dasd_eckd , dasd_fba , tape , printer , reader , punch , network , crypto , ctc , virtio , unknown } |
| Device class — broad categorization for policy/driver binding. More... | |
Functions | |
| constexpr auto | arch::s390x::css::devmatch::class_name (dev_class cls) noexcept -> std::string_view |
| Get a human-readable name for a device class. | |
| constexpr auto | arch::s390x::css::devmatch::cu_class_of (u16 cu_type) noexcept -> dev_class |
| Get the device class for a control-unit type. | |
| constexpr auto | arch::s390x::css::devmatch::device_class_of (u16 dev_type) noexcept -> dev_class |
| Get the device class for a device type. | |
| constexpr auto | arch::s390x::css::devmatch::lookup_cu (u16 cu_type) noexcept -> std::string_view |
| Look up a control-unit type by its IBM 4-digit code. | |
| constexpr auto | arch::s390x::css::devmatch::lookup_device (u16 dev_type) noexcept -> std::string_view |
| Look up a device type by its IBM 4-digit code. | |
| constexpr auto | arch::s390x::css::devmatch::match (u16 dev_type, u16 cu_type) noexcept -> match_result |
| Combined lookup: match both device type and control-unit type. | |
Variables | |
| constexpr std::string_view | arch::s390x::css::devmatch::detail::class_names [] |
| constexpr dev_entry | arch::s390x::css::devmatch::detail::cu_types [] |
| constexpr dev_entry | arch::s390x::css::devmatch::detail::device_types [] |
| constexpr u32 | arch::s390x::css::devmatch::detail::NUM_CU_TYPES |
| constexpr u32 | arch::s390x::css::devmatch::detail::NUM_DEVICE_TYPES |
z/Architecture CCW device identification database.
SPDX-License-Identifier: Apache-2.0
|
strong |
Device class — broad categorization for policy/driver binding.
|
nodiscardconstexprexportnoexcept |
Look up a control-unit type by its IBM 4-digit code.
|
nodiscardconstexprexportnoexcept |
Look up a device type by its IBM 4-digit code.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |