Home
last modified time | relevance | path

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

/linux/drivers/soc/mediatek/
H A Dmtk-socinfo.c87 struct nvmem_device *nvmemp; in mtk_socinfo_read_cell() local
93 nvmemp = nvmem_device_find(nvmem_node, device_match_of_node); in mtk_socinfo_read_cell()
94 if (IS_ERR(nvmemp)) in mtk_socinfo_read_cell()
104 nvmem_device_read(nvmemp, offset, sizeof(cell_val), &cell_val); in mtk_socinfo_read_cell()
109 nvmem_device_put(nvmemp); in mtk_socinfo_read_cell()
/linux/drivers/ptp/
H A Dptp_ocp.c1698 ptp_ocp_nvmem_device_put(struct nvmem_device **nvmemp) in ptp_ocp_nvmem_device_put() argument
1700 if (!IS_ERR_OR_NULL(*nvmemp)) in ptp_ocp_nvmem_device_put()
1701 nvmem_device_put(*nvmemp); in ptp_ocp_nvmem_device_put()
1702 *nvmemp = NULL; in ptp_ocp_nvmem_device_put()