Searched refs:sem_bits (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() 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()
|
H A D | ql4_def.h | 982 int ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits); 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() 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()
|