Lines Matching refs:old_state
61 int enable, int *old_state)
70 if (old_state) {
72 *old_state |= BD70528_WAKE_STATE_BIT;
74 *old_state &= ~BD70528_WAKE_STATE_BIT;
76 if (!enable == !(*old_state & BD70528_WAKE_STATE_BIT))
90 int enable, int *old_state)
112 if (old_state) {
114 *old_state |= BD70528_ELAPSED_STATE_BIT;
116 *old_state &= ~BD70528_ELAPSED_STATE_BIT;
118 if ((!enable) == (!(*old_state & BD70528_ELAPSED_STATE_BIT)))
132 int *old_state)
137 old_state);
145 old_state);
152 old_state);
163 int old_state)
168 return bd70528_set_rtc_based_timers(r, old_state, NULL);
172 int *old_state)
177 return bd70528_set_rtc_based_timers(r, 0, old_state);