Lines Matching refs:hpc3
52 } hpc3; variable
133 hpc3.scsi[0].addr = (unsigned long)&hpc3c0->scsi_chan0; in save_and_clear_buserr()
134 hpc3.scsi[0].ctrl = hpc3c0->scsi_chan0.ctrl; /* HPC3_SCTRL_ACTIVE ? */ in save_and_clear_buserr()
135 hpc3.scsi[0].cbp = hpc3c0->scsi_chan0.cbptr; in save_and_clear_buserr()
136 hpc3.scsi[0].ndptr = hpc3c0->scsi_chan0.ndptr; in save_and_clear_buserr()
138 hpc3.scsi[1].addr = (unsigned long)&hpc3c0->scsi_chan1; in save_and_clear_buserr()
139 hpc3.scsi[1].ctrl = hpc3c0->scsi_chan1.ctrl; /* HPC3_SCTRL_ACTIVE ? */ in save_and_clear_buserr()
140 hpc3.scsi[1].cbp = hpc3c0->scsi_chan1.cbptr; in save_and_clear_buserr()
141 hpc3.scsi[1].ndptr = hpc3c0->scsi_chan1.ndptr; in save_and_clear_buserr()
143 hpc3.ethrx.addr = (unsigned long)&hpc3c0->ethregs.rx_cbptr; in save_and_clear_buserr()
144 hpc3.ethrx.ctrl = hpc3c0->ethregs.rx_ctrl; /* HPC3_ERXCTRL_ACTIVE ? */ in save_and_clear_buserr()
145 hpc3.ethrx.cbp = hpc3c0->ethregs.rx_cbptr; in save_and_clear_buserr()
146 hpc3.ethrx.ndptr = hpc3c0->ethregs.rx_ndptr; in save_and_clear_buserr()
148 hpc3.ethtx.addr = (unsigned long)&hpc3c0->ethregs.tx_cbptr; in save_and_clear_buserr()
149 hpc3.ethtx.ctrl = hpc3c0->ethregs.tx_ctrl; /* HPC3_ETXCTRL_ACTIVE ? */ in save_and_clear_buserr()
150 hpc3.ethtx.cbp = hpc3c0->ethregs.tx_cbptr; in save_and_clear_buserr()
151 hpc3.ethtx.ndptr = hpc3c0->ethregs.tx_ndptr; in save_and_clear_buserr()
155 hpc3.pbdma[i].addr = (unsigned long)&hpc3c0->pbdma[i]; in save_and_clear_buserr()
156 hpc3.pbdma[i].ctrl = hpc3c0->pbdma[i].pbdma_ctrl; in save_and_clear_buserr()
157 hpc3.pbdma[i].cbp = hpc3c0->pbdma[i].pbdma_bptr; in save_and_clear_buserr()
158 hpc3.pbdma[i].ndptr = hpc3c0->pbdma[i].pbdma_dptr; in save_and_clear_buserr()
401 for (i = 0; i < sizeof(hpc3)/sizeof(struct hpc3_stat); ++i) { in ip28_be_interrupt()
402 struct hpc3_stat *hp = (struct hpc3_stat *)&hpc3 + i; in ip28_be_interrupt()
410 if (i < sizeof(hpc3)/sizeof(struct hpc3_stat)) { in ip28_be_interrupt()
411 struct hpc3_stat *hp = (struct hpc3_stat *)&hpc3 + i; in ip28_be_interrupt()