Searched refs:omap_readw (Results 1 - 19 of 19) sorted by relevance

/linux-4.4.14/arch/arm/mach-omap1/
H A Dlcd_dma.c42 if (omap_readw(OMAP_LCDC_CONTROL) & OMAP_LCDC_CTRL_LCD_EN) omap_lcd_dma_running()
47 if (omap_readw(OMAP1610_DMA_LCD_CCR) & OMAP_DMA_CCR_EN) omap_lcd_dma_running()
257 w = omap_readw(OMAP1610_DMA_LCD_CSDP); set_b1_regs()
262 w = omap_readw(OMAP1610_DMA_LCD_CTRL); set_b1_regs()
275 w = omap_readw(OMAP1610_DMA_LCD_CCR); set_b1_regs()
289 w = omap_readw(OMAP1610_DMA_LCD_CTRL); lcd_dma_irq_handler()
342 omap_writew(omap_readw(OMAP1610_DMA_LCD_CCR) & ~1, omap_free_lcd_dma()
361 w = omap_readw(OMAP1610_DMA_LCD_CTRL); omap_enable_lcd_dma()
367 w = omap_readw(OMAP1610_DMA_LCD_CCR); omap_enable_lcd_dma()
386 w = omap_readw(OMAP1610_DMA_LCD_CCR); omap_setup_lcd_dma()
408 w = omap_readw(OMAP1610_DMA_LCD_CCR); omap_stop_lcd_dma()
412 w = omap_readw(OMAP1610_DMA_LCD_CTRL); omap_stop_lcd_dma()
429 w = omap_readw(OMAP1610_DMA_LCD_CTRL); omap_init_lcd_dma()
H A Dreset.c33 omap_writew(omap_readw(DPLL_CTL) & ~(1 << 4), DPLL_CTL); omap1_restart()
H A Dusb.c114 w = omap_readw(ULPD_SOFT_REQ); omap_otg_init()
118 w = omap_readw(ULPD_CLOCK_CTRL); omap_otg_init()
585 pr_debug("APLL %04x DPLL %04x REQ %04x\n", omap_readw(ULPD_APLL_CTRL), omap_1510_usb_init()
586 omap_readw(ULPD_DPLL_CTRL), omap_readw(ULPD_SOFT_REQ)); omap_1510_usb_init()
588 w = omap_readw(ULPD_APLL_CTRL); omap_1510_usb_init()
592 w = omap_readw(ULPD_DPLL_CTRL); omap_1510_usb_init()
596 w = omap_readw(ULPD_SOFT_REQ); omap_1510_usb_init()
600 while (!(omap_readw(ULPD_DPLL_CTRL) & DPLL_LOCK)) omap_1510_usb_init()
H A Dio.c154 u16 omap_readw(u32 pa) omap_readw() function
158 EXPORT_SYMBOL(omap_readw); variable
H A Dboard-nokia770.c275 omap_writew((omap_readw(0xfffb5008) & ~2), 0xfffb5008); omap_nokia770_init()
277 omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004); omap_nokia770_init()
H A Dclock_data.c781 reg = omap_readw(SOFT_REQ_REG) & (1 << 4); omap1_clk_init()
821 omap_readw(ARM_SYSST), omap_readw(DPLL_CTL), omap1_clk_init()
822 omap_readw(ARM_CKCTL)); omap1_clk_init()
835 unsigned pll_ctl_val = omap_readw(DPLL_CTL); omap1_clk_init()
863 omap_writew(omap_readw(OMAP7XX_PCC_UPLD_CTRL) & ~0x1, omap1_clk_init()
876 omap_writew(omap_readw(ARM_CKCTL) & 0x2fff, ARM_CKCTL); omap1_clk_init()
878 omap_writew(omap_readw(ARM_CKCTL) & 0x0fff, ARM_CKCTL); omap1_clk_init()
H A Dpm.c288 omap_writew(omap_readw(ARM_RSTCT1) & ~(1 << DSP_EN), ARM_RSTCT1); omap1_pm_suspend()
292 omap_writew(omap_readw(ARM_CKCTL) & ~(1 << EN_DSPCK), ARM_CKCTL); omap1_pm_suspend()
295 omap_writew(omap_readw(ARM_IDLECT2) | 1 << EN_APICK, ARM_IDLECT2); omap1_pm_suspend()
349 omap_writew(omap_readw(ARM_IDLECT2) | 1 << EN_APICK, ARM_IDLECT2); omap1_pm_suspend()
H A Dboard-perseus2.c248 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); omap_perseus2_init()
H A Dclock.c170 int dsor = 1 << (3 & (omap_readw(ARM_CKCTL) >> clk->rate_offset)); omap1_ckctl_recalc()
184 * we must use __raw_readw() instead of omap_readw(). omap1_ckctl_recalc_dsp_domain()
270 regval = omap_readw(ARM_CKCTL); omap1_clk_set_rate_ckctl_arm()
H A Dboard-htcherald.c481 reg = omap_readw(OMAP_DMA_LCD_CCR); htcherald_lcd_init()
485 reg = omap_readw(OMAP_DMA_LCD_CTRL); htcherald_lcd_init()
H A Dboard-fsample.c280 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); omap_fsample_init()
H A Dpm.h155 #define ULPD_SAVE(x) ulpd_sleep_save[ULPD_SLEEP_SAVE_##x] = omap_readw(x)
H A Dboard-ams-delta.c505 omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); ams_delta_init()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Domap_udc.c136 w = omap_readw(UDC_EP_NUM); deselect_ep()
369 ep_stat = omap_readw(UDC_STAT_FLG); write_fifo()
409 *wp++ = omap_readw(UDC_DATA); read_packet()
430 u16 ep_stat = omap_readw(UDC_STAT_FLG); read_fifo()
444 avail = omap_readw(UDC_RXFSTAT); read_fifo()
457 omap_readw(UDC_DATA); read_fifo()
547 w = omap_readw(UDC_DMA_IRQ_EN); next_in_dma()
574 w = omap_readw(UDC_DMA_IRQ_EN); finish_in_dma()
600 w = omap_readw(UDC_DMA_IRQ_EN); next_out_dma()
631 w = omap_readw(UDC_DMA_IRQ_EN); finish_out_dma()
639 u16 dman_stat = omap_readw(UDC_DMAN_STAT); dma_irq()
709 reg = omap_readw(UDC_TXDMA_CFG); dma_channel_claim()
711 reg = omap_readw(UDC_RXDMA_CFG); dma_channel_claim()
834 omap_writew((omap_readw(UDC_TXDMA_CFG) & ~mask) | UDC_DMA_REQ, dma_channel_release()
845 while (omap_readw(UDC_TXDMA_CFG) & mask) dma_channel_release()
848 omap_writew((omap_readw(UDC_RXDMA_CFG) & ~mask) | UDC_DMA_REQ, dma_channel_release()
852 while (omap_readw(UDC_RXDMA_CFG) & mask) dma_channel_release()
923 w = omap_readw(UDC_IRQ_EN); omap_ep_queue()
944 u16 irq_en = omap_readw(UDC_IRQ_EN); omap_ep_queue()
1088 if (omap_readw(UDC_STAT_FLG) & UDC_NON_ISO_FIFO_EMPTY) { omap_ep_set_halt()
1134 u16 sof = omap_readw(UDC_SOF); omap_get_frame()
1177 syscon1 = omap_readw(UDC_SYSCON1); omap_set_selfpowered()
1197 w = omap_readw(UDC_SYSCON1); pullup_enable()
1222 w = omap_readw(UDC_SYSCON1); pullup_disable()
1372 devstat = omap_readw(UDC_DEVSTAT); update_otg()
1430 stat = omap_readw(UDC_STAT_FLG); ep0_irq()
1467 stat = omap_readw(UDC_STAT_FLG); ep0_irq()
1521 u.word[0] = omap_readw(UDC_DATA); ep0_irq()
1522 u.word[1] = omap_readw(UDC_DATA); ep0_irq()
1523 u.word[2] = omap_readw(UDC_DATA); ep0_irq()
1524 u.word[3] = omap_readw(UDC_DATA); ep0_irq()
1526 } while (omap_readw(UDC_IRQ_SRC) & UDC_SETUP); ep0_irq()
1728 devstat = omap_readw(UDC_DEVSTAT); devstate_irq()
1826 irq_src = omap_readw(UDC_IRQ_SRC); omap_udc_irq()
1870 stat_flg = omap_readw(UDC_STAT_FLG); pio_out_timer()
1901 epn_stat = omap_readw(UDC_EPN_STAT); omap_udc_pio_irq()
1902 irq_src = omap_readw(UDC_IRQ_SRC); omap_udc_pio_irq()
1914 if (omap_readw(UDC_STAT_FLG) & UDC_ACK) { omap_udc_pio_irq()
1926 epn_stat = omap_readw(UDC_EPN_STAT); omap_udc_pio_irq()
1927 epn_stat = omap_readw(UDC_EPN_STAT); omap_udc_pio_irq()
1949 if (omap_readw(UDC_STAT_FLG) & UDC_ACK) { omap_udc_pio_irq()
1958 epn_stat = omap_readw(UDC_EPN_STAT); omap_udc_pio_irq()
1959 epn_stat = omap_readw(UDC_EPN_STAT); omap_udc_pio_irq()
1988 stat = omap_readw(UDC_STAT_FLG); omap_udc_iso_irq()
2023 w = omap_readw(UDC_IRQ_EN); omap_udc_iso_irq()
2159 stat_flg = omap_readw(UDC_STAT_FLG); proc_ep_show()
2236 trans = omap_readw(USB_TRANSCEIVER_CTRL); proc_otg_show()
2239 tmp = omap_readw(OTG_SYSCON_1); proc_otg_show()
2286 tmp = omap_readw(OTG_IRQ_EN); proc_otg_show()
2288 tmp = omap_readw(OTG_IRQ_SRC); proc_otg_show()
2290 tmp = omap_readw(OTG_OUTCTRL); proc_otg_show()
2292 tmp = omap_readw(OTG_TEST); proc_otg_show()
2313 tmp = omap_readw(UDC_REV) & 0xff; proc_udc_show()
2326 omap_readw(ULPD_CLOCK_CTRL), proc_udc_show()
2327 omap_readw(ULPD_SOFT_REQ), proc_udc_show()
2328 omap_readw(ULPD_STATUS_REQ)); proc_udc_show()
2334 tmp = omap_readw(UDC_SYSCON1); proc_udc_show()
2353 tmp = omap_readw(UDC_DEVSTAT); proc_udc_show()
2365 seq_printf(s, "sof %04x\n", omap_readw(UDC_SOF)); proc_udc_show()
2366 tmp = omap_readw(UDC_IRQ_EN); proc_udc_show()
2373 tmp = omap_readw(UDC_IRQ_SRC); proc_udc_show()
2388 tmp = omap_readw(UDC_DMA_IRQ_EN); proc_udc_show()
2402 tmp = omap_readw(UDC_RXDMA_CFG); proc_udc_show()
2409 omap_readw(UDC_RXDMA(i + 1))); proc_udc_show()
2412 tmp = omap_readw(UDC_TXDMA_CFG); proc_udc_show()
2419 omap_readw(UDC_TXDMA(i + 1))); proc_udc_show()
2424 tmp = omap_readw(UDC_DEVSTAT); proc_udc_show()
2791 omap_readw(UDC_REV) >> 4, omap_readw(UDC_REV) & 0xf, omap_udc_probe()
2883 if (omap_readw(UDC_REV) >= 0x61) omap_udc_probe()
3018 devstat = omap_readw(UDC_DEVSTAT); omap_udc_suspend()
/linux-4.4.14/drivers/pcmcia/
H A Domap_cf.c54 #define omap_cf_present() (!(omap_readw(CF_STATUS) & CF_STATUS_CARD_DETECT))
141 control = omap_readw(CF_CONTROL); omap_cf_set_socket()
286 omap_readw(CF_STATUS), omap_readw(CF_CFG), omap_cf_probe()
287 omap_readw(CF_CONTROL), omap_cf_probe()
/linux-4.4.14/include/linux/platform_data/
H A Dkeypad-omap.h13 #define omap_readw(reg) 0 macro
/linux-4.4.14/drivers/input/keyboard/
H A Domap-keypad.c122 state[col] = ~omap_readw(OMAP1_MPUIO_BASE + omap_kp_scan_keypad()
/linux-4.4.14/arch/arm/mach-omap1/include/mach/
H A Dhardware.h48 extern u16 omap_readw(u32 pa);
/linux-4.4.14/drivers/usb/phy/
H A Dphy-isp1301-omap.c415 u8 fsm = omap_readw(OTG_TEST) & 0x0ff; check_state()
655 u16 otg_irq = omap_readw(OTG_IRQ_SRC); omap_otg_irq()

Completed in 510 milliseconds