Home
last modified time | relevance | path

Searched refs:virtbase (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/watchdog/
Dcoh901327_wdt.c74 static void __iomem *virtbase; variable
95 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable()
98 virtbase + U300_WDOG_RR); in coh901327_enable()
101 virtbase + U300_WDOG_IER); in coh901327_enable()
111 writew(U300_WDOG_IMR_WILL_BARK_IRQ_ENABLE, virtbase + U300_WDOG_IMR); in coh901327_enable()
113 writew(timeout, virtbase + U300_WDOG_TR); in coh901327_enable()
115 writew(U300_WDOG_FR_FEED_RESTART_TIMER, virtbase + U300_WDOG_FR); in coh901327_enable()
119 (void) readw(virtbase + U300_WDOG_CR); in coh901327_enable()
120 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable()
134 writew(0x0000U, virtbase + U300_WDOG_IMR); in coh901327_disable()
[all …]
/linux-3.4.99/drivers/misc/
Darm-charlcd.c68 void __iomem *virtbase; member
79 status = readl(lcd->virtbase + CHAR_STAT) & 0x01; in charlcd_interrupt()
81 writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); in charlcd_interrupt()
97 writel(0x00, lcd->virtbase + CHAR_MASK); in charlcd_wait_complete_irq()
127 val = readl(lcd->virtbase + CHAR_RAW); in charlcd_4bit_read_char()
131 writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); in charlcd_4bit_read_char()
136 data = readl(lcd->virtbase + CHAR_RD) & 0xf0; in charlcd_4bit_read_char()
146 val = readl(lcd->virtbase + CHAR_RAW); in charlcd_4bit_read_char()
149 writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); in charlcd_4bit_read_char()
153 data |= (readl(lcd->virtbase + CHAR_RD) >> 4) & 0x0f; in charlcd_4bit_read_char()
[all …]
/linux-3.4.99/drivers/i2c/busses/
Di2c-nomadik.c156 void __iomem *virtbase; member
208 writel((I2C_CR_FTX | I2C_CR_FRX), dev->virtbase + I2C_CR); in flush_i2c_fifo()
214 if ((readl(dev->virtbase + I2C_CR) & in flush_i2c_fifo()
234 writel(mask, dev->virtbase + I2C_IMSCR); in disable_all_interrupts()
245 writel(mask, dev->virtbase + I2C_ICR); in clear_all_interrupts()
261 i2c_clr_bit(dev->virtbase + I2C_CR , I2C_CR_PE); in init_hw()
317 writel(0x0, dev->virtbase + I2C_CR); in setup_i2c_controller()
318 writel(0x0, dev->virtbase + I2C_HSMCR); in setup_i2c_controller()
319 writel(0x0, dev->virtbase + I2C_TFTR); in setup_i2c_controller()
320 writel(0x0, dev->virtbase + I2C_RFTR); in setup_i2c_controller()
[all …]
Di2c-stu300.c160 void __iomem *virtbase; member
197 val = stu300_r8(dev->virtbase + I2C_CR); in stu300_irq_enable()
200 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_enable()
201 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_enable()
207 val = stu300_r8(dev->virtbase + I2C_CR); in stu300_irq_disable()
210 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_disable()
211 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_disable()
233 status1 = stu300_r8(dev->virtbase + I2C_SR1); in stu300_event_occurred()
239 status2 = stu300_r8(dev->virtbase + I2C_SR2); in stu300_event_occurred()
350 stu300_wr8(cr_value, dev->virtbase + I2C_CR); in stu300_start_and_await_event()
[all …]
/linux-3.4.99/drivers/rtc/
Drtc-coh901331.c48 void __iomem *virtbase; member
61 writel(1, rtap->virtbase + COH901331_IRQ_EVENT); in coh901331_interrupt()
69 writel(0, rtap->virtbase + COH901331_IRQ_MASK); in coh901331_interrupt()
84 if (readl(rtap->virtbase + COH901331_VALID)) { in coh901331_read_time()
85 rtc_time_to_tm(readl(rtap->virtbase + COH901331_CUR_TIME), tm); in coh901331_read_time()
98 writel(secs, rtap->virtbase + COH901331_SET_TIME); in coh901331_set_mmss()
109 rtc_time_to_tm(readl(rtap->virtbase + COH901331_ALARM), &alarm->time); in coh901331_read_alarm()
110 alarm->pending = readl(rtap->virtbase + COH901331_IRQ_EVENT) & 1U; in coh901331_read_alarm()
111 alarm->enabled = readl(rtap->virtbase + COH901331_IRQ_MASK) & 1U; in coh901331_read_alarm()
124 writel(time, rtap->virtbase + COH901331_ALARM); in coh901331_set_alarm()
[all …]
/linux-3.4.99/drivers/dma/
Dcoh901318.c51 void __iomem *virtbase; member
249 void __iomem *virtbase = cohc->base->virtbase; in coh901318_set_ctrl() local
252 virtbase + COH901318_CX_CTRL + in coh901318_set_ctrl()
260 void __iomem *virtbase = cohc->base->virtbase; in coh901318_set_conf() local
263 virtbase + COH901318_CX_CFG + in coh901318_set_conf()
273 void __iomem *virtbase = cohc->base->virtbase; in coh901318_start() local
277 val = readl(virtbase + COH901318_CX_CFG + in coh901318_start()
282 writel(val, virtbase + COH901318_CX_CFG + in coh901318_start()
292 void __iomem *virtbase = cohc->base->virtbase; in coh901318_prep_linked_list() local
294 BUG_ON(readl(virtbase + COH901318_CX_STAT + in coh901318_prep_linked_list()
[all …]
Dste_dma40.c340 void __iomem *virtbase; member
415 return chan->base->virtbase + D40_DREG_PCBASE + in chan_base()
863 addr = base->virtbase + D40_DREG_PCBASE + i * D40_DREG_PCDELTA; in d40_save_restore_registers()
873 dma40_backup(base->virtbase, base->reg_val_backup, in d40_save_restore_registers()
879 dma40_backup(base->virtbase, base->reg_val_backup_v3, in d40_save_restore_registers()
909 active_reg = d40c->base->virtbase + D40_DREG_ACTIVE; in __d40_execute_command_phy()
911 active_reg = d40c->base->virtbase + D40_DREG_ACTIVO; in __d40_execute_command_phy()
1124 active_reg = d40c->base->virtbase + D40_DREG_ACTIVE; in __d40_execute_command_log()
1126 active_reg = d40c->base->virtbase + D40_DREG_ACTIVO; in __d40_execute_command_log()
1208 writel(var, d40c->base->virtbase + D40_DREG_PRMSE + addr_base); in d40_config_write()
[all …]
/linux-3.4.99/drivers/spi/
Dspi-pl022.c364 void __iomem *virtbase; member
494 writew((readw(SSP_CR1(pl022->virtbase)) & in giveback()
495 (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase)); in giveback()
509 while (readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) in flush()
510 readw(SSP_DR(pl022->virtbase)); in flush()
511 } while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_BSY) && limit--); in flush()
527 writel(chip->cr0, SSP_CR0(pl022->virtbase)); in restore_state()
529 writew(chip->cr0, SSP_CR0(pl022->virtbase)); in restore_state()
530 writew(chip->cr1, SSP_CR1(pl022->virtbase)); in restore_state()
531 writew(chip->dmacr, SSP_DMACR(pl022->virtbase)); in restore_state()
[all …]
/linux-3.4.99/drivers/pinctrl/
Dpinctrl-u300.c668 void __iomem *virtbase; member
957 regval = readw(upmx->virtbase + u300_pmx_registers[i]); in u300_pmx_endisable()
960 writew(regval, upmx->virtbase + u300_pmx_registers[i]); in u300_pmx_endisable()
1147 upmx->virtbase = ioremap(upmx->phybase, upmx->physize); in u300_pmx_probe()
1148 if (!upmx->virtbase) { in u300_pmx_probe()
1173 iounmap(upmx->virtbase); in u300_pmx_probe()
1191 iounmap(upmx->virtbase); in u300_pmx_remove()