Home
last modified time | relevance | path

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

12

/openbsd/sys/dev/acpi/
H A Dacpithinkpad.c343 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 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dacpi.c541 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 Dacpicbkbd.c92 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "KBQC", in acpicbkbd_attach()
H A Dacpiac.c133 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_PSR", 0, NULL, &psr)) { in acpiac_getpsr()
H A 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()
H A 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()
H A Dacpitz.c331 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 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()
H A 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()
H A Dacpidock.c121 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, in acpidock_status()
H A Daplgpio.c106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in aplgpio_attach()
H A Dbytgpio.c134 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in bytgpio_attach()
H A Dglkgpio.c106 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in glkgpio_attach()
H A Ddsdt.h72 int aml_evalinteger(struct acpi_softc *, struct aml_node *,
H A Damdgpio.c126 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in amdgpio_attach()
H A Dchvgpio.c177 if (aml_evalinteger(sc->sc_acpi, sc->sc_node, "_UID", 0, NULL, &uid)) { in chvgpio_attach()
H A 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/sys/arch/amd64/pci/
H A 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/sys/dev/i2c/
H A Dpca9548.c215 if (aml_evalinteger(acpi_softc, node, "_ADR", 0, NULL, &channel) || in pcamux_attach_acpi_mux()
/openbsd/sys/arch/arm64/dev/
H A 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