Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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.c44 struct ingenic_ecc *ecc; member
75 struct nand_ecc_ctrl *ecc = &chip->ecc; in qi_lb60_ooblayout_ecc() local
90 struct nand_ecc_ctrl *ecc = &chip->ecc; in qi_lb60_ooblayout_free() local
110 struct nand_ecc_ctrl *ecc = &chip->ecc; in jz4725b_ooblayout_ecc() local
125 struct nand_ecc_ctrl *ecc = &chip->ecc; in jz4725b_ooblayout_free() local
/kernel/linux/linux-5.10/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.c1392 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_erase_write_errors() local
1442 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_command() local
1592 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_cw_raw() local
1675 struct nand_ecc_ctrl *ecc = &chip->ecc; in check_for_erased_page() local
1734 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_read_errors() local
1837 struct nand_ecc_ctrl *ecc = &chip->ecc; in read_page_ecc() local
1917 struct nand_ecc_ctrl *ecc = &chip->ecc; in copy_last_cw() local
1967 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page_raw() local
1989 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_oob() local
2007 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_write_page() local
[all …]
Dnand_jedec.c30 struct jedec_ecc_info *ecc; in nand_jedec_detect() local
Dtango_nand.c200 u8 *ecc = chip->oob_poi + BBM_SIZE + METADATA_SIZE; in check_erased_page() local
491 struct nand_ecc_ctrl *ecc = &chip->ecc; in oob_ecc() local
550 struct nand_ecc_ctrl *ecc = &chip->ecc; in tango_attach_chip() local
579 struct nand_ecc_ctrl *ecc; in chip_init() local
Dnand_onfi.c41 struct onfi_ext_ecc_info *ecc; in nand_flash_detect_ext_param_page() local
Dndfc.c91 uint32_t ecc; in ndfc_calculate_ecc() local
Dstm32_fmc2_nand.c483 static void stm32_fmc2_nfc_ham_set_ecc(const u32 ecc_sta, u8 *ecc) in stm32_fmc2_nfc_ham_set_ecc()
491 u8 *ecc) in stm32_fmc2_nfc_ham_calculate()
570 u8 *ecc) in stm32_fmc2_nfc_bch_calculate()
1643 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_ecc() local
1658 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_free() local
Ddenali.c246 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_payload_xfer() local
283 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_oob_xfer() local
413 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_check_erased_page() local
/kernel/linux/linux-5.10/drivers/dma/ti/
Dedma.c228 struct edma_cc *ecc; member
309 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
314 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
319 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
329 static inline void edma_and(struct edma_cc *ecc, int offset, unsigned and) in edma_and()
337 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
345 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
351 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
357 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
363 static inline void edma_or_array(struct edma_cc *ecc, int offset, int i, in edma_or_array()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_hw_t5.c147 uint64_t *ecc) in csio_t5_mc_read()
194 uint64_t *ecc) in csio_t5_edc_read()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/
Dpmecc.h50 } ecc; member
/kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/
Djz4740.dtsi280 ecc: ecc-controller@13010100 { label
/kernel/linux/linux-5.10/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()
805 unsigned char ecc[3]; in alauda_write_lba() local
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-ops.c2162 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_mm_cmd() local
2269 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_pm_cmd() local
2440 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_cmd() local
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c313 u8 ecc = 0; in nfp_ustore_calc_ecc_insn() local
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c897 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_chip_ecc_init() local
925 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_ecc_tefif_successful() local
1821 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_serrif() local
1901 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_eccif_recover() local
1949 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_eccif() local
/kernel/linux/linux-5.10/lib/
Dbch.c165 uint32_t *ecc) in bch_encode_unaligned()
242 unsigned int len, uint8_t *ecc) in bch_encode()
404 static void compute_syndromes(struct bch_control *bch, uint32_t *ecc, in compute_syndromes()

123