Lines Matching refs:rst
41 struct reset_controller_dev rst; member
47 container_of(_rst, struct syscfg_reset_controller, rst)
52 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_program_hw() local
54 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
60 ch = &rst->channels[idx]; in syscfg_reset_program_hw()
105 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_status() local
113 ch = &rst->channels[idx]; in syscfg_reset_status()
121 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status()
146 rc->rst.ops = &syscfg_reset_ops; in syscfg_reset_controller_register()
147 rc->rst.of_node = dev->of_node; in syscfg_reset_controller_register()
148 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
176 err = reset_controller_register(&rc->rst); in syscfg_reset_controller_register()