Lines Matching refs:ctlp
530 CONTROLLER_t *ctlp; in rp_do_poll() local
543 ctlp = sCtlNumToCtlPtr(ctrl); in rp_do_poll()
547 if (ctlp->BusType == isPCI) in rp_do_poll()
548 CtlMask = sPCIGetControllerIntStatus(ctlp); in rp_do_poll()
551 CtlMask = sGetControllerIntStatus(ctlp); in rp_do_poll()
555 bit = ctlp->AiopIntrBits[aiop]; in rp_do_poll()
558 AiopMask = sGetAiopIntStatus(ctlp, aiop); in rp_do_poll()
611 CONTROLLER_T *ctlp; in init_r_port() local
616 ctlp = sCtlNumToCtlPtr(board); in init_r_port()
628 info->ctlp = ctlp; in init_r_port()
652 if (sInitChan(ctlp, &info->channel, aiop, chan) == 0) { in init_r_port()
667 if (ctlp->boardType == ROCKET_TYPE_PC104) { in init_r_port()
1268 if (info->ctlp->BusType == isISA) in reset_rm2()
1269 sModemReset(info->ctlp, info->chan, reset); in reset_rm2()
1271 sPCIModemReset(info->ctlp, info->chan, reset); in reset_rm2()
1890 CONTROLLER_t *ctlp; in register_PCI() local
2140 ctlp = sCtlNumToCtlPtr(i); in register_PCI()
2141 …num_aiops = sPCIInitController(ctlp, i, aiopio, max_num_aiops, ConfigIO, 0, FREQ_DIS, 0, altChanRi… in register_PCI()
2143 ctlp->AiopNumChan[aiop] = ports_per_aiop; in register_PCI()
2159 sResetAiopByNum(ctlp, aiop); in register_PCI()
2169 sPCIModemReset(ctlp, chan, 1); in register_PCI()
2172 sPCIModemReset(ctlp, chan, 0); in register_PCI()
2174 rmSpeakerReset(ctlp, rocketModel[i].model); in register_PCI()
2210 CONTROLLER_t *ctlp; in init_ISA() local
2226 ctlp = sCtlNumToCtlPtr(i); in init_ISA()
2228 ctlp->boardType = rcktpt_type[i]; in init_ISA()
2260 …num_aiops = sInitController(ctlp, i, controller + (i * 0x400), aiopio, MAX_AIOPS_PER_BOARD, 0, FR… in init_ISA()
2262 if (ctlp->boardType == ROCKET_TYPE_PC104) { in init_ISA()
2263 sEnAiop(ctlp, 2); /* only one AIOPIC, but these */ in init_ISA()
2264 sEnAiop(ctlp, 3); /* CSels used for other stuff */ in init_ISA()
2277 sResetAiopByNum(ctlp, aiop); in init_ISA()
2278 sEnAiop(ctlp, aiop); in init_ISA()
2279 num_chan = sGetAiopNumChan(ctlp, aiop); in init_ISA()
2286 num_chan = sGetAiopNumChan(ctlp, 0); in init_ISA()
2289 sModemReset(ctlp, chan, 1); in init_ISA()
2292 sModemReset(ctlp, chan, 0); in init_ISA()