Lines Matching refs:img_data
471 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()
1045 if (!img_data->dev_blks) { in fw_parse_data()
1049 for (i = 0; i < img_data->nr_blk; i++) { in fw_parse_data()
1050 blk = &(img_data->dev_blks[i]); in fw_parse_data()