• Home
  • Raw
  • Download

Lines Matching refs:dcfg

107 	const struct imx_rproc_dcfg	*dcfg;  member
291 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_start() local
296 switch (dcfg->method) { in imx_rproc_start()
298 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_start()
299 dcfg->src_start); in imx_rproc_start()
318 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_stop() local
323 switch (dcfg->method) { in imx_rproc_stop()
325 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
326 dcfg->src_stop); in imx_rproc_stop()
347 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_da_to_sys() local
351 for (i = 0; i < dcfg->att_size; i++) { in imx_rproc_da_to_sys()
352 const struct imx_rproc_att *att = &dcfg->att[i]; in imx_rproc_da_to_sys()
550 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_addr_init() local
556 for (a = 0; a < dcfg->att_size; a++) { in imx_rproc_addr_init()
557 const struct imx_rproc_att *att = &dcfg->att[a]; in imx_rproc_addr_init()
685 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_detect_mode() local
692 switch (dcfg->method) { in imx_rproc_detect_mode()
714 ret = regmap_read(regmap, dcfg->src_reg, &val); in imx_rproc_detect_mode()
720 if (!(val & dcfg->src_stop)) in imx_rproc_detect_mode()
728 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_clk_enable() local
733 if (dcfg->method == IMX_RPROC_NONE) in imx_rproc_clk_enable()
761 const struct imx_rproc_dcfg *dcfg; in imx_rproc_probe() local
770 dcfg = of_device_get_match_data(dev); in imx_rproc_probe()
771 if (!dcfg) { in imx_rproc_probe()
778 priv->dcfg = dcfg; in imx_rproc_probe()