Lines Matching refs:blk_data
201 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, in tasdevice_add_config()
814 struct tasdev_blk_data **blk_data; in tasdevice_spi_select_cfg_blk() local
822 blk_data = cfg_info[conf_no]->blk_data; in tasdevice_spi_select_cfg_blk()
832 if (block_type != blk_data[j]->block_type) in tasdevice_spi_select_cfg_blk()
835 for (k = 0; k < blk_data[j]->n_subblks; k++) { in tasdevice_spi_select_cfg_blk()
839 blk_data[j]->regdata + length, in tasdevice_spi_select_cfg_blk()
840 blk_data[j]->dev_idx, in tasdevice_spi_select_cfg_blk()
841 blk_data[j]->block_size - length); in tasdevice_spi_select_cfg_blk()
843 if (blk_data[j]->block_size < length) { in tasdevice_spi_select_cfg_blk()
847 blk_data[j]->block_size); in tasdevice_spi_select_cfg_blk()
851 if (length != blk_data[j]->block_size) in tasdevice_spi_select_cfg_blk()
853 __func__, length, blk_data[j]->block_size); in tasdevice_spi_select_cfg_blk()
1919 if (ci[i]->blk_data) { in tasdevice_spi_config_info_remove()
1921 if (!ci[i]->blk_data[j]) in tasdevice_spi_config_info_remove()
1923 kfree(ci[i]->blk_data[j]->regdata); in tasdevice_spi_config_info_remove()
1924 kfree(ci[i]->blk_data[j]); in tasdevice_spi_config_info_remove()
1926 kfree(ci[i]->blk_data); in tasdevice_spi_config_info_remove()