/openbsd/sys/dev/acpi/ |
H A D | acpithinkpad.c | 343 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "KLCG", in thinkpad_attach() 359 (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "PBLG", in thinkpad_attach() 373 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "BCTG", in thinkpad_attach() 381 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "BCSG", in thinkpad_attach() 392 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "BDSG", in thinkpad_attach() 401 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "BICG", in thinkpad_attach() 424 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "MHKA", in thinkpad_enable_events() 564 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "GBDC", in thinkpad_toggle_bluetooth() 589 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "GWAN", in thinkpad_toggle_wan() 678 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "GTRW", in thinkpad_adaptive_change() [all …]
|
H A D | acpibtn.c | 108 if (!aml_evalinteger(lid->abl_softc->sc_acpi, in acpibtn_numopenlids() 173 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, &st)) in acpibtn_attach() 201 aml_evalinteger(sc->sc_acpi, sc->sc_devnode, in acpibtn_attach() 245 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, in acpibtn_notify() 323 aml_evalinteger(sc->sc_acpi, sc->sc_devnode, in acpibtn_activate()
|
H A D | acpihid.c | 301 if (aml_evalinteger(acpi_softc, sc->sc_devnode, "_DSM", 4, cmd, in acpihid_eval() 321 if (aml_evalinteger(acpi_softc, sc->sc_devnode, dsm_func, 1, cmd, in acpihid_eval() 339 if (aml_evalinteger(acpi_softc, sc->sc_devnode, "BTNC", 0, NULL, in acpihid_button_array_enable()
|
H A D | acpials.c | 105 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, &st)) in acpials_attach() 149 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_ALI", 0, NULL, in acpials_read()
|
H A D | ipmi_acpi.c | 86 rc = aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_IFT", 0, NULL, &ift); in ipmi_acpi_attach() 93 aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_SRV", 0, NULL, &srv); in ipmi_acpi_attach()
|
H A D | sdhc_acpi.c | 230 if (aml_evalinteger(sc->sc_acpi, node, "_STA", 0, NULL, &sta)) in sdhc_acpi_do_explore() 238 if (aml_evalinteger(sc->sc_acpi, node, "_RMV", 0, NULL, &rmv)) in sdhc_acpi_do_explore()
|
H A D | acpi.c | 541 if (aml_evalinteger(sc, node, "_STA", 0, NULL, &sta)) in acpi_getsta() 576 if (!aml_evalinteger(sc, node, "_SEG", 0, NULL, &val)) in acpi_getpci() 584 if (!aml_evalinteger(sc, node, "_BBN", 0, NULL, &val)) { in acpi_getpci() 603 if (aml_evalinteger(sc, node, "_ADR", 0, NULL, &val)) in acpi_getpci() 619 if (aml_evalinteger(sc, node, "_S0W", 0, NULL, &val) == 0) in acpi_getpci() 623 if (aml_evalinteger(sc, node, "_S3D", 0, NULL, &val) == 0) in acpi_getpci() 627 if (aml_evalinteger(sc, node, "_S3W", 0, NULL, &val) == 0) in acpi_getpci() 631 if (aml_evalinteger(sc, node, "_S4D", 0, NULL, &val) == 0) in acpi_getpci() 635 if (aml_evalinteger(sc, node, "_S4W", 0, NULL, &val) == 0) in acpi_getpci() 1965 aml_evalinteger(sc, node->parent, "_ADR", 0, NULL, in acpi_foundide() [all …]
|
H A D | acpicbkbd.c | 92 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "KBQC", in acpicbkbd_attach()
|
H A D | acpiac.c | 133 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_PSR", 0, NULL, &psr)) { in acpiac_getpsr()
|
H A D | acpibat.c | 83 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, &sta)) { in acpibat_attach() 128 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, in acpibat_activate() 515 if (aml_evalinteger(sc->sc_acpi, node, "_STA", 0, NULL, &sta) == 0) { in acpibat_notify()
|
H A D | acpisbs.c | 180 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_SBS", 0, NULL, &sbs)) in acpisbs_attach() 187 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode->parent, "_EC", 0, in acpisbs_attach()
|
H A D | acpitz.c | 331 if (aml_evalinteger(sc->sc_acpi, ref->node, "_STA", 0, in acpitz_setfan() 445 if (!aml_evalinteger(sc->sc_acpi, sc->sc_devnode, name, 0, NULL, &val)) in acpitz_getreading()
|
H A D | acpiec.c | 287 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, &st)) in acpiec_attach() 468 rc = aml_evalinteger(sc->sc_acpi, sc->sc_devnode, in acpiec_getcrs()
|
H A D | dwiic_acpi.c | 234 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, in dwiic_acpi_attach() 450 if (aml_evalinteger(acpi_softc, node->parent, "_STA", 0, NULL, &sta)) in dwiic_acpi_found_hid()
|
H A D | acpidock.c | 121 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, in acpidock_status()
|
H A D | aplgpio.c | 106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in aplgpio_attach()
|
H A D | bytgpio.c | 134 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in bytgpio_attach()
|
H A D | glkgpio.c | 106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in glkgpio_attach()
|
H A D | dsdt.h | 72 int aml_evalinteger(struct acpi_softc *, struct aml_node *,
|
H A D | amdgpio.c | 126 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in amdgpio_attach()
|
H A D | chvgpio.c | 177 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in chvgpio_attach()
|
H A D | acpicpu.c | 670 if (aml_evalinteger(acpi, aa->aaa_node, "_UID", 0, in acpicpu_match() 705 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, in acpicpu_attach()
|
/openbsd/sys/arch/amd64/pci/ |
H A D | acpipci.c | 122 aml_evalinteger(sc->sc_acpi, sc->sc_node, "_BBN", 0, NULL, &bbn); in acpipci_attach() 125 aml_evalinteger(sc->sc_acpi, sc->sc_node, "_SEG", 0, NULL, &seg); in acpipci_attach()
|
/openbsd/sys/dev/i2c/ |
H A D | pca9548.c | 215 if (aml_evalinteger(acpi_softc, node, "_ADR", 0, NULL, &channel) || in pcamux_attach_acpi_mux()
|
/openbsd/sys/arch/arm64/dev/ |
H A D | acpipci.c | 161 aml_evalinteger(sc->sc_acpi, sc->sc_node, "_BBN", 0, NULL, &bbn); in acpipci_attach() 164 aml_evalinteger(sc->sc_acpi, sc->sc_node, "_SEG", 0, NULL, &seg); in acpipci_attach()
|