Home
last modified time | relevance | path

Searched defs:ecc (Results 1 – 25 of 66) sorted by relevance

123

/Linux-v5.4/drivers/mtd/nand/raw/
Dmtk_ecc.c118 static inline void mtk_ecc_wait_idle(struct mtk_ecc *ecc, in mtk_ecc_wait_idle()
135 struct mtk_ecc *ecc = id; in mtk_ecc_irq() local
165 static int mtk_ecc_config(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_config()
212 void mtk_ecc_get_stats(struct mtk_ecc *ecc, struct mtk_ecc_stats *stats, in mtk_ecc_get_stats()
240 void mtk_ecc_release(struct mtk_ecc *ecc) in mtk_ecc_release()
247 static void mtk_ecc_hw_init(struct mtk_ecc *ecc) in mtk_ecc_hw_init()
259 struct mtk_ecc *ecc; in mtk_ecc_get() local
279 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get() local
292 int mtk_ecc_enable(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_enable()
336 void mtk_ecc_disable(struct mtk_ecc *ecc) in mtk_ecc_disable()
[all …]
Dsunxi_nand.c593 bool ecc) in sunxi_nfc_randomizer_state()
613 bool ecc) in sunxi_nfc_randomizer_config()
660 bool ecc, int page) in sunxi_nfc_randomizer_write_buf()
669 int len, bool ecc, int page) in sunxi_nfc_randomizer_read_buf()
764 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_correct() local
804 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunk() local
882 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_extra_oob() local
910 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunks_dma() local
1033 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_chunk() local
1070 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_extra_oob() local
[all …]
Dqcom_nandc.c1390 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_erase_write_errors() local
1440 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_command() local
1588 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_cw_raw() local
1671 struct nand_ecc_ctrl *ecc = &chip->ecc; in check_for_erased_page() local
1730 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_read_errors() local
1833 struct nand_ecc_ctrl *ecc = &chip->ecc; in read_page_ecc() local
1913 struct nand_ecc_ctrl *ecc = &chip->ecc; in copy_last_cw() local
1963 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page_raw() local
1985 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_oob() local
2003 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_write_page() local
[all …]
Dnand_jedec.c27 struct jedec_ecc_info *ecc; in nand_jedec_detect() local
Dtango_nand.c179 u8 *ecc = chip->oob_poi + BBM_SIZE + METADATA_SIZE; in check_erased_page() local
453 struct nand_ecc_ctrl *ecc = &chip->ecc; in oob_ecc() local
512 struct nand_ecc_ctrl *ecc = &chip->ecc; in tango_attach_chip() local
540 struct nand_ecc_ctrl *ecc; in chip_init() local
Dnand_onfi.c37 struct onfi_ext_ecc_info *ecc; in nand_flash_detect_ext_param_page() local
Dnand_base.c53 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_ecc_sp() local
108 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_ecc_lp() local
123 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_free_lp() local
148 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_ecc_lp_hamming() local
175 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_free_lp_hamming() local
2541 void *ecc, int ecclen, in nand_check_erased_ecc_chunk()
5081 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_set_ecc_soft_ops() local
5439 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ecc_strength_good() local
5512 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_scan_tail() local
Dstm32_fmc2_nand.c520 static inline void stm32_fmc2_ham_set_ecc(const u32 ecc_sta, u8 *ecc) in stm32_fmc2_ham_set_ecc()
528 u8 *ecc) in stm32_fmc2_ham_calculate()
610 u8 *ecc) in stm32_fmc2_bch_calculate()
1652 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nand_ooblayout_ecc() local
1667 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nand_ooblayout_free() local
Dndfc.c91 uint32_t ecc; in ndfc_calculate_ecc() local
Ddenali.c247 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_payload_xfer() local
284 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_oob_xfer() local
414 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_check_erased_page() local
/Linux-v5.4/drivers/mtd/nand/raw/ingenic/
Dingenic_ecc.c27 int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate()
47 int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct()
68 struct ingenic_ecc *ecc; in ingenic_ecc_get() local
94 struct ingenic_ecc *ecc = NULL; in of_ingenic_ecc_get() local
117 void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release()
126 struct ingenic_ecc *ecc; in ingenic_ecc_probe() local
Djz4740_ecc.c45 static void jz4740_ecc_reset(struct ingenic_ecc *ecc, bool calc_ecc) in jz4740_ecc_reset()
65 static int jz4740_ecc_calculate(struct ingenic_ecc *ecc, in jz4740_ecc_calculate()
117 static int jz4740_ecc_correct(struct ingenic_ecc *ecc, in jz4740_ecc_correct()
164 static void jz4740_ecc_disable(struct ingenic_ecc *ecc) in jz4740_ecc_disable()
Dingenic_ecc.h39 int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate()
46 int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct()
53 void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release()
Dingenic_nand_drv.c47 struct ingenic_ecc *ecc; member
79 struct nand_ecc_ctrl *ecc = &chip->ecc; in qi_lb60_ooblayout_ecc() local
94 struct nand_ecc_ctrl *ecc = &chip->ecc; in qi_lb60_ooblayout_free() local
114 struct nand_ecc_ctrl *ecc = &chip->ecc; in jz4725b_ooblayout_ecc() local
129 struct nand_ecc_ctrl *ecc = &chip->ecc; in jz4725b_ooblayout_free() local
/Linux-v5.4/drivers/dma/ti/
Dedma.c228 struct edma_cc *ecc; member
302 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
307 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
312 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
322 static inline void edma_and(struct edma_cc *ecc, int offset, unsigned and) in edma_and()
330 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
338 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
344 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
350 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
356 static inline void edma_or_array(struct edma_cc *ecc, int offset, int i, in edma_or_array()
[all …]
/Linux-v5.4/fs/ocfs2/
Dblockcheck.c355 u32 ecc; in ocfs2_block_check_compute() local
387 u32 crc, ecc; in ocfs2_block_check_validate() local
447 u32 crc, ecc; in ocfs2_block_check_compute_bhs() local
494 u32 crc, ecc, fix; in ocfs2_block_check_validate_bhs() local
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_hw_t5.c147 uint64_t *ecc) in csio_t5_mc_read()
195 uint64_t *ecc) in csio_t5_edc_read()
/Linux-v5.4/drivers/mtd/nand/raw/atmel/
Dpmecc.h50 } ecc; member
/Linux-v5.4/arch/mips/boot/dts/ingenic/
Djz4740.dtsi251 ecc: ecc-controller@13010100 { label
/Linux-v5.4/drivers/usb/storage/
Dsddr09.c212 static void nand_compute_ecc(unsigned char *data, unsigned char *ecc) { in nand_compute_ecc()
235 static int nand_compare_ecc(unsigned char *data, unsigned char *ecc) { in nand_compare_ecc()
239 static void nand_store_ecc(unsigned char *data, unsigned char *ecc) { in nand_store_ecc()
860 unsigned char ecc[3]; in sddr09_write_lba() local
Dalauda.c243 static void nand_compute_ecc(unsigned char *data, unsigned char *ecc) in nand_compute_ecc()
267 static int nand_compare_ecc(unsigned char *data, unsigned char *ecc) in nand_compare_ecc()
272 static void nand_store_ecc(unsigned char *data, unsigned char *ecc) in nand_store_ecc()
806 unsigned char ecc[3]; in alauda_write_lba() local
/Linux-v5.4/fs/pstore/
Dram_core.c99 uint8_t *data, size_t len, uint8_t *ecc) in persistent_ram_encode_rs8()
112 void *data, size_t len, uint8_t *ecc) in persistent_ram_decode_rs8()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-ops.c2145 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_mm_cmd() local
2252 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_pm_cmd() local
2423 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_cmd() local
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c313 u8 ecc = 0; in nfp_ustore_calc_ecc_insn() local
/Linux-v5.4/lib/
Dbch.c122 uint32_t *ecc) in encode_bch_unaligned()
191 unsigned int len, uint8_t *ecc) in encode_bch()
347 static void compute_syndromes(struct bch_control *bch, uint32_t *ecc, in compute_syndromes()

123