• Home
  • Raw
  • Download

Lines Matching refs:region

1691 			       const struct wmfw_region *region)  in wm_adsp_parse_coeff()  argument
1696 const u8 *data = region->data; in wm_adsp_parse_coeff()
1826 const struct wmfw_region *region; in wm_adsp_load() local
1895 sizeof(*region) < firmware->size - pos) { in wm_adsp_load()
1896 region = (void *)&(firmware->data[pos]); in wm_adsp_load()
1900 offset = le32_to_cpu(region->offset) & 0xffffff; in wm_adsp_load()
1901 type = be32_to_cpu(region->type) & 0xff; in wm_adsp_load()
1906 text = kzalloc(le32_to_cpu(region->len) + 1, in wm_adsp_load()
1911 ret = wm_adsp_parse_coeff(dsp, region); in wm_adsp_load()
1917 text = kzalloc(le32_to_cpu(region->len) + 1, in wm_adsp_load()
1950 regions, le32_to_cpu(region->len), offset, in wm_adsp_load()
1953 if (le32_to_cpu(region->len) > in wm_adsp_load()
1954 firmware->size - pos - sizeof(*region)) { in wm_adsp_load()
1958 le32_to_cpu(region->len), firmware->size); in wm_adsp_load()
1964 memcpy(text, region->data, le32_to_cpu(region->len)); in wm_adsp_load()
1971 buf = wm_adsp_buf_alloc(region->data, in wm_adsp_load()
1972 le32_to_cpu(region->len), in wm_adsp_load()
1981 le32_to_cpu(region->len)); in wm_adsp_load()
1986 le32_to_cpu(region->len), offset, in wm_adsp_load()
1992 pos += le32_to_cpu(region->len) + sizeof(*region); in wm_adsp_load()
3751 struct wm_adsp_buffer_region *region; in wm_adsp_buffer_populate() local
3761 region = &buf->regions[i]; in wm_adsp_buffer_populate()
3763 region->offset = offset; in wm_adsp_buffer_populate()
3764 region->mem_type = caps->region_defs[i].mem_type; in wm_adsp_buffer_populate()
3767 &region->base_addr); in wm_adsp_buffer_populate()
3776 region->cumulative_size = offset; in wm_adsp_buffer_populate()
3780 i, region->mem_type, region->base_addr, in wm_adsp_buffer_populate()
3781 region->offset, region->cumulative_size); in wm_adsp_buffer_populate()