Searched refs:bk_da (Results 1 – 2 of 2) sorted by relevance
1237 struct pcmdevice_block_data **bk_da; in pcmdevice_add_config() local1267 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()[all …]
153 struct tasdev_blk_data **bk_da; in tasdevice_add_config() local196 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in tasdevice_add_config()198 if (!bk_da) { in tasdevice_add_config()211 bk_da[i] = kzalloc(sizeof(struct tasdev_blk_data), GFP_KERNEL); in tasdevice_add_config()212 if (!bk_da[i]) { in tasdevice_add_config()217 bk_da[i]->dev_idx = config_data[config_offset]; in tasdevice_add_config()220 bk_da[i]->block_type = config_data[config_offset]; in tasdevice_add_config()223 if (bk_da[i]->block_type == TASDEVICE_BIN_BLK_PRE_POWER_UP) { in tasdevice_add_config()224 if (bk_da[i]->dev_idx == 0) in tasdevice_add_config()229 (bk_da[i]->dev_idx - 1); in tasdevice_add_config()[all …]