Searched refs:lock_addr (Results 1 – 12 of 12) sorted by relevance
52 void __iomem *lock_addr = lock->priv; in u8500_hsem_trylock() local54 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() local68 writel(RESET_SEMAPHORE, lock_addr); in u8500_hsem_unlock()
30 void __iomem *lock_addr = lock->priv; in stm32_hwspinlock_trylock() local33 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() local43 writel(STM32_MUTEX_COREID, lock_addr); in stm32_hwspinlock_unlock()
40 void __iomem *lock_addr = lock->priv; in omap_hwspinlock_trylock() local43 return (SPINLOCK_NOTTAKEN == readl(lock_addr)); in omap_hwspinlock_trylock()48 void __iomem *lock_addr = lock->priv; in omap_hwspinlock_unlock() local51 writel(SPINLOCK_NOTTAKEN, lock_addr); in omap_hwspinlock_unlock()
65 void __iomem *lock_addr = lock->priv; in sun6i_hwspinlock_trylock() local67 return (readl(lock_addr) == SPINLOCK_NOTTAKEN); in sun6i_hwspinlock_trylock()72 void __iomem *lock_addr = lock->priv; in sun6i_hwspinlock_unlock() local74 writel(SPINLOCK_NOTTAKEN, lock_addr); in sun6i_hwspinlock_unlock()
62 void __iomem *lock_addr = lock->priv; in sprd_hwspinlock_unlock() local64 writel(HWSPINLOCK_NOTTAKEN, lock_addr); in sprd_hwspinlock_unlock()
87 req->lock_addr = htonl(ULP_MEMIO_ADDR_V(pm_addr >> 5)); in cxgbit_ppod_init_idata()
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()
295 void __iomem *lock_addr; in clk_pll_wait_for_lock() local302 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()
386 __be32 lock_addr; member
414 kwr->req.lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(kaddr)); in chtls_setkey()
1750 __be32 lock_addr; member
1984 req->lock_addr = htonl(ULP_MEMIO_ADDR_V(pm_addr >> 5)); in ulp_mem_io_set_hdr()