Searched refs:sem_mask (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.c | 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() [all …]
|
H A D | ql4_def.h | 982 int ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits); 983 void ql4xxx_sem_unlock(struct scsi_qla_host * ha, u32 sem_mask); 984 int ql4xxx_sem_lock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits);
|
/linux/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 104 u32 sem_mask, u32 sem_bits) in ql_sem_spinlock() argument 112 writel((sem_mask | sem_bits), in ql_sem_spinlock() 115 if ((value & (sem_mask >> 16)) == sem_bits) in ql_sem_spinlock() 122 static void ql_sem_unlock(struct ql3_adapter *qdev, u32 sem_mask) in ql_sem_unlock() argument 126 writel(sem_mask, &port_regs->CommonRegs.semaphoreReg); in ql_sem_unlock() 130 static int ql_sem_lock(struct ql3_adapter *qdev, u32 sem_mask, u32 sem_bits) in ql_sem_lock() argument 136 writel((sem_mask | sem_bits), &port_regs->CommonRegs.semaphoreReg); in ql_sem_lock() 138 return ((value & (sem_mask >> 16)) == sem_bits); in ql_sem_lock()
|