Home
last modified time | relevance | path

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

/linux/drivers/power/reset/
H A Dsyscon-reboot-mode.c26 struct syscon_reboot_mode *syscon_rbm; in syscon_reboot_mode_write() local
29 syscon_rbm = container_of(reboot, struct syscon_reboot_mode, reboot); in syscon_reboot_mode_write()
31 ret = regmap_update_bits(syscon_rbm->map, syscon_rbm->offset, in syscon_reboot_mode_write()
32 syscon_rbm->mask, magic); in syscon_reboot_mode_write()
42 struct syscon_reboot_mode *syscon_rbm; in syscon_reboot_mode_probe() local
44 syscon_rbm = devm_kzalloc(&pdev->dev, sizeof(*syscon_rbm), GFP_KERNEL); in syscon_reboot_mode_probe()
45 if (!syscon_rbm) in syscon_reboot_mode_probe()
48 syscon_rbm->reboot.dev = &pdev->dev; in syscon_reboot_mode_probe()
49 syscon_rbm->reboot.write = syscon_reboot_mode_write; in syscon_reboot_mode_probe()
50 syscon_rbm->mask = 0xffffffff; in syscon_reboot_mode_probe()
[all …]