Home
last modified time | relevance | path

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

12

/drivers/mtd/nand/
Dmtk_ecc.c93 static inline void mtk_ecc_wait_idle(struct mtk_ecc *ecc, in mtk_ecc_wait_idle()
110 struct mtk_ecc *ecc = id; in mtk_ecc_irq() local
142 static void mtk_ecc_config(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_config()
240 void mtk_ecc_get_stats(struct mtk_ecc *ecc, struct mtk_ecc_stats *stats, in mtk_ecc_get_stats()
268 void mtk_ecc_release(struct mtk_ecc *ecc) in mtk_ecc_release()
275 static void mtk_ecc_hw_init(struct mtk_ecc *ecc) in mtk_ecc_hw_init()
287 struct mtk_ecc *ecc; in mtk_ecc_get() local
303 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get() local
316 int mtk_ecc_enable(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_enable()
338 void mtk_ecc_disable(struct mtk_ecc *ecc) in mtk_ecc_disable()
[all …]
Dsunxi_nand.c725 static u16 sunxi_nfc_randomizer_state(struct mtd_info *mtd, int page, bool ecc) in sunxi_nfc_randomizer_state()
744 int page, bool ecc) in sunxi_nfc_randomizer_config()
794 bool ecc, int page) in sunxi_nfc_randomizer_write_buf()
803 int len, bool ecc, int page) in sunxi_nfc_randomizer_read_buf()
898 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_correct() local
939 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunk() local
1017 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_extra_oob() local
1045 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunks_dma() local
1170 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_chunk() local
1207 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_extra_oob() local
[all …]
Dqcom_nandc.c836 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_erase_write_errors() local
885 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_command() local
1019 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_read_errors() local
1109 struct nand_ecc_ctrl *ecc = &chip->ecc; in read_page_ecc() local
1171 struct nand_ecc_ctrl *ecc = &chip->ecc; in copy_last_cw() local
1227 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page_raw() local
1286 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_oob() local
1308 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_write_page() local
1372 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_write_page_raw() local
1444 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_write_oob() local
[all …]
Dnand_base.c60 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_ecc_sp() local
115 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_ecc_lp() local
130 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_free_lp() local
155 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_ecc_lp_hamming() local
182 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ooblayout_free_lp_hamming() local
1472 void *ecc, int ecclen, in nand_check_erased_ecc_chunk()
3495 struct onfi_ext_ecc_info *ecc; in nand_flash_detect_ext_param_page() local
3695 struct jedec_ecc_info *ecc; in nand_flash_detect_jedec() local
4478 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_set_ecc_soft_ops() local
4588 struct nand_ecc_ctrl *ecc = &chip->ecc; in nand_ecc_strength_good() local
[all …]
Dndfc.c101 uint32_t ecc; in ndfc_calculate_ecc() local
Dfsmc_nand.c316 uint8_t *ecc) in fsmc_read_hwecc_ecc4()
366 uint8_t *ecc) in fsmc_read_hwecc_ecc1()
Dcs553x_nand.c172 uint32_t ecc; in cs_calculate_ecc() local
Ds3c2410.c627 unsigned long ecc = readl(info->regs + S3C2412_NFMECC0); in s3c2412_nand_calculate_ecc() local
642 unsigned long ecc = readl(info->regs + S3C2440_NFMECC0); in s3c2440_nand_calculate_ecc() local
Dtmio_nand.c274 unsigned int ecc; in tmio_nand_calculate_ecc() local
Datmel_nand.c137 void __iomem *ecc; member
799 static void pmecc_correct_data(struct mtd_info *mtd, uint8_t *buf, uint8_t *ecc, in pmecc_correct_data()
849 u8 *ecc) in pmecc_correction()
Domap_elm.c172 struct elm_errorvec *err_vec, u8 *ecc) in elm_load_syndrome()
/drivers/dma/
Dedma.c216 struct edma_cc *ecc; member
290 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
295 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
300 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
310 static inline void edma_and(struct edma_cc *ecc, int offset, unsigned and) in edma_and()
318 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
326 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
332 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
338 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
344 static inline void edma_or_array(struct edma_cc *ecc, int offset, int i, in edma_or_array()
[all …]
/drivers/scsi/csiostor/
Dcsio_hw_t5.c174 uint64_t *ecc) in csio_t5_mc_read()
222 uint64_t *ecc) in csio_t5_edc_read()
/drivers/crypto/ccp/
Dccp-ops.c1563 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_mm_cmd() local
1672 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_pm_cmd() local
1849 struct ccp_ecc_engine *ecc = &cmd->u.ecc; in ccp_run_ecc_cmd() local
/drivers/usb/storage/
Dsddr09.c224 static void nand_compute_ecc(unsigned char *data, unsigned char *ecc) { in nand_compute_ecc()
247 static int nand_compare_ecc(unsigned char *data, unsigned char *ecc) { in nand_compare_ecc()
251 static void nand_store_ecc(unsigned char *data, unsigned char *ecc) { in nand_store_ecc()
872 unsigned char ecc[3]; in sddr09_write_lba() local
Dalauda.c255 static void nand_compute_ecc(unsigned char *data, unsigned char *ecc) in nand_compute_ecc()
279 static int nand_compare_ecc(unsigned char *data, unsigned char *ecc) in nand_compare_ecc()
284 static void nand_store_ecc(unsigned char *data, unsigned char *ecc) in nand_store_ecc()
818 unsigned char ecc[3]; in alauda_write_lba() local
/drivers/md/
Ddm-android-verity.c258 struct fec_ecc_metadata *ecc) in populate_fec_metadata()
282 struct fec_ecc_metadata *ecc) in extract_fec_header()
/drivers/net/can/sja1000/
Dsja1000.c399 uint8_t ecc, alc; in sja1000_err() local
/drivers/net/can/usb/
Dems_usb.c173 u8 ecc; member
367 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc; in ems_usb_rx_err() local
/drivers/mtd/onenand/
Dsamsung.c322 unsigned int stat, ecc; in s3c_onenand_wait() local
724 int ecc = s3c_read_reg(ECC_ERR_STAT_OFFSET); in s3c_onenand_bbt_wait() local
Domap2.c237 int ecc = read_reg(c, ONENAND_REG_ECC_STATUS); in omap2_onenand_wait() local
Donenand_base.c531 int ecc, i, result = 0; in onenand_read_ecc() local
588 int ecc = onenand_read_ecc(this); in onenand_wait() local
1529 unsigned int interrupt, ctrl, ecc, addr1, addr8; in onenand_bbt_wait() local
/drivers/edac/
Dfsl_ddr_edac.c194 u8 ecc = 0; in calculate_ecc() local
Dmce_amd.c942 int ecc; in amd_decode_mce() local
/drivers/mtd/
Dsm_ftl.c222 uint8_t ecc[3]; in sm_correct_sector() local

12