Lines Matching full:dcfg
102 const struct imx_rproc_dcfg *dcfg; member
376 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_start() local
385 switch (dcfg->method) { in imx_rproc_start()
388 ret = regmap_clear_bits(priv->gpr, dcfg->gpr_reg, in imx_rproc_start()
389 dcfg->gpr_wait); in imx_rproc_start()
391 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, in imx_rproc_start()
392 dcfg->src_mask, in imx_rproc_start()
393 dcfg->src_start); in imx_rproc_start()
416 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_stop() local
421 switch (dcfg->method) { in imx_rproc_stop()
424 ret = regmap_set_bits(priv->gpr, dcfg->gpr_reg, in imx_rproc_stop()
425 dcfg->gpr_wait); in imx_rproc_stop()
433 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
434 dcfg->src_stop); in imx_rproc_stop()
460 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_da_to_sys() local
464 for (i = 0; i < dcfg->att_size; i++) { in imx_rproc_da_to_sys()
465 const struct imx_rproc_att *att = &dcfg->att[i]; in imx_rproc_da_to_sys()
647 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_detach() local
649 if (dcfg->method != IMX_RPROC_SCU_API) in imx_rproc_detach()
702 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_addr_init() local
708 for (a = 0; a < dcfg->att_size; a++) { in imx_rproc_addr_init()
709 const struct imx_rproc_att *att = &dcfg->att[a]; in imx_rproc_addr_init()
867 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_put_scu() local
869 if (dcfg->method != IMX_RPROC_SCU_API) in imx_rproc_put_scu()
971 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_detect_mode() local
979 switch (dcfg->method) { in imx_rproc_detect_mode()
1061 ret = regmap_read(priv->gpr, dcfg->gpr_reg, &val); in imx_rproc_detect_mode()
1062 if (val & dcfg->gpr_wait) { in imx_rproc_detect_mode()
1073 ret = regmap_read(regmap, dcfg->src_reg, &val); in imx_rproc_detect_mode()
1079 if ((val & dcfg->src_mask) != dcfg->src_stop) in imx_rproc_detect_mode()
1087 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_clk_enable() local
1092 if (dcfg->method == IMX_RPROC_NONE) in imx_rproc_clk_enable()
1120 const struct imx_rproc_dcfg *dcfg; in imx_rproc_probe() local
1129 dcfg = of_device_get_match_data(dev); in imx_rproc_probe()
1130 if (!dcfg) { in imx_rproc_probe()
1137 priv->dcfg = dcfg; in imx_rproc_probe()