Lines Matching refs:blk_data
197 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in tasdevice_add_config()
934 struct tasdev_blk_data **blk_data; in tasdevice_select_cfg_blk() local
942 blk_data = cfg_info[conf_no]->blk_data; in tasdevice_select_cfg_blk()
952 if (block_type != blk_data[j]->block_type) in tasdevice_select_cfg_blk()
955 for (k = 0; k < (int)blk_data[j]->n_subblks; k++) { in tasdevice_select_cfg_blk()
956 if (blk_data[j]->dev_idx) { in tasdevice_select_cfg_blk()
957 chn = blk_data[j]->dev_idx - 1; in tasdevice_select_cfg_blk()
958 chnend = blk_data[j]->dev_idx; in tasdevice_select_cfg_blk()
967 blk_data[j]->regdata + length, in tasdevice_select_cfg_blk()
968 blk_data[j]->dev_idx, in tasdevice_select_cfg_blk()
969 blk_data[j]->block_size - length); in tasdevice_select_cfg_blk()
971 if (blk_data[j]->block_size < length) { in tasdevice_select_cfg_blk()
975 blk_data[j]->block_size); in tasdevice_select_cfg_blk()
979 if (length != blk_data[j]->block_size) in tasdevice_select_cfg_blk()
981 __func__, length, blk_data[j]->block_size); in tasdevice_select_cfg_blk()
2258 if (ci[i]->blk_data) { in tasdevice_config_info_remove()
2260 if (!ci[i]->blk_data[j]) in tasdevice_config_info_remove()
2262 kfree(ci[i]->blk_data[j]->regdata); in tasdevice_config_info_remove()
2263 kfree(ci[i]->blk_data[j]); in tasdevice_config_info_remove()
2265 kfree(ci[i]->blk_data); in tasdevice_config_info_remove()