Home
last modified time | relevance | path

Searched refs:mmio_base (Results 1 – 25 of 120) sorted by relevance

12345

/drivers/input/keyboard/
Dimx_keypad.c48 void __iomem *mmio_base; member
93 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
95 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
97 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
99 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
103 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
105 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
112 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
114 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
126 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
[all …]
Dpxa930_rotary.c23 void __iomem *mmio_base; member
31 uint32_t sbcr = __raw_readl(r->mmio_base + SBCR); in clear_sbcr()
33 __raw_writel(sbcr | SBCR_ERSB, r->mmio_base + SBCR); in clear_sbcr()
34 __raw_writel(sbcr & ~SBCR_ERSB, r->mmio_base + SBCR); in clear_sbcr()
43 ercr = __raw_readl(r->mmio_base + ERCR) & 0xf; in rotary_irq()
110 r->mmio_base = ioremap(res->start, resource_size(res)); in pxa930_rotary_probe()
111 if (r->mmio_base == NULL) { in pxa930_rotary_probe()
166 iounmap(r->mmio_base); in pxa930_rotary_probe()
178 iounmap(r->mmio_base); in pxa930_rotary_remove()
/drivers/pwm/
Dpwm-tiecap.c37 void __iomem *mmio_base; member
78 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
83 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
87 writel(duty_cycles, pc->mmio_base + CAP2); in ecap_pwm_config()
88 writel(period_cycles, pc->mmio_base + CAP1); in ecap_pwm_config()
95 writel(duty_cycles, pc->mmio_base + CAP4); in ecap_pwm_config()
96 writel(period_cycles, pc->mmio_base + CAP3); in ecap_pwm_config()
100 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
103 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
119 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_set_polarity()
[all …]
Dpwm-tiehrpwm.c110 void __iomem *mmio_base; member
211 ehrpwm_modify(pc->mmio_base, aqctl_reg, aqctl_mask, aqctl_val); in configure_polarity()
278 ehrpwm_modify(pc->mmio_base, TBCTL, TBCTL_CLKDIV_MASK, tb_divval); in ehrpwm_pwm_config()
285 ehrpwm_modify(pc->mmio_base, TBCTL, TBCTL_PRDLD_MASK, TBCTL_PRDLD_SHDW); in ehrpwm_pwm_config()
287 ehrpwm_write(pc->mmio_base, TBPRD, period_cycles); in ehrpwm_pwm_config()
290 ehrpwm_modify(pc->mmio_base, TBCTL, TBCTL_CTRMODE_MASK, in ehrpwm_pwm_config()
300 ehrpwm_write(pc->mmio_base, cmp_reg, duty_cycles); in ehrpwm_pwm_config()
338 ehrpwm_modify(pc->mmio_base, AQSFRC, AQSFRC_RLDCSF_MASK, in ehrpwm_pwm_enable()
341 ehrpwm_modify(pc->mmio_base, AQCSFRC, aqcsfrc_mask, aqcsfrc_val); in ehrpwm_pwm_enable()
372 ehrpwm_modify(pc->mmio_base, AQSFRC, AQSFRC_RLDCSF_MASK, in ehrpwm_pwm_disable()
[all …]
Dpwm-imx27.c85 void __iomem *mmio_base; member
133 val = readl(imx->mmio_base + MX3_PWMCR); in pwm_imx27_get_state()
153 val = readl(imx->mmio_base + MX3_PWMPR); in pwm_imx27_get_state()
165 val = readl(imx->mmio_base + MX3_PWMSAR); in pwm_imx27_get_state()
182 writel(MX3_PWMCR_SWR, imx->mmio_base + MX3_PWMCR); in pwm_imx27_sw_reset()
185 cr = readl(imx->mmio_base + MX3_PWMCR); in pwm_imx27_sw_reset()
202 sr = readl(imx->mmio_base + MX3_PWMSR); in pwm_imx27_wait_fifo_slot()
209 sr = readl(imx->mmio_base + MX3_PWMSR); in pwm_imx27_wait_fifo_slot()
265 writel(duty_cycles, imx->mmio_base + MX3_PWMSAR); in pwm_imx27_apply()
266 writel(period_cycles, imx->mmio_base + MX3_PWMPR); in pwm_imx27_apply()
[all …]
Dpwm-imx1.c31 void __iomem *mmio_base; member
86 max = readl(imx->mmio_base + MX1_PWMP); in pwm_imx1_config()
89 writel(max - p, imx->mmio_base + MX1_PWMS); in pwm_imx1_config()
104 value = readl(imx->mmio_base + MX1_PWMC); in pwm_imx1_enable()
106 writel(value, imx->mmio_base + MX1_PWMC); in pwm_imx1_enable()
116 value = readl(imx->mmio_base + MX1_PWMC); in pwm_imx1_disable()
118 writel(value, imx->mmio_base + MX1_PWMC); in pwm_imx1_disable()
172 imx->mmio_base = devm_ioremap_resource(&pdev->dev, r); in pwm_imx1_probe()
173 if (IS_ERR(imx->mmio_base)) in pwm_imx1_probe()
174 return PTR_ERR(imx->mmio_base); in pwm_imx1_probe()
Dpwm-spear.c54 void __iomem *mmio_base; member
67 return readl_relaxed(chip->mmio_base + (num << 4) + offset); in spear_pwm_readl()
74 writel_relaxed(val, chip->mmio_base + (num << 4) + offset); in spear_pwm_writel()
186 pc->mmio_base = devm_ioremap_resource(&pdev->dev, r); in spear_pwm_probe()
187 if (IS_ERR(pc->mmio_base)) in spear_pwm_probe()
188 return PTR_ERR(pc->mmio_base); in spear_pwm_probe()
215 val = readl_relaxed(pc->mmio_base + PWMMCR); in spear_pwm_probe()
217 writel_relaxed(val, pc->mmio_base + PWMMCR); in spear_pwm_probe()
Dpwm-pxa.c48 void __iomem *mmio_base; member
96 writel(prescale, pc->mmio_base + offset + PWMCR); in pxa_pwm_config()
97 writel(dc, pc->mmio_base + offset + PWMDCR); in pxa_pwm_config()
98 writel(pv, pc->mmio_base + offset + PWMPCR); in pxa_pwm_config()
197 pwm->mmio_base = devm_ioremap_resource(&pdev->dev, r); in pwm_probe()
198 if (IS_ERR(pwm->mmio_base)) in pwm_probe()
199 return PTR_ERR(pwm->mmio_base); in pwm_probe()
/drivers/edac/
Dal_mc_edac.c57 void __iomem *mmio_base; member
83 eccerrcnt = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_ERR_COUNT); in handle_ce()
88 ecccaddr0 = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_CE_ADDR0); in handle_ce()
89 ecccaddr1 = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_CE_ADDR1); in handle_ce()
90 ecccsyn0 = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_CE_SYND0); in handle_ce()
91 ecccsyn1 = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_CE_SYND1); in handle_ce()
92 ecccsyn2 = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_CE_SYND2); in handle_ce()
95 al_mc->mmio_base + AL_MC_ECC_CLEAR); in handle_ce()
128 eccerrcnt = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_ERR_COUNT); in handle_ue()
133 eccuaddr0 = readl_relaxed(al_mc->mmio_base + AL_MC_ECC_UE_ADDR0); in handle_ue()
[all …]
/drivers/input/mouse/
Dpxa930_trkball.c44 void __iomem *mmio_base; member
58 tbcntr = __raw_readl(trkball->mmio_base + TBCNTR); in pxa930_trkball_interrupt()
60 if (tbcntr == __raw_readl(trkball->mmio_base + TBCNTR)) { in pxa930_trkball_interrupt()
69 __raw_writel(TBSBC_TBSBC, trkball->mmio_base + TBSBC); in pxa930_trkball_interrupt()
70 __raw_writel(0, trkball->mmio_base + TBSBC); in pxa930_trkball_interrupt()
80 __raw_writel(v, trkball->mmio_base + TBCR); in write_tbcr()
83 if (__raw_readl(trkball->mmio_base + TBCR) == v) in write_tbcr()
101 tbcr = __raw_readl(trkball->mmio_base + TBCR); in pxa930_trkball_config()
107 tbcr = __raw_readl(trkball->mmio_base + TBCR); in pxa930_trkball_config()
111 __raw_writel(TBSBC_TBSBC, trkball->mmio_base + TBSBC); in pxa930_trkball_config()
[all …]
/drivers/ata/
Dsata_sil.c254 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_stop() local
255 void __iomem *bmdma2 = mmio_base + sil_port[ap->port_no].bmdma2; in sil_bmdma_stop()
280 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_start() local
281 void __iomem *bmdma2 = mmio_base + sil_port[ap->port_no].bmdma2; in sil_bmdma_start()
349 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_set_mode() local
350 void __iomem *addr = mmio_base + sil_port[ap->port_no].xfer_mode; in sil_set_mode()
510 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_interrupt() local
518 u32 bmdma2 = readl(mmio_base + sil_port[ap->port_no].bmdma2); in sil_interrupt()
539 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_freeze() local
543 writel(0, mmio_base + sil_port[ap->port_no].sien); in sil_freeze()
[all …]
Dpata_pdc2027x.c473 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_read_counter() local
479 bccrl = ioread32(mmio_base + PDC_BYTE_COUNT) & 0x7fff; in pdc_read_counter()
480 bccrh = ioread32(mmio_base + PDC_BYTE_COUNT + 0x100) & 0x7fff; in pdc_read_counter()
483 bccrlv = ioread32(mmio_base + PDC_BYTE_COUNT) & 0x7fff; in pdc_read_counter()
484 bccrhv = ioread32(mmio_base + PDC_BYTE_COUNT + 0x100) & 0x7fff; in pdc_read_counter()
514 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_adjust_pll() local
533 pll_ctl = ioread16(mmio_base + PDC_PLL_CTL); in pdc_adjust_pll()
573 iowrite16(pll_ctl, mmio_base + PDC_PLL_CTL); in pdc_adjust_pll()
574 ioread16(mmio_base + PDC_PLL_CTL); /* flush */ in pdc_adjust_pll()
584 pll_ctl = ioread16(mmio_base + PDC_PLL_CTL); in pdc_adjust_pll()
[all …]
Dsata_qstor.c192 u8 __iomem *mmio_base = qs_mmio_base(ap->host); in qs_freeze() local
194 writeb(0, mmio_base + QS_HCT_CTRL); /* disable host interrupts */ in qs_freeze()
200 u8 __iomem *mmio_base = qs_mmio_base(ap->host); in qs_thaw() local
203 writeb(1, mmio_base + QS_HCT_CTRL); /* enable host interrupts */ in qs_thaw()
361 u8 __iomem *mmio_base = qs_mmio_base(host); in qs_intr_pkt() local
364 u32 sff0 = readl(mmio_base + QS_HST_SFF); in qs_intr_pkt()
365 u32 sff1 = readl(mmio_base + QS_HST_SFF + 4); in qs_intr_pkt()
471 void __iomem *mmio_base = qs_mmio_base(ap->host); in qs_port_start() local
472 void __iomem *chan = mmio_base + (ap->port_no * 0x4000); in qs_port_start()
493 void __iomem *mmio_base = qs_mmio_base(host); in qs_host_stop() local
[all …]
Dpata_sil680.c343 void __iomem *mmio_base; in sil680_init_one() local
383 mmio_base = host->iomap[SIL680_MMIO_BAR]; in sil680_init_one()
384 host->ports[0]->ioaddr.bmdma_addr = mmio_base + 0x00; in sil680_init_one()
385 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; in sil680_init_one()
386 host->ports[0]->ioaddr.ctl_addr = mmio_base + 0x8a; in sil680_init_one()
387 host->ports[0]->ioaddr.altstatus_addr = mmio_base + 0x8a; in sil680_init_one()
389 host->ports[1]->ioaddr.bmdma_addr = mmio_base + 0x08; in sil680_init_one()
390 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; in sil680_init_one()
391 host->ports[1]->ioaddr.ctl_addr = mmio_base + 0xca; in sil680_init_one()
392 host->ports[1]->ioaddr.altstatus_addr = mmio_base + 0xca; in sil680_init_one()
Dsata_inic162x.c234 void __iomem *mmio_base; member
268 return hpriv->mmio_base + ap->port_no * PORT_SIZE; in inic_port_base()
426 host_irq_stat = readw(hpriv->mmio_base + HOST_IRQ_STAT); in inic_interrupt()
756 static int init_controller(void __iomem *mmio_base, u16 hctl) in init_controller() argument
766 writew(hctl | HCTL_SOFTRST, mmio_base + HOST_CTL); in init_controller()
767 readw(mmio_base + HOST_CTL); /* flush */ in init_controller()
771 val = readw(mmio_base + HOST_CTL); in init_controller()
781 void __iomem *port_base = mmio_base + i * PORT_SIZE; in init_controller()
788 writew(hctl & ~HCTL_IRQOFF, mmio_base + HOST_CTL); in init_controller()
789 val = readw(mmio_base + HOST_IRQ_MASK); in init_controller()
[all …]
/drivers/net/wireless/broadcom/b43/
Dpio.h72 u16 mmio_base; member
101 u16 mmio_base; member
111 return b43_read16(q->dev, q->mmio_base + offset); in b43_piotx_read16()
116 return b43_read32(q->dev, q->mmio_base + offset); in b43_piotx_read32()
122 b43_write16(q->dev, q->mmio_base + offset, value); in b43_piotx_write16()
128 b43_write32(q->dev, q->mmio_base + offset, value); in b43_piotx_write32()
134 return b43_read16(q->dev, q->mmio_base + offset); in b43_piorx_read16()
139 return b43_read32(q->dev, q->mmio_base + offset); in b43_piorx_read32()
145 b43_write16(q->dev, q->mmio_base + offset, value); in b43_piorx_write16()
151 b43_write32(q->dev, q->mmio_base + offset, value); in b43_piorx_write32()
/drivers/thermal/
Dthermal_mmio.c12 void __iomem *mmio_base; member
13 u32 (*read_mmio)(void __iomem *mmio_base);
18 static u32 thermal_mmio_readb(void __iomem *mmio_base) in thermal_mmio_readb() argument
20 return readb(mmio_base); in thermal_mmio_readb()
29 t = sensor->read_mmio(sensor->mmio_base) & sensor->mask; in thermal_mmio_get_temperature()
56 sensor->mmio_base = devm_ioremap_resource(&pdev->dev, resource); in thermal_mmio_probe()
57 if (IS_ERR(sensor->mmio_base)) { in thermal_mmio_probe()
59 PTR_ERR(sensor->mmio_base)); in thermal_mmio_probe()
60 return PTR_ERR(sensor->mmio_base); in thermal_mmio_probe()
/drivers/clk/mmp/
Dclk-audio.c59 void __iomem *mmio_base; member
123 aud_pll_ctrl0 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_recalc_rate()
131 aud_pll_ctrl1 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_recalc_rate()
214 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_set_rate()
218 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_set_rate()
255 priv->sspa_mux.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
265 priv->sysclk_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
278 priv->sysclk_gate.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
286 priv->sspa0_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
299 priv->sspa0_gate.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
[all …]
/drivers/usb/host/
Dohci-pxa27x.c124 void __iomem *mmio_base; member
143 uint32_t uhcrhda = __raw_readl(pxa_ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
144 uint32_t uhcrhdb = __raw_readl(pxa_ohci->mmio_base + UHCRHDB); in pxa27x_ohci_select_pmm()
168 __raw_writel(uhcrhda, pxa_ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
169 __raw_writel(uhcrhdb, pxa_ohci->mmio_base + UHCRHDB); in pxa27x_ohci_select_pmm()
224 uint32_t uhchr = __raw_readl(pxa_ohci->mmio_base + UHCHR); in pxa27x_setup_hc()
225 uint32_t uhcrhda = __raw_readl(pxa_ohci->mmio_base + UHCRHDA); in pxa27x_setup_hc()
257 __raw_writel(uhchr, pxa_ohci->mmio_base + UHCHR); in pxa27x_setup_hc()
258 __raw_writel(uhcrhda, pxa_ohci->mmio_base + UHCRHDA); in pxa27x_setup_hc()
263 uint32_t uhchr = __raw_readl(pxa_ohci->mmio_base + UHCHR); in pxa27x_reset_hc()
[all …]
/drivers/rtc/
Drtc-ep93xx.c29 void __iomem *mmio_base; member
39 comp = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_SWCOMP); in ep93xx_rtc_get_swcomp()
57 time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); in ep93xx_rtc_read_time()
68 writel(secs + 1, ep93xx_rtc->mmio_base + EP93XX_RTC_LOAD); in ep93xx_rtc_set_time()
131 ep93xx_rtc->mmio_base = devm_platform_ioremap_resource(pdev, 0); in ep93xx_rtc_probe()
132 if (IS_ERR(ep93xx_rtc->mmio_base)) in ep93xx_rtc_probe()
133 return PTR_ERR(ep93xx_rtc->mmio_base); in ep93xx_rtc_probe()
/drivers/soundwire/
Dintel_init.c161 void sdw_intel_enable_irq(void __iomem *mmio_base, bool enable) in sdw_intel_enable_irq() argument
165 val = readl(mmio_base + HDA_DSP_REG_ADSPIC2); in sdw_intel_enable_irq()
172 writel(val, mmio_base + HDA_DSP_REG_ADSPIC2); in sdw_intel_enable_irq()
184 sdw_intel_enable_irq(ctx->mmio_base, true); in sdw_intel_thread()
228 ctx->mmio_base = res->mmio_base; in sdw_intel_probe_controller()
246 link->mmio_base = res->mmio_base; in sdw_intel_probe_controller()
247 link->registers = res->mmio_base + SDW_LINK_BASE in sdw_intel_probe_controller()
249 link->shim = res->mmio_base + SDW_SHIM_BASE; in sdw_intel_probe_controller()
250 link->alh = res->mmio_base + SDW_ALH_BASE; in sdw_intel_probe_controller()
323 caps = ioread32(ctx->mmio_base + SDW_SHIM_BASE + SDW_SHIM_LCAP); in sdw_intel_startup_controller()
/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c633 par->host = par->mmio_base; in mb862xx_gdc_init()
634 par->i2c = par->mmio_base + MB862XX_I2C_BASE; in mb862xx_gdc_init()
635 par->disp = par->mmio_base + MB862XX_DISP_BASE; in mb862xx_gdc_init()
636 par->cap = par->mmio_base + MB862XX_CAP_BASE; in mb862xx_gdc_init()
637 par->draw = par->mmio_base + MB862XX_DRAW_BASE; in mb862xx_gdc_init()
638 par->geo = par->mmio_base + MB862XX_GEO_BASE; in mb862xx_gdc_init()
639 par->pio = par->mmio_base + MB862XX_PIO_BASE; in mb862xx_gdc_init()
725 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in of_platform_mb862xx_probe()
726 if (par->mmio_base == NULL) { in of_platform_mb862xx_probe()
772 iounmap(par->mmio_base); in of_platform_mb862xx_probe()
[all …]
/drivers/net/ethernet/broadcom/
Dbgmac.c46 if (!ring->mmio_base) in bgmac_dma_tx_reset()
53 bgmac_write(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL, in bgmac_dma_tx_reset()
56 val = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_reset()
68 ring->mmio_base, val); in bgmac_dma_tx_reset()
71 bgmac_write(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL, 0); in bgmac_dma_tx_reset()
73 ring->mmio_base + BGMAC_DMA_TX_STATUS, in bgmac_dma_tx_reset()
77 ring->mmio_base); in bgmac_dma_tx_reset()
79 val = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_reset()
82 ring->mmio_base); in bgmac_dma_tx_reset()
91 ctl = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL); in bgmac_dma_tx_enable()
[all …]
/drivers/iommu/amd/
Dinit.c282 ctrl = readq(iommu->mmio_base + MMIO_CONTROL_OFFSET); in init_translation_status()
390 memcpy_toio(iommu->mmio_base + MMIO_EXCL_BASE_OFFSET, in iommu_set_exclusion_range()
394 memcpy_toio(iommu->mmio_base + MMIO_EXCL_LIMIT_OFFSET, in iommu_set_exclusion_range()
410 memcpy_toio(iommu->mmio_base + MMIO_EXCL_BASE_OFFSET, in iommu_set_cwwb_range()
417 memcpy_toio(iommu->mmio_base + MMIO_EXCL_LIMIT_OFFSET, in iommu_set_cwwb_range()
426 BUG_ON(iommu->mmio_base == NULL); in iommu_set_device_table()
430 memcpy_toio(iommu->mmio_base + MMIO_DEV_TABLE_OFFSET, in iommu_set_device_table()
439 ctrl = readq(iommu->mmio_base + MMIO_CONTROL_OFFSET); in iommu_feature_enable()
441 writeq(ctrl, iommu->mmio_base + MMIO_CONTROL_OFFSET); in iommu_feature_enable()
448 ctrl = readq(iommu->mmio_base + MMIO_CONTROL_OFFSET); in iommu_feature_disable()
[all …]
/drivers/video/fbdev/
Dasiliantfb.c48 #define mmio_base (p->screen_base + 0x400000) macro
51 writeb((num), mmio_base + (ap)); writeb((val), mmio_base + (dp)); \
86 readb(mmio_base + 0x7b4); in mm_write_ar()
219 writeb(0xc7, mmio_base + 0x784); /* set misc output reg */ in asiliant_set_timing()
221 writeb(0x07, mmio_base + 0x784); /* set misc output reg */ in asiliant_set_timing()
319 writeb(regno, mmio_base + 0x790); in asiliantfb_setcolreg()
321 writeb(red, mmio_base + 0x791); in asiliantfb_setcolreg()
322 writeb(green, mmio_base + 0x791); in asiliantfb_setcolreg()
323 writeb(blue, mmio_base + 0x791); in asiliantfb_setcolreg()
473 writeb(0x20, mmio_base + 0x780); in chips_hw_init()
[all …]

12345