Lines Matching refs:reset_ctl
224 static int sti_reset_program_hw(struct reset_ctl *reset_ctl, int assert) in sti_reset_program_hw() argument
226 struct udevice *dev = reset_ctl->dev; in sti_reset_program_hw()
235 if (reset_ctl->id >= reset_desc->nr_channels) in sti_reset_program_hw()
239 base = sti_reset_get_regmap(reset_desc->channels[reset_ctl->id].compatible); in sti_reset_program_hw()
241 ch = &reset_desc->channels[reset_ctl->id]; in sti_reset_program_hw()
255 reset_ctl, reset_ctl->dev, reset_ctl->id); in sti_reset_program_hw()
272 reset_ctl, reset_ctl->dev, reset_ctl->id); in sti_reset_program_hw()
280 static int sti_reset_request(struct reset_ctl *reset_ctl) in sti_reset_request() argument
285 static int sti_reset_free(struct reset_ctl *reset_ctl) in sti_reset_free() argument
290 static int sti_reset_assert(struct reset_ctl *reset_ctl) in sti_reset_assert() argument
292 return sti_reset_program_hw(reset_ctl, true); in sti_reset_assert()
295 static int sti_reset_deassert(struct reset_ctl *reset_ctl) in sti_reset_deassert() argument
297 return sti_reset_program_hw(reset_ctl, false); in sti_reset_deassert()