Searched refs:MINOR_SHIFT (Results 1 – 2 of 2) sorted by relevance
240 #define MINOR_SHIFT 8 macro241 #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)
20 #define MINOR_SHIFT 8 macro21 #define MINOR2TYPE(minor) ((minor) >> MINOR_SHIFT)