Lines Matching refs:wr_dmactl
105 struct lpaif_dmactl *rd_dmactl, *wr_dmactl; in lpass_platform_alloc_rxtx_dmactl_fields() local
112 wr_dmactl = devm_kzalloc(dev, sizeof(*wr_dmactl), GFP_KERNEL); in lpass_platform_alloc_rxtx_dmactl_fields()
113 if (!wr_dmactl) in lpass_platform_alloc_rxtx_dmactl_fields()
117 drvdata->rxtx_wr_dmactl = wr_dmactl; in lpass_platform_alloc_rxtx_dmactl_fields()
124 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf, in lpass_platform_alloc_rxtx_dmactl_fields()
133 struct lpaif_dmactl *wr_dmactl; in lpass_platform_alloc_va_dmactl_fields() local
135 wr_dmactl = devm_kzalloc(dev, sizeof(*wr_dmactl), GFP_KERNEL); in lpass_platform_alloc_va_dmactl_fields()
136 if (!wr_dmactl) in lpass_platform_alloc_va_dmactl_fields()
139 drvdata->va_wr_dmactl = wr_dmactl; in lpass_platform_alloc_va_dmactl_fields()
140 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf, in lpass_platform_alloc_va_dmactl_fields()
150 struct lpaif_dmactl *rd_dmactl, *wr_dmactl; in lpass_platform_alloc_dmactl_fields() local
158 drvdata->wr_dmactl = devm_kzalloc(dev, sizeof(struct lpaif_dmactl), in lpass_platform_alloc_dmactl_fields()
160 if (drvdata->wr_dmactl == NULL) in lpass_platform_alloc_dmactl_fields()
164 wr_dmactl = drvdata->wr_dmactl; in lpass_platform_alloc_dmactl_fields()
171 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf, in lpass_platform_alloc_dmactl_fields()
335 dmactl = drvdata->wr_dmactl; in __lpass_get_dmactl_handle()