Searched refs:lock_addr (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | atomic64.c | 36 static inline raw_spinlock_t *lock_addr(const atomic64_t *v) in lock_addr() function 48 raw_spinlock_t *lock = lock_addr(v); in atomic64_read() 61 raw_spinlock_t *lock = lock_addr(v); in atomic64_set() 73 raw_spinlock_t *lock = lock_addr(v); \ 85 raw_spinlock_t *lock = lock_addr(v); \ 99 raw_spinlock_t *lock = lock_addr(v); \ 136 raw_spinlock_t *lock = lock_addr(v); in atomic64_dec_if_positive() 151 raw_spinlock_t *lock = lock_addr(v); in atomic64_cmpxchg() 166 raw_spinlock_t *lock = lock_addr(v); in atomic64_xchg() 180 raw_spinlock_t *lock = lock_addr(v); in atomic64_fetch_add_unless()
|
/kernel/linux/linux-5.10/drivers/hwspinlock/ |
D | u8500_hsem.c | 52 void __iomem *lock_addr = lock->priv; in u8500_hsem_trylock() local 54 writel(HSEM_MASTER_ID, lock_addr); in u8500_hsem_trylock() 60 return (HSEM_MASTER_ID == (0x0F & readl(lock_addr))); in u8500_hsem_trylock() 65 void __iomem *lock_addr = lock->priv; in u8500_hsem_unlock() local 68 writel(RESET_SEMAPHORE, lock_addr); in u8500_hsem_unlock()
|
D | sirf_hwspinlock.c | 35 void __iomem *lock_addr = lock->priv; in sirf_hwspinlock_trylock() local 38 return !!readl(lock_addr); in sirf_hwspinlock_trylock() 43 void __iomem *lock_addr = lock->priv; in sirf_hwspinlock_unlock() local 46 writel(0, lock_addr); in sirf_hwspinlock_unlock()
|
D | stm32_hwspinlock.c | 30 void __iomem *lock_addr = lock->priv; in stm32_hwspinlock_trylock() local 33 writel(STM32_MUTEX_LOCK_BIT | STM32_MUTEX_COREID, lock_addr); in stm32_hwspinlock_trylock() 34 status = readl(lock_addr); in stm32_hwspinlock_trylock() 41 void __iomem *lock_addr = lock->priv; in stm32_hwspinlock_unlock() local 43 writel(STM32_MUTEX_COREID, lock_addr); in stm32_hwspinlock_unlock()
|
D | omap_hwspinlock.c | 39 void __iomem *lock_addr = lock->priv; in omap_hwspinlock_trylock() local 42 return (SPINLOCK_NOTTAKEN == readl(lock_addr)); in omap_hwspinlock_trylock() 47 void __iomem *lock_addr = lock->priv; in omap_hwspinlock_unlock() local 50 writel(SPINLOCK_NOTTAKEN, lock_addr); in omap_hwspinlock_unlock()
|
D | sprd_hwspinlock.c | 64 void __iomem *lock_addr = lock->priv; in sprd_hwspinlock_unlock() local 66 writel(HWSPINLOCK_NOTTAKEN, lock_addr); in sprd_hwspinlock_unlock()
|
/kernel/linux/linux-5.10/arch/c6x/platforms/ |
D | dscr.c | 133 void __iomem *lock_addr = dscr.base + lock; in dscr_write_locked1() local 148 : "a"(reg_addr), "b"(val), "a"(lock_addr), "b"(key) in dscr_write_locked1() 152 soc_writel(0, lock_addr); in dscr_write_locked1()
|
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 87 req->lock_addr = htonl(ULP_MEMIO_ADDR_V(pm_addr >> 5)); in cxgbit_ppod_init_idata()
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
D | clk-pll.c | 295 void __iomem *lock_addr; in clk_pll_wait_for_lock() local 302 lock_addr = pll->clk_base; in clk_pll_wait_for_lock() 304 lock_addr += pll->params->misc_reg; in clk_pll_wait_for_lock() 306 lock_addr += pll->params->base_reg; in clk_pll_wait_for_lock() 311 val = readl_relaxed(lock_addr); in clk_pll_wait_for_lock()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 95 req->lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(addr)); in _c4iw_write_mem_dma_aligned() 161 req->lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(addr + i * 3)); in _c4iw_write_mem_inline()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 414 kwr->req.lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(kaddr)); in chtls_setkey()
|
D | chtls.h | 384 __be32 lock_addr; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_msg.h | 1750 __be32 lock_addr; member
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 1984 req->lock_addr = htonl(ULP_MEMIO_ADDR_V(pm_addr >> 5)); in ulp_mem_io_set_hdr()
|