Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvmem/
Dimx-ocotp.c240 unsigned long strobe_read, relax, strobe_prog; in imx_ocotp_set_imx6_timing() local
277 strobe_prog = DIV_ROUND_CLOSEST(clk_rate * TIMING_STROBE_PROG_US, in imx_ocotp_set_imx6_timing()
279 strobe_prog += 2 * (relax + 1) - 1; in imx_ocotp_set_imx6_timing()
282 timing |= strobe_prog & 0x00000FFF; in imx_ocotp_set_imx6_timing()
292 u64 fsource, strobe_prog; in imx_ocotp_set_imx7_timing() local
301 strobe_prog = DIV_ROUND_CLOSEST_ULL((u64)clk_rate * DEF_STROBE_PROG, in imx_ocotp_set_imx7_timing()
304 timing = strobe_prog & 0x00000FFF; in imx_ocotp_set_imx7_timing()
Dvf610-ocotp.c117 u32 relax, strobe_read, strobe_prog; in vf610_ocotp_calculate_timing() local
124 strobe_prog = clk_rate / (1000000000 / 10000) + 2 * (DEF_RELAX + 1) - 1; in vf610_ocotp_calculate_timing()
129 timing |= BF(strobe_prog, OCOTP_TIMING_STROBE_PROG); in vf610_ocotp_calculate_timing()