Home
last modified time | relevance | path

Searched refs:gpe (Results 1 – 7 of 7) sorted by relevance

/drivers/acpi/
Dec.c343 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); in acpi_ec_is_gpe_raised()
350 acpi_enable_gpe(NULL, ec->gpe); in acpi_ec_enable_gpe()
353 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_enable_gpe()
369 acpi_disable_gpe(NULL, ec->gpe); in acpi_ec_disable_gpe()
372 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_disable_gpe()
390 acpi_clear_gpe(NULL, ec->gpe); in acpi_ec_clear_gpe()
401 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request()
411 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request()
421 if (ec->gpe >= 0) in acpi_ec_mask_events()
435 if (ec->gpe >= 0) in acpi_ec_unmask_events()
[all …]
Dsysfs.c838 u8 gpe; in acpi_gpe_set_masked_gpes() local
840 if (kstrtou8(val, 0, &gpe)) in acpi_gpe_set_masked_gpes()
842 set_bit(gpe, acpi_masked_gpes_map); in acpi_gpe_set_masked_gpes()
852 u16 gpe; in acpi_gpe_apply_masked_gpes() local
854 for_each_set_bit(gpe, acpi_masked_gpes_map, ACPI_MASKABLE_GPE_MAX) { in acpi_gpe_apply_masked_gpes()
855 status = acpi_get_gpe_device(gpe, &handle); in acpi_gpe_apply_masked_gpes()
857 pr_info("Masking GPE 0x%x.\n", gpe); in acpi_gpe_apply_masked_gpes()
858 (void)acpi_mask_gpe(handle, gpe, TRUE); in acpi_gpe_apply_masked_gpes()
Dec_sys.c122 debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe); in acpi_ec_add_debugfs()
Dinternal.h172 int gpe; member
/drivers/platform/x86/
Dapple-gmux.c57 int gpe; member
478 if (gmux_data->gpe >= 0 && in gmux_set_discrete_state()
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()
735 gmux_data->gpe = -1; in gmux_probe()
775 if (gmux_data->gpe >= 0) in gmux_probe()
776 acpi_disable_gpe(NULL, gmux_data->gpe); in gmux_probe()
778 if (gmux_data->gpe >= 0) in gmux_probe()
[all …]
/drivers/input/keyboard/
Dapplespi.c381 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()
1759 applespi->gpe = (int)gpe; in applespi_probe()
1761 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, in applespi_probe()
1767 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe()
1773 acpi_sts = acpi_enable_gpe(NULL, applespi->gpe); in applespi_probe()
1777 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe()
[all …]
/drivers/net/vxlan/
Dvxlan_core.c734 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)hdr; in vxlan_parse_gpe_proto() local
737 if (!gpe->np_applied) in vxlan_parse_gpe_proto()
742 if (gpe->version != 0) in vxlan_parse_gpe_proto()
748 if (gpe->oam_flag) in vxlan_parse_gpe_proto()
751 *protocol = tun_p_to_eth_p(gpe->next_protocol); in vxlan_parse_gpe_proto()
2317 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr() local
2319 gpe->np_applied = 1; in vxlan_build_gpe_hdr()
2320 gpe->next_protocol = tun_p_from_eth_p(protocol); in vxlan_build_gpe_hdr()
2321 if (!gpe->next_protocol) in vxlan_build_gpe_hdr()