Searched refs:leg_int_ptr (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_isr.c1287 uint32_t leg_int_ptr = 0; qla4_83xx_intr_handler() local
1291 leg_int_ptr = readl(&ha->qla4_83xx_reg->leg_int_ptr); qla4_83xx_intr_handler()
1293 /* Legacy interrupt is valid if bit31 of leg_int_ptr is set */ qla4_83xx_intr_handler()
1294 if (!(leg_int_ptr & LEG_INT_PTR_B31)) { qla4_83xx_intr_handler()
1301 /* Validate the PCIE function ID set in leg_int_ptr bits [19..16] */ qla4_83xx_intr_handler()
1302 if ((leg_int_ptr & PF_BITS_MASK) != ha->pf_bit) { qla4_83xx_intr_handler()
1305 __func__, (leg_int_ptr & PF_BITS_MASK), qla4_83xx_intr_handler()
1316 leg_int_ptr = readl(&ha->qla4_83xx_reg->leg_int_ptr); qla4_83xx_intr_handler()
1317 if ((leg_int_ptr & PF_BITS_MASK) != ha->pf_bit) qla4_83xx_intr_handler()
1319 } while (leg_int_ptr & LEG_INT_PTR_B30); qla4_83xx_intr_handler()
1322 leg_int_ptr = readl(&ha->qla4_83xx_reg->risc_intr); qla4_83xx_intr_handler()
1323 ha->isp_ops->interrupt_service_routine(ha, leg_int_ptr); qla4_83xx_intr_handler()
H A Dql4_fw.h94 __le32 leg_int_ptr; /* 0x38C0 - Legacy Interrupt Pointer Register */ member in struct:device_reg_83xx
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_nx2.c3891 uint32_t leg_int_ptr = 0, pf_bit; qla8044_intr_handler() local
3905 leg_int_ptr = qla8044_rd_reg(ha, LEG_INTR_PTR_OFFSET); qla8044_intr_handler()
3907 /* Legacy interrupt is valid if bit31 of leg_int_ptr is set */ qla8044_intr_handler()
3908 if (!(leg_int_ptr & (LEG_INT_PTR_B31))) { qla8044_intr_handler()
3916 /* Validate the PCIE function ID set in leg_int_ptr bits [19..16] */ qla8044_intr_handler()
3917 if ((leg_int_ptr & (PF_BITS_MASK)) != pf_bit) { qla8044_intr_handler()
3922 (leg_int_ptr & (PF_BITS_MASK)), pf_bit); qla8044_intr_handler()
3932 leg_int_ptr = qla8044_rd_reg(ha, LEG_INTR_PTR_OFFSET); qla8044_intr_handler()
3933 if ((leg_int_ptr & (PF_BITS_MASK)) != pf_bit) qla8044_intr_handler()
3935 } while (leg_int_ptr & (LEG_INT_PTR_B30)); qla8044_intr_handler()

Completed in 101 milliseconds