sem_mask          105 drivers/net/ethernet/qlogic/qla3xxx.c 			    u32 sem_mask, u32 sem_bits)
sem_mask          113 drivers/net/ethernet/qlogic/qla3xxx.c 		writel((sem_mask | sem_bits),
sem_mask          116 drivers/net/ethernet/qlogic/qla3xxx.c 		if ((value & (sem_mask >> 16)) == sem_bits)
sem_mask          123 drivers/net/ethernet/qlogic/qla3xxx.c static void ql_sem_unlock(struct ql3_adapter *qdev, u32 sem_mask)
sem_mask          127 drivers/net/ethernet/qlogic/qla3xxx.c 	writel(sem_mask, &port_regs->CommonRegs.semaphoreReg);
sem_mask          131 drivers/net/ethernet/qlogic/qla3xxx.c static int ql_sem_lock(struct ql3_adapter *qdev, u32 sem_mask, u32 sem_bits)
sem_mask          137 drivers/net/ethernet/qlogic/qla3xxx.c 	writel((sem_mask | sem_bits), &port_regs->CommonRegs.semaphoreReg);
sem_mask          139 drivers/net/ethernet/qlogic/qla3xxx.c 	return ((value & (sem_mask >> 16)) == sem_bits);
sem_mask          974 drivers/scsi/qla4xxx/ql4_def.h int ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits);
sem_mask          975 drivers/scsi/qla4xxx/ql4_def.h void ql4xxx_sem_unlock(struct scsi_qla_host * ha, u32 sem_mask);
sem_mask          976 drivers/scsi/qla4xxx/ql4_def.h int ql4xxx_sem_lock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits);
sem_mask          203 drivers/scsi/qla4xxx/ql4_nvram.c int ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits)
sem_mask          210 drivers/scsi/qla4xxx/ql4_nvram.c 		      "0x%x\n", ha->host_no, sem_mask, sem_bits));
sem_mask          213 drivers/scsi/qla4xxx/ql4_nvram.c 		writel((sem_mask | sem_bits), isp_semaphore(ha));
sem_mask          216 drivers/scsi/qla4xxx/ql4_nvram.c 		if ((value & (sem_mask >> 16)) == sem_bits) {
sem_mask          219 drivers/scsi/qla4xxx/ql4_nvram.c 				      sem_mask, sem_bits));
sem_mask          227 drivers/scsi/qla4xxx/ql4_nvram.c void ql4xxx_sem_unlock(struct scsi_qla_host * ha, u32 sem_mask)
sem_mask          232 drivers/scsi/qla4xxx/ql4_nvram.c 	writel(sem_mask, isp_semaphore(ha));
sem_mask          237 drivers/scsi/qla4xxx/ql4_nvram.c 		      sem_mask));
sem_mask          240 drivers/scsi/qla4xxx/ql4_nvram.c int ql4xxx_sem_lock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits)
sem_mask          246 drivers/scsi/qla4xxx/ql4_nvram.c 	writel((sem_mask | sem_bits), isp_semaphore(ha));
sem_mask          249 drivers/scsi/qla4xxx/ql4_nvram.c 	if ((value & (sem_mask >> 16)) == sem_bits) {
sem_mask          252 drivers/scsi/qla4xxx/ql4_nvram.c 			      sem_mask, sem_bits, value));
sem_mask         2224 drivers/staging/qlge/qlge.h int ql_sem_spinlock(struct ql_adapter *qdev, u32 sem_mask);
sem_mask         2225 drivers/staging/qlge/qlge.h void ql_sem_unlock(struct ql_adapter *qdev, u32 sem_mask);
sem_mask          107 drivers/staging/qlge/qlge_main.c static int ql_sem_trylock(struct ql_adapter *qdev, u32 sem_mask)
sem_mask          111 drivers/staging/qlge/qlge_main.c 	switch (sem_mask) {
sem_mask          141 drivers/staging/qlge/qlge_main.c 	ql_write32(qdev, SEM, sem_bits | sem_mask);
sem_mask          145 drivers/staging/qlge/qlge_main.c int ql_sem_spinlock(struct ql_adapter *qdev, u32 sem_mask)
sem_mask          149 drivers/staging/qlge/qlge_main.c 		if (!ql_sem_trylock(qdev, sem_mask))
sem_mask          156 drivers/staging/qlge/qlge_main.c void ql_sem_unlock(struct ql_adapter *qdev, u32 sem_mask)
sem_mask          158 drivers/staging/qlge/qlge_main.c 	ql_write32(qdev, SEM, sem_mask);