Searched refs:adsp1_alg (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dwm_adsp.c1361 struct wmfw_adsp1_alg_hdr *adsp1_alg; wm_adsp1_setup_algs() local
1400 len = (sizeof(*adsp1_alg) * n_algs) / 2; wm_adsp1_setup_algs()
1402 adsp1_alg = wm_adsp_read_algs(dsp, n_algs, mem->base + pos, len); wm_adsp1_setup_algs()
1403 if (IS_ERR(adsp1_alg)) wm_adsp1_setup_algs()
1404 return PTR_ERR(adsp1_alg); wm_adsp1_setup_algs()
1408 i, be32_to_cpu(adsp1_alg[i].alg.id), wm_adsp1_setup_algs()
1409 (be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff0000) >> 16, wm_adsp1_setup_algs()
1410 (be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff00) >> 8, wm_adsp1_setup_algs()
1411 be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff, wm_adsp1_setup_algs()
1412 be32_to_cpu(adsp1_alg[i].dm), wm_adsp1_setup_algs()
1413 be32_to_cpu(adsp1_alg[i].zm)); wm_adsp1_setup_algs()
1416 adsp1_alg[i].alg.id, wm_adsp1_setup_algs()
1417 adsp1_alg[i].dm); wm_adsp1_setup_algs()
1424 len = be32_to_cpu(adsp1_alg[i + 1].dm); wm_adsp1_setup_algs()
1425 len -= be32_to_cpu(adsp1_alg[i].dm); wm_adsp1_setup_algs()
1431 be32_to_cpu(adsp1_alg[i].alg.id)); wm_adsp1_setup_algs()
1436 adsp1_alg[i].alg.id, wm_adsp1_setup_algs()
1437 adsp1_alg[i].zm); wm_adsp1_setup_algs()
1444 len = be32_to_cpu(adsp1_alg[i + 1].zm); wm_adsp1_setup_algs()
1445 len -= be32_to_cpu(adsp1_alg[i].zm); wm_adsp1_setup_algs()
1451 be32_to_cpu(adsp1_alg[i].alg.id)); wm_adsp1_setup_algs()
1457 kfree(adsp1_alg); wm_adsp1_setup_algs()

Completed in 47 milliseconds