Lines Matching refs:cntl_b
198 u_char cntl_b; in todc_time_init() local
200 cntl_b = todc_read_val(todc_info->control_b); in todc_time_init()
203 if ((cntl_b & 0x70) != 0x20) { in todc_time_init()
207 cntl_b &= ~0x70; in todc_time_init()
208 cntl_b |= 0x20; in todc_time_init()
211 todc_write_val(todc_info->control_b, cntl_b); in todc_time_init()
229 cntl_b &= ~TODC_DS1501_CNTL_B_TE; in todc_time_init()
230 todc_write_val(todc_info->control_b, cntl_b); in todc_time_init()
241 if (cntl_b & TODC_MK48TXX_DAY_CB) { in todc_time_init()
247 cntl_b &= ~TODC_MK48TXX_DAY_CB;/* Start Oscil */ in todc_time_init()
250 todc_write_val(todc_info->control_b, cntl_b); in todc_time_init()