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