Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-msm/
Diommu_dev.c136 void __iomem *regs_base; in msm_iommu_probe() local
198 regs_base = ioremap(r2->start, len); in msm_iommu_probe()
200 if (!regs_base) { in msm_iommu_probe()
213 msm_iommu_reset(regs_base, iommu_dev->ncb); in msm_iommu_probe()
215 SET_M(regs_base, 0, 1); in msm_iommu_probe()
216 SET_PAR(regs_base, 0, 0); in msm_iommu_probe()
217 SET_V2PCFG(regs_base, 0, 1); in msm_iommu_probe()
218 SET_V2PPR(regs_base, 0, 0); in msm_iommu_probe()
219 par = GET_PAR(regs_base, 0); in msm_iommu_probe()
220 SET_V2PCFG(regs_base, 0, 0); in msm_iommu_probe()
[all …]
/linux-2.6.39/drivers/video/
Dtgafb.c634 void __iomem *regs_base; local
659 regs_base = par->tga_regs_base;
678 __raw_writel(fgcolor, regs_base + TGA_FOREGROUND_REG);
679 __raw_writel(bgcolor, regs_base + TGA_BACKGROUND_REG);
700 regs_base + TGA_MODE_REG);
711 __raw_writel(pixelmask, regs_base + TGA_PIXELMASK_REG);
730 __raw_writel(0xffffffff, regs_base + TGA_PIXELMASK_REG);
762 __raw_writel(pixelmask, regs_base + TGA_PIXELMASK_REG);
778 __raw_writel(0xffffffff, regs_base + TGA_PIXELMASK_REG);
792 __raw_writel(pixelmask, regs_base + TGA_PIXELMASK_REG);
[all …]
/linux-2.6.39/drivers/spi/
Dep93xx_spi.c102 void __iomem *regs_base; member
145 __raw_writeb(value, espi->regs_base + reg); in ep93xx_spi_write_u8()
151 return __raw_readb(spi->regs_base + reg); in ep93xx_spi_read_u8()
157 __raw_writew(value, espi->regs_base + reg); in ep93xx_spi_write_u16()
163 return __raw_readw(spi->regs_base + reg); in ep93xx_spi_read_u16()
821 espi->regs_base = ioremap(res->start, resource_size(res)); in ep93xx_spi_probe()
822 if (!espi->regs_base) { in ep93xx_spi_probe()
863 iounmap(espi->regs_base); in ep93xx_spi_probe()
905 iounmap(espi->regs_base); in ep93xx_spi_remove()
Dxilinx_spi.c165 void __iomem *regs_base = xspi->regs; in xspi_init_hw() local
169 regs_base + XIPIF_V123B_RESETR_OFFSET); in xspi_init_hw()
171 xspi->write_fn(0, regs_base + XIPIF_V123B_IIER_OFFSET); in xspi_init_hw()
174 regs_base + XIPIF_V123B_DGIER_OFFSET); in xspi_init_hw()
176 xspi->write_fn(0xffff, regs_base + XSPI_SSR_OFFSET); in xspi_init_hw()
181 XSPI_CR_RXFIFO_RESET, regs_base + XSPI_CR_OFFSET); in xspi_init_hw()
Dspi_bfin5xx.c61 void __iomem *regs_base; member
127 { return bfin_read16(drv_data->regs_base + off); } \
129 { bfin_write16(drv_data->regs_base + off, v); }
1355 drv_data->regs_base = ioremap(res->start, resource_size(res)); in bfin_spi_probe()
1356 if (drv_data->regs_base == NULL) { in bfin_spi_probe()
1411 DRV_DESC, DRV_VERSION, drv_data->regs_base, in bfin_spi_probe()
1418 iounmap((void *) drv_data->regs_base); in bfin_spi_probe()
/linux-2.6.39/drivers/i2c/busses/
Di2c-bfin-twi.c53 void __iomem *regs_base; member
59 { return bfin_read16(iface->regs_base + (off)); } \
61 { bfin_write16(iface->regs_base + (off), v); }
668 iface->regs_base = ioremap(res->start, resource_size(res)); in i2c_bfin_twi_probe()
669 if (iface->regs_base == NULL) { in i2c_bfin_twi_probe()
731 "regs_base@%p\n", iface->regs_base); in i2c_bfin_twi_probe()
741 iounmap(iface->regs_base); in i2c_bfin_twi_probe()
758 iounmap(iface->regs_base); in i2c_bfin_twi_remove()
/linux-2.6.39/arch/arm/include/asm/
Dkexec.h47 : [regs_base] "r" (&newregs->ARM_r0) in crash_setup_regs()
/linux-2.6.39/sound/soc/samsung/
Di2s.c1089 u32 regs_base, quirks; in samsung_i2s_probe() local
1137 regs_base = res->start; in samsung_i2s_probe()
1149 pri_dai->dma_playback.dma_addr = regs_base + I2STXD; in samsung_i2s_probe()
1150 pri_dai->dma_capture.dma_addr = regs_base + I2SRXD; in samsung_i2s_probe()
1160 pri_dai->base = regs_base; in samsung_i2s_probe()
1173 sec_dai->dma_playback.dma_addr = regs_base + I2STXDS; in samsung_i2s_probe()
1180 sec_dai->base = regs_base; in samsung_i2s_probe()
1200 release_mem_region(regs_base, resource_size(res)); in samsung_i2s_probe()
/linux-2.6.39/arch/powerpc/sysdev/bestcomm/
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()
Dbestcomm.c426 bcom_eng->regs_base = res_bcom.start; in mpc52xx_bcom_probe()
442 (long)bcom_eng->regs_base); in mpc52xx_bcom_probe()
473 release_mem_region(bcom_eng->regs_base, sizeof(struct mpc52xx_sdma)); in mpc52xx_bcom_remove()
Dgen_bd.c134 var->enable = bcom_eng->regs_base + in bcom_gen_bd_rx_reset()
218 var->enable = bcom_eng->regs_base + in bcom_gen_bd_tx_reset()
Data.c83 var->enable = bcom_eng->regs_base + in bcom_ata_init()
Dbestcomm_priv.h71 phys_addr_t regs_base; member
/linux-2.6.39/arch/blackfin/mach-bf537/boards/
Dstamp.c944 .regs_base = (void *)SPORT1_TCR1,