Lines Matching refs:sem_bits
106 u32 sem_bits = 0; in ql_sem_trylock() local
110 sem_bits = SEM_SET << SEM_XGMAC0_SHIFT; in ql_sem_trylock()
113 sem_bits = SEM_SET << SEM_XGMAC1_SHIFT; in ql_sem_trylock()
116 sem_bits = SEM_SET << SEM_ICB_SHIFT; in ql_sem_trylock()
119 sem_bits = SEM_SET << SEM_MAC_ADDR_SHIFT; in ql_sem_trylock()
122 sem_bits = SEM_SET << SEM_FLASH_SHIFT; in ql_sem_trylock()
125 sem_bits = SEM_SET << SEM_PROBE_SHIFT; in ql_sem_trylock()
128 sem_bits = SEM_SET << SEM_RT_IDX_SHIFT; in ql_sem_trylock()
131 sem_bits = SEM_SET << SEM_PROC_REG_SHIFT; in ql_sem_trylock()
138 ql_write32(qdev, SEM, sem_bits | sem_mask); in ql_sem_trylock()
139 return !(ql_read32(qdev, SEM) & sem_bits); in ql_sem_trylock()