Lines Matching refs:dev
28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/acpi_support/acpi_rapidstart.c 273377 2014-10-21 07:31:21Z hselasky $");
35 #include <contrib/dev/acpica/include/acpi.h>
39 #include <dev/acpica/acpivar.h>
63 acpi_rapidstart_probe(device_t dev)
66 ACPI_ID_PROBE(device_get_parent(dev), dev, rapidstart_ids) == NULL ||
67 device_get_unit(dev) != 0)
70 device_set_desc(dev, "Intel Rapid Start ACPI device");
77 acpi_rapidstart_attach(device_t dev)
82 sc = device_get_softc(dev);
84 sc->sysctl_ctx = device_get_sysctl_ctx(dev);
85 sc->sysctl_tree = device_get_sysctl_tree(dev);
88 SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev),
89 SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
92 dev, i, sysctl_acpi_rapidstart_gen_handler, "I",
95 SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev),
96 SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
99 dev, i, sysctl_acpi_rapidstart_gen_handler, "I",
109 device_t dev = arg1;
113 acpi_GetInteger(acpi_get_handle(dev),
118 acpi_SetInteger(acpi_get_handle(dev),