Lines Matching refs:reset_ctl
25 static int sandbox_reset_request(struct reset_ctl *reset_ctl) in sandbox_reset_request() argument
27 struct sandbox_reset *sbr = dev_get_priv(reset_ctl->dev); in sandbox_reset_request()
29 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_request()
31 if (reset_ctl->id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_request()
34 sbr->signals[reset_ctl->id].requested = true; in sandbox_reset_request()
38 static int sandbox_reset_free(struct reset_ctl *reset_ctl) in sandbox_reset_free() argument
40 struct sandbox_reset *sbr = dev_get_priv(reset_ctl->dev); in sandbox_reset_free()
42 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_free()
44 sbr->signals[reset_ctl->id].requested = false; in sandbox_reset_free()
48 static int sandbox_reset_assert(struct reset_ctl *reset_ctl) in sandbox_reset_assert() argument
50 struct sandbox_reset *sbr = dev_get_priv(reset_ctl->dev); in sandbox_reset_assert()
52 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_assert()
54 sbr->signals[reset_ctl->id].asserted = true; in sandbox_reset_assert()
59 static int sandbox_reset_deassert(struct reset_ctl *reset_ctl) in sandbox_reset_deassert() argument
61 struct sandbox_reset *sbr = dev_get_priv(reset_ctl->dev); in sandbox_reset_deassert()
63 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_deassert()
65 sbr->signals[reset_ctl->id].asserted = false; in sandbox_reset_deassert()