Home
last modified time | relevance | path

Searched full:gpe (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/sys/contrib/dev/acpica/components/events/
H A Devxfgpe.c172 * DESCRIPTION: Complete GPE initialization and enable all GPEs that have
180 * after the system _PRW methods have been run, but also after a GPE Block
181 * Device has been added or if any new GPE methods have been added via a
234 * PARAMETERS: GpeDevice - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
235 * GpeNumber - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
239 * DESCRIPTION: Add a reference to a GPE. On the first reference, the GPE is in ACPI_EXPORT_SYMBOL()
260 * Ensure that we have a valid GPE number and that there is some way in ACPI_EXPORT_SYMBOL()
261 * of handling the GPE (handler or a GPE method). In other words, we in ACPI_EXPORT_SYMBOL()
262 * won't allow a valid GPE to be enabled if there is no way to handle it. in ACPI_EXPORT_SYMBOL()
299 * PARAMETERS: GpeDevice - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
[all …]
H A Devgpe.c177 * PARAMETERS: GpeEventInfo - GPE to update
181 * DESCRIPTION: Updates GPE register enable mask based upon whether there are
182 * runtime references to this GPE
209 /* Set the mask bit only if there are references to this GPE */ in AcpiEvUpdateGpeEnableMask()
225 * PARAMETERS: GpeEventInfo - GPE to enable
229 * DESCRIPTION: Enable a GPE.
243 /* Enable the requested GPE */ in AcpiEvEnableGpe()
254 * PARAMETERS: GpeEventInfo - GPE to be blocked/unblocked
255 * IsMasked - Whether the GPE is masked or not
259 * DESCRIPTION: Unconditionally mask/unmask a GPE during runtime.
[all …]
H A Devgpeinit.c3 * Module Name: evgpeinit - System GPE initialization and update
165 * Originally (2000 - 2010), the GPE initialization code performed a walk of
187 * DESCRIPTION: Initialize the GPE data structures and the FADT GPE 0/1 blocks
214 * Initialize the GPE Block(s) defined in the FADT in AcpiEvGpeInitialize()
216 * Why the GPE register block lengths are divided by 2: From the ACPI in AcpiEvGpeInitialize()
230 * Determine the maximum GPE number for this machine. in AcpiEvGpeInitialize()
241 /* GPE block 0 exists (has both length and address > 0) */ in AcpiEvGpeInitialize()
246 /* Install GPE Block 0 */ in AcpiEvGpeInitialize()
257 "Could not create GPE Block 0")); in AcpiEvGpeInitialize()
264 /* GPE block 1 exists (has both length and address > 0) */ in AcpiEvGpeInitialize()
[all …]
H A Devgpeblk.c3 * Module Name: evgpeblk - GPE block creation and initialization.
178 * PARAMETERS: GpeBlock - New GPE block
180 * GPE block
184 * DESCRIPTION: Install new GPE block with mutex support
247 * PARAMETERS: GpeBlock - Existing GPE block
251 * DESCRIPTION: Remove a GPE block
330 * PARAMETERS: GpeBlock - New GPE block
334 * DESCRIPTION: Create the RegisterInfo and EventInfo blocks for this GPE block
354 /* Allocate the GPE register information block */ in AcpiEvCreateGpeInfoBlocks()
367 * Allocate the GPE EventInfo block. There are eight distinct GPEs in AcpiEvCreateGpeInfoBlocks()
[all …]
H A Devgpeutil.c3 * Module Name: evgpeutil - GPE utilities
165 * PARAMETERS: GpeWalkCallback - Routine called for each GPE block
170 * DESCRIPTION: Walk the GPE lists.
195 /* Walk all Gpe Blocks attached to this interrupt level */ in AcpiEvWalkGpeList()
200 /* One callback per GPE block */ in AcpiEvWalkGpeList()
232 * DESCRIPTION: Matches the input GPE index (0-CurrentGpeCount) with a GPE
233 * block device. NULL if the GPE is one of the FADT-defined GPEs.
253 * The GPE index is within this block, get the node. Leave the node in AcpiEvGetGpeDevice()
273 * PARAMETERS: InterruptNumber - Interrupt for a GPE block
278 * DESCRIPTION: Get or Create a GPE interrupt block. There is one interrupt
[all …]
H A Devxface.c189 * Context - Value passed to the handler on each GPE
748 * is invoked upon each incoming GPE and Fixed Event. It is in ACPI_EXPORT_SYMBOL()
805 * Context - Value passed to the handler on each GPE in ACPI_EXPORT_SYMBOL()
950 * PARAMETERS: GpeDevice - Namespace node for the GPE (NULL for FADT in ACPI_EXPORT_SYMBOL()
952 * GpeNumber - The GPE number within the GPE block in ACPI_EXPORT_SYMBOL()
953 * Type - Whether this GPE should be treated as an in ACPI_EXPORT_SYMBOL()
955 * IsRawHandler - Whether this GPE should be handled using in ACPI_EXPORT_SYMBOL()
956 * the special GPE handler mode. in ACPI_EXPORT_SYMBOL()
958 * Context - Value passed to the handler on each GPE in ACPI_EXPORT_SYMBOL()
1009 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL()
[all …]
H A Devmisc.c400 /* Disable all GPEs in all GPE blocks */ in AcpiEvTerminate()
406 "Could not disable GPEs in GPE block")); in AcpiEvTerminate()
428 /* Deallocate all handler objects installed within GPE info structs */ in AcpiEvTerminate()
434 "Could not delete GPE handlers")); in AcpiEvTerminate()
/freebsd/contrib/diff/
H A DABOUT-NLS231 gpe-aerial | [] |
232 gpe-beam | [] [] |
233 gpe-calendar | [] [] |
234 gpe-clock | [] [] |
235 gpe-conf | [] [] |
236 gpe-contacts | [] [] |
237 gpe-edit | [] |
238 gpe-go | [] |
239 gpe-login | [] [] |
240 gpe-ownerinfo | [] [] |
[all …]
/freebsd/sys/contrib/dev/acpica/components/hardware/
H A Dhwgpe.c3 * Module Name: hwgpe - Low level GPE enable/disable/clear functions
179 * PARAMETERS: GpeEventInfo - Info block for the GPE
181 * RETURN: Register mask with a one in the GPE bit position
183 * DESCRIPTION: Compute the register mask for this GPE. One bit is set in the
184 * correct position for the input GPE.
202 * PARAMETERS: GpeEventInfo - Info block for the GPE to be disabled
207 * DESCRIPTION: Enable or disable a single GPE in the parent enable register.
208 * The EnableMask field of the involved GPE register must be
227 /* Get the info block for the entire GPE register */ in AcpiHwLowSetGpe()
235 /* Get current value of the enable register that contains this GPE */ in AcpiHwLowSetGpe()
[all …]
/freebsd/sys/contrib/device-tree/src/mips/ingenic/
H A Dgcw0.dts44 gpio = <&gpe 9 0>;
139 gpios = <&gpe 21 GPIO_ACTIVE_LOW>;
146 gpios = <&gpe 25 GPIO_ACTIVE_LOW>;
153 gpios = <&gpe 23 GPIO_ACTIVE_LOW>;
160 gpios = <&gpe 24 GPIO_ACTIVE_LOW>;
167 gpios = <&gpe 29 GPIO_ACTIVE_LOW>;
174 gpios = <&gpe 20 GPIO_ACTIVE_LOW>;
181 gpios = <&gpe 27 GPIO_ACTIVE_LOW>;
188 gpios = <&gpe 28 GPIO_ACTIVE_LOW>;
202 gpios = <&gpe 26 GPIO_ACTIVE_LOW>;
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Ds3c64xx-pinctrl.dtsi47 gpe: gpe-gpio-bank { label
341 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
347 samsung,pins = "gpe-1";
380 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
386 samsung,pins = "gpe-1";
398 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
/freebsd/sys/dev/atopcase/
H A Datopcase_acpi.c70 * ACPI GPE is enabled on FreeBSD by addition of following lines to
160 DPRINTFN(ATOPCASE_LLEVEL_DEBUG, "GPE event\n"); in atopcase_acpi_gpe_task()
166 /* Rearm GPE */ in atopcase_acpi_gpe_task()
168 device_printf(sc->sc_dev, "GPE rearm failed\n"); in atopcase_acpi_gpe_task()
284 * triggering. GPE does not suffer from this problem. in atopcase_acpi_attach()
315 device_printf(dev, "can't allocate nor IRQ nor GPE\n"); in atopcase_acpi_attach()
320 device_printf(dev, "can't install ACPI GPE handler\n"); in atopcase_acpi_attach()
327 device_printf(dev, "Using ACPI GPE.\n"); in atopcase_acpi_attach()
329 device_printf(dev, "GPE int %d\n", sc->sc_gpe_bit); in atopcase_acpi_attach()
364 device_printf(dev, "can't remove ACPI GPE handler\n"); in atopcase_acpi_detach()
/freebsd/contrib/tcpdump/
H A Dprint-vxlan-gpe.c24 /* \summary: Generic Protocol Extension for VXLAN (VXLAN GPE) printer */
26 /* specification: draft-ietf-nvo3-vxlan-gpe-10 */
47 * VXLAN GPE header, draft-ietf-nvo3-vxlan-gpe-01
67 ND_PRINT("VXLAN-GPE, "); in vxlan_gpe_print()
/freebsd/sys/contrib/dev/acpica/include/
H A Daclocal.h623 /* Dispatch info for each GPE -- either a method or handler, cannot be both */
629 ACPI_NAMESPACE_NODE *MethodNode; /* Method node for this GPE level (saved) */
630 UINT8 OriginalFlags; /* Original (pre-handler) GPE info */
631 BOOLEAN OriginallyEnabled; /* True if GPE was originally enabled */
645 * GPE dispatch info. At any time, the GPE can have at most one type
650 ACPI_NAMESPACE_NODE *MethodNode; /* Method node for this GPE level */
651 ACPI_GPE_HANDLER_INFO *Handler; /* Installed GPE handler */
657 * Information about a GPE, one per each GPE in an array.
664 UINT8 Flags; /* Misc info about this GPE */
665 UINT8 GpeNumber; /* This GPE */
[all …]
H A Dacevents.h157 * Conditions to trigger post enabling GPE polling:
158 * It is not sufficient to trigger edge-triggered GPE with specific GPE
227 * evgpe - Low-level GPE support
277 * evgpeblk - Upper-level GPE block support
308 * evgpeinit - GPE initialization and update
328 * evgpeutil - GPE utilities
/freebsd/sys/dev/acpica/Osd/
H A DOsdSchedule.c187 * This function may be called in interrupt context, i.e. when a GPE fires.
207 * Notifies that are generated by running a GPE's method (e.g., _L00) in AcpiOsExecute()
208 * to not be pre-empted by a later GPE that arrives during the in AcpiOsExecute()
/freebsd/sys/contrib/dev/acpica/
H A Dchanges.txt1243 checking if the given GPE (as represented by a GPE device handle and a
1244 GPE number) is currently active and dispatching it (if that's the case)
1318 In the former case, if the status of a given GPE is set to start with,
1320 of the events (possibly) signaled before the GPE was enabled. In the
1321 latter case, however, the first caller of AcpiEnableGpe() for a given GPE
1324 the GPE before enabling it, to prevent stale events from triggering
1328 boolean argument indicating whether or not the GPE status needs to be
1778 Updated the GPE support to clear the status of all ACPI events when
2123 Implemented various improvements to the GPE support:
2131 4) Add parallel GPE handling to eliminate the possibility of dispatching
[all …]
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbdisply.c946 * DESCRIPTION: Display the current GPE structures
975 /* Walk the GPE lists */ in AcpiDbDisplayGpes()
992 GpeType = "FADT-defined GPE block"; in AcpiDbDisplayGpes()
996 GpeType = "GPE Block Device"; in AcpiDbDisplayGpes()
1008 " GPE range: 0x%X to 0x%X on interrupt %u\n", in AcpiDbDisplayGpes()
1023 /* Examine each GPE Register within the block */ in AcpiDbDisplayGpes()
1030 " Reg %u: (GPE %.2X-%.2X) " in AcpiDbDisplayGpes()
1053 /* This GPE is not used (no method or handler), ignore it */ in AcpiDbDisplayGpes()
1059 " GPE %.2X: %p RunRefs %2.2X Flags %2.2X (", in AcpiDbDisplayGpes()
/freebsd/sys/contrib/device-tree/Bindings/display/panel/
H A Dfocaltech,gpt3.yaml45 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dauo,a030jtn01.yaml49 reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
H A Dleadtek,ltk035c5444t.yaml49 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dinnolux,ej030na.yaml50 reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
H A Dfascontek,fs035vg158.yaml48 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dkingdisplay,kd035g6-54nt.yaml52 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dabt,y030xx067a.yaml50 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

1234