Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/
H A Dacpi_drv.c509 acpi_drv_warn_t bwarn; in acpi_drv_cbat_ioctl() local
607 bwarn.bw_enabled = acpi_drv_warn_enabled; in acpi_drv_cbat_ioctl()
608 bwarn.bw_charge_warn = acpi_drv_syn_warn_per; in acpi_drv_cbat_ioctl()
609 bwarn.bw_charge_low = acpi_drv_syn_low_per; in acpi_drv_cbat_ioctl()
610 if (copyout(&bwarn, (void *)arg, sizeof (bwarn))) { in acpi_drv_cbat_ioctl()
621 if (copyin((void *)arg, &bwarn, sizeof (bwarn))) { in acpi_drv_cbat_ioctl()
625 res = acpi_drv_set_warn(&bwarn); in acpi_drv_cbat_ioctl()