Lines Matching refs:rstctrl
37 struct rstctrl rstctrl; member
44 static struct sam_rstline *to_sam_rstline(struct rstctrl *ptr) in to_sam_rstline()
48 return container_of(ptr, struct sam_rstline, rstctrl); in to_sam_rstline()
74 sam_rstline->rstctrl.ops = pdata->ops; in find_or_allocate_rstline()
83 struct rstctrl **out_rstctrl) in sam_rstctrl_dt_get()
94 *out_rstctrl = &sam_rstline->rstctrl; in sam_rstctrl_dt_get()
99 static TEE_Result reset_assert(struct rstctrl *rstctrl, in reset_assert() argument
102 unsigned int id = to_sam_rstline(rstctrl)->reset_id; in reset_assert()
110 static TEE_Result reset_deassert(struct rstctrl *rstctrl, in reset_deassert() argument
113 unsigned int id = to_sam_rstline(rstctrl)->reset_id; in reset_deassert()
133 struct rstctrl *sam_get_rstctrl(unsigned int reset_id) in sam_get_rstctrl()
140 return &rstline->rstctrl; in sam_get_rstctrl()