Home
last modified time | relevance | path

Searched refs:regs_base (Results 1 – 18 of 18) sorted by relevance

/drivers/video/fbdev/
Dtgafb.c627 void __iomem *regs_base; local
652 regs_base = par->tga_regs_base;
671 __raw_writel(fgcolor, regs_base + TGA_FOREGROUND_REG);
672 __raw_writel(bgcolor, regs_base + TGA_BACKGROUND_REG);
693 regs_base + TGA_MODE_REG);
704 __raw_writel(pixelmask, regs_base + TGA_PIXELMASK_REG);
723 __raw_writel(0xffffffff, regs_base + TGA_PIXELMASK_REG);
755 __raw_writel(pixelmask, regs_base + TGA_PIXELMASK_REG);
771 __raw_writel(0xffffffff, regs_base + TGA_PIXELMASK_REG);
785 __raw_writel(pixelmask, regs_base + TGA_PIXELMASK_REG);
[all …]
/drivers/spi/
Dspi-xilinx.c165 void __iomem *regs_base = xspi->regs; in xspi_init_hw() local
169 regs_base + XIPIF_V123B_RESETR_OFFSET); in xspi_init_hw()
174 regs_base + XIPIF_V123B_IIER_OFFSET); in xspi_init_hw()
176 xspi->write_fn(0, regs_base + XIPIF_V123B_DGIER_OFFSET); in xspi_init_hw()
178 xspi->write_fn(0xffff, regs_base + XSPI_SSR_OFFSET); in xspi_init_hw()
183 regs_base + XSPI_CR_OFFSET); in xspi_init_hw()
510 void __iomem *regs_base = xspi->regs; in xilinx_spi_remove() local
515 xspi->write_fn(0, regs_base + XIPIF_V123B_IIER_OFFSET); in xilinx_spi_remove()
517 xspi->write_fn(0, regs_base + XIPIF_V123B_DGIER_OFFSET); in xilinx_spi_remove()
/drivers/net/ethernet/ezchip/
Dnps_enet.h161 void __iomem *regs_base; member
178 iowrite32be(value, priv->regs_base + reg); in nps_enet_reg_set()
190 return ioread32be(priv->regs_base + reg); in nps_enet_reg_get()
Dnps_enet.c45 ioread32_rep(priv->regs_base + NPS_ENET_REG_RX_BUF, reg, len); in nps_enet_read_rx_fifo()
58 ioread32_rep(priv->regs_base + NPS_ENET_REG_RX_BUF, &buf, 1); in nps_enet_read_rx_fifo()
389 iowrite32_rep(priv->regs_base + NPS_ENET_REG_TX_BUF, src, len); in nps_enet_send_frame()
597 priv->regs_base = devm_platform_ioremap_resource(pdev, 0); in nps_enet_probe()
598 if (IS_ERR(priv->regs_base)) { in nps_enet_probe()
599 err = PTR_ERR(priv->regs_base); in nps_enet_probe()
602 dev_dbg(dev, "Registers base address is 0x%p\n", priv->regs_base); in nps_enet_probe()
/drivers/net/wireless/quantenna/qtnfmac/
Dqtn_hw_ids.h28 static inline unsigned int qtnf_chip_id_get(const void __iomem *regs_base) in qtnf_chip_id_get() argument
30 u32 board_rev = readl(regs_base + QTN_REG_SYS_CTRL_CSR); in qtnf_chip_id_get()
/drivers/clk/st/
Dclkgen.h44 #define CLKGEN_READ(pll, field) clkgen_read(pll->regs_base, \
47 #define CLKGEN_WRITE(pll, field, val) clkgen_write(pll->regs_base, \
Dclkgen-fsyn.c182 void __iomem *regs_base; member
407 pll->regs_base = reg; in st_clk_register_quadfs_pll()
446 void __iomem *regs_base; member
846 fs->regs_base = reg; in st_clk_register_quadfs_fsynth()
Dclkgen-pll.c145 void __iomem *regs_base; member
184 void __iomem *base = pll->regs_base; in __clkgen_pll_enable()
603 pll->regs_base = reg; in clkgen_pll_register()
/drivers/dma/bestcomm/
Dbestcomm.c424 bcom_eng->regs_base = res_bcom.start; in mpc52xx_bcom_probe()
440 (long)bcom_eng->regs_base); in mpc52xx_bcom_probe()
471 release_mem_region(bcom_eng->regs_base, sizeof(struct mpc52xx_sdma)); in mpc52xx_bcom_remove()
Dfec.c127 var->enable = bcom_eng->regs_base + in bcom_fec_rx_reset()
228 var->enable = bcom_eng->regs_base + in bcom_fec_tx_reset()
Dgen_bd.c130 var->enable = bcom_eng->regs_base + in bcom_gen_bd_rx_reset()
214 var->enable = bcom_eng->regs_base + in bcom_gen_bd_tx_reset()
Data.c83 var->enable = bcom_eng->regs_base + in bcom_ata_init()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h101 #define mfc_read(dev, offset) readl(dev->regs_base + (offset))
102 #define mfc_write(dev, data, offset) writel((data), dev->regs_base + \
304 void __iomem *regs_base; member
Ds5p_mfc.c1289 dev->regs_base = devm_ioremap_resource(&pdev->dev, res); in s5p_mfc_probe()
1290 if (IS_ERR(dev->regs_base)) in s5p_mfc_probe()
1291 return PTR_ERR(dev->regs_base); in s5p_mfc_probe()
Ds5p_mfc_opr_v6.c2233 #define S5P_MFC_REG_ADDR(dev, reg) ((dev)->regs_base + (reg)) in s5p_mfc_init_regs_v6_plus()
/drivers/crypto/
Dsahara.c194 void __iomem *regs_base; member
233 writel(data, dev->regs_base + reg); in sahara_write()
238 return readl(dev->regs_base + reg); in sahara_read()
1400 dev->regs_base = devm_platform_ioremap_resource(pdev, 0); in sahara_probe()
1401 if (IS_ERR(dev->regs_base)) in sahara_probe()
1402 return PTR_ERR(dev->regs_base); in sahara_probe()
/drivers/media/platform/coda/
Dcoda.h78 void __iomem *regs_base; member
Dcoda-common.c79 writel(data, dev->regs_base + reg); in coda_write()
86 data = readl(dev->regs_base + reg); in coda_read()
2978 dev->regs_base = devm_platform_ioremap_resource(pdev, 0); in coda_probe()
2979 if (IS_ERR(dev->regs_base)) in coda_probe()
2980 return PTR_ERR(dev->regs_base); in coda_probe()