Lines Matching refs:conf_data
424 struct rif_conf_data *conf_data; member
692 struct rif_conf_data *rif_conf = stm32_tamp_dev->pdata.conf_data; in apply_rif_config()
700 if (!stm32_tamp_dev->pdata.conf_data) in apply_rif_config()
2071 pdata->conf_data = calloc(1, sizeof(*pdata->conf_data)); in stm32_tamp_parse_fdt()
2072 if (!pdata->conf_data) in stm32_tamp_parse_fdt()
2079 pdata->conf_data->cid_confs = calloc(TAMP_RIF_RESOURCES, in stm32_tamp_parse_fdt()
2081 pdata->conf_data->sec_conf = calloc(1, sizeof(uint32_t)); in stm32_tamp_parse_fdt()
2082 pdata->conf_data->priv_conf = calloc(1, sizeof(uint32_t)); in stm32_tamp_parse_fdt()
2083 pdata->conf_data->access_mask = calloc(1, sizeof(uint32_t)); in stm32_tamp_parse_fdt()
2084 if (!pdata->conf_data->cid_confs || in stm32_tamp_parse_fdt()
2085 !pdata->conf_data->sec_conf || in stm32_tamp_parse_fdt()
2086 !pdata->conf_data->priv_conf || in stm32_tamp_parse_fdt()
2087 !pdata->conf_data->access_mask) in stm32_tamp_parse_fdt()
2092 pdata->conf_data, in stm32_tamp_parse_fdt()
2204 if (stm32_tamp_dev->pdata.conf_data) { in stm32_tamp_probe()
2205 free(stm32_tamp_dev->pdata.conf_data->cid_confs); in stm32_tamp_probe()
2206 free(stm32_tamp_dev->pdata.conf_data->sec_conf); in stm32_tamp_probe()
2207 free(stm32_tamp_dev->pdata.conf_data->priv_conf); in stm32_tamp_probe()
2208 free(stm32_tamp_dev->pdata.conf_data->access_mask); in stm32_tamp_probe()
2209 free(stm32_tamp_dev->pdata.conf_data); in stm32_tamp_probe()