Lines Matching refs:sbus_writew

142 	sbus_writew(SBUS_CTRL_ERIRQ | SBUS_CTRL_GENAB,  in qlogicpti_enable_irqs()
148 sbus_writew(0, qpti->qregs + SBUS_CTRL); in qlogicpti_disable_irqs()
174 sbus_writew(val, qpti->qregs + SBUS_CFG1); in set_sbus_cfg1()
188 sbus_writew(tmp, qpti->qregs + SBUS_SEMAPHORE); in qlogicpti_mbox_command()
202 case 6: sbus_writew(param[5], qpti->qregs + MBOX5); in qlogicpti_mbox_command()
204 case 5: sbus_writew(param[4], qpti->qregs + MBOX4); in qlogicpti_mbox_command()
206 case 4: sbus_writew(param[3], qpti->qregs + MBOX3); in qlogicpti_mbox_command()
208 case 3: sbus_writew(param[2], qpti->qregs + MBOX2); in qlogicpti_mbox_command()
210 case 2: sbus_writew(param[1], qpti->qregs + MBOX1); in qlogicpti_mbox_command()
212 case 1: sbus_writew(param[0], qpti->qregs + MBOX0); in qlogicpti_mbox_command()
218 sbus_writew(tmp, qpti->qregs + HCCTRL); in qlogicpti_mbox_command()
221 sbus_writew(0, qpti->qregs + SBUS_SEMAPHORE); in qlogicpti_mbox_command()
226 sbus_writew(tmp, qpti->qregs + HCCTRL); in qlogicpti_mbox_command()
277 sbus_writew(tmp, qpti->qregs + HCCTRL); in qlogicpti_mbox_command()
282 sbus_writew(tmp, qpti->qregs + SBUS_SEMAPHORE); in qlogicpti_mbox_command()
338 sbus_writew(HCCTRL_PAUSE, qpti->qregs + HCCTRL); in qlogicpti_reset_hardware()
342 sbus_writew(CPU_ORIDE_RMOD, qpti->qregs + CPU_ORIDE); in qlogicpti_reset_hardware()
343 sbus_writew(CPU_CMD_BRESET, qpti->qregs + CPU_CMD); in qlogicpti_reset_hardware()
347 sbus_writew(SBUS_CTRL_RESET, qpti->qregs + SBUS_CTRL); in qlogicpti_reset_hardware()
348 sbus_writew((DMA_CTRL_CCLEAR | DMA_CTRL_CIRQ), qpti->qregs + CMD_DMA_CTRL); in qlogicpti_reset_hardware()
349 sbus_writew((DMA_CTRL_CCLEAR | DMA_CTRL_CIRQ), qpti->qregs + DATA_DMA_CTRL); in qlogicpti_reset_hardware()
358 sbus_writew(HCCTRL_PAUSE, qpti->qregs + HCCTRL); in qlogicpti_reset_hardware()
364 sbus_writew((RISC_MTREG_P0ULTRA | RISC_MTREG_P1ULTRA), in qlogicpti_reset_hardware()
368 sbus_writew((RISC_MTREG_P0DFLT | RISC_MTREG_P1DFLT), in qlogicpti_reset_hardware()
377 sbus_writew(HCCTRL_REL, qpti->qregs + HCCTRL); in qlogicpti_reset_hardware()
517 sbus_writew(SBUS_CTRL_RESET, qpti->qregs + SBUS_CTRL); in qlogicpti_load_firmware()
518 sbus_writew((DMA_CTRL_CCLEAR | DMA_CTRL_CIRQ), qpti->qregs + CMD_DMA_CTRL); in qlogicpti_load_firmware()
519 sbus_writew((DMA_CTRL_CCLEAR | DMA_CTRL_CIRQ), qpti->qregs + DATA_DMA_CTRL); in qlogicpti_load_firmware()
529 sbus_writew(HCCTRL_RESET, qpti->qregs + HCCTRL); in qlogicpti_load_firmware()
532 sbus_writew((SBUS_CTRL_GENAB | SBUS_CTRL_ERIRQ), qpti->qregs + SBUS_CTRL); in qlogicpti_load_firmware()
534 sbus_writew(0, qpti->qregs + SBUS_SEMAPHORE); in qlogicpti_load_firmware()
538 sbus_writew((RISC_MTREG_P0ULTRA | RISC_MTREG_P1ULTRA), in qlogicpti_load_firmware()
542 sbus_writew((RISC_MTREG_P0DFLT | RISC_MTREG_P1DFLT), in qlogicpti_load_firmware()
546 sbus_writew(HCCTRL_REL, qpti->qregs + HCCTRL); in qlogicpti_load_firmware()
549 sbus_writew(HCCTRL_PAUSE, qpti->qregs + HCCTRL); in qlogicpti_load_firmware()
554 sbus_writew(HCCTRL_REL, qpti->qregs + HCCTRL); in qlogicpti_load_firmware()
583 sbus_writew(HCCTRL_RESET, qpti->qregs + HCCTRL); in qlogicpti_load_firmware()
587 sbus_writew(0, qpti->qregs + SBUS_SEMAPHORE); in qlogicpti_load_firmware()
588 sbus_writew(HCCTRL_REL, qpti->qregs + HCCTRL); in qlogicpti_load_firmware()
963 sbus_writew(in_ptr, qpti->qregs + MBOX4); in load_cmd()
1037 sbus_writew(in_ptr, qpti->qregs + MBOX4); in qlogicpti_queuecommand_lck()
1141 sbus_writew(HCCTRL_CRIRQ, qpti->qregs + HCCTRL); in qlogicpti_intr_handler()
1154 sbus_writew(0, qpti->qregs + SBUS_SEMAPHORE); in qlogicpti_intr_handler()
1194 sbus_writew(out_ptr, qpti->qregs + MBOX5); in qlogicpti_intr_handler()
1421 sbus_writew(0, qpti->qregs + SBUS_CTRL); in qpti_sbus_remove()