Home
last modified time | relevance | path

Searched refs:aml_evalinteger (Results 1 – 25 of 27) sorted by relevance

12

/openbsd/src/sys/dev/acpi/
Dacpithinkpad.c235 if (aml_evalinteger((struct acpi_softc *)parent, aa->aaa_node, in thinkpad_match()
325 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "MHKV", 0, NULL, in thinkpad_attach()
343 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "KLCG", in thinkpad_attach()
349 } else if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "MLCG", 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()
[all …]
Dacpibtn.c108 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()
Dacpihid.c301 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()
Dacpials.c105 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()
Dipmi_acpi.c86 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()
Dsdhc_acpi.c230 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()
Dacpi.c542 if (aml_evalinteger(sc, node, "_STA", 0, NULL, &sta)) in acpi_getsta()
577 if (!aml_evalinteger(sc, node, "_SEG", 0, NULL, &val)) in acpi_getpci()
585 if (!aml_evalinteger(sc, node, "_BBN", 0, NULL, &val)) { in acpi_getpci()
604 if (aml_evalinteger(sc, node, "_ADR", 0, NULL, &val)) in acpi_getpci()
620 if (aml_evalinteger(sc, node, "_S0W", 0, NULL, &val) == 0) in acpi_getpci()
624 if (aml_evalinteger(sc, node, "_S3D", 0, NULL, &val) == 0) in acpi_getpci()
628 if (aml_evalinteger(sc, node, "_S3W", 0, NULL, &val) == 0) in acpi_getpci()
632 if (aml_evalinteger(sc, node, "_S4D", 0, NULL, &val) == 0) in acpi_getpci()
636 if (aml_evalinteger(sc, node, "_S4W", 0, NULL, &val) == 0) in acpi_getpci()
1909 if (aml_evalinteger(sc, node, "_STA", 0, NULL, &sta) != 0) in acpiide_notify()
[all …]
Dacpicbkbd.c92 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "KBQC", in acpicbkbd_attach()
Dacpiac.c133 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_PSR", 0, NULL, &psr)) { in acpiac_getpsr()
Dacpibat.c83 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()
Dacpisbs.c180 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()
Dacpitz.c332 if (aml_evalinteger(sc->sc_acpi, ref->node, "_STA", 0, in acpitz_setfan()
446 if (!aml_evalinteger(sc->sc_acpi, sc->sc_devnode, name, 0, NULL, &val)) in acpitz_getreading()
Dacpiec.c287 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()
Ddwiic_acpi.c234 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()
Daplgpio.c106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in aplgpio_attach()
Dacpidock.c121 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, in acpidock_status()
Dbytgpio.c134 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in bytgpio_attach()
Dglkgpio.c106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in glkgpio_attach()
Ddsdt.h72 int aml_evalinteger(struct acpi_softc *, struct aml_node *,
Dchvgpio.c177 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in chvgpio_attach()
Damdgpio.c126 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in amdgpio_attach()
Dacpicpu.c670 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/src/sys/arch/amd64/pci/
Dacpipci.c122 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/src/sys/dev/i2c/
Dpca9548.c215 if (aml_evalinteger(acpi_softc, node, "_ADR", 0, NULL, &channel) || in pcamux_attach_acpi_mux()
/openbsd/src/sys/arch/arm64/dev/
Dacpipci.c161 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()

12