Lines Matching refs:wr_dmactl
104 struct lpaif_dmactl *rd_dmactl, *wr_dmactl; in lpass_platform_alloc_rxtx_dmactl_fields() local
111 wr_dmactl = devm_kzalloc(dev, sizeof(*wr_dmactl), GFP_KERNEL); in lpass_platform_alloc_rxtx_dmactl_fields()
112 if (!wr_dmactl) in lpass_platform_alloc_rxtx_dmactl_fields()
116 drvdata->rxtx_wr_dmactl = wr_dmactl; in lpass_platform_alloc_rxtx_dmactl_fields()
123 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf, in lpass_platform_alloc_rxtx_dmactl_fields()
132 struct lpaif_dmactl *wr_dmactl; in lpass_platform_alloc_va_dmactl_fields() local
134 wr_dmactl = devm_kzalloc(dev, sizeof(*wr_dmactl), GFP_KERNEL); in lpass_platform_alloc_va_dmactl_fields()
135 if (!wr_dmactl) in lpass_platform_alloc_va_dmactl_fields()
138 drvdata->va_wr_dmactl = wr_dmactl; in lpass_platform_alloc_va_dmactl_fields()
139 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf, in lpass_platform_alloc_va_dmactl_fields()
149 struct lpaif_dmactl *rd_dmactl, *wr_dmactl; in lpass_platform_alloc_dmactl_fields() local
157 drvdata->wr_dmactl = devm_kzalloc(dev, sizeof(struct lpaif_dmactl), in lpass_platform_alloc_dmactl_fields()
159 if (drvdata->wr_dmactl == NULL) in lpass_platform_alloc_dmactl_fields()
163 wr_dmactl = drvdata->wr_dmactl; in lpass_platform_alloc_dmactl_fields()
170 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf, in lpass_platform_alloc_dmactl_fields()
334 dmactl = drvdata->wr_dmactl; in __lpass_get_dmactl_handle()