CVS log for src/sys/dev/acpi/acpi_util.h
Up to [cvs.NetBSD.org] / src / sys / dev / acpi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jul 23 03:08:17 2022 UTC (2 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
- Handle dtlink in acpi_pack_compat_list().
- Don't pass the _HID value as the device name; always use the ACPI
node name.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 22 11:49:17 2022 UTC (2 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:40:33 2022 UTC (2 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -1
lines
acpi: Add helper for querying DSM function 0.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jan 9 14:28:23 2022 UTC (2 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1
lines
acpi: Add acpi_dsd_bool helper
Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:43 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +20 -1
lines
Sync with HEAD.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Feb 5 17:12:43 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -1
lines
ACPI device handle implementation.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 26 00:19:53 2021 UTC (3 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1
lines
Add a device_t parameter to acpi_enter_i2c_devs. If non-NULL, all child
acpi_devnodes will be claimed by that device so we don't later try to
attach a duplicate device to that node at acpinodebus.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jan 14 14:35:53 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -1
lines
- Add a new routine, acpi_pack_compat_list(), that packs the _HID
and _CID device ID strings into an OpenFirmware-like string list,
analogous to how the "compatible" property is represented in
OpenFirmware and the Device Tree specifications.
- Add generic routines for evaluating Device Specific Methods (_DSM).
Revision 1.5.54.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.5.54.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.54.1: +2 -1
lines
Merge changes from current as of 20200406
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 29 13:45:11 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
Add support for reading _DSD string property values.
Revision 1.5.54.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:05 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1
lines
Sync with HEAD
Revision 1.5.52.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:47 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.5.52.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.52.1: +3 -1
lines
Sync with HEAD, resolve a few conflicts
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 21 14:51:12 2018 UTC (5 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1
lines
Add acpi_dsd_integer, which reads an integer value from an ACPI 5.0 _DSD
key/value package list.
Revision 1.5.52.1: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:30 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Sync with head
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 12 23:25:29 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1126,
pgoyette-compat-1020
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Add helper function to match a PCI-defined class/subclass/interface
against a _CLS object.
Revision 1.3.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:56 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +7 -6
lines
Catchup with rmind-uvmplock merge.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 21 03:37:21 2011 UTC (13 years, 5 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Rename acpi_get_node() to acpi_match_node() for consistency.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 20 15:31:52 2011 UTC (13 years, 5 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4
lines
Add two new functions, acpi_match_cpu_info() and acpi_match_cpu_handle(),
which will match a given struct cpu_info with the corresponding ACPI handle,
and vice versa.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:01 2010 UTC (14 years, 4 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +2 -0
lines
Sync with HEAD.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:16 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +89 -0
lines
sync with head.
Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:34 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +3 -1
lines
sync with head
Revision 1.3.2.1
Mon Jun 7 17:13:52 2010 UTC (14 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.3: +0 -89
lines
file acpi_util.h was added on branch yamt-nfs-mp on 2010-08-11 22:53:16 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 7 17:13:52 2010 UTC (14 years, 6 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-nfs-mp,
cherry-xenmp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1
lines
Use the new ACPICA functions AcpiAttachData() and AcpiGetData() to associate
all "struct acpi_devnodes" to their corresponding ACPI_HANDLEs. Anywhere in
the acpi(4) subtree, the node-structure can be obtained from a handle via
acpi_get_node(). The idea is similar to e.g. device_private().
Benefits: (a) simplifies code, (b) avoids issues with locking as ACPICA does
the serialization for us, (c) avoids the need to access the glocal softc, and
(d) avoids the O(n) loop required to search for a handle from the node queue.
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:17 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +87 -0
lines
sync with head
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:06 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +87 -0
lines
Sync with HEAD.
Revision 1.2.4.1
Sat Apr 24 06:57:10 2010 UTC (14 years, 7 months ago) by rmind
Branches: rmind-uvmplock
FILE REMOVED
Changes since revision 1.2: +0 -87
lines
file acpi_util.h was added on branch rmind-uvmplock on 2010-05-30 05:17:17 +0000
Revision 1.2.2.1
Sat Apr 24 06:57:10 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
FILE REMOVED
Changes since revision 1.2: +0 -87
lines
file acpi_util.h was added on branch uebayasi-xip on 2010-04-30 14:43:06 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 24 06:57:10 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base1
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Add utility function acpi_get_node().
This retrieves a struct acpi_devnode from a handle. Since this requires
accessing the global softc, it is better to do it in one place alone. The
same goes for possible locking of the node-queue; it is better not to
publicize such a lock for generic device drivers.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Apr 14 17:12:14 2010 UTC (14 years, 8 months ago) by jruoho
Branches: MAIN
Reorganize the main file: add several missing prototypes, move the functions
around so that they appear in their logical order and place, etc. In
addition, split the utility functions to a separate file.
No functional change. Ok jmcneill@.
CVSweb <webmaster@jp.NetBSD.org>