Home
last modified time | relevance | path

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

123

/linux/drivers/mtd/nand/
H A Decc-mtk.c126 static inline void mtk_ecc_wait_idle(struct mtk_ecc *ecc, in mtk_ecc_wait_idle()
143 struct mtk_ecc *ecc = id; in mtk_ecc_irq() local
173 static int mtk_ecc_config(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_config()
220 void mtk_ecc_get_stats(struct mtk_ecc *ecc, struct mtk_ecc_stats *stats, in mtk_ecc_get_stats()
248 void mtk_ecc_release(struct mtk_ecc *ecc) in mtk_ecc_release()
255 static void mtk_ecc_hw_init(struct mtk_ecc *ecc) in mtk_ecc_hw_init()
267 struct mtk_ecc *ecc; in mtk_ecc_get() local
287 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get() local
303 int mtk_ecc_enable(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_enable()
347 void mtk_ecc_disable(struct mtk_ecc *ecc) in mtk_ecc_disable()
[all …]
/linux/drivers/mtd/nand/raw/ingenic/
H A Dingenic_ecc.c28 int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate()
48 int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct()
69 struct ingenic_ecc *ecc; in ingenic_ecc_get() local
98 struct ingenic_ecc *ecc = NULL; in of_ingenic_ecc_get() local
121 void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release()
130 struct ingenic_ecc *ecc; in ingenic_ecc_probe() local
H A 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()
H A Dingenic_ecc.h39 static inline int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate()
46 static inline int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct()
53 static inline void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release()
H A 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
/linux/drivers/mtd/nand/raw/
H A Dqcom_nandc.c147 static bool qcom_nandc_is_last_cw(struct nand_ecc_ctrl *ecc, int cw) in qcom_nandc_is_last_cw()
221 struct nand_ecc_ctrl *ecc = &chip->ecc; in nandc_set_read_loc() local
330 struct nand_ecc_ctrl *ecc = &chip->ecc; in config_nand_cw_read() local
477 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_cw_raw() local
566 struct nand_ecc_ctrl *ecc = &chip->ecc; in check_for_erased_page() local
625 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_read_errors() local
727 struct nand_ecc_ctrl *ecc = &chip->ecc; in read_page_ecc() local
805 struct nand_ecc_ctrl *ecc = &chip->ecc; in copy_last_cw() local
899 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page() local
927 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page_raw() local
[all …]
H A Dsunxi_nand.c195 struct sunxi_nand_hw_ecc ecc; member
603 bool ecc) in sunxi_nfc_randomizer_state()
623 bool ecc) in sunxi_nfc_randomizer_config()
670 bool ecc, int page) in sunxi_nfc_randomizer_write_buf()
679 int len, bool ecc, int page) in sunxi_nfc_randomizer_read_buf()
763 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_correct() local
803 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunk() local
881 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_extra_oob() local
909 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunks_dma() local
1037 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_chunk() local
[all …]
H A Drockchip-nand-controller.c265 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_select_chip() local
512 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_write_page_raw() local
594 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_write_page_hwecc() local
706 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_read_page_raw() local
760 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_read_page_hwecc() local
974 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_ecc_init() local
1019 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_attach_chip() local
H A Dnand_jedec.c30 struct jedec_ecc_info *ecc; in nand_jedec_detect() local
H A Dnand_onfi.c41 struct onfi_ext_ecc_info *ecc; in nand_flash_detect_ext_param_page() local
H A Dstm32_fmc2_nand.c502 static void stm32_fmc2_nfc_ham_set_ecc(const u32 ecc_sta, u8 *ecc) in stm32_fmc2_nfc_ham_set_ecc()
510 u8 *ecc) in stm32_fmc2_nfc_ham_calculate()
591 u8 *ecc) in stm32_fmc2_nfc_bch_calculate()
1680 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_ecc() local
1695 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_free() local
H A Dndfc.c91 uint32_t ecc; in ndfc_calculate_ecc() local
H A 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
/linux/fs/ocfs2/
H A Dblockcheck.c353 u32 ecc; in ocfs2_block_check_compute() local
385 u32 crc, ecc; in ocfs2_block_check_validate() local
445 u32 crc, ecc; in ocfs2_block_check_compute_bhs() local
492 u32 crc, ecc, fix; in ocfs2_block_check_validate_bhs() local
/linux/drivers/scsi/csiostor/
H A Dcsio_hw_t5.c147 uint64_t *ecc) in csio_t5_mc_read()
194 uint64_t *ecc) in csio_t5_edc_read()
/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.h50 } ecc; member
/linux/arch/mips/boot/dts/ingenic/
H A Djz4740.dtsi277 ecc: ecc-controller@13010100 { label
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c626 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_chip_ecc_init() local
1180 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_serrif() local
1260 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_eccif_recover() local
1309 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_eccif() local
H A Dmcp251xfd-tef.c208 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_ecc_tefif_successful() local
/linux/drivers/usb/storage/
H A Dalauda.c245 static void nand_compute_ecc(unsigned char *data, unsigned char *ecc) in nand_compute_ecc()
269 static int nand_compare_ecc(unsigned char *data, unsigned char *ecc) in nand_compare_ecc()
274 static void nand_store_ecc(unsigned char *data, unsigned char *ecc) in nand_store_ecc()
816 unsigned char ecc[3]; in alauda_write_lba() local
H A 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
/linux/fs/pstore/
H A 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/drivers/crypto/ccp/
H A Dccp-ops.c2165 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_mm_cmd() local
2272 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_pm_cmd() local
2442 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_cmd() local
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_asm.c313 u8 ecc = 0; in nfp_ustore_calc_ecc_insn() local
/linux/lib/
H A Dbch.c131 uint32_t *ecc) in bch_encode_unaligned()
208 unsigned int len, uint8_t *ecc) in bch_encode()
370 static void compute_syndromes(struct bch_control *bch, uint32_t *ecc, in compute_syndromes()

123