Home
last modified time | relevance | path

Searched refs:sem_mask (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c507 ql_sem_trylock(qlge_t *qlge, uint32_t sem_mask) in ql_sem_trylock() argument
511 switch (sem_mask) { in ql_sem_trylock()
541 ql_write_reg(qlge, REG_SEMAPHORE, sem_bits | sem_mask); in ql_sem_trylock()
550 ql_sem_spinlock(qlge_t *qlge, uint32_t sem_mask) in ql_sem_spinlock() argument
555 if (!ql_sem_trylock(qlge, sem_mask)) in ql_sem_spinlock()
561 __func__, qlge->instance, sem_mask); in ql_sem_spinlock()
570 ql_sem_unlock(qlge_t *qlge, uint32_t sem_mask) in ql_sem_unlock() argument
572 ql_write_reg(qlge, REG_SEMAPHORE, sem_mask); in ql_sem_unlock()
H A Dqlge_dbg.c133 ql_sem_lock(qlge_t *qlge, uint32_t sem_mask, uint32_t sem_bits) in ql_sem_lock() argument
137 ql_put32(qlge, REG_SEMAPHORE, (sem_mask | sem_bits)); in ql_sem_lock()
139 return ((value & (sem_mask >> 16)) == sem_bits); in ql_sem_lock()