Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/mtd/nand/
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-6.6.21/drivers/mtd/nand/raw/ingenic/
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
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 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()
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-6.6.21/drivers/dma/ti/
Dedma.c219 struct edma_cc *ecc; member
300 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
305 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
310 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
320 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
328 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
334 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
340 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
346 static inline void edma_or_array2(struct edma_cc *ecc, int offset, int i, int j, in edma_or_array2()
352 static inline void edma_write_array2(struct edma_cc *ecc, int offset, int i, in edma_write_array2()
[all …]
/linux-6.6.21/drivers/mtd/nand/raw/
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 …]
Dqcom_nandc.c765 static bool qcom_nandc_is_last_cw(struct nand_ecc_ctrl *ecc, int cw) in qcom_nandc_is_last_cw()
775 struct nand_ecc_ctrl *ecc = &chip->ecc; in nandc_set_read_loc() local
1240 struct nand_ecc_ctrl *ecc = &chip->ecc; in config_nand_cw_read() local
1468 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_cw_raw() local
1557 struct nand_ecc_ctrl *ecc = &chip->ecc; in check_for_erased_page() local
1616 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_read_errors() local
1718 struct nand_ecc_ctrl *ecc = &chip->ecc; in read_page_ecc() local
1796 struct nand_ecc_ctrl *ecc = &chip->ecc; in copy_last_cw() local
1890 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page() local
1918 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page_raw() local
[all …]
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
Dnand_jedec.c30 struct jedec_ecc_info *ecc; in nand_jedec_detect() local
Dnand_onfi.c41 struct onfi_ext_ecc_info *ecc; in nand_flash_detect_ext_param_page() local
Dstm32_fmc2_nand.c485 static void stm32_fmc2_nfc_ham_set_ecc(const u32 ecc_sta, u8 *ecc) in stm32_fmc2_nfc_ham_set_ecc()
493 u8 *ecc) in stm32_fmc2_nfc_ham_calculate()
574 u8 *ecc) in stm32_fmc2_nfc_bch_calculate()
1652 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_ecc() local
1667 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_free() local
Dndfc.c91 uint32_t ecc; in ndfc_calculate_ecc() local
/linux-6.6.21/fs/ocfs2/
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-6.6.21/drivers/scsi/csiostor/
Dcsio_hw_t5.c147 uint64_t *ecc) in csio_t5_mc_read()
194 uint64_t *ecc) in csio_t5_edc_read()
/linux-6.6.21/drivers/mtd/nand/raw/atmel/
Dpmecc.h50 } ecc; member
/linux-6.6.21/arch/mips/boot/dts/ingenic/
Djz4740.dtsi277 ecc: ecc-controller@13010100 { label
/linux-6.6.21/drivers/usb/storage/
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()
813 unsigned char ecc[3]; in alauda_write_lba() local
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-6.6.21/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c626 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_chip_ecc_init() local
1177 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_serrif() local
1257 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_eccif_recover() local
1306 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_handle_eccif() local
Dmcp251xfd-tef.c173 struct mcp251xfd_ecc *ecc = &priv->ecc; in mcp251xfd_ecc_tefif_successful() local
/linux-6.6.21/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-6.6.21/drivers/crypto/ccp/
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-6.6.21/include/linux/spi/
Dspi-mem.h126 u8 ecc : 1; member
301 bool ecc; member
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c313 u8 ecc = 0; in nfp_ustore_calc_ecc_insn() local

1234