Searched refs:query_bit (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/acpi/ |
D | sbshc.c | 26 u8 query_bit; member 241 extern int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, 271 hc->query_bit = val & 0xff; in acpi_smbus_hc_add() 274 acpi_ec_add_query_handler(hc->ec, hc->query_bit, NULL, smbus_alarm, hc); in acpi_smbus_hc_add() 276 hc->offset, hc->query_bit); in acpi_smbus_hc_add() 281 extern void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit); 291 acpi_ec_remove_query_handler(hc->ec, hc->query_bit); in acpi_smbus_hc_remove()
|
D | ec.c | 149 u8 query_bit; member 1037 if (value == handler->query_bit) { in acpi_ec_get_query_handler_by_value() 1060 int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, in acpi_ec_add_query_handler() argument 1070 handler->query_bit = query_bit; in acpi_ec_add_query_handler() 1083 bool remove_all, u8 query_bit) in acpi_ec_remove_query_handlers() argument 1090 if (remove_all || query_bit == handler->query_bit) { in acpi_ec_remove_query_handlers() 1100 void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit) in acpi_ec_remove_query_handler() argument 1102 acpi_ec_remove_query_handlers(ec, false, query_bit); in acpi_ec_remove_query_handler() 1136 ec_dbg_evt("Query(0x%02x) started", handler->query_bit); in acpi_ec_event_processor() 1141 ec_dbg_evt("Query(0x%02x) stopped", handler->query_bit); in acpi_ec_event_processor()
|
D | internal.h | 201 int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, 204 void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit);
|