search for: hv_device_id

Displaying 1 result from an estimated 1 matches for "hv_device_id".

Did you mean: _device_id
2020 Sep 15
0
[PATCH RFC v1 13/18] asm-generic/hyperv: introduce hv_device_id and auxiliary structures
...t16; > + > + struct { > + u8 function:3; > + u8 device:5; > + u8 bus; > + }; > +} __packed; > + > +union hv_pci_bus_range { > + u16 as_uint16; > + > + struct { > + u8 subordinate_bus; > + u8 secondary_bus; > + }; > +} __packed; > + > +union hv_device_id { > + u64 as_uint64; > + > + struct { > + u64 :62; > + u64 device_type:2; > + }; > + > + // HV_DEVICE_TYPE_LOGICAL Nit: please no '//' comments. > + struct { > + u64 id:62; > + u64 device_type:2; > + } logical; > + > + // HV_DEVICE_TYPE_PCI &g...