Home
last modified time | relevance | path

Searched refs:denali (Results 1 – 7 of 7) sorted by relevance

/drivers/mtd/nand/
Ddenali.c51 #define DENALI_BANK(denali) ((denali)->active_bank << 24) argument
73 static void denali_host_write(struct denali_nand_info *denali, in denali_host_write() argument
76 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() argument
86 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 …]
Ddenali_pci.c40 struct denali_nand_info *denali; in denali_pci_probe() local
42 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 …]
Ddenali_dt.c28 struct denali_nand_info denali; member
84 struct denali_nand_info *denali; in denali_dt_probe() local
90 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 …]
Ddenali.h336 extern int denali_init(struct denali_nand_info *denali);
337 extern void denali_remove(struct denali_nand_info *denali);
DMakefile13 obj-$(CONFIG_MTD_NAND_DENALI) += denali.o
/drivers/scsi/aacraid/
Dsrc.c669 dev->base)->u.denali.IndexRegs; in aac_srcv_ioremap()
Daacraid.h1212 } denali; member