Lines Matching refs:controls
49 struct ti_syscon_reset_control *controls; member
76 control = &data->controls[id]; in ti_syscon_reset_assert()
107 control = &data->controls[id]; in ti_syscon_reset_deassert()
140 control = &data->controls[id]; in ti_syscon_reset_status()
166 struct ti_syscon_reset_control *controls; in ti_syscon_reset_probe() local
184 controls = devm_kcalloc(dev, nr_controls, sizeof(*controls), in ti_syscon_reset_probe()
186 if (!controls) in ti_syscon_reset_probe()
190 controls[i].assert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
191 controls[i].assert_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
192 controls[i].deassert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
193 controls[i].deassert_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
194 controls[i].status_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
195 controls[i].status_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
196 controls[i].flags = be32_to_cpup(list++); in ti_syscon_reset_probe()
204 data->controls = controls; in ti_syscon_reset_probe()