Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvmem/
Dvf610-ocotp.c114 static int vf610_ocotp_calculate_timing(struct vf610_ocotp *ocotp_dev) in vf610_ocotp_calculate_timing() argument
120 clk_rate = clk_get_rate(ocotp_dev->clk); in vf610_ocotp_calculate_timing()
216 struct vf610_ocotp *ocotp_dev; in vf610_ocotp_probe() local
218 ocotp_dev = devm_kzalloc(dev, sizeof(struct vf610_ocotp), GFP_KERNEL); in vf610_ocotp_probe()
219 if (!ocotp_dev) in vf610_ocotp_probe()
223 ocotp_dev->base = devm_ioremap_resource(dev, res); in vf610_ocotp_probe()
224 if (IS_ERR(ocotp_dev->base)) in vf610_ocotp_probe()
225 return PTR_ERR(ocotp_dev->base); in vf610_ocotp_probe()
227 ocotp_dev->clk = devm_clk_get(dev, NULL); in vf610_ocotp_probe()
228 if (IS_ERR(ocotp_dev->clk)) { in vf610_ocotp_probe()
[all …]