Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dtas2781-fmwlib.c471 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data_kernel() argument
483 img_data->nr_blk = get_unaligned_be32(&data[offset]); in fw_parse_data_kernel()
486 img_data->dev_blks = kcalloc(img_data->nr_blk, in fw_parse_data_kernel()
488 if (!img_data->dev_blks) { in fw_parse_data_kernel()
493 for (i = 0; i < img_data->nr_blk; i++) { in fw_parse_data_kernel()
494 blk = &(img_data->dev_blks[i]); in fw_parse_data_kernel()
1016 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data() argument
1029 memcpy(img_data->name, &data[offset], 64); in fw_parse_data()
1040 img_data->nr_blk = get_unaligned_be16(&data[offset]); in fw_parse_data()
1043 img_data->dev_blks = kcalloc(img_data->nr_blk, in fw_parse_data()
[all …]