Lines Matching defs:cdns_nand_ctrl
453 struct cdns_nand_ctrl { struct
454 struct device *dev;
455 struct nand_controller controller;
456 struct cadence_nand_cdma_desc *cdma_desc;
458 const struct cadence_nand_dt_devdata *caps1;
459 struct cdns_nand_caps caps2;
460 u8 ctrl_rev;
461 dma_addr_t dma_cdma_desc;
462 u8 *buf;
463 u32 buf_size;
464 u8 curr_corr_str_idx;
467 void __iomem *reg;
469 struct {
472 } io;
474 int irq;
476 struct cadence_nand_irq_status irq_status;
478 struct cadence_nand_irq_status irq_mask;
479 struct completion complete;
481 spinlock_t irq_lock;
483 int ecc_strengths[BCH_MAX_NUM_CORR_CAPS];
484 struct nand_ecc_step_info ecc_stepinfos[BCH_MAX_NUM_SECTOR_SIZES];
485 struct nand_ecc_caps ecc_caps;
487 int curr_trans_type;
489 struct dma_chan *dmac;
491 u32 nf_clk_rate;
497 u32 board_delay;
499 struct nand_chip *selected_chip;
501 unsigned long assigned_cs;
502 struct list_head chips;
503 u8 bch_metadata_size;