Searched refs:oldb (Results 1 – 2 of 2) sorted by relevance
177 unsigned oldb, newb, type = chip->flow_type; in htcpld_handler() local183 oldb = (old_val >> irqpin) & 1; in htcpld_handler()186 if ((!oldb && newb && (type & IRQ_TYPE_EDGE_RISING)) || in htcpld_handler()187 (oldb && !newb && (type & IRQ_TYPE_EDGE_FALLING))) { in htcpld_handler()
421 int oldb, newb; in acpi_fujitsu_bl_notify() local430 oldb = priv->brightness_level; in acpi_fujitsu_bl_notify()435 "brightness button event [%i -> %i]\n", oldb, newb); in acpi_fujitsu_bl_notify()437 if (oldb == newb) in acpi_fujitsu_bl_notify()443 sparse_keymap_report_event(priv->input, oldb < newb, 1, true); in acpi_fujitsu_bl_notify()