Lines Matching refs:bk_da
1237 struct pcmdevice_block_data **bk_da; in pcmdevice_add_config() local
1267 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in pcmdevice_add_config()
1269 if (!bk_da) { in pcmdevice_add_config()
1282 bk_da[i] = kzalloc(sizeof(struct pcmdevice_block_data), in pcmdevice_add_config()
1284 if (!bk_da[i]) { in pcmdevice_add_config()
1288 bk_da[i]->dev_idx = config_data[config_offset]; in pcmdevice_add_config()
1291 bk_da[i]->block_type = config_data[config_offset]; in pcmdevice_add_config()
1294 if (bk_da[i]->block_type == PCMDEVICE_BIN_BLK_PRE_POWER_UP) { in pcmdevice_add_config()
1295 if (bk_da[i]->dev_idx == 0) in pcmdevice_add_config()
1300 1 << (bk_da[i]->dev_idx - 1); in pcmdevice_add_config()
1303 bk_da[i]->yram_checksum = in pcmdevice_add_config()
1306 bk_da[i]->block_size = in pcmdevice_add_config()
1310 bk_da[i]->n_subblks = in pcmdevice_add_config()
1315 if (config_offset + bk_da[i]->block_size > config_size) { in pcmdevice_add_config()
1323 bk_da[i]->regdata = kmemdup(&config_data[config_offset], in pcmdevice_add_config()
1324 bk_da[i]->block_size, GFP_KERNEL); in pcmdevice_add_config()
1325 if (!bk_da[i]->regdata) { in pcmdevice_add_config()
1329 config_offset += bk_da[i]->block_size; in pcmdevice_add_config()