Home
last modified time | relevance | path

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

/linux/drivers/power/reset/
A Dnvmem-reboot-mode.c23 struct nvmem_reboot_mode *nvmem_rbm; in nvmem_reboot_mode_write() local
25 nvmem_rbm = container_of(reboot, struct nvmem_reboot_mode, reboot); in nvmem_reboot_mode_write()
27 ret = nvmem_cell_write(nvmem_rbm->cell, &magic, sizeof(magic)); in nvmem_reboot_mode_write()
37 struct nvmem_reboot_mode *nvmem_rbm; in nvmem_reboot_mode_probe() local
39 nvmem_rbm = devm_kzalloc(&pdev->dev, sizeof(*nvmem_rbm), GFP_KERNEL); in nvmem_reboot_mode_probe()
40 if (!nvmem_rbm) in nvmem_reboot_mode_probe()
43 nvmem_rbm->reboot.dev = &pdev->dev; in nvmem_reboot_mode_probe()
44 nvmem_rbm->reboot.write = nvmem_reboot_mode_write; in nvmem_reboot_mode_probe()
47 if (IS_ERR(nvmem_rbm->cell)) { in nvmem_reboot_mode_probe()
49 return PTR_ERR(nvmem_rbm->cell); in nvmem_reboot_mode_probe()
[all …]

Completed in 3 milliseconds