Enum libamdgpu_top::AMDGPU::HwId

source ·
#[repr(isize)]
pub enum HwId {
Show 77 variants MP1 = 1, MP2 = 2, THM = 3, SMUIO = 4, FUSE = 5, CLKA = 6, PWR = 10, GC = 11, UVD = 12, AUDIO_AZ = 13, ACP = 14, DCI = 15, DMU = 271, DCO = 16, DIO = 272, XDMA = 17, DCEAZ = 18, DAZ = 274, SDPMUX = 19, NTB = 20, IOHC = 24, L2IMU = 28, VCE = 32, MMHUB = 34, ATHUB = 35, DBGU_NBIO = 36, DFX = 37, DBGU0 = 38, DBGU1 = 39, OSSSYS = 40, HDP = 41, SDMA0 = 42, SDMA1 = 43, ISP = 44, DBGU_IO = 45, DF = 46, CLKB = 47, FCH = 48, DFX_DAP = 49, L1IMU_PCIE = 50, L1IMU_NBIF = 51, L1IMU_IOAGR = 52, L1IMU3 = 53, L1IMU4 = 54, L1IMU5 = 55, L1IMU6 = 56, L1IMU7 = 57, L1IMU8 = 58, L1IMU9 = 59, L1IMU10 = 60, L1IMU11 = 61, L1IMU12 = 62, L1IMU13 = 63, L1IMU14 = 64, L1IMU15 = 65, WAFLC = 66, FCH_USB_PD = 67, SDMA2 = 68, SDMA3 = 69, PCIE = 70, PCS = 80, DDCL = 89, SST = 90, LSDMA = 91, IOAGR = 100, NBIF = 108, IOAPIC = 124, SYSTEMHUB = 128, NTBCCP = 144, UMC = 150, SATA = 168, USB = 170, CCXSEC = 176, XGMI = 200, XGBE = 216, MP0 = 255, Unknown(isize),
}

Variants§

§

MP1 = 1

§

MP2 = 2

§

THM = 3

§

SMUIO = 4

§

FUSE = 5

§

CLKA = 6

§

PWR = 10

§

GC = 11

§

UVD = 12

§

AUDIO_AZ = 13

§

ACP = 14

§

DCI = 15

§

DMU = 271

§

DCO = 16

§

DIO = 272

§

XDMA = 17

§

DCEAZ = 18

§

DAZ = 274

§

SDPMUX = 19

§

NTB = 20

§

IOHC = 24

§

L2IMU = 28

§

VCE = 32

§

MMHUB = 34

§

ATHUB = 35

§

DBGU_NBIO = 36

§

DFX = 37

§

DBGU0 = 38

§

DBGU1 = 39

§

OSSSYS = 40

§

HDP = 41

§

SDMA0 = 42

§

SDMA1 = 43

§

ISP = 44

§

DBGU_IO = 45

§

DF = 46

§

CLKB = 47

§

FCH = 48

§

DFX_DAP = 49

§

L1IMU_PCIE = 50

§

L1IMU_NBIF = 51

§

L1IMU_IOAGR = 52

§

L1IMU3 = 53

§

L1IMU4 = 54

§

L1IMU5 = 55

§

L1IMU6 = 56

§

L1IMU7 = 57

§

L1IMU8 = 58

§

L1IMU9 = 59

§

L1IMU10 = 60

§

L1IMU11 = 61

§

L1IMU12 = 62

§

L1IMU13 = 63

§

L1IMU14 = 64

§

L1IMU15 = 65

§

WAFLC = 66

§

FCH_USB_PD = 67

§

SDMA2 = 68

§

SDMA3 = 69

§

PCIE = 70

§

PCS = 80

§

DDCL = 89

§

SST = 90

§

LSDMA = 91

§

IOAGR = 100

§

NBIF = 108

§

IOAPIC = 124

§

SYSTEMHUB = 128

§

NTBCCP = 144

§

UMC = 150

§

SATA = 168

§

USB = 170

§

CCXSEC = 176

§

XGMI = 200

§

XGBE = 216

§

MP0 = 255

§

Unknown(isize)

Trait Implementations§

source§

impl Clone for HwId

source§

fn clone(&self) -> HwId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HwId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for HwId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<isize> for HwId

source§

fn from(hw_id: isize) -> HwId

Converts to this type from the input type.
source§

impl Hash for HwId

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for HwId

source§

fn eq(&self, other: &HwId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for HwId

source§

impl Eq for HwId

source§

impl StructuralPartialEq for HwId

Auto Trait Implementations§

§

impl Freeze for HwId

§

impl RefUnwindSafe for HwId

§

impl Send for HwId

§

impl Sync for HwId

§

impl Unpin for HwId

§

impl UnwindSafe for HwId

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.