Searched refs:prev_mode (Results 1 – 3 of 3) sorted by relevance
57 int prev_mode; in dlm_add_lkb_callback() local75 prev_mode = lkb->lkb_callbacks[i-1].mode; in dlm_add_lkb_callback()77 if ((prev_mode == mode) || in dlm_add_lkb_callback()78 (prev_mode > mode && prev_mode > DLM_LOCK_PR)) { in dlm_add_lkb_callback()86 prev_mode); in dlm_add_lkb_callback()
498 u16 cval, scval, prev_mode; in cpm_uart_set_termios() local618 prev_mode = in_be16(&smcp->smc_smcmr) & (SMCMR_REN | SMCMR_TEN); in cpm_uart_set_termios()622 SMCMR_SM_UART | prev_mode); in cpm_uart_set_termios()
859 unsigned cflag, cval, scval, prev_mode; in change_speed() local982 prev_mode = smcp->smc_smcmr; in change_speed()984 smcp->smc_smcmr |= (prev_mode & (SMCMR_REN | SMCMR_TEN)); in change_speed()