Lines Matching refs:reset_ctl
22 static int sandbox_reset_request(struct reset_ctl *reset_ctl) in sandbox_reset_request() argument
24 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_request()
26 if (reset_ctl->id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_request()
32 static int sandbox_reset_free(struct reset_ctl *reset_ctl) in sandbox_reset_free() argument
34 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_free()
39 static int sandbox_reset_assert(struct reset_ctl *reset_ctl) in sandbox_reset_assert() argument
41 struct sandbox_reset *sbr = dev_get_priv(reset_ctl->dev); in sandbox_reset_assert()
43 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_assert()
45 sbr->signals[reset_ctl->id].asserted = true; in sandbox_reset_assert()
50 static int sandbox_reset_deassert(struct reset_ctl *reset_ctl) in sandbox_reset_deassert() argument
52 struct sandbox_reset *sbr = dev_get_priv(reset_ctl->dev); in sandbox_reset_deassert()
54 debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); in sandbox_reset_deassert()
56 sbr->signals[reset_ctl->id].asserted = false; in sandbox_reset_deassert()