Lines Matching refs:blk_data
196 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in tasdevice_add_config()
815 struct tasdev_blk_data **blk_data; in tasdevice_select_cfg_blk() local
823 blk_data = cfg_info[conf_no]->blk_data; in tasdevice_select_cfg_blk()
833 if (block_type != blk_data[j]->block_type) in tasdevice_select_cfg_blk()
836 for (k = 0; k < (int)blk_data[j]->n_subblks; k++) { in tasdevice_select_cfg_blk()
837 if (blk_data[j]->dev_idx) { in tasdevice_select_cfg_blk()
838 chn = blk_data[j]->dev_idx - 1; in tasdevice_select_cfg_blk()
839 chnend = blk_data[j]->dev_idx; in tasdevice_select_cfg_blk()
848 blk_data[j]->regdata + length, in tasdevice_select_cfg_blk()
849 blk_data[j]->dev_idx, in tasdevice_select_cfg_blk()
850 blk_data[j]->block_size - length); in tasdevice_select_cfg_blk()
852 if (blk_data[j]->block_size < length) { in tasdevice_select_cfg_blk()
856 blk_data[j]->block_size); in tasdevice_select_cfg_blk()
860 if (length != blk_data[j]->block_size) in tasdevice_select_cfg_blk()
862 __func__, length, blk_data[j]->block_size); in tasdevice_select_cfg_blk()
2121 if (ci[i]->blk_data) { in tasdevice_config_info_remove()
2123 if (!ci[i]->blk_data[j]) in tasdevice_config_info_remove()
2125 kfree(ci[i]->blk_data[j]->regdata); in tasdevice_config_info_remove()
2126 kfree(ci[i]->blk_data[j]); in tasdevice_config_info_remove()
2128 kfree(ci[i]->blk_data); in tasdevice_config_info_remove()