Lines Matching refs:conf_data
81 struct rif_conf_data *conf_data; member
99 if (!(BIT(i) & hpdma_d->conf_data->access_mask[0])) in handle_available_semaphores()
139 if (!hpdma_d->conf_data) in apply_rif_config()
144 if (!(BIT(i) & hpdma_d->conf_data->access_mask[0])) in apply_rif_config()
163 hpdma_d->conf_data->access_mask[0], in apply_rif_config()
164 hpdma_d->conf_data->priv_conf[0]); in apply_rif_config()
166 hpdma_d->conf_data->access_mask[0], in apply_rif_config()
167 hpdma_d->conf_data->sec_conf[0]); in apply_rif_config()
174 uint32_t cid_conf = hpdma_d->conf_data->cid_confs[i]; in apply_rif_config()
176 if (!(BIT(i) & hpdma_d->conf_data->access_mask[0])) in apply_rif_config()
205 hpdma_d->conf_data->lock_conf[0]); in apply_rif_config()
215 hpdma_d->conf_data->access_mask[0]) != in apply_rif_config()
216 hpdma_d->conf_data->priv_conf[0]) in apply_rif_config()
220 hpdma_d->conf_data->access_mask[0]) != in apply_rif_config()
221 hpdma_d->conf_data->sec_conf[0]) in apply_rif_config()
259 hpdma_d->conf_data = calloc(1, sizeof(*hpdma_d->conf_data)); in parse_dt()
260 if (!hpdma_d->conf_data) in parse_dt()
266 hpdma_d->conf_data->cid_confs = calloc(HPDMA_RIF_CHANNELS, in parse_dt()
268 hpdma_d->conf_data->sec_conf = calloc(1, sizeof(uint32_t)); in parse_dt()
269 hpdma_d->conf_data->priv_conf = calloc(1, sizeof(uint32_t)); in parse_dt()
270 hpdma_d->conf_data->access_mask = calloc(1, sizeof(uint32_t)); in parse_dt()
271 hpdma_d->conf_data->lock_conf = calloc(1, sizeof(uint32_t)); in parse_dt()
272 if (!hpdma_d->conf_data->cid_confs || !hpdma_d->conf_data->sec_conf || in parse_dt()
273 !hpdma_d->conf_data->priv_conf || in parse_dt()
274 !hpdma_d->conf_data->access_mask || !hpdma_d->conf_data->lock_conf) in parse_dt()
278 stm32_rif_parse_cfg(fdt32_to_cpu(cuint[i]), hpdma_d->conf_data, in parse_dt()
295 hpdma->conf_data->cid_confs[i] = io_read32(hpdma->base + in stm32_hpdma_pm_suspend()
299 hpdma->conf_data->priv_conf[0] = io_read32(hpdma->base + in stm32_hpdma_pm_suspend()
302 hpdma->conf_data->sec_conf[0] = io_read32(hpdma->base + in stm32_hpdma_pm_suspend()
305 hpdma->conf_data->lock_conf[0] = io_read32(hpdma->base + in stm32_hpdma_pm_suspend()
313 hpdma->conf_data->access_mask[0] = GENMASK_32(HPDMA_RIF_CHANNELS - 1, in stm32_hpdma_pm_suspend()