Home
last modified time | relevance | path

Searched refs:lock_id (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/hwspinlock/
Dsprd_hwspinlock.c45 int user_id, lock_id; in sprd_hwspinlock_trylock() local
50 lock_id = hwlock_to_id(lock); in sprd_hwspinlock_trylock()
52 user_id = readl(sprd_hwlock->base + HWSPINLOCK_MASTERID(lock_id)); in sprd_hwspinlock_trylock()
55 lock_id, user_id); in sprd_hwspinlock_trylock()
/Linux-v6.1/drivers/scsi/qla4xxx/
Dql4_83xx.c315 uint32_t lock_id; in qla4_83xx_drv_lock() local
324 lock_id = qla4_83xx_rd_reg(ha, QLA83XX_DRV_LOCK_ID); in qla4_83xx_drv_lock()
325 lock_id = ((lock_id + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_drv_lock()
326 qla4_83xx_wr_reg(ha, QLA83XX_DRV_LOCK_ID, lock_id); in qla4_83xx_drv_lock()
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_nx2.c360 uint32_t lock_id, lock_cnt, func_num, tmo_owner = 0, first_owner = 0; in qla8044_idc_lock() local
370 lock_id = qla8044_rd_reg(ha, QLA8044_DRV_LOCK_ID); in qla8044_idc_lock()
371 lock_id = ((lock_id + (1 << 8)) & ~0xFF) | ha->portnum; in qla8044_idc_lock()
372 qla8044_wr_reg(ha, QLA8044_DRV_LOCK_ID, lock_id); in qla8044_idc_lock()
/Linux-v6.1/kernel/locking/
Dlockdep.c3703 int lock_id = hlock_id(curr->held_locks + i); in add_chain_cache() local
3705 chain_hlocks[chain->base + j] = lock_id; in add_chain_cache()