Lines Matching refs:blk_data
136 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in tasdevice_add_config()
716 struct tasdev_blk_data **blk_data; in tasdevice_select_cfg_blk() local
724 blk_data = cfg_info[conf_no]->blk_data; in tasdevice_select_cfg_blk()
734 if (block_type != blk_data[j]->block_type) in tasdevice_select_cfg_blk()
737 for (k = 0; k < (int)blk_data[j]->n_subblks; k++) { in tasdevice_select_cfg_blk()
738 if (blk_data[j]->dev_idx) { in tasdevice_select_cfg_blk()
739 chn = blk_data[j]->dev_idx - 1; in tasdevice_select_cfg_blk()
740 chnend = blk_data[j]->dev_idx; in tasdevice_select_cfg_blk()
749 blk_data[j]->regdata + length, in tasdevice_select_cfg_blk()
750 blk_data[j]->dev_idx, in tasdevice_select_cfg_blk()
751 blk_data[j]->block_size - length); in tasdevice_select_cfg_blk()
753 if (blk_data[j]->block_size < length) { in tasdevice_select_cfg_blk()
757 blk_data[j]->block_size); in tasdevice_select_cfg_blk()
761 if (length != blk_data[j]->block_size) in tasdevice_select_cfg_blk()
763 __func__, length, blk_data[j]->block_size); in tasdevice_select_cfg_blk()
2151 if (ci[i]->blk_data) { in tasdevice_config_info_remove()
2153 if (!ci[i]->blk_data[j]) in tasdevice_config_info_remove()
2155 kfree(ci[i]->blk_data[j]->regdata); in tasdevice_config_info_remove()
2156 kfree(ci[i]->blk_data[j]); in tasdevice_config_info_remove()
2158 kfree(ci[i]->blk_data); in tasdevice_config_info_remove()