Lines Matching full:rst
36 * @rst: base reset controller structure.
42 struct reset_controller_dev rst; member
48 container_of(_rst, struct syscfg_reset_controller, rst)
53 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_program_hw() local
55 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
61 ch = &rst->channels[idx]; in syscfg_reset_program_hw()
106 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_status() local
114 ch = &rst->channels[idx]; in syscfg_reset_status()
122 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status()
147 rc->rst.ops = &syscfg_reset_ops; in syscfg_reset_controller_register()
148 rc->rst.of_node = dev->of_node; in syscfg_reset_controller_register()
149 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
177 err = reset_controller_register(&rc->rst); in syscfg_reset_controller_register()