alg_region 602 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region alg_region; alg_region 930 sound/soc/codecs/wm_adsp.c const struct wm_adsp_alg_region *alg_region = &ctl->alg_region; alg_region 934 sound/soc/codecs/wm_adsp.c mem = wm_adsp_find_region(dsp, alg_region->type); alg_region 937 sound/soc/codecs/wm_adsp.c alg_region->type); alg_region 941 sound/soc/codecs/wm_adsp.c *reg = dsp->ops->region_to_reg(mem, ctl->alg_region.base + ctl->offset); alg_region 983 sound/soc/codecs/wm_adsp.c event_id, ctl->alg_region.alg, alg_region 984 sound/soc/codecs/wm_adsp.c wm_adsp_mem_region_name(ctl->alg_region.type), ctl->offset); alg_region 1023 sound/soc/codecs/wm_adsp.c reg, ctl->alg_region.alg, alg_region 1024 sound/soc/codecs/wm_adsp.c wm_adsp_mem_region_name(ctl->alg_region.type), alg_region 1384 sound/soc/codecs/wm_adsp.c event, ctl->alg_region.alg, ret); alg_region 1406 sound/soc/codecs/wm_adsp.c const struct wm_adsp_alg_region *alg_region, alg_region 1417 sound/soc/codecs/wm_adsp.c region_name = wm_adsp_mem_region_name(alg_region->type); alg_region 1419 sound/soc/codecs/wm_adsp.c adsp_err(dsp, "Unknown region type: %d\n", alg_region->type); alg_region 1427 sound/soc/codecs/wm_adsp.c dsp->name, region_name, alg_region->alg); alg_region 1433 sound/soc/codecs/wm_adsp.c wm_adsp_fw_text[dsp->fw], alg_region->alg); alg_region 1438 sound/soc/codecs/wm_adsp.c wm_adsp_fw_text[dsp->fw], alg_region->alg); alg_region 1469 sound/soc/codecs/wm_adsp.c ctl->alg_region = *alg_region; alg_region 1673 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region alg_region = {}; alg_region 1723 sound/soc/codecs/wm_adsp.c alg_region.type = coeff_blk.mem_type; alg_region 1724 sound/soc/codecs/wm_adsp.c alg_region.alg = alg_blk.id; alg_region 1726 sound/soc/codecs/wm_adsp.c ret = wm_adsp_create_control(dsp, &alg_region, alg_region 1999 sound/soc/codecs/wm_adsp.c const struct wm_adsp_alg_region *alg_region) alg_region 2005 sound/soc/codecs/wm_adsp.c alg_region->alg == ctl->alg_region.alg && alg_region 2006 sound/soc/codecs/wm_adsp.c alg_region->type == ctl->alg_region.type) { alg_region 2007 sound/soc/codecs/wm_adsp.c ctl->alg_region.base = alg_region->base; alg_region 2067 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2069 sound/soc/codecs/wm_adsp.c list_for_each_entry(alg_region, &dsp->alg_regions, list) { alg_region 2070 sound/soc/codecs/wm_adsp.c if (id == alg_region->alg && type == alg_region->type) alg_region 2071 sound/soc/codecs/wm_adsp.c return alg_region; alg_region 2081 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2083 sound/soc/codecs/wm_adsp.c alg_region = kzalloc(sizeof(*alg_region), GFP_KERNEL); alg_region 2084 sound/soc/codecs/wm_adsp.c if (!alg_region) alg_region 2087 sound/soc/codecs/wm_adsp.c alg_region->type = type; alg_region 2088 sound/soc/codecs/wm_adsp.c alg_region->alg = be32_to_cpu(id); alg_region 2089 sound/soc/codecs/wm_adsp.c alg_region->base = be32_to_cpu(base); alg_region 2091 sound/soc/codecs/wm_adsp.c list_add_tail(&alg_region->list, &dsp->alg_regions); alg_region 2094 sound/soc/codecs/wm_adsp.c wm_adsp_ctl_fixup_base(dsp, alg_region); alg_region 2096 sound/soc/codecs/wm_adsp.c return alg_region; alg_region 2101 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2104 sound/soc/codecs/wm_adsp.c alg_region = list_first_entry(&dsp->alg_regions, alg_region 2107 sound/soc/codecs/wm_adsp.c list_del(&alg_region->list); alg_region 2108 sound/soc/codecs/wm_adsp.c kfree(alg_region); alg_region 2141 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2145 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, type[i], id, base[i]); alg_region 2146 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) alg_region 2147 sound/soc/codecs/wm_adsp.c return PTR_ERR(alg_region); alg_region 2157 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2179 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP1_ZM, alg_region 2181 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) alg_region 2182 sound/soc/codecs/wm_adsp.c return PTR_ERR(alg_region); alg_region 2184 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP1_DM, alg_region 2186 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) alg_region 2187 sound/soc/codecs/wm_adsp.c return PTR_ERR(alg_region); alg_region 2206 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP1_DM, alg_region 2209 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) { alg_region 2210 sound/soc/codecs/wm_adsp.c ret = PTR_ERR(alg_region); alg_region 2218 sound/soc/codecs/wm_adsp.c wm_adsp_create_control(dsp, alg_region, 0, alg_region 2227 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP1_ZM, alg_region 2230 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) { alg_region 2231 sound/soc/codecs/wm_adsp.c ret = PTR_ERR(alg_region); alg_region 2239 sound/soc/codecs/wm_adsp.c wm_adsp_create_control(dsp, alg_region, 0, alg_region 2258 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2280 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP2_XM, alg_region 2282 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) alg_region 2283 sound/soc/codecs/wm_adsp.c return PTR_ERR(alg_region); alg_region 2285 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP2_YM, alg_region 2287 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) alg_region 2288 sound/soc/codecs/wm_adsp.c return PTR_ERR(alg_region); alg_region 2290 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP2_ZM, alg_region 2292 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) alg_region 2293 sound/soc/codecs/wm_adsp.c return PTR_ERR(alg_region); alg_region 2314 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP2_XM, alg_region 2317 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) { alg_region 2318 sound/soc/codecs/wm_adsp.c ret = PTR_ERR(alg_region); alg_region 2326 sound/soc/codecs/wm_adsp.c wm_adsp_create_control(dsp, alg_region, 0, alg_region 2335 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP2_YM, alg_region 2338 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) { alg_region 2339 sound/soc/codecs/wm_adsp.c ret = PTR_ERR(alg_region); alg_region 2347 sound/soc/codecs/wm_adsp.c wm_adsp_create_control(dsp, alg_region, 0, alg_region 2356 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_create_region(dsp, WMFW_ADSP2_ZM, alg_region 2359 sound/soc/codecs/wm_adsp.c if (IS_ERR(alg_region)) { alg_region 2360 sound/soc/codecs/wm_adsp.c ret = PTR_ERR(alg_region); alg_region 2368 sound/soc/codecs/wm_adsp.c wm_adsp_create_control(dsp, alg_region, 0, alg_region 2463 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 2574 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_find_alg_region(dsp, type, alg_region 2576 sound/soc/codecs/wm_adsp.c if (alg_region) { alg_region 2577 sound/soc/codecs/wm_adsp.c reg = alg_region->base; alg_region 3694 sound/soc/codecs/wm_adsp.c struct wm_adsp_alg_region *alg_region; alg_region 3699 sound/soc/codecs/wm_adsp.c alg_region = wm_adsp_find_alg_region(dsp, WMFW_ADSP2_XM, dsp->fw_id); alg_region 3700 sound/soc/codecs/wm_adsp.c if (!alg_region) { alg_region 3711 sound/soc/codecs/wm_adsp.c addr = alg_region->base + xmalg + ALG_XM_FIELD(magic); alg_region 3719 sound/soc/codecs/wm_adsp.c addr = alg_region->base + xmalg + ALG_XM_FIELD(host_buf_ptr); alg_region 3777 sound/soc/codecs/wm_adsp.c buf->host_buf_mem_type = ctl->alg_region.type;