Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DEmbeddedController.h137 struct acpi_ec_cookie { struct
188 EcLock(struct acpi_ec_cookie *sc) in EcLock()
202 EcUnlock(struct acpi_ec_cookie *sc) in EcUnlock()
219 static acpi_status EcWaitEvent(struct acpi_ec_cookie *sc, EC_EVENT event,
221 static acpi_status EcCommand(struct acpi_ec_cookie *sc, EC_COMMAND cmd);
222 static acpi_status EcRead(struct acpi_ec_cookie *sc, uint8 address,
224 static acpi_status EcWrite(struct acpi_ec_cookie *sc, uint8 address,
H A DEmbeddedController.cpp149 acpi_ec_cookie* sc = (acpi_ec_cookie*)_context; in embedded_controller_io_ports_parse_callback()
171 acpi_ec_cookie* device = (acpi_ec_cookie*) initCookie; in embedded_controller_open()
286 acpi_ec_cookie* sc; in embedded_controller_init_driver()
287 sc = (acpi_ec_cookie*)malloc(sizeof(acpi_ec_cookie)); in embedded_controller_init_driver()
291 memset(sc, 0, sizeof(acpi_ec_cookie)); in embedded_controller_init_driver()
415 acpi_ec_cookie* sc = (struct acpi_ec_cookie*)driverCookie; in embedded_controller_uninit_driver()
425 device_node* node = ((acpi_ec_cookie*)_cookie)->ec_dev; in embedded_controller_register_child_devices()
499 EcCheckStatus(struct acpi_ec_cookie* sc, const char* msg, EC_EVENT event) in EcCheckStatus()
517 EcGpeQueryHandlerSub(struct acpi_ec_cookie *sc) in EcGpeQueryHandlerSub()
572 struct acpi_ec_cookie* sc = (struct acpi_ec_cookie*)context; in EcGpeQueryHandler()
[all …]