Lines Matching refs:cntrl1
580 tod_3000.cntrl1 = TOD3000_CNTRL1_HOLD; in a3000_gettod()
589 tod_3000.cntrl1 = TOD3000_CNTRL1_FREE; in a3000_gettod()
597 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in a2000_gettod()
599 while ((tod_2000.cntrl1 & TOD2000_CNTRL1_BUSY) && cnt--) in a2000_gettod()
601 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in a2000_gettod()
603 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in a2000_gettod()
607 printk(KERN_INFO "gettod: timed out waiting for RTC (0x%x)\n", tod_2000.cntrl1); in a2000_gettod()
623 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in a2000_gettod()
629 tod_3000.cntrl1 = TOD3000_CNTRL1_HOLD; in amiga_hwclk()
660 tod_3000.cntrl1 = TOD3000_CNTRL1_FREE; in amiga_hwclk()
664 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in amiga_hwclk()
666 while ((tod_2000.cntrl1 & TOD2000_CNTRL1_BUSY) && cnt--) in amiga_hwclk()
668 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in amiga_hwclk()
670 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in amiga_hwclk()
674 printk(KERN_INFO "hwclk: timed out waiting for RTC (0x%x)\n", tod_2000.cntrl1); in amiga_hwclk()
718 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in amiga_hwclk()
729 tod_3000.cntrl1 = TOD3000_CNTRL1_HOLD; in amiga_set_clock_mmss()
736 tod_3000.cntrl1 = TOD3000_CNTRL1_FREE; in amiga_set_clock_mmss()
740 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in amiga_set_clock_mmss()
742 while ((tod_2000.cntrl1 & TOD2000_CNTRL1_BUSY) && cnt--) in amiga_set_clock_mmss()
744 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in amiga_set_clock_mmss()
746 tod_2000.cntrl1 |= TOD2000_CNTRL1_HOLD; in amiga_set_clock_mmss()
750 printk(KERN_INFO "set_clock_mmss: timed out waiting for RTC (0x%x)\n", tod_2000.cntrl1); in amiga_set_clock_mmss()
757 tod_2000.cntrl1 &= ~TOD2000_CNTRL1_HOLD; in amiga_set_clock_mmss()
768 tod_3000.cntrl1 = TOD3000_CNTRL1_HOLD; in amiga_get_ss()
770 tod_3000.cntrl1 = TOD3000_CNTRL1_FREE; in amiga_get_ss()