Home
last modified time | relevance | path

Searched refs:MINOR_SHIFT (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dacpi_drv.h240 #define MINOR_SHIFT 8 macro
241 #define IDX_MASK ((1 << MINOR_SHIFT) - 1)
242 #define MINOR_BATT(idx) (ACPI_DRV_TYPE_CBAT << MINOR_SHIFT | \
244 #define MINOR_AC(idx) (ACPI_DRV_TYPE_AC << MINOR_SHIFT | \
246 #define MINOR_LID(idx) (ACPI_DRV_TYPE_LID << MINOR_SHIFT | \
248 #define MINOR_HOTKEY(idx) (ACPI_DRV_TYPE_HOTKEY << MINOR_SHIFT \
251 #define MINOR2TYPE(minor) ((minor) >> MINOR_SHIFT)
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.h20 #define MINOR_SHIFT 8 macro
21 #define MINOR2TYPE(minor) ((minor) >> MINOR_SHIFT)