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

/linux-4.4.14/sound/soc/codecs/
H A Dwmfw.h75 __be32 n_algs; member in struct:wmfw_adsp1_id_hdr
83 __be32 n_algs; member in struct:wmfw_adsp2_id_hdr
H A Dwm_adsp.c1292 static void *wm_adsp_read_algs(struct wm_adsp *dsp, size_t n_algs, wm_adsp_read_algs() argument
1299 if (n_algs == 0) { wm_adsp_read_algs()
1304 if (n_algs > 1024) { wm_adsp_read_algs()
1305 adsp_err(dsp, "Algorithm count %zx excessive\n", n_algs); wm_adsp_read_algs()
1365 size_t n_algs; wm_adsp1_setup_algs() local
1380 n_algs = be32_to_cpu(adsp1_id.n_algs); wm_adsp1_setup_algs()
1387 n_algs); wm_adsp1_setup_algs()
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()
1406 for (i = 0; i < n_algs; i++) { wm_adsp1_setup_algs()
1423 if (i + 1 < n_algs) { wm_adsp1_setup_algs()
1443 if (i + 1 < n_algs) { wm_adsp1_setup_algs()
1468 size_t n_algs; wm_adsp2_setup_algs() local
1483 n_algs = be32_to_cpu(adsp2_id.n_algs); wm_adsp2_setup_algs()
1491 n_algs); wm_adsp2_setup_algs()
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()
1515 for (i = 0; i < n_algs; i++) { wm_adsp2_setup_algs()
1534 if (i + 1 < n_algs) { wm_adsp2_setup_algs()
1554 if (i + 1 < n_algs) { wm_adsp2_setup_algs()
1574 if (i + 1 < n_algs) { wm_adsp2_setup_algs()

Completed in 241 milliseconds