/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | evgpe.c | 27 * PARAMETERS: gpe_event_info - GPE to update 31 * DESCRIPTION: Updates GPE register enable mask based upon whether there are 32 * runtime references to this GPE 55 /* Set the mask bit only if there are references to this GPE */ in acpi_ev_update_gpe_enable_mask() 70 * PARAMETERS: gpe_event_info - GPE to enable 74 * DESCRIPTION: Enable a GPE. 84 /* Enable the requested GPE */ in acpi_ev_enable_gpe() 94 * PARAMETERS: gpe_event_info - GPE to be blocked/unblocked 95 * is_masked - Whether the GPE is masked or not 99 * DESCRIPTION: Unconditionally mask/unmask a GPE during runtime. [all …]
|
D | evxfgpe.c | 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() [all …]
|
D | evgpeinit.c | 4 * Module Name: evgpeinit - System GPE initialization and update 21 * Originally (2000 - 2010), the GPE initialization code performed a walk of 53 * DESCRIPTION: Initialize the GPE data structures and the FADT GPE 0/1 blocks 75 * Initialize the GPE Block(s) defined in the FADT in acpi_ev_gpe_initialize() 77 * Why the GPE register block lengths are divided by 2: From the ACPI in acpi_ev_gpe_initialize() 91 * Determine the maximum GPE number for this machine. in acpi_ev_gpe_initialize() 103 /* GPE block 0 exists (has both length and address > 0) */ in acpi_ev_gpe_initialize() 109 /* Install GPE Block 0 */ in acpi_ev_gpe_initialize() 120 "Could not create GPE Block 0")); in acpi_ev_gpe_initialize() 128 /* GPE block 1 exists (has both length and address > 0) */ in acpi_ev_gpe_initialize() [all …]
|
D | hwgpe.c | 4 * Module Name: hwgpe - Low level GPE enable/disable/clear functions 32 * reg - GPE register structure 36 * DESCRIPTION: Read from a GPE register in either memory or IO space. 73 * reg - GPE register structure 77 * DESCRIPTION: Write to a GPE register in either memory or IO space. 101 * PARAMETERS: gpe_event_info - Info block for the GPE 103 * RETURN: Register mask with a one in the GPE bit position 105 * DESCRIPTION: Compute the register mask for this GPE. One bit is set in the 106 * correct position for the input GPE. 122 * PARAMETERS: gpe_event_info - Info block for the GPE to be disabled [all …]
|
D | evgpeblk.c | 4 * Module Name: evgpeblk - GPE block creation and initialization. 30 * PARAMETERS: gpe_block - New GPE block 32 * GPE block 36 * DESCRIPTION: Install new GPE block with mutex support 89 * PARAMETERS: gpe_block - Existing GPE block 93 * DESCRIPTION: Remove a GPE block 160 * PARAMETERS: gpe_block - New GPE block 164 * DESCRIPTION: Create the register_info and event_info blocks for this GPE block 181 /* Allocate the GPE register information block */ in acpi_ev_create_gpe_info_blocks() 194 * Allocate the GPE event_info block. There are eight distinct GPEs in acpi_ev_create_gpe_info_blocks() [all …]
|
D | evgpeutil.c | 4 * Module Name: evgpeutil - GPE utilities 22 * PARAMETERS: gpe_walk_callback - Routine called for each GPE block 27 * DESCRIPTION: Walk the GPE lists. 47 /* Walk all Gpe Blocks attached to this interrupt level */ in acpi_ev_walk_gpe_list() 52 /* One callback per GPE block */ in acpi_ev_walk_gpe_list() 83 * DESCRIPTION: Matches the input GPE index (0-current_gpe_count) with a GPE 84 * block device. NULL if the GPE is one of the FADT-defined GPEs. 100 * The GPE index is within this block, get the node. Leave the node in acpi_ev_get_gpe_device() 118 * PARAMETERS: interrupt_number - Interrupt for a GPE block 123 * DESCRIPTION: Get or Create a GPE interrupt block. There is one interrupt [all …]
|
D | acevents.h | 14 * Conditions to trigger post enabling GPE polling: 15 * It is not sufficient to trigger edge-triggered GPE with specific GPE 59 * evgpe - Low-level GPE support 92 * evgpeblk - Upper-level GPE block support 118 * evgpeinit - GPE initialization and update 130 * evgpeutil - GPE utilities
|
D | evxface.c | 42 * context - Value passed to the handler on each GPE 528 * is invoked upon each incoming GPE and Fixed Event. It is in ACPI_EXPORT_SYMBOL() 575 * context - Value passed to the handler on each GPE in ACPI_EXPORT_SYMBOL() 699 * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT in ACPI_EXPORT_SYMBOL() 701 * gpe_number - The GPE number within the GPE block in ACPI_EXPORT_SYMBOL() 702 * type - Whether this GPE should be treated as an in ACPI_EXPORT_SYMBOL() 704 * is_raw_handler - Whether this GPE should be handled using in ACPI_EXPORT_SYMBOL() 705 * the special GPE handler mode. in ACPI_EXPORT_SYMBOL() 707 * context - Value passed to the handler on each GPE in ACPI_EXPORT_SYMBOL() 750 /* Ensure that we have a valid GPE number */ in ACPI_EXPORT_SYMBOL() [all …]
|
D | aclocal.h | 417 /* Dispatch info for each GPE -- either a method or handler, cannot be both */ 422 struct acpi_namespace_node *method_node; /* Method node for this GPE level (saved) */ 423 u8 original_flags; /* Original (pre-handler) GPE info */ 424 u8 originally_enabled; /* True if GPE was originally enabled */ 435 * GPE dispatch info. At any time, the GPE can have at most one type 439 struct acpi_namespace_node *method_node; /* Method node for this GPE level */ 440 struct acpi_gpe_handler_info *handler; /* Installed GPE handler */ 445 * Information about a GPE, one per each GPE in an array. 451 u8 flags; /* Misc info about this GPE */ 452 u8 gpe_number; /* This GPE */ [all …]
|
D | evmisc.c | 230 /* Disable all GPEs in all GPE blocks */ in acpi_ev_terminate() 235 "Could not disable GPEs in GPE block")); in acpi_ev_terminate() 254 /* Deallocate all handler objects installed within GPE info structs */ in acpi_ev_terminate() 259 "Could not delete GPE handlers")); in acpi_ev_terminate()
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | s3c2416-pinctrl.dtsi | 35 gpe: gpe { label 124 samsung,pins = "gpe-14", "gpe-15"; 129 samsung,pins = "gpe-11", "gpe-12", "gpe-13"; 134 samsung,pins = "gpe-5"; 139 samsung,pins = "gpe-6"; 144 samsung,pins = "gpe-7"; 149 samsung,pins = "gpe-8", "gpe-9", "gpe-10";
|
D | s3c64xx-pinctrl.dtsi | 47 gpe: gpe { 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";
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | ec.c | 129 * this threshold, will think there is a GPE storm happened and 130 * will disable the GPE for normal transaction. 134 MODULE_PARM_DESC(ec_storm_threshold, "Maxim false GPE numbers not considered as GPE storm"); 186 static int EC_FLAGS_IGNORE_DSDT_GPE; /* Needs ECDT GPE as correction setting */ 187 static int EC_FLAGS_TRUST_DSDT_GPE; /* Needs DSDT GPE as correction setting */ 337 * GPE Registers 344 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); in acpi_ec_is_gpe_raised() 351 acpi_enable_gpe(NULL, ec->gpe); in acpi_ec_enable_gpe() 354 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_enable_gpe() 358 * On some platforms, EN=1 writes cannot trigger GPE. So in acpi_ec_enable_gpe() [all …]
|
D | sysfs.c | 642 pr_debug("GPE event 0x%02x\n", event_number); in acpi_global_event_handler() 663 "Invalid GPE 0x%x", index)); in get_status() 731 * enable/disable/clear a gpe/fixed event in user space. 760 "Can not change Invalid GPE/Fixed Event status\n"); in counter_set() 807 * A Quirk Mechanism for GPE Flooding Prevention: 809 * Quirks may be needed to prevent GPE flooding on a specific GPE. The 815 * the GPE flooding for GPE 00, they need to specify the following boot 827 u8 gpe; in acpi_gpe_set_masked_gpes() local 829 if (kstrtou8(val, 0, &gpe)) in acpi_gpe_set_masked_gpes() 831 set_bit(gpe, acpi_masked_gpes_map); in acpi_gpe_set_masked_gpes() [all …]
|
D | ec_sys.c | 122 debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe); in acpi_ec_add_debugfs()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | debugfs-ec | 1 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io} 6 General information like which GPE is assigned to the EC and whether 8 Knowing the EC GPE one can watch the amount of HW events related to 9 the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`):
|
D | sysfs-firmware-acpi | 65 number of a "General Purpose Events" (GPE). 67 A GPE vectors to a specified handler in AML, which 69 OS context. GPE 0x12, for example, would vector 134 gpeXX count for individual GPE source 148 invalid it's either a GPE or a Fixed Event that 151 disable the GPE/Fixed Event is valid but disabled. 153 enable the GPE/Fixed Event is valid and enabled. 171 Note that only writing to VALID GPE/Fixed Event is allowed, 172 i.e. user can only change the status of runtime GPE and
|
/kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/ |
D | gcw0.dts | 44 gpio = <&gpe 9 0>; 143 gpios = <&gpe 21 GPIO_ACTIVE_LOW>; 150 gpios = <&gpe 25 GPIO_ACTIVE_LOW>; 157 gpios = <&gpe 23 GPIO_ACTIVE_LOW>; 164 gpios = <&gpe 24 GPIO_ACTIVE_LOW>; 171 gpios = <&gpe 29 GPIO_ACTIVE_LOW>; 178 gpios = <&gpe 20 GPIO_ACTIVE_LOW>; 185 gpios = <&gpe 27 GPIO_ACTIVE_LOW>; 192 gpios = <&gpe 28 GPIO_ACTIVE_LOW>; 206 gpios = <&gpe 26 GPIO_ACTIVE_LOW>; [all …]
|
D | jz4780.dtsi | 206 gpe: gpio@4 { label 243 gpio-miso = <&gpe 14 0>; 244 gpio-sck = <&gpe 15 0>; 245 gpio-mosi = <&gpe 17 0>; 246 cs-gpios = <&gpe 16 0>, <&gpe 18 0>;
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | apple-gmux.c | 57 int gpe; member 478 if (gmux_data->gpe >= 0 && in gmux_set_discrete_state() 527 * to trigger an ACPI GPE. On the MBP5 2008/09 it's GPIO pin 22 of the Nvidia 529 * The GPE merely signals that an interrupt occurred, the actual type of event 611 unsigned long long gpe; in gmux_probe() local 713 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe() 715 gmux_data->gpe = (int)gpe; in gmux_probe() 727 status = acpi_enable_gpe(NULL, gmux_data->gpe); in gmux_probe() 729 pr_err("Cannot enable gpe: %s\n", in gmux_probe() 734 pr_warn("No GPE found for gmux\n"); in gmux_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | applespi.c | 31 * of exchanges: reads, and writes. A read is signaled by a GPE, upon which one 34 * receiving a GPE, reading the response message. Write exchanges cannot be 381 int gpe; member 1554 acpi_finish_gpe(NULL, applespi->gpe); in applespi_async_read_complete() 1557 static u32 applespi_notify(acpi_handle gpe_device, u32 gpe, void *context) in applespi_notify() argument 1639 unsigned long long gpe, usb_status; in applespi_probe() local 1752 acpi_sts = acpi_evaluate_integer(spi_handle, "_GPE", NULL, &gpe); in applespi_probe() 1755 "Failed to obtain GPE for SPI slave device: %s\n", in applespi_probe() 1759 applespi->gpe = (int)gpe; in applespi_probe() 1761 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, in applespi_probe() [all …]
|
/kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
D | olpc-xo15-sci.c | 132 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in xo15_sci_gpe_handler() argument 150 /* Get GPE bit assignment (EC events). */ in xo15_sci_add() 162 dev_info(&device->dev, "Initialized, GPE = 0x%lx\n", xo15_sci_gpe); in xo15_sci_add()
|
D | olpc-xo1-sci.c | 217 u32 gpe; in xo1_sci_intr() local 222 gpe = inl(acpi_base + CS5536_PM_GPE0_STS); in xo1_sci_intr() 225 dev_dbg(&pdev->dev, "sts %x gpe %x\n", sts, gpe); in xo1_sci_intr() 253 if (gpe & CS5536_GPIOM7_PME_FLAG) { /* EC GPIO */ in xo1_sci_intr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
D | udp_tunnel_nic.sh | 134 type_name="vxlan-gpe" 456 new_vxlan vxlanG0 30001 $NSIM_NETDEV 4 "gpe external" 459 new_vxlan vxlanG1 30002 $NSIM_NETDEV 4 "gpe external" 461 new_vxlan vxlanG2 30002 $NSIM_NETDEV 6 "gpe external" 513 new_vxlan vxlanG0 30001 $NSIM_NETDEV 4 "gpe external" 516 new_vxlan vxlanG1 30002 $NSIM_NETDEV 4 "gpe external" 518 new_vxlan vxlanG2 30002 $NSIM_NETDEV 6 "gpe external"
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | vxlan.rst | 86 Types: geneve, vxlan-gpe 88 port 1230, vxlan-gpe
|