Home
last modified time | relevance | path

Searched refs:img_data (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/sound/soc/codecs/
Dtas2781-fmwlib.c372 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data_kernel() argument
384 img_data->nr_blk = be32_to_cpup((__be32 *)&data[offset]); in fw_parse_data_kernel()
387 img_data->dev_blks = kcalloc(img_data->nr_blk, in fw_parse_data_kernel()
389 if (!img_data->dev_blks) { in fw_parse_data_kernel()
394 for (i = 0; i < img_data->nr_blk; i++) { in fw_parse_data_kernel()
395 blk = &(img_data->dev_blks[i]); in fw_parse_data_kernel()
1048 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data() argument
1061 memcpy(img_data->name, &data[offset], 64); in fw_parse_data()
1072 img_data->nr_blk = be16_to_cpup((__be16 *)&data[offset]); in fw_parse_data()
1075 img_data->dev_blks = kcalloc(img_data->nr_blk, in fw_parse_data()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1626 struct npc_coalesced_kpu_prfl *img_data = NULL; in npc_fwdb_detect_load_prfl_img() local
1631 img_data = (struct npc_coalesced_kpu_prfl __force *)rvu->kpu_prfl_addr; in npc_fwdb_detect_load_prfl_img()
1632 if (le64_to_cpu(img_data->signature) == KPU_SIGN && in npc_fwdb_detect_load_prfl_img()
1633 !strncmp(img_data->name, kpu_profile, KPU_NAME_LEN)) { in npc_fwdb_detect_load_prfl_img()
1642 (img_data->num_prfl * sizeof(uint16_t)); in npc_fwdb_detect_load_prfl_img()
1644 while (i < img_data->num_prfl) { in npc_fwdb_detect_load_prfl_img()
1650 img_data->prfl_sz[i], kpu_profile); in npc_fwdb_detect_load_prfl_img()
1654 offset += img_data->prfl_sz[i]; in npc_fwdb_detect_load_prfl_img()