Searched refs:strobe_read (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/nvmem/ |
H A D | vf610-ocotp.c | 117 u32 relax, strobe_read, strobe_prog; in vf610_ocotp_calculate_timing() local 125 strobe_read = clk_rate / (1000000000 / 40) + 2 * (DEF_RELAX + 1) - 1; in vf610_ocotp_calculate_timing() 128 timing |= BF(strobe_read, OCOTP_TIMING_STROBE_READ); in vf610_ocotp_calculate_timing()
|
H A D | imx-ocotp.c | 240 unsigned long strobe_read, relax, strobe_prog; in imx_ocotp_set_imx6_timing() local 274 strobe_read = DIV_ROUND_UP(clk_rate * TIMING_STROBE_READ_NS, in imx_ocotp_set_imx6_timing() 276 strobe_read += 2 * (relax + 1) - 1; in imx_ocotp_set_imx6_timing() 284 timing |= (strobe_read << 16) & 0x003F0000; in imx_ocotp_set_imx6_timing()
|
/openbmc/u-boot/drivers/misc/ |
H A D | mxc_ocotp.c | 275 u32 relax, strobe_read, strobe_prog; in set_timing() local 281 strobe_read = DIV_ROUND_UP(ipg_clk * BV_TIMING_STROBE_READ_NS, in set_timing() 286 timing = BF(strobe_read, TIMING_STROBE_READ) | in set_timing()
|