Lines Matching refs:intmask_org
269 u_int32_t intmask_org = 0; in arcmsr_disable_allintr() local
274 …intmask_org = CHIP_REG_READ32(HBA_MessageUnit, 0, outbound_intmask); /* disable outbound message0 … in arcmsr_disable_allintr()
275 …CHIP_REG_WRITE32(HBA_MessageUnit, 0, outbound_intmask, intmask_org|ARCMSR_MU_OUTBOUND_ALL_INTMASKE… in arcmsr_disable_allintr()
281 intmask_org = READ_CHIP_REG32(0, phbbmu->iop2drv_doorbell_mask) in arcmsr_disable_allintr()
288 …intmask_org = CHIP_REG_READ32(HBC_MessageUnit, 0, host_int_mask); /* disable outbound message0 int… in arcmsr_disable_allintr()
289 CHIP_REG_WRITE32(HBC_MessageUnit, 0, host_int_mask, intmask_org|ARCMSR_HBCMU_ALL_INTMASKENABLE); in arcmsr_disable_allintr()
294 …intmask_org = CHIP_REG_READ32(HBD_MessageUnit, 0, pcief0_int_enable); /* disable outbound message0… in arcmsr_disable_allintr()
301 …intmask_org = CHIP_REG_READ32(HBE_MessageUnit, 0, host_int_mask); /* disable outbound message0 int… in arcmsr_disable_allintr()
302 … CHIP_REG_WRITE32(HBE_MessageUnit, 0, host_int_mask, intmask_org | ARCMSR_HBEMU_ALL_INTMASKENABLE); in arcmsr_disable_allintr()
306 return (intmask_org); in arcmsr_disable_allintr()
312 static void arcmsr_enable_allintr( struct AdapterControlBlock *acb, u_int32_t intmask_org) in arcmsr_enable_allintr() argument
320 CHIP_REG_WRITE32(HBA_MessageUnit, 0, outbound_intmask, intmask_org & mask); in arcmsr_enable_allintr()
321 acb->outbound_int_enable = ~(intmask_org & mask) & 0x000000ff; in arcmsr_enable_allintr()
328 …WRITE_CHIP_REG32(0, phbbmu->iop2drv_doorbell_mask, intmask_org | mask); /*1=interrupt enable, 0=in… in arcmsr_enable_allintr()
329 acb->outbound_int_enable = (intmask_org | mask) & 0x0000000f; in arcmsr_enable_allintr()
335 CHIP_REG_WRITE32(HBC_MessageUnit, 0, host_int_mask, intmask_org & mask); in arcmsr_enable_allintr()
336 acb->outbound_int_enable = ~(intmask_org & mask) & 0x0000000f; in arcmsr_enable_allintr()
342 CHIP_REG_WRITE32(HBD_MessageUnit, 0, pcief0_int_enable, intmask_org | mask); in arcmsr_enable_allintr()
351 CHIP_REG_WRITE32(HBE_MessageUnit, 0, host_int_mask, intmask_org & mask); in arcmsr_enable_allintr()
352 acb->outbound_int_enable = ~(intmask_org & mask) & 0x0000000f; in arcmsr_enable_allintr()
953 u_int32_t intmask_org; in arcmsr_iop_reset() local
958 intmask_org = arcmsr_disable_allintr(acb); in arcmsr_iop_reset()
975 arcmsr_enable_allintr(acb, intmask_org); in arcmsr_iop_reset()
1710 u_int32_t intmask_org; in arcmsr_abort_dr_ccbs() local
1714 intmask_org = arcmsr_disable_allintr(acb); in arcmsr_abort_dr_ccbs()
1730 arcmsr_enable_allintr(acb, intmask_org); in arcmsr_abort_dr_ccbs()
2350 u_int32_t intmask_org; in arcmsr_handle_hbd_isr() local
2362 …intmask_org = CHIP_REG_READ32(HBD_MessageUnit, 0, pcief0_int_enable) ; /* disable outbound message… in arcmsr_handle_hbd_isr()
2373 CHIP_REG_WRITE32(HBD_MessageUnit, 0, pcief0_int_enable, intmask_org | ARCMSR_HBDMU_ALL_INT_ENABLE); in arcmsr_handle_hbd_isr()
2536 u_int32_t intmask_org; in arcmsr_iop_parking() local
2541 intmask_org = arcmsr_disable_allintr(acb); in arcmsr_iop_parking()
2544 arcmsr_enable_allintr(acb, intmask_org); in arcmsr_iop_parking()
3049 u_int32_t intmask_org; in arcmsr_seek_cmd2abort() local
3064 intmask_org = arcmsr_disable_allintr(acb); in arcmsr_seek_cmd2abort()
3076 arcmsr_enable_allintr(acb, intmask_org); in arcmsr_seek_cmd2abort()
3082 arcmsr_enable_allintr(acb, intmask_org); in arcmsr_seek_cmd2abort()
4391 u_int32_t intmask_org; in arcmsr_iop_init() local
4394 intmask_org = arcmsr_disable_allintr(acb); in arcmsr_iop_init()
4404 arcmsr_enable_allintr(acb, intmask_org); in arcmsr_iop_init()