Home
last modified time | relevance | path

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

/linux/drivers/mtd/spi-nor/
H A Dswp.c95 loff_t lock_offs, lock_offs_max, offs_max; in spi_nor_check_lock_status_sr() local
101 spi_nor_get_locked_range_sr(nor, sr, &lock_offs, &lock_len); in spi_nor_check_lock_status_sr()
103 lock_offs_max = lock_offs + lock_len; in spi_nor_check_lock_status_sr()
108 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr()
111 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr()
/linux/drivers/clk/samsung/
H A Dclk-pll.c28 unsigned short lock_offs; member
109 return samsung_pll_lock_wait(pll, BIT(pll->lock_offs)); in samsung_pll3xxx_enable()
278 return samsung_pll_lock_wait(pll, BIT(pll->lock_offs)); in samsung_pll35xx_set_rate()
390 return samsung_pll_lock_wait(pll, BIT(pll->lock_offs)); in samsung_pll36xx_set_rate()
494 return samsung_pll_lock_wait(pll, BIT(pll->lock_offs)); in samsung_pll0822x_set_rate()
591 return samsung_pll_lock_wait(pll, BIT(pll->lock_offs)); in samsung_pll0831x_set_rate()
1418 return samsung_pll_lock_wait(pll, BIT(pll->lock_offs)); in samsung_pll1031x_set_rate()
1481 pll->lock_offs = PLL35XX_LOCK_STAT_SHIFT; in _samsung_clk_register_pll()
1500 pll->lock_offs = PLL0822X_LOCK_STAT_SHIFT; in _samsung_clk_register_pll()
1520 pll->lock_offs = PLL36XX_LOCK_STAT_SHIFT; in _samsung_clk_register_pll()
[all …]