Lines Matching full:rst
38 * @rst: base reset controller structure.
44 struct reset_controller_dev rst; member
50 container_of(_rst, struct syscfg_reset_controller, rst)
55 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_program_hw() local
57 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
63 ch = &rst->channels[idx]; in syscfg_reset_program_hw()
118 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_status() local
126 ch = &rst->channels[idx]; in syscfg_reset_status()
134 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status()
159 rc->rst.ops = &syscfg_reset_ops, in syscfg_reset_controller_register()
160 rc->rst.of_node = dev->of_node; in syscfg_reset_controller_register()
161 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
189 err = reset_controller_register(&rc->rst); in syscfg_reset_controller_register()