Home
last modified time | relevance | path

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

/Linux-v5.15/arch/arm/boot/dts/
Ds3c2416-pinctrl.dtsi35 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";
Ds3c64xx-pinctrl.dtsi47 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";
/Linux-v5.15/drivers/gpio/
Dgpio-sch.c47 u32 gpe; member
243 static u32 sch_gpio_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in sch_gpio_gpe_handler() argument
277 acpi_disable_gpe(NULL, sch->gpe); in sch_gpio_remove_gpe_handler()
278 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_remove_gpe_handler()
286 status = acpi_install_gpe_handler(NULL, sch->gpe, ACPI_GPE_LEVEL_TRIGGERED, in sch_gpio_install_gpe_handler()
290 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler()
294 status = acpi_enable_gpe(NULL, sch->gpe); in sch_gpio_install_gpe_handler()
297 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler()
298 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_install_gpe_handler()
385 sch->gpe = GPE0E_GPIO; in sch_gpio_probe()
/Linux-v5.15/drivers/acpi/
Dec.c343 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); in acpi_ec_gpe_status_set()
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()
384 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request()
394 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request()
404 if (ec->gpe >= 0) in acpi_ec_mask_events()
418 if (ec->gpe >= 0) in acpi_ec_unmask_events()
649 if (ec->gpe >= 0 && acpi_ec_gpe_status_set(ec)) in advance_transaction()
[all …]
Dsysfs.c798 u8 gpe; in acpi_gpe_set_masked_gpes() local
800 ret = kstrtou8(val, 0, &gpe); in acpi_gpe_set_masked_gpes()
806 set_bit(gpe, acpi_masked_gpes_map); in acpi_gpe_set_masked_gpes()
816 u16 gpe; in acpi_gpe_apply_masked_gpes() local
818 for_each_set_bit(gpe, acpi_masked_gpes_map, ACPI_MASKABLE_GPE_MAX) { in acpi_gpe_apply_masked_gpes()
819 status = acpi_get_gpe_device(gpe, &handle); in acpi_gpe_apply_masked_gpes()
821 pr_info("Masking GPE 0x%x.\n", gpe); in acpi_gpe_apply_masked_gpes()
822 (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.h171 int gpe; member
/Linux-v5.15/arch/mips/boot/dts/ingenic/
Dgcw0.dts44 gpio = <&gpe 9 0>;
142 gpios = <&gpe 21 GPIO_ACTIVE_LOW>;
149 gpios = <&gpe 25 GPIO_ACTIVE_LOW>;
156 gpios = <&gpe 23 GPIO_ACTIVE_LOW>;
163 gpios = <&gpe 24 GPIO_ACTIVE_LOW>;
170 gpios = <&gpe 29 GPIO_ACTIVE_LOW>;
177 gpios = <&gpe 20 GPIO_ACTIVE_LOW>;
184 gpios = <&gpe 27 GPIO_ACTIVE_LOW>;
191 gpios = <&gpe 28 GPIO_ACTIVE_LOW>;
205 gpios = <&gpe 26 GPIO_ACTIVE_LOW>;
[all …]
Djz4780.dtsi227 gpe: gpio@4 { label
264 gpio-miso = <&gpe 14 0>;
265 gpio-sck = <&gpe 15 0>;
266 gpio-mosi = <&gpe 17 0>;
267 cs-gpios = <&gpe 16 0>, <&gpe 18 0>;
Dci20.dts83 gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
426 interrupt-parent = <&gpe>;
Djz4770.dtsi204 gpe: gpio@4 { label
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/input/keyboard/
Dapplespi.c390 int gpe; member
1569 acpi_finish_gpe(NULL, applespi->gpe); in applespi_async_read_complete()
1572 static u32 applespi_notify(acpi_handle gpe_device, u32 gpe, void *context) in applespi_notify() argument
1654 unsigned long long gpe, usb_status; in applespi_probe() local
1767 acpi_sts = acpi_evaluate_integer(spi_handle, "_GPE", NULL, &gpe); in applespi_probe()
1774 applespi->gpe = (int)gpe; in applespi_probe()
1776 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, in applespi_probe()
1782 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe()
1788 acpi_sts = acpi_enable_gpe(NULL, applespi->gpe); in applespi_probe()
1792 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe()
[all …]
/Linux-v5.15/Documentation/ABI/testing/
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-v5.15/arch/x86/platform/olpc/
Dolpc-xo1-sci.c217 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()
Dolpc-xo15-sci.c132 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in xo15_sci_gpe_handler() argument
/Linux-v5.15/Documentation/networking/
Dvxlan.rst86 Types: geneve, vxlan-gpe
88 port 1230, vxlan-gpe
/Linux-v5.15/drivers/net/
Dvxlan.c1745 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)unparsed; in vxlan_parse_gpe_hdr() local
1748 if (!gpe->np_applied) in vxlan_parse_gpe_hdr()
1753 if (gpe->version != 0) in vxlan_parse_gpe_hdr()
1759 if (gpe->oam_flag) in vxlan_parse_gpe_hdr()
1762 *protocol = tun_p_to_eth_p(gpe->next_protocol); in vxlan_parse_gpe_hdr()
2320 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr() local
2322 gpe->np_applied = 1; in vxlan_build_gpe_hdr()
2323 gpe->next_protocol = tun_p_from_eth_p(protocol); in vxlan_build_gpe_hdr()
2324 if (!gpe->next_protocol) in vxlan_build_gpe_hdr()
/Linux-v5.15/include/acpi/
Dactbl1.h785 u8 gpe; /* The GPE for the EC */ member
Dactbl2.h1039 u8 gpe; member
/Linux-v5.15/tools/testing/selftests/net/
Drtnetlink.sh498 ip -netns "$testns" link set dev "$vxlan" type vxlan gpe 2>/dev/null