Lines Matching refs:id
31 if (reset_ctl->id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_request()
34 sbr->signals[reset_ctl->id].requested = true; in sandbox_reset_request()
44 sbr->signals[reset_ctl->id].requested = false; in sandbox_reset_free()
54 sbr->signals[reset_ctl->id].asserted = true; in sandbox_reset_assert()
65 sbr->signals[reset_ctl->id].asserted = false; in sandbox_reset_deassert()
98 .id = UCLASS_RESET,
106 int sandbox_reset_query(struct udevice *dev, unsigned long id) in sandbox_reset_query() argument
110 debug("%s(dev=%p, id=%ld)\n", __func__, dev, id); in sandbox_reset_query()
112 if (id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_query()
115 return sbr->signals[id].asserted; in sandbox_reset_query()
118 int sandbox_reset_is_requested(struct udevice *dev, unsigned long id) in sandbox_reset_is_requested() argument
122 debug("%s(dev=%p, id=%ld)\n", __func__, dev, id); in sandbox_reset_is_requested()
124 if (id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_is_requested()
127 return sbr->signals[id].requested; in sandbox_reset_is_requested()