Searched refs:l_pds (Results 1 – 1 of 1) sorted by relevance
16 struct lpass_macro *l_pds; in lpass_macro_pds_init() local22 l_pds = devm_kzalloc(dev, sizeof(*l_pds), GFP_KERNEL); in lpass_macro_pds_init()23 if (!l_pds) in lpass_macro_pds_init()26 l_pds->macro_pd = dev_pm_domain_attach_by_name(dev, "macro"); in lpass_macro_pds_init()27 if (IS_ERR_OR_NULL(l_pds->macro_pd)) { in lpass_macro_pds_init()28 ret = l_pds->macro_pd ? PTR_ERR(l_pds->macro_pd) : -ENODATA; in lpass_macro_pds_init()32 ret = pm_runtime_resume_and_get(l_pds->macro_pd); in lpass_macro_pds_init()36 l_pds->dcodec_pd = dev_pm_domain_attach_by_name(dev, "dcodec"); in lpass_macro_pds_init()37 if (IS_ERR_OR_NULL(l_pds->dcodec_pd)) { in lpass_macro_pds_init()38 ret = l_pds->dcodec_pd ? PTR_ERR(l_pds->dcodec_pd) : -ENODATA; in lpass_macro_pds_init()[all …]