Lines Matching refs:blk_data
202 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in tasdevice_add_config()
944 struct tasdev_blk_data **blk_data; in tasdevice_select_cfg_blk() local
952 blk_data = cfg_info[conf_no]->blk_data; in tasdevice_select_cfg_blk()
962 if (block_type != blk_data[j]->block_type) in tasdevice_select_cfg_blk()
965 for (k = 0; k < (int)blk_data[j]->n_subblks; k++) { in tasdevice_select_cfg_blk()
966 if (blk_data[j]->dev_idx) { in tasdevice_select_cfg_blk()
967 chn = blk_data[j]->dev_idx - 1; in tasdevice_select_cfg_blk()
968 chnend = blk_data[j]->dev_idx; in tasdevice_select_cfg_blk()
977 blk_data[j]->regdata + length, in tasdevice_select_cfg_blk()
978 blk_data[j]->dev_idx, in tasdevice_select_cfg_blk()
979 blk_data[j]->block_size - length); in tasdevice_select_cfg_blk()
981 if (blk_data[j]->block_size < length) { in tasdevice_select_cfg_blk()
985 blk_data[j]->block_size); in tasdevice_select_cfg_blk()
989 if (length != blk_data[j]->block_size) in tasdevice_select_cfg_blk()
991 __func__, length, blk_data[j]->block_size); in tasdevice_select_cfg_blk()
2267 if (ci[i]->blk_data) { in tasdevice_config_info_remove()
2269 if (!ci[i]->blk_data[j]) in tasdevice_config_info_remove()
2271 kfree(ci[i]->blk_data[j]->regdata); in tasdevice_config_info_remove()
2272 kfree(ci[i]->blk_data[j]); in tasdevice_config_info_remove()
2274 kfree(ci[i]->blk_data); in tasdevice_config_info_remove()