Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvmem/
Dimx-ocotp.c209 unsigned long strobe_read, relax, strobe_prog; in imx_ocotp_set_imx6_timing() local
246 strobe_prog = DIV_ROUND_CLOSEST(clk_rate * TIMING_STROBE_PROG_US, in imx_ocotp_set_imx6_timing()
248 strobe_prog += 2 * (relax + 1) - 1; in imx_ocotp_set_imx6_timing()
251 timing |= strobe_prog & 0x00000FFF; in imx_ocotp_set_imx6_timing()
261 u64 fsource, strobe_prog; in imx_ocotp_set_imx7_timing() local
270 strobe_prog = DIV_ROUND_CLOSEST_ULL((u64)clk_rate * DEF_STROBE_PROG, in imx_ocotp_set_imx7_timing()
273 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()