Lines Matching +full:reboot +full:- +full:offset
1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/reboot.h>
41 rc = regmap_write(regmap, rst_src_en, reset_masks->rst_src_en_mask); in brcmstb_restart_handler()
53 rc = regmap_write(regmap, sw_mstr_rst, reset_masks->sw_mstr_rst_mask); in brcmstb_restart_handler()
87 { .compatible = "brcm,brcmstb-reboot", .data = &reset_bits_40nm },
88 { .compatible = "brcm,bcm7038-reboot", .data = &reset_bits_65nm },
95 struct device_node *np = pdev->dev.of_node; in brcmstb_reboot_probe()
101 return -EINVAL; in brcmstb_reboot_probe()
103 reset_masks = of_id->data; in brcmstb_reboot_probe()
108 return -EINVAL; in brcmstb_reboot_probe()
114 pr_err("can't get rst_src_en offset (%d)\n", rc); in brcmstb_reboot_probe()
115 return -EINVAL; in brcmstb_reboot_probe()
121 pr_err("can't get sw_mstr_rst offset (%d)\n", rc); in brcmstb_reboot_probe()
122 return -EINVAL; in brcmstb_reboot_probe()
127 dev_err(&pdev->dev, in brcmstb_reboot_probe()
136 .name = "brcmstb-reboot",