Home
last modified time | relevance | path

Searched refs:omap_writew (Results 1 – 24 of 24) sorted by relevance

/linux-2.6.39/arch/arm/mach-omap1/
Dlcd_dma.c245 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs()
246 omap_writew(top, OMAP1510_DMA_LCD_TOP_F1_L); in set_b1_regs()
247 omap_writew(bottom >> 16, OMAP1510_DMA_LCD_BOT_F1_U); in set_b1_regs()
248 omap_writew(bottom, OMAP1510_DMA_LCD_BOT_F1_L); in set_b1_regs()
254 omap_writew(top >> 16, OMAP1610_DMA_LCD_TOP_B1_U); in set_b1_regs()
255 omap_writew(top, OMAP1610_DMA_LCD_TOP_B1_L); in set_b1_regs()
256 omap_writew(bottom >> 16, OMAP1610_DMA_LCD_BOT_B1_U); in set_b1_regs()
257 omap_writew(bottom, OMAP1610_DMA_LCD_BOT_B1_L); in set_b1_regs()
259 omap_writew(en, OMAP1610_DMA_LCD_SRC_EN_B1); in set_b1_regs()
260 omap_writew(fn, OMAP1610_DMA_LCD_SRC_FN_B1); in set_b1_regs()
[all …]
Dreset.c18 omap_writew(omap_readw(DPLL_CTL) & ~(1 << 4), DPLL_CTL); in omap1_arch_reset()
19 omap_writew(0x8, ARM_RSTCT1); in omap1_arch_reset()
22 omap_writew(1, ARM_RSTCT1); in omap1_arch_reset()
Dio.c135 omap_writew(0x0, MPU_PUBLIC_TIPB_CNTL); in omap1_init_common_hw()
136 omap_writew(0x0, MPU_PRIVATE_TIPB_CNTL); in omap1_init_common_hw()
173 void omap_writew(u16 v, u32 pa) in omap_writew() function
177 EXPORT_SYMBOL(omap_writew);
Dpm.c236 omap_writew(0xffff, ULPD_SOFT_DISABLE_REQ_REG); in omap1_pm_suspend()
306 omap_writew(omap_readw(ARM_RSTCT1) & ~(1 << DSP_EN), ARM_RSTCT1); in omap1_pm_suspend()
310 omap_writew(omap_readw(ARM_CKCTL) & ~(1 << EN_DSPCK), ARM_CKCTL); in omap1_pm_suspend()
313 omap_writew(omap_readw(ARM_IDLECT2) | 1 << EN_APICK, ARM_IDLECT2); in omap1_pm_suspend()
367 omap_writew(omap_readw(ARM_IDLECT2) | 1 << EN_APICK, ARM_IDLECT2); in omap1_pm_suspend()
415 omap_writew(0, ULPD_SOFT_DISABLE_REQ_REG); in omap1_pm_suspend()
700 omap_writew(ULPD_SETUP_ANALOG_CELL_3_VAL, ULPD_SETUP_ANALOG_CELL_3); in omap_pm_init()
703 omap_writew(ULPD_POWER_CTRL_REG_VAL, ULPD_POWER_CTRL); in omap_pm_init()
Dclock_data.c787 omap_writew(reg, SOFT_REQ_REG); in omap1_clk_init()
789 omap_writew(0, SOFT_REQ_REG2); in omap1_clk_init()
836 omap_writew(0x1000, ARM_SYSST); in omap1_clk_init()
870 omap_writew(0x2290, DPLL_CTL); in omap1_clk_init()
871 omap_writew(cpu_is_omap7xx() ? 0x3005 : 0x1005, ARM_CKCTL); in omap1_clk_init()
886 omap_writew(omap_readw(OMAP7XX_PCC_UPLD_CTRL) & ~0x1, in omap1_clk_init()
899 omap_writew(omap_readw(ARM_CKCTL) & 0x2fff, ARM_CKCTL); in omap1_clk_init()
901 omap_writew(omap_readw(ARM_CKCTL) & 0x0fff, ARM_CKCTL); in omap1_clk_init()
904 omap_writew(0, ARM_RSTCT1); in omap1_clk_init()
905 omap_writew(1, ARM_RSTCT2); in omap1_clk_init()
[all …]
Dboard-palmz71.c273 omap_writew(0x8000, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
275 omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
276 omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
Dboard-palmtt.c288 omap_writew(0x8000, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
290 omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
291 omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
Dboard-nokia770.c49 omap_writew((omap_readw(0xfffb5008) & ~2), 0xfffb5008); in omap_nokia770_init_irq()
51 omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004); in omap_nokia770_init_irq()
Dusb.c473 omap_writew(w, ULPD_APLL_CTRL); in omap_1510_usb_init()
477 omap_writew(w, ULPD_DPLL_CTRL); in omap_1510_usb_init()
481 omap_writew(w, ULPD_SOFT_REQ); in omap_1510_usb_init()
Dboard-voiceblue.c241 omap_writew(omap_readw(DPLL_CTL) & ~(1 << 4), DPLL_CTL); in voiceblue_reset()
242 omap_writew(0x8, ARM_RSTCT1); in voiceblue_reset()
Dtimer32k.c89 omap_writew(val, OMAP1_32K_TIMER_BASE + reg); in omap_32k_timer_write()
Dboard-htcherald.c493 omap_writew(reg, OMAP_DMA_LCD_CCR); in htcherald_lcd_init()
497 omap_writew(reg, OMAP_DMA_LCD_CTRL); in htcherald_lcd_init()
Dpm.h156 #define ULPD_RESTORE(x) omap_writew((ulpd_sleep_save[ULPD_SLEEP_SAVE_##x]), (x))
Dboard-perseus2.c323 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); in omap_perseus2_map_io()
Dboard-fsample.c362 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); in omap_fsample_map_io()
Dboard-ams-delta.c331 omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); in ams_delta_init()
Dclock.c276 omap_writew(regval, ARM_CKCTL); in omap1_clk_set_rate_ckctl_arm()
/linux-2.6.39/drivers/usb/gadget/
Domap_udc.c138 omap_writew(num | select, UDC_EP_NUM); in use_ep()
148 omap_writew(w, UDC_EP_NUM); in deselect_ep()
223 omap_writew(udc->clr_halt, UDC_CTRL); in omap_ep_enable()
239 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_enable()
266 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_disable()
367 omap_writew(*wp++, UDC_DATA); in write_packet()
398 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in write_fifo()
576 omap_writew(w, UDC_DMA_IRQ_EN); in next_in_dma()
577 omap_writew(UDC_TXN_START | txdma_ctrl, UDC_TXDMA(ep->dma_channel)); in next_in_dma()
603 omap_writew(w, UDC_DMA_IRQ_EN); in finish_in_dma()
[all …]
/linux-2.6.39/drivers/input/keyboard/
Domap-keypad.c119 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_interrupt()
146 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_scan_keypad()
149 omap_writew(0xff, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBC); in omap_kp_scan_keypad()
151 omap_writew(~(1 << col) & 0xff, in omap_kp_scan_keypad()
159 omap_writew(0x00, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBC); in omap_kp_scan_keypad()
228 omap_writew(0, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_tasklet()
316 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_probe()
392 omap_writew(0xff, OMAP1_MPUIO_BASE + OMAP_MPUIO_GPIO_DEBOUNCING); in omap_kp_probe()
403 omap_writew(0, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_probe()
450 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_remove()
/linux-2.6.39/arch/arm/plat-omap/
Dusb.c90 omap_writew(w, ULPD_SOFT_REQ); in omap_otg_init()
95 omap_writew(w, ULPD_CLOCK_CTRL); in omap_otg_init()
/linux-2.6.39/drivers/pcmcia/
Domap_cf.c143 omap_writew(CF_CONTROL_RESET, CF_CONTROL); in omap_cf_set_socket()
145 omap_writew(0, CF_CONTROL); in omap_cf_set_socket()
272 omap_writew(~(1 << seg), CF_CFG); in omap_cf_probe()
/linux-2.6.39/drivers/usb/otg/
Disp1301_omap.c685 omap_writew(OPRT_CHG, OTG_IRQ_SRC); in omap_otg_irq()
701 omap_writew(B_SRP_TMROUT, OTG_IRQ_SRC); in omap_otg_irq()
719 omap_writew(B_HNP_FAIL, OTG_IRQ_SRC); in omap_otg_irq()
744 omap_writew(A_SRP_DETECT, OTG_IRQ_SRC); in omap_otg_irq()
761 omap_writew(A_REQ_TMROUT, OTG_IRQ_SRC); in omap_otg_irq()
775 omap_writew(A_VBUS_ERR, OTG_IRQ_SRC); in omap_otg_irq()
832 omap_writew(DRIVER_SWITCH, OTG_IRQ_SRC); in omap_otg_irq()
875 omap_writew(DRIVER_SWITCH | OPRT_CHG in isp1301_otg_init()
1305 omap_writew(0, OTG_IRQ_EN); in isp1301_set_host()
1364 omap_writew(0, OTG_IRQ_EN); in isp1301_set_peripheral()
/linux-2.6.39/arch/arm/mach-omap2/
Dio.c456 void omap_writew(u16 v, u32 pa) in omap_writew() function
460 EXPORT_SYMBOL(omap_writew);
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Dio.h254 extern void omap_writew(u16 v, u32 pa);