Home
last modified time | relevance | path

Searched refs:nr_controls (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/reset/
H A Dreset-ti-syscon.c50 unsigned int nr_controls; member
73 if (id >= data->nr_controls) in ti_syscon_reset_assert()
104 if (id >= data->nr_controls) in ti_syscon_reset_deassert()
137 if (id >= data->nr_controls) in ti_syscon_reset_status()
167 int size, nr_controls, i; in ti_syscon_reset_probe() local
183 nr_controls = (size / sizeof(*list)) / 7; in ti_syscon_reset_probe()
184 controls = devm_kcalloc(dev, nr_controls, sizeof(*controls), in ti_syscon_reset_probe()
189 for (i = 0; i < nr_controls; i++) { in ti_syscon_reset_probe()
202 data->rcdev.nr_resets = nr_controls; in ti_syscon_reset_probe()
205 data->nr_controls = nr_controls; in ti_syscon_reset_probe()
/openbmc/linux/sound/soc/codecs/
H A Dtas2781-i2c.c227 int nr_controls = 1; in tasdevice_create_control() local
232 prof_ctrls = devm_kcalloc(tas_priv->dev, nr_controls, in tasdevice_create_control()
255 prof_ctrls, nr_controls < mix_index ? nr_controls : mix_index); in tasdevice_create_control()
322 int nr_controls = 2; in tasdevice_dsp_create_ctrls() local
329 dsp_ctrls = devm_kcalloc(tas_priv->dev, nr_controls, in tasdevice_dsp_create_ctrls()
365 nr_controls < mix_index ? nr_controls : mix_index); in tasdevice_dsp_create_ctrls()