Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-sch.c46 u32 gpe; member
261 static u32 sch_gpio_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in sch_gpio_gpe_handler() argument
295 acpi_disable_gpe(NULL, sch->gpe); in sch_gpio_remove_gpe_handler()
296 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_remove_gpe_handler()
304 status = acpi_install_gpe_handler(NULL, sch->gpe, ACPI_GPE_LEVEL_TRIGGERED, in sch_gpio_install_gpe_handler()
308 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler()
312 status = acpi_enable_gpe(NULL, sch->gpe); in sch_gpio_install_gpe_handler()
315 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler()
316 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_install_gpe_handler()
398 sch->gpe = GPE0E_GPIO; in sch_gpio_probe()
/linux/drivers/acpi/
H A Dec.c344 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); in acpi_ec_gpe_status_set()
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()
370 acpi_disable_gpe(NULL, ec->gpe); in acpi_ec_disable_gpe()
373 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_disable_gpe()
385 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request()
395 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request()
405 if (ec->gpe >= 0) in acpi_ec_mask_events()
419 if (ec->gpe >= 0) in acpi_ec_unmask_events()
1311 if (ec->gpe >= 0 && acpi_ec_gpe_status_set(ec)) in clear_gpe_and_advance_transaction()
[all …]
H A Dsysfs.c827 u8 gpe; in acpi_gpe_set_masked_gpes() local
829 ret = kstrtou8(val, 0, &gpe); in acpi_gpe_set_masked_gpes()
835 set_bit(gpe, acpi_masked_gpes_map); in acpi_gpe_set_masked_gpes()
845 u16 gpe; in acpi_gpe_apply_masked_gpes() local
847 for_each_set_bit(gpe, acpi_masked_gpes_map, ACPI_MASKABLE_GPE_MAX) { in acpi_gpe_apply_masked_gpes()
848 status = acpi_get_gpe_device(gpe, &handle); in acpi_gpe_apply_masked_gpes()
850 pr_info("Masking GPE 0x%x.\n", gpe); in acpi_gpe_apply_masked_gpes()
851 (void)acpi_mask_gpe(handle, gpe, TRUE); in acpi_gpe_apply_masked_gpes()
H A Dec_sys.c122 debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe); in acpi_ec_add_debugfs()
/linux/arch/arm/boot/dts/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";
/linux/drivers/platform/x86/
H A Dapple-gmux.c70 int gpe; member
527 if (gmux_data->gpe >= 0 && in gmux_set_discrete_state()
790 unsigned long long gpe; in gmux_probe() local
909 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
911 gmux_data->gpe = (int)gpe; in gmux_probe()
923 status = acpi_enable_gpe(NULL, gmux_data->gpe); in gmux_probe()
931 gmux_data->gpe = -1; in gmux_probe()
968 if (gmux_data->gpe >= 0) in gmux_probe()
969 acpi_disable_gpe(NULL, gmux_data->gpe); in gmux_probe()
971 if (gmux_data->gpe >= 0) in gmux_probe()
[all …]
/linux/drivers/input/keyboard/
H A Dapplespi.c390 int gpe; member
1546 acpi_finish_gpe(NULL, applespi->gpe); in applespi_async_read_complete()
1549 static u32 applespi_notify(acpi_handle gpe_device, u32 gpe, void *context) in applespi_notify() argument
1614 unsigned long long gpe, usb_status; in applespi_probe() local
1727 acpi_sts = acpi_evaluate_integer(spi_handle, "_GPE", NULL, &gpe); in applespi_probe()
1734 applespi->gpe = (int)gpe; in applespi_probe()
1736 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, in applespi_probe()
1742 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe()
1748 acpi_sts = acpi_enable_gpe(NULL, applespi->gpe); in applespi_probe()
1752 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe()
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-ec1 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io}
9 the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`):
/linux/Documentation/networking/
H A Dvxlan.rst86 Types: geneve, vxlan-gpe
88 port 1230, vxlan-gpe
/linux/arch/mips/boot/dts/ingenic/
H A Dci20.dts97 gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
496 interrupt-parent = <&gpe>;
H A Djz4770.dtsi204 gpe: gpio@4 { label
H A Djz4780.dtsi229 gpe: gpio@4 { label
/linux/drivers/net/vxlan/
H A Dvxlan_core.c606 const struct vxlanhdr_gpe *gpe = (const struct vxlanhdr_gpe *)hdr; in vxlan_parse_gpe_proto() local
609 if (!gpe->np_applied) in vxlan_parse_gpe_proto()
614 if (gpe->version != 0) in vxlan_parse_gpe_proto()
620 if (gpe->oam_flag) in vxlan_parse_gpe_proto()
623 *protocol = tun_p_to_eth_p(gpe->next_protocol); in vxlan_parse_gpe_proto()
2172 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr() local
2174 gpe->np_applied = 1; in vxlan_build_gpe_hdr()
2175 gpe->next_protocol = tun_p_from_eth_p(protocol); in vxlan_build_gpe_hdr()
2176 if (!gpe->next_protocol) in vxlan_build_gpe_hdr()
/linux/tools/testing/selftests/net/
H A Drtnetlink.sh514 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan gpe