Lines Matching refs:pit
63 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in bvme6000_reset() local
71 pit->pcddr |= 0x10; /* WDOG enable */ in bvme6000_reset()
93 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in config_bvme6000() local
124 pit->pgcr = 0x00; /* Unidirectional 8 bit, no handshake for now */ in config_bvme6000()
125 pit->psrr = 0x18; /* PIACK and PIRQ functions enabled */ in config_bvme6000()
126 pit->pacr = 0x00; /* Sub Mode 00, H2 i/p, no DMA */ in config_bvme6000()
127 pit->padr = 0x00; /* Just to be tidy! */ in config_bvme6000()
128 pit->paddr = 0x00; /* All inputs for now (safest) */ in config_bvme6000()
129 pit->pbcr = 0x80; /* Sub Mode 1x, H4 i/p, no DMA */ in config_bvme6000()
130 pit->pbdr = 0xbc | (*config_reg_ptr & BVME_CONFIG_SW1 ? 0 : 0x40); in config_bvme6000()
132 pit->pbddr = 0xf3; /* Mostly outputs */ in config_bvme6000()
133 pit->pcdr = 0x01; /* PA transceiver disabled */ in config_bvme6000()
134 pit->pcddr = 0x03; /* WDOG disable */ in config_bvme6000()
222 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in bvme6000_gettimeoffset() local
232 t1op = pit->pcdr & 0x04; in bvme6000_gettimeoffset()
237 t1op != (pit->pcdr & 0x04) || in bvme6000_gettimeoffset()