Searched refs:nvmem_rbm (Results 1 – 1 of 1) sorted by relevance
23 struct nvmem_reboot_mode *nvmem_rbm; in nvmem_reboot_mode_write() local25 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() local39 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