Searched refs:csr_base (Results 1 – 5 of 5) sorted by relevance
/drivers/mtd/maps/ |
D | intel_vr_nor.c | 44 void __iomem *csr_base; member 104 exp_timing_cs0 = readl(p->csr_base + EXP_TIMING_CS0); in vr_nor_destroy_maps() 106 writel(exp_timing_cs0, p->csr_base + EXP_TIMING_CS0); in vr_nor_destroy_maps() 112 iounmap(p->csr_base); in vr_nor_destroy_maps() 137 p->csr_base = ioremap_nocache(csr_phys, csr_len); in vr_nor_init_maps() 138 if (!p->csr_base) in vr_nor_init_maps() 141 exp_timing_cs0 = readl(p->csr_base + EXP_TIMING_CS0); in vr_nor_init_maps() 165 writel(exp_timing_cs0, p->csr_base + EXP_TIMING_CS0); in vr_nor_init_maps() 170 iounmap(p->csr_base); in vr_nor_init_maps() 234 exp_timing_cs0 = readl(p->csr_base + EXP_TIMING_CS0); in vr_nor_pci_probe() [all …]
|
/drivers/mtd/nand/ |
D | denali_pci.c | 34 resource_size_t csr_base, mem_base; in denali_pci_probe() local 52 csr_base = pci_resource_start(dev, 1); in denali_pci_probe() 56 csr_base = pci_resource_start(dev, 0); in denali_pci_probe() 61 mem_base = csr_base + csr_len; in denali_pci_probe() 76 denali->flash_reg = ioremap_nocache(csr_base, csr_len); in denali_pci_probe()
|
/drivers/ata/ |
D | sata_fsl.c | 284 void __iomem *csr_base; member 354 void __iomem *csr_base = host_priv->csr_base; in fsl_sata_rx_watermark_show() local 357 rx_watermark = ioread32(csr_base + TRANSCFG); in fsl_sata_rx_watermark_show() 372 void __iomem *csr_base = host_priv->csr_base; in fsl_sata_rx_watermark_store() local 381 temp = ioread32(csr_base + TRANSCFG); in fsl_sata_rx_watermark_store() 383 iowrite32(temp | rx_watermark, csr_base + TRANSCFG); in fsl_sata_rx_watermark_store() 584 ioread32(COMMANDSTAT + host_priv->csr_base)); in sata_fsl_qc_issue() 662 ioread32(host_priv->csr_base + COMMANDSTAT)); in sata_fsl_freeze() 1466 void __iomem *csr_base = NULL; in sata_fsl_probe() local 1482 csr_base = hcr_base + 0x140; in sata_fsl_probe() [all …]
|
/drivers/net/wan/lmc/ |
D | lmc_main.c | 99 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size); 2055 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, /*fold00*/ in lmc_initcsrs() argument 2059 sc->lmc_csrs.csr_busmode = csr_base + 0 * csr_size; in lmc_initcsrs() 2060 sc->lmc_csrs.csr_txpoll = csr_base + 1 * csr_size; in lmc_initcsrs() 2061 sc->lmc_csrs.csr_rxpoll = csr_base + 2 * csr_size; in lmc_initcsrs() 2062 sc->lmc_csrs.csr_rxlist = csr_base + 3 * csr_size; in lmc_initcsrs() 2063 sc->lmc_csrs.csr_txlist = csr_base + 4 * csr_size; in lmc_initcsrs() 2064 sc->lmc_csrs.csr_status = csr_base + 5 * csr_size; in lmc_initcsrs() 2065 sc->lmc_csrs.csr_command = csr_base + 6 * csr_size; in lmc_initcsrs() 2066 sc->lmc_csrs.csr_intr = csr_base + 7 * csr_size; in lmc_initcsrs() [all …]
|
/drivers/block/ |
D | umem.c | 799 unsigned long csr_base; in mm_pci_probe() local 816 csr_base = pci_resource_start(dev, 0); in mm_pci_probe() 818 if (!csr_base || !csr_len) in mm_pci_probe() 837 card->csr_remap = ioremap_nocache(csr_base, csr_len); in mm_pci_probe() 848 csr_base, card->csr_remap, csr_len); in mm_pci_probe()
|