Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/power/acpi_button/
H A Dacpi_button.cpp44 uint8 last_status; member
55 device->last_status = 1; in acpi_button_notify_handler()
72 device->last_status = 1; in acpi_button_fixed_handler()
116 device->last_status = 0; in acpi_button_init_device()
177 if (user_memcpy(buffer, &device->last_status, sizeof(uint8)) < B_OK) in acpi_button_read()
179 device->last_status = 0; in acpi_button_read()
217 if (device->last_status != 0) in acpi_button_select()
/haiku/src/add-ons/kernel/drivers/power/acpi_ac/
H A Dacpi_ac.cpp40 uint8 last_status; member
57 device->last_status = object->integer.integer; in acpi_ac_update_status()
58 TRACE("status %d\n", device->last_status); in acpi_ac_update_status()
116 if (user_memcpy(buf, &device->last_status, sizeof(uint8)) < B_OK) in acpi_ac_read()
225 device->last_status = 0; in acpi_ac_init_driver()
/haiku/src/add-ons/kernel/drivers/power/acpi_lid/
H A Dacpi_lid.cpp45 uint8 last_status; member
63 device->last_status = object->integer.integer; in acpi_lid_read_status()
65 TRACE("status %d\n", device->last_status); in acpi_lid_read_status()
126 if (user_memcpy(buf, &device->last_status, sizeof(uint8)) < B_OK) in acpi_lid_read()
271 device->last_status = 0; in acpi_lid_init_driver()
/haiku/src/kits/media/
H A DTrackReader.cpp221 status_t last_status = B_OK; in ReadFrames() local
231 if (last_status != B_OK) in ReadFrames()
235 last_status = fMediaTrack->ReadFrames(fBuffer, in ReadFrames()