/** * struct bch_geometry - BCH geometry description. * @gf_len: The length of Galois Field. (e.g., 13 or 14) * @ecc_strength: A number that describes the strength of the ECC * algorithm. * @page_size: The size, in bytes, of a physical page, including * both data and OOB. * @metadata_size: The size, in bytes, of the metadata. * @ecc0_chunk_size: The size, in bytes, of a first ECC chunk. * @eccn_chunk_size: The size, in bytes, of a single ECC chunk after * the first chunk in the page. * @ecc_chunk_count: The number of ECC chunks in the page, * @payload_size: The size, in bytes, of the payload buffer. * @auxiliary_size: The size, in bytes, of the auxiliary buffer. * @auxiliary_status_offset: The offset into the auxiliary buffer at which * the ECC status appears. * @block_mark_byte_offset: The byte offset in the ECC-based page view at * which the underlying physical block mark appears. * @block_mark_bit_offset: The bit offset into the ECC-based page view at * which the underlying physical block mark appears. * @ecc_for_meta: The flag to indicate if there is a dedicate ecc * for meta.
*/ struct bch_geometry { unsignedint gf_len; unsignedint ecc_strength; unsignedint page_size; unsignedint metadata_size; unsignedint ecc0_chunk_size; unsignedint eccn_chunk_size; unsignedint ecc_chunk_count; unsignedint payload_size; unsignedint auxiliary_size; unsignedint auxiliary_status_offset; unsignedint block_mark_byte_offset; unsignedint block_mark_bit_offset; unsignedint ecc_for_meta; /* ECC for meta data */
};
/** * struct boot_rom_geometry - Boot ROM geometry description. * @stride_size_in_pages: The size of a boot block stride, in pages. * @search_area_stride_exponent: The logarithm to base 2 of the size of a * search area in boot block strides.
*/ struct boot_rom_geometry { unsignedint stride_size_in_pages; unsignedint search_area_stride_exponent;
};
struct gpmi_devdata { enum gpmi_type type; int bch_max_ecc_strength; int max_chain_delay; /* See the SDR EDO mode */ constchar * const *clks; constint clks_count; bool support_edo_timing;
};
/** * struct gpmi_nfc_hardware_timing - GPMI hardware timing parameters. * @must_apply_timings: Whether controller timings have already been * applied or not (useful only while there is * support for only one chip select) * @clk_rate: The clock rate that must be used to derive the * following parameters * @timing0: HW_GPMI_TIMING0 register * @timing1: HW_GPMI_TIMING1 register * @ctrl1n: HW_GPMI_CTRL1n register
*/ struct gpmi_nfc_hardware_timing { bool must_apply_timings; unsignedlongint clk_rate;
u32 timing0;
u32 timing1;
u32 ctrl1n;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.