Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-omap1/
Dlcd_dma.c236 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs()
237 omap_writew(top, OMAP1510_DMA_LCD_TOP_F1_L); in set_b1_regs()
238 omap_writew(bottom >> 16, OMAP1510_DMA_LCD_BOT_F1_U); in set_b1_regs()
239 omap_writew(bottom, OMAP1510_DMA_LCD_BOT_F1_L); in set_b1_regs()
245 omap_writew(top >> 16, OMAP1610_DMA_LCD_TOP_B1_U); in set_b1_regs()
246 omap_writew(top, OMAP1610_DMA_LCD_TOP_B1_L); in set_b1_regs()
247 omap_writew(bottom >> 16, OMAP1610_DMA_LCD_BOT_B1_U); in set_b1_regs()
248 omap_writew(bottom, OMAP1610_DMA_LCD_BOT_B1_L); in set_b1_regs()
250 omap_writew(en, OMAP1610_DMA_LCD_SRC_EN_B1); in set_b1_regs()
251 omap_writew(fn, OMAP1610_DMA_LCD_SRC_FN_B1); in set_b1_regs()
[all …]
Dreset.c34 omap_writew(omap_readw(DPLL_CTL) & ~(1 << 4), DPLL_CTL); in omap1_restart()
35 omap_writew(0x8, ARM_RSTCT1); in omap1_restart()
38 omap_writew(1, ARM_RSTCT1); in omap1_restart()
Dio.c127 omap_writew(0x0, MPU_PUBLIC_TIPB_CNTL); in omap1_init_early()
128 omap_writew(0x0, MPU_PRIVATE_TIPB_CNTL); in omap1_init_early()
169 void omap_writew(u16 v, u32 pa) in omap_writew() function
173 EXPORT_SYMBOL(omap_writew);
Dpm.c218 omap_writew(0xffff, ULPD_SOFT_DISABLE_REQ_REG); in omap1_pm_suspend()
288 omap_writew(omap_readw(ARM_RSTCT1) & ~(1 << DSP_EN), ARM_RSTCT1); in omap1_pm_suspend()
292 omap_writew(omap_readw(ARM_CKCTL) & ~(1 << EN_DSPCK), ARM_CKCTL); in omap1_pm_suspend()
295 omap_writew(omap_readw(ARM_IDLECT2) | 1 << EN_APICK, ARM_IDLECT2); in omap1_pm_suspend()
349 omap_writew(omap_readw(ARM_IDLECT2) | 1 << EN_APICK, ARM_IDLECT2); in omap1_pm_suspend()
397 omap_writew(0, ULPD_SOFT_DISABLE_REQ_REG); in omap1_pm_suspend()
666 omap_writew(ULPD_SETUP_ANALOG_CELL_3_VAL, ULPD_SETUP_ANALOG_CELL_3); in omap_pm_init()
669 omap_writew(ULPD_POWER_CTRL_REG_VAL, ULPD_POWER_CTRL); in omap_pm_init()
Dclock_data.c779 omap_writew(reg, SOFT_REQ_REG); in omap1_clk_init()
781 omap_writew(0, SOFT_REQ_REG2); in omap1_clk_init()
822 omap_writew(0x1000, ARM_SYSST); in omap1_clk_init()
860 omap_writew(omap_readw(OMAP7XX_PCC_UPLD_CTRL) & ~0x1, in omap1_clk_init()
873 omap_writew(omap_readw(ARM_CKCTL) & 0x2fff, ARM_CKCTL); in omap1_clk_init()
875 omap_writew(omap_readw(ARM_CKCTL) & 0x0fff, ARM_CKCTL); in omap1_clk_init()
878 omap_writew(0, ARM_RSTCT1); in omap1_clk_init()
879 omap_writew(1, ARM_RSTCT2); in omap1_clk_init()
880 omap_writew(0x400, ARM_IDLECT1); in omap1_clk_init()
887 omap_writew(0x0000, ARM_IDLECT2); /* Turn LCD clock off also */ in omap1_clk_init()
Dboard-palmtt.c247 omap_writew(0x8000, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
249 omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
250 omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
Dboard-palmz71.c229 omap_writew(0x8000, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
231 omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
232 omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); in omap_mpu_wdt_mode()
Dusb.c100 omap_writew(w, ULPD_SOFT_REQ); in omap_otg_init()
105 omap_writew(w, ULPD_CLOCK_CTRL); in omap_otg_init()
574 omap_writew(w, ULPD_APLL_CTRL); in omap_1510_usb_init()
578 omap_writew(w, ULPD_DPLL_CTRL); in omap_1510_usb_init()
582 omap_writew(w, ULPD_SOFT_REQ); in omap_1510_usb_init()
Dboard-nokia770.c274 omap_writew((omap_readw(0xfffb5008) & ~2), 0xfffb5008); in omap_nokia770_init()
276 omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004); in omap_nokia770_init()
Dtimer32k.c91 omap_writew(val, OMAP1_32K_TIMER_BASE + reg); in omap_32k_timer_write()
Dboard-htcherald.c468 omap_writew(reg, OMAP_DMA_LCD_CCR); in htcherald_lcd_init()
472 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.c244 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); in omap_perseus2_init()
Dboard-fsample.c276 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); in omap_fsample_init()
Dboard-ams-delta.c757 omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); in ams_delta_init()
Dclock.c271 omap_writew(regval, ARM_CKCTL); in omap1_clk_set_rate_ckctl_arm()
/Linux-v5.4/drivers/usb/gadget/udc/
Domap_udc.c124 omap_writew(num | select, UDC_EP_NUM); in use_ep()
134 omap_writew(w, UDC_EP_NUM); in deselect_ep()
208 omap_writew(udc->clr_halt, UDC_CTRL); in omap_ep_enable()
224 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in omap_ep_enable()
251 omap_writew(UDC_SET_HALT, UDC_CTRL); in omap_ep_disable()
340 omap_writew(*wp++, UDC_DATA); in write_packet()
371 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); in write_fifo()
545 omap_writew(w, UDC_DMA_IRQ_EN); in next_in_dma()
546 omap_writew(UDC_TXN_START | txdma_ctrl, UDC_TXDMA(ep->dma_channel)); in next_in_dma()
572 omap_writew(w, UDC_DMA_IRQ_EN); in finish_in_dma()
[all …]
/Linux-v5.4/drivers/input/keyboard/
Domap-keypad.c57 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_interrupt()
74 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_scan_keypad()
77 omap_writew(0xff, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBC); in omap_kp_scan_keypad()
79 omap_writew(~(1 << col) & 0xff, in omap_kp_scan_keypad()
87 omap_writew(0x00, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBC); in omap_kp_scan_keypad()
139 omap_writew(0, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_tasklet()
207 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_probe()
259 omap_writew(0xff, OMAP1_MPUIO_BASE + OMAP_MPUIO_GPIO_DEBOUNCING); in omap_kp_probe()
269 omap_writew(0, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_probe()
296 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); in omap_kp_remove()
/Linux-v5.4/drivers/pcmcia/
Domap_cf.c141 omap_writew(CF_CONTROL_RESET, CF_CONTROL); in omap_cf_set_socket()
143 omap_writew(0, CF_CONTROL); in omap_cf_set_socket()
268 omap_writew(~(1 << seg), CF_CFG); in omap_cf_probe()
/Linux-v5.4/drivers/usb/phy/
Dphy-isp1301-omap.c650 omap_writew(OPRT_CHG, OTG_IRQ_SRC); in omap_otg_irq()
666 omap_writew(B_SRP_TMROUT, OTG_IRQ_SRC); in omap_otg_irq()
684 omap_writew(B_HNP_FAIL, OTG_IRQ_SRC); in omap_otg_irq()
709 omap_writew(A_SRP_DETECT, OTG_IRQ_SRC); in omap_otg_irq()
726 omap_writew(A_REQ_TMROUT, OTG_IRQ_SRC); in omap_otg_irq()
740 omap_writew(A_VBUS_ERR, OTG_IRQ_SRC); in omap_otg_irq()
797 omap_writew(DRIVER_SWITCH, OTG_IRQ_SRC); in omap_otg_irq()
839 omap_writew(DRIVER_SWITCH | OPRT_CHG in isp1301_otg_init()
1271 omap_writew(0, OTG_IRQ_EN); in isp1301_set_host()
1327 omap_writew(0, OTG_IRQ_EN); in isp1301_set_peripheral()
/Linux-v5.4/include/linux/platform_data/
Dkeypad-omap.h11 #define omap_writew(val, reg) do {} while (0) macro
/Linux-v5.4/arch/arm/mach-omap1/include/mach/
Dhardware.h51 extern void omap_writew(u16 v, u32 pa);