Searched refs:denali (Results 1 – 7 of 7) sorted by relevance
51 #define DENALI_BANK(denali) ((denali)->active_bank << 24) argument73 static void denali_host_write(struct denali_nand_info *denali, in denali_host_write() argument76 iowrite32(addr, denali->host + DENALI_HOST_ADDR); in denali_host_write()77 iowrite32(data, denali->host + DENALI_HOST_DATA); in denali_host_write()84 static void detect_max_banks(struct denali_nand_info *denali) in detect_max_banks() argument86 uint32_t features = ioread32(denali->reg + FEATURES); in detect_max_banks()88 denali->max_banks = 1 << (features & FEATURES__N_BANKS); in detect_max_banks()91 if (denali->revision < 0x0501) in detect_max_banks()92 denali->max_banks <<= 1; in detect_max_banks()95 static void denali_enable_irq(struct denali_nand_info *denali) in denali_enable_irq() argument[all …]
40 struct denali_nand_info *denali; in denali_pci_probe() local42 denali = devm_kzalloc(&dev->dev, sizeof(*denali), GFP_KERNEL); in denali_pci_probe()43 if (!denali) in denali_pci_probe()69 denali->dev = &dev->dev; in denali_pci_probe()70 denali->irq = dev->irq; in denali_pci_probe()71 denali->ecc_caps = &denali_pci_ecc_caps; in denali_pci_probe()72 denali->nand.ecc.options |= NAND_ECC_MAXIMIZE; in denali_pci_probe()73 denali->clk_x_rate = 200000000; /* 200 MHz */ in denali_pci_probe()81 denali->reg = ioremap_nocache(csr_base, csr_len); in denali_pci_probe()82 if (!denali->reg) { in denali_pci_probe()[all …]
28 struct denali_nand_info denali; member84 struct denali_nand_info *denali; in denali_dt_probe() local90 denali = &dt->denali; in denali_dt_probe()94 denali->revision = data->revision; in denali_dt_probe()95 denali->caps = data->caps; in denali_dt_probe()96 denali->ecc_caps = data->ecc_caps; in denali_dt_probe()99 denali->dev = &pdev->dev; in denali_dt_probe()100 denali->irq = platform_get_irq(pdev, 0); in denali_dt_probe()101 if (denali->irq < 0) { in denali_dt_probe()103 return denali->irq; in denali_dt_probe()[all …]
336 extern int denali_init(struct denali_nand_info *denali);337 extern void denali_remove(struct denali_nand_info *denali);
13 obj-$(CONFIG_MTD_NAND_DENALI) += denali.o
669 dev->base)->u.denali.IndexRegs; in aac_srcv_ioremap()
1212 } denali; member