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

/linux-4.4.14/sound/soc/codecs/
H A Dwm_adsp.c1464 struct wmfw_adsp2_alg_hdr *adsp2_alg; wm_adsp2_setup_algs() local
1509 len = (sizeof(*adsp2_alg) * n_algs) / 2; wm_adsp2_setup_algs()
1511 adsp2_alg = wm_adsp_read_algs(dsp, n_algs, mem->base + pos, len); wm_adsp2_setup_algs()
1512 if (IS_ERR(adsp2_alg)) wm_adsp2_setup_algs()
1513 return PTR_ERR(adsp2_alg); wm_adsp2_setup_algs()
1518 i, be32_to_cpu(adsp2_alg[i].alg.id), wm_adsp2_setup_algs()
1519 (be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff0000) >> 16, wm_adsp2_setup_algs()
1520 (be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff00) >> 8, wm_adsp2_setup_algs()
1521 be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff, wm_adsp2_setup_algs()
1522 be32_to_cpu(adsp2_alg[i].xm), wm_adsp2_setup_algs()
1523 be32_to_cpu(adsp2_alg[i].ym), wm_adsp2_setup_algs()
1524 be32_to_cpu(adsp2_alg[i].zm)); wm_adsp2_setup_algs()
1527 adsp2_alg[i].alg.id, wm_adsp2_setup_algs()
1528 adsp2_alg[i].xm); wm_adsp2_setup_algs()
1535 len = be32_to_cpu(adsp2_alg[i + 1].xm); wm_adsp2_setup_algs()
1536 len -= be32_to_cpu(adsp2_alg[i].xm); wm_adsp2_setup_algs()
1542 be32_to_cpu(adsp2_alg[i].alg.id)); wm_adsp2_setup_algs()
1547 adsp2_alg[i].alg.id, wm_adsp2_setup_algs()
1548 adsp2_alg[i].ym); wm_adsp2_setup_algs()
1555 len = be32_to_cpu(adsp2_alg[i + 1].ym); wm_adsp2_setup_algs()
1556 len -= be32_to_cpu(adsp2_alg[i].ym); wm_adsp2_setup_algs()
1562 be32_to_cpu(adsp2_alg[i].alg.id)); wm_adsp2_setup_algs()
1567 adsp2_alg[i].alg.id, wm_adsp2_setup_algs()
1568 adsp2_alg[i].zm); wm_adsp2_setup_algs()
1575 len = be32_to_cpu(adsp2_alg[i + 1].zm); wm_adsp2_setup_algs()
1576 len -= be32_to_cpu(adsp2_alg[i].zm); wm_adsp2_setup_algs()
1582 be32_to_cpu(adsp2_alg[i].alg.id)); wm_adsp2_setup_algs()
1588 kfree(adsp2_alg); wm_adsp2_setup_algs()

Completed in 100 milliseconds