Lines Matching refs:dcfg

102 	const struct imx_rproc_dcfg	*dcfg;  member
369 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_start() local
378 switch (dcfg->method) { in imx_rproc_start()
381 ret = regmap_clear_bits(priv->gpr, dcfg->gpr_reg, in imx_rproc_start()
382 dcfg->gpr_wait); in imx_rproc_start()
384 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, in imx_rproc_start()
385 dcfg->src_mask, in imx_rproc_start()
386 dcfg->src_start); in imx_rproc_start()
409 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_stop() local
414 switch (dcfg->method) { in imx_rproc_stop()
417 ret = regmap_set_bits(priv->gpr, dcfg->gpr_reg, in imx_rproc_stop()
418 dcfg->gpr_wait); in imx_rproc_stop()
426 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
427 dcfg->src_stop); in imx_rproc_stop()
453 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_da_to_sys() local
457 for (i = 0; i < dcfg->att_size; i++) { in imx_rproc_da_to_sys()
458 const struct imx_rproc_att *att = &dcfg->att[i]; in imx_rproc_da_to_sys()
640 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_detach() local
642 if (dcfg->method != IMX_RPROC_SCU_API) in imx_rproc_detach()
695 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_addr_init() local
701 for (a = 0; a < dcfg->att_size; a++) { in imx_rproc_addr_init()
702 const struct imx_rproc_att *att = &dcfg->att[a]; in imx_rproc_addr_init()
860 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_put_scu() local
862 if (dcfg->method != IMX_RPROC_SCU_API) in imx_rproc_put_scu()
912 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_detect_mode() local
920 switch (dcfg->method) { in imx_rproc_detect_mode()
1002 ret = regmap_read(priv->gpr, dcfg->gpr_reg, &val); in imx_rproc_detect_mode()
1003 if (val & dcfg->gpr_wait) { in imx_rproc_detect_mode()
1014 ret = regmap_read(regmap, dcfg->src_reg, &val); in imx_rproc_detect_mode()
1020 if ((val & dcfg->src_mask) != dcfg->src_stop) in imx_rproc_detect_mode()
1028 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_clk_enable() local
1033 if (dcfg->method == IMX_RPROC_NONE) in imx_rproc_clk_enable()
1077 const struct imx_rproc_dcfg *dcfg; in imx_rproc_probe() local
1086 dcfg = of_device_get_match_data(dev); in imx_rproc_probe()
1087 if (!dcfg) in imx_rproc_probe()
1092 priv->dcfg = dcfg; in imx_rproc_probe()
1125 if (dcfg->flags & IMX_RPROC_NEED_SYSTEM_OFF) { in imx_rproc_probe()