Home
last modified time | relevance | path

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

/linux/drivers/power/reset/
A Dsyscon-reboot-mode.c26 struct syscon_reboot_mode *syscon_rbm; in syscon_reboot_mode_write() local
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()
50 syscon_rbm->mask = 0xffffffff; in syscon_reboot_mode_probe()
53 if (IS_ERR(syscon_rbm->map)) in syscon_reboot_mode_probe()
54 return PTR_ERR(syscon_rbm->map); in syscon_reboot_mode_probe()
[all …]

Completed in 3 milliseconds