Lines Matching refs:newn
2351 oldn->__member != newn->__member) \
2394 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() argument
2424 if (newn->mute) { in hotkey_compare_and_issue_event()
2427 oldn->volume_toggle != newn->volume_toggle || in hotkey_compare_and_issue_event()
2428 oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event()
2431 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event()
2441 if (oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event()
2442 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event()
2444 } else if (oldn->volume_toggle != newn->volume_toggle) { in hotkey_compare_and_issue_event()
2446 if (newn->volume_level == 0) in hotkey_compare_and_issue_event()
2448 else if (newn->volume_level >= TP_NVRAM_LEVEL_VOLUME_MAX) in hotkey_compare_and_issue_event()
2454 if (oldn->brightness_level != newn->brightness_level) { in hotkey_compare_and_issue_event()
2456 newn->brightness_level, event_mask); in hotkey_compare_and_issue_event()
2457 } else if (oldn->brightness_toggle != newn->brightness_toggle) { in hotkey_compare_and_issue_event()
2459 if (newn->brightness_level == 0) in hotkey_compare_and_issue_event()
2461 else if (newn->brightness_level >= bright_maxlvl in hotkey_compare_and_issue_event()