Lines Matching full:gpe
29 * DESCRIPTION: Complete GPE initialization and enable all GPEs that have
37 * after the system _PRW methods have been run, but also after a GPE Block
38 * Device has been added or if any new GPE methods have been added via a
83 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
84 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
88 * DESCRIPTION: Add a reference to a GPE. On the first reference, the GPE is in ACPI_EXPORT_SYMBOL()
103 * Ensure that we have a valid GPE number and that there is some way in ACPI_EXPORT_SYMBOL()
104 * of handling the GPE (handler or a GPE method). In other words, we in ACPI_EXPORT_SYMBOL()
105 * won't allow a valid GPE to be enabled if there is no way to handle it. in ACPI_EXPORT_SYMBOL()
137 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
138 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
142 * DESCRIPTION: Remove a reference to a GPE. When the last reference is in ACPI_EXPORT_SYMBOL()
143 * removed, only then is the GPE disabled (for runtime GPEs), or in ACPI_EXPORT_SYMBOL()
144 * the GPE mask bit disabled (for wake GPEs) in ACPI_EXPORT_SYMBOL()
158 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
175 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
176 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
181 * DESCRIPTION: Enable or disable an individual GPE. This function bypasses in ACPI_EXPORT_SYMBOL()
184 * This API is typically used by the GPE raw handler mode driver in ACPI_EXPORT_SYMBOL()
186 * the driver has enabled the GPE. in ACPI_EXPORT_SYMBOL()
193 * Note: If a GPE is shared by 2 silicon components, then both the drivers in ACPI_EXPORT_SYMBOL()
194 * should support GPE polling mode or disabling the GPE for long period in ACPI_EXPORT_SYMBOL()
196 * firmware _Lxx/_Exx handlers currently rely on the GPE interrupt mode. in ACPI_EXPORT_SYMBOL()
209 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
249 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
250 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
251 * is_masked - Whether the GPE is masked or not in ACPI_EXPORT_SYMBOL()
255 * DESCRIPTION: Unconditionally mask/unmask the an individual GPE, ex., to in ACPI_EXPORT_SYMBOL()
256 * prevent a GPE flooding. in ACPI_EXPORT_SYMBOL()
269 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
290 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
291 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
295 * DESCRIPTION: Mark a GPE as having the ability to wake the system. Simply in ACPI_EXPORT_SYMBOL()
300 * from the given GPE (one example is a button GPE in Linux). For these cases, in ACPI_EXPORT_SYMBOL()
302 * This will set the ACPI_GPE_CAN_WAKE flag for the GPE without trying to in ACPI_EXPORT_SYMBOL()
316 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
321 /* Mark the GPE as a possible wake event */ in ACPI_EXPORT_SYMBOL()
337 * PARAMETERS: wake_device - Device associated with the GPE (via _PRW) in ACPI_EXPORT_SYMBOL()
338 * gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
339 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
343 * DESCRIPTION: Mark a GPE as having the ability to wake the system. This in ACPI_EXPORT_SYMBOL()
347 * contains the info for the wake GPE associated with the in ACPI_EXPORT_SYMBOL()
401 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
410 * If there is no method or handler for this GPE, then the in ACPI_EXPORT_SYMBOL()
411 * wake_device will be notified whenever this GPE fires. This is in ACPI_EXPORT_SYMBOL()
412 * known as an "implicit notify". Note: The GPE is assumed to be in ACPI_EXPORT_SYMBOL()
418 * This is the first device for implicit notify on this GPE. in ACPI_EXPORT_SYMBOL()
425 * A reference to this GPE has been added during the GPE block in ACPI_EXPORT_SYMBOL()
426 * initialization, so drop it now to prevent the GPE from being in ACPI_EXPORT_SYMBOL()
434 * If we already have an implicit notify on this GPE, add in ACPI_EXPORT_SYMBOL()
451 /* Add this device to the notify list for this GPE */ in ACPI_EXPORT_SYMBOL()
459 /* Mark the GPE as a possible wake event */ in ACPI_EXPORT_SYMBOL()
480 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
481 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
486 * DESCRIPTION: Set or clear the GPE's wakeup enable mask bit. The GPE must in ACPI_EXPORT_SYMBOL()
487 * already be marked as a WAKE GPE. in ACPI_EXPORT_SYMBOL()
505 * Ensure that we have a valid GPE number and that this GPE is in in ACPI_EXPORT_SYMBOL()
506 * fact a wake GPE in ACPI_EXPORT_SYMBOL()
560 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
561 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
578 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
599 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
600 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
606 * DESCRIPTION: Get the current status of a GPE (signalled/not_signalled) in ACPI_EXPORT_SYMBOL()
621 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
629 /* Obtain status on the requested GPE number */ in ACPI_EXPORT_SYMBOL()
644 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
645 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
666 * PARAMETERS: gpe_device - Namespace node for the GPE Block in ACPI_EXPORT_SYMBOL()
668 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
672 * DESCRIPTION: Clear and conditionally re-enable a GPE. This completes the GPE in ACPI_EXPORT_SYMBOL()
674 * GPE handlers. The GPE is only re-enabled if the enable_for_run bit in ACPI_EXPORT_SYMBOL()
675 * is set in the GPE info. in ACPI_EXPORT_SYMBOL()
688 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
713 * DESCRIPTION: Disable and clear all GPEs in all GPE blocks in ACPI_EXPORT_SYMBOL()
744 * DESCRIPTION: Enable all "runtime" GPEs, in all GPE blocks in ACPI_EXPORT_SYMBOL()
776 * all GPE blocks. in ACPI_EXPORT_SYMBOL()
802 * PARAMETERS: gpe_skip_number - Number of the GPE to skip in ACPI_EXPORT_SYMBOL()
804 * RETURN: Whether or not the status bit is set for any GPE in ACPI_EXPORT_SYMBOL()
841 * PARAMETERS: gpe_device - Handle to the parent GPE Block Device in ACPI_EXPORT_SYMBOL()
843 * register_count - Number of GPE register pairs in the block in ACPI_EXPORT_SYMBOL()
848 * DESCRIPTION: Create and Install a block of GPE registers. The GPEs are not in ACPI_EXPORT_SYMBOL()
892 * For user-installed GPE Block Devices, the gpe_block_base_number in ACPI_EXPORT_SYMBOL()
930 /* Now install the GPE block in the device_object */ in ACPI_EXPORT_SYMBOL()
945 * PARAMETERS: gpe_device - Handle to the parent GPE Block Device in ACPI_EXPORT_SYMBOL()
949 * DESCRIPTION: Remove a previously installed block of GPE registers in ACPI_EXPORT_SYMBOL()
989 /* Delete the GPE block (but not the device_object) */ in ACPI_EXPORT_SYMBOL()
1007 * PARAMETERS: index - System GPE index (0-current_gpe_count) in ACPI_EXPORT_SYMBOL()
1008 * gpe_device - Where the parent GPE Device is returned in ACPI_EXPORT_SYMBOL()
1012 * DESCRIPTION: Obtain the GPE device associated with the input index. A NULL in ACPI_EXPORT_SYMBOL()
1013 * gpe device indicates that the gpe number is contained in one of in ACPI_EXPORT_SYMBOL()
1014 * the FADT-defined gpe blocks. Otherwise, the GPE block device. in ACPI_EXPORT_SYMBOL()
1032 /* Setup and walk the GPE list */ in ACPI_EXPORT_SYMBOL()