Lines Matching +full:nand +full:- +full:int +full:- +full:base

1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Freescale GPMI NAND Flash Driver
5 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
13 #include <linux/dma-mapping.h>
20 unsigned int dma_low_channel;
21 unsigned int dma_high_channel;
26 * struct bch_geometry - BCH geometry description.
41 * @block_mark_byte_offset: The byte offset in the ECC-based page view at
43 * @block_mark_bit_offset: The bit offset into the ECC-based page view at
49 unsigned int gf_len;
50 unsigned int ecc_strength;
51 unsigned int page_size;
52 unsigned int metadata_size;
53 unsigned int ecc0_chunk_size;
54 unsigned int eccn_chunk_size;
55 unsigned int ecc_chunk_count;
56 unsigned int payload_size;
57 unsigned int auxiliary_size;
58 unsigned int auxiliary_status_offset;
59 unsigned int block_mark_byte_offset;
60 unsigned int block_mark_bit_offset;
61 unsigned int ecc_for_meta; /* ECC for meta data */
65 * struct boot_rom_geometry - Boot ROM geometry description.
67 * @search_area_stride_exponent: The logarithm to base 2 of the size of a
71 unsigned int stride_size_in_pages;
72 unsigned int search_area_stride_exponent;
85 int bch_max_ecc_strength;
86 int max_chain_delay; /* See the SDR EDO mode */
88 const int clks_count;
92 * struct gpmi_nfc_hardware_timing - GPMI hardware timing parameters.
104 unsigned long int clk_rate;
136 /* NAND Boot issue */
140 /* MTD / NAND */
141 struct nand_controller base; member
142 struct nand_chip nand; member
145 int ntransfers;
170 #define GPMI_IS_MX23(x) ((x)->devdata->type == IS_MX23)
171 #define GPMI_IS_MX28(x) ((x)->devdata->type == IS_MX28)
172 #define GPMI_IS_MX6Q(x) ((x)->devdata->type == IS_MX6Q)
173 #define GPMI_IS_MX6SX(x) ((x)->devdata->type == IS_MX6SX)
174 #define GPMI_IS_MX7D(x) ((x)->devdata->type == IS_MX7D)