Lines Matching full:pit
54 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in bvme6000_reset() local
60 /* Enable the watchdog, via PIT port C bit 4 */ in bvme6000_reset()
62 pit->pcddr |= 0x10; /* WDOG enable */ in bvme6000_reset()
84 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in config_bvme6000() local
110 /* Now do the PIT configuration */ in config_bvme6000()
112 pit->pgcr = 0x00; /* Unidirectional 8 bit, no handshake for now */ in config_bvme6000()
113 pit->psrr = 0x18; /* PIACK and PIRQ functions enabled */ in config_bvme6000()
114 pit->pacr = 0x00; /* Sub Mode 00, H2 i/p, no DMA */ in config_bvme6000()
115 pit->padr = 0x00; /* Just to be tidy! */ in config_bvme6000()
116 pit->paddr = 0x00; /* All inputs for now (safest) */ in config_bvme6000()
117 pit->pbcr = 0x80; /* Sub Mode 1x, H4 i/p, no DMA */ in config_bvme6000()
118 pit->pbdr = 0xbc | (*config_reg_ptr & BVME_CONFIG_SW1 ? 0 : 0x40); in config_bvme6000()
120 pit->pbddr = 0xf3; /* Mostly outputs */ in config_bvme6000()
121 pit->pcdr = 0x01; /* PA transceiver disabled */ in config_bvme6000()
122 pit->pcddr = 0x03; /* WDOG disable */ in config_bvme6000()
232 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in bvme6000_read_clk() local
245 t1op = pit->pcdr & 0x04; in bvme6000_read_clk()
250 t1op != (pit->pcdr & 0x04) || in bvme6000_read_clk()