Lines Matching refs:sem_mask
202 int ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits) in ql4xxx_sem_spinlock() argument
209 "0x%x\n", ha->host_no, sem_mask, sem_bits)); in ql4xxx_sem_spinlock()
212 writel((sem_mask | sem_bits), isp_semaphore(ha)); in ql4xxx_sem_spinlock()
215 if ((value & (sem_mask >> 16)) == sem_bits) { in ql4xxx_sem_spinlock()
218 sem_mask, sem_bits)); in ql4xxx_sem_spinlock()
226 void ql4xxx_sem_unlock(struct scsi_qla_host * ha, u32 sem_mask) in ql4xxx_sem_unlock() argument
231 writel(sem_mask, isp_semaphore(ha)); in ql4xxx_sem_unlock()
236 sem_mask)); in ql4xxx_sem_unlock()
239 int ql4xxx_sem_lock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits) in ql4xxx_sem_lock() argument
245 writel((sem_mask | sem_bits), isp_semaphore(ha)); in ql4xxx_sem_lock()
248 if ((value & (sem_mask >> 16)) == sem_bits) { in ql4xxx_sem_lock()
251 sem_mask, sem_bits, value)); in ql4xxx_sem_lock()