Searched refs:start_block_number (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_cadence_nand_ll.c | 664 static int cdns_nand_cdma_erase(struct cadence_nand_params *params, uint32_t start_block_number, in cdns_nand_cdma_erase() argument 671 start_block_number, NULL); in cdns_nand_cdma_erase() 1410 uint32_t start_block_number; in cdns_nand_erase() local 1439 start_block_number = (offset / ((params->page_size))) / (params->npages_per_block); in cdns_nand_erase() 1442 block_count = end_block_number - start_block_number; in cdns_nand_erase() 1444 ret = cdns_nand_cdma_erase(params, start_block_number, ++block_count); in cdns_nand_erase() 1446 ret = cdns_nand_pio_erase(params, NF_TDEF_TRD_NUM, NF_TDEF_DEV_NUM, start_block_number, in cdns_nand_erase() 1449 ret = cdns_nand_gen_erase(params, start_block_number, ++block_count); in cdns_nand_erase()
|