Lines Matching refs:npages_per_block
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()
1441 (((offset + size) - 1) / ((params->page_size))) / (params->npages_per_block); in cdns_nand_erase()