Searched refs:npages_per_block (Results 1 – 3 of 3) sorted by relevance
39 block_number = ((page_set) / (params->npages_per_block)); in row_address_set()42 ((page_set) % (params->npages_per_block))); in row_address_set()86 params->npages_per_block = GET_PAGES_PER_BLOCK(reg_value); in cdns_nand_device_info()97 params->block_size = (params->npages_per_block * params->page_size); in cdns_nand_device_info()103 params->page_size_bit = find_msb_set((params->npages_per_block) - 1); in cdns_nand_device_info()424 params->total_bit_row = find_msb_set(((params->npages_per_block) - 1)) + in cdns_nand_init()707 row_address_set(params, &row_address, (start_block * params->npages_per_block)); in cdns_nand_pio_erase()1122 row_address_set(params, &gen_row_address, (start_block * params->npages_per_block)); in cdns_nand_gen_erase()1332 ((page_count - 2) * (params->npages_per_block))), in cdns_nand_read()1439 start_block_number = (offset / ((params->page_size))) / (params->npages_per_block); in cdns_nand_erase()[all …]
232 (nand_param->npages_per_block * nand_param->nblocks_per_lun * nand_param->nluns); in flash_cdns_nand_init()
352 uint16_t npages_per_block; member