/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | lcd_dma.c | 240 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); set_b1_regs() 241 omap_writew(top, OMAP1510_DMA_LCD_TOP_F1_L); set_b1_regs() 242 omap_writew(bottom >> 16, OMAP1510_DMA_LCD_BOT_F1_U); set_b1_regs() 243 omap_writew(bottom, OMAP1510_DMA_LCD_BOT_F1_L); set_b1_regs() 249 omap_writew(top >> 16, OMAP1610_DMA_LCD_TOP_B1_U); set_b1_regs() 250 omap_writew(top, OMAP1610_DMA_LCD_TOP_B1_L); set_b1_regs() 251 omap_writew(bottom >> 16, OMAP1610_DMA_LCD_BOT_B1_U); set_b1_regs() 252 omap_writew(bottom, OMAP1610_DMA_LCD_BOT_B1_L); set_b1_regs() 254 omap_writew(en, OMAP1610_DMA_LCD_SRC_EN_B1); set_b1_regs() 255 omap_writew(fn, OMAP1610_DMA_LCD_SRC_FN_B1); set_b1_regs() 260 omap_writew(w, OMAP1610_DMA_LCD_CSDP); set_b1_regs() 269 omap_writew(w, OMAP1610_DMA_LCD_CTRL); set_b1_regs() 278 omap_writew(w, OMAP1610_DMA_LCD_CCR); set_b1_regs() 280 omap_writew(ei, OMAP1610_DMA_LCD_SRC_EI_B1); set_b1_regs() 281 omap_writew(fi >> 16, OMAP1610_DMA_LCD_SRC_FI_B1_U); set_b1_regs() 282 omap_writew(fi, OMAP1610_DMA_LCD_SRC_FI_B1_L); set_b1_regs() 296 omap_writew(w, OMAP1610_DMA_LCD_CTRL); lcd_dma_irq_handler() 342 omap_writew(omap_readw(OMAP1610_DMA_LCD_CCR) & ~1, omap_free_lcd_dma() 363 omap_writew(w, OMAP1610_DMA_LCD_CTRL); omap_enable_lcd_dma() 369 omap_writew(w, OMAP1610_DMA_LCD_CCR); omap_enable_lcd_dma() 378 omap_writew(0x5440, OMAP1610_DMA_LCD_CCR); omap_setup_lcd_dma() 379 omap_writew(0x9102, OMAP1610_DMA_LCD_CSDP); omap_setup_lcd_dma() 380 omap_writew(0x0004, OMAP1610_DMA_LCD_LCH_CTRL); omap_setup_lcd_dma() 395 omap_writew(w, OMAP1610_DMA_LCD_CCR); omap_setup_lcd_dma() 410 omap_writew(w, OMAP1610_DMA_LCD_CCR); omap_stop_lcd_dma() 414 omap_writew(w, OMAP1610_DMA_LCD_CTRL); omap_stop_lcd_dma() 431 omap_writew(w, OMAP1610_DMA_LCD_CTRL); omap_init_lcd_dma()
|
H A D | reset.c | 33 omap_writew(omap_readw(DPLL_CTL) & ~(1 << 4), DPLL_CTL); omap1_restart() 34 omap_writew(0x8, ARM_RSTCT1); omap1_restart() 37 omap_writew(1, ARM_RSTCT1); omap1_restart()
|
H A D | io.c | 130 omap_writew(0x0, MPU_PUBLIC_TIPB_CNTL); omap1_init_early() 131 omap_writew(0x0, MPU_PRIVATE_TIPB_CNTL); omap1_init_early() 172 void omap_writew(u16 v, u32 pa) omap_writew() function 176 EXPORT_SYMBOL(omap_writew); variable
|
H A D | board-palmtt.c | 250 omap_writew(0x8000, OMAP_WDT_TIMER_MODE); omap_mpu_wdt_mode() 252 omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); omap_mpu_wdt_mode() 253 omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); omap_mpu_wdt_mode()
|
H A D | board-palmz71.c | 232 omap_writew(0x8000, OMAP_WDT_TIMER_MODE); omap_mpu_wdt_mode() 234 omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); omap_mpu_wdt_mode() 235 omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); omap_mpu_wdt_mode()
|
H A D | pm.c | 218 omap_writew(0xffff, ULPD_SOFT_DISABLE_REQ_REG); omap1_pm_suspend() 288 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() 397 omap_writew(0, ULPD_SOFT_DISABLE_REQ_REG); omap1_pm_suspend() 681 omap_writew(ULPD_SETUP_ANALOG_CELL_3_VAL, ULPD_SETUP_ANALOG_CELL_3); omap_pm_init() 684 omap_writew(ULPD_POWER_CTRL_REG_VAL, ULPD_POWER_CTRL); omap_pm_init()
|
H A D | clock_data.c | 782 omap_writew(reg, SOFT_REQ_REG); omap1_clk_init() 784 omap_writew(0, SOFT_REQ_REG2); omap1_clk_init() 825 omap_writew(0x1000, ARM_SYSST); 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() 881 omap_writew(0, ARM_RSTCT1); omap1_clk_init() 882 omap_writew(1, ARM_RSTCT2); omap1_clk_init() 883 omap_writew(0x400, ARM_IDLECT1); omap1_clk_init() 890 omap_writew(0x0000, ARM_IDLECT2); /* Turn LCD clock off also */ omap1_clk_init()
|
H A D | usb.c | 73 //omap_writew(0, OTG_IRQ_EN); omap_otg_init() 116 omap_writew(w, ULPD_SOFT_REQ); omap_otg_init() 121 omap_writew(w, ULPD_CLOCK_CTRL); omap_otg_init() 590 omap_writew(w, ULPD_APLL_CTRL); omap_1510_usb_init() 594 omap_writew(w, ULPD_DPLL_CTRL); omap_1510_usb_init() 598 omap_writew(w, ULPD_SOFT_REQ); omap_1510_usb_init()
|
H A D | board-nokia770.c | 275 omap_writew((omap_readw(0xfffb5008) & ~2), 0xfffb5008); omap_nokia770_init() 277 omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004); omap_nokia770_init()
|
H A D | board-perseus2.c | 248 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); omap_perseus2_init()
|
H A D | timer32k.c | 91 omap_writew(val, OMAP1_32K_TIMER_BASE + reg); omap_32k_timer_write()
|
H A D | board-htcherald.c | 483 omap_writew(reg, OMAP_DMA_LCD_CCR); htcherald_lcd_init() 487 omap_writew(reg, OMAP_DMA_LCD_CTRL); htcherald_lcd_init()
|
H A D | board-fsample.c | 280 omap_writew(omap_readw(OMAP7XX_DSP_M_CTL) & ~1, OMAP7XX_DSP_M_CTL); omap_fsample_init()
|
H A D | pm.h | 156 #define ULPD_RESTORE(x) omap_writew((ulpd_sleep_save[ULPD_SLEEP_SAVE_##x]), (x))
|
H A D | board-ams-delta.c | 505 omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); ams_delta_init()
|
H A D | clock.c | 274 omap_writew(regval, ARM_CKCTL); omap1_clk_set_rate_ckctl_arm()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 128 omap_writew(num | select, UDC_EP_NUM); use_ep() 138 omap_writew(w, UDC_EP_NUM); deselect_ep() 212 omap_writew(udc->clr_halt, UDC_CTRL); omap_ep_enable() 228 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); omap_ep_enable() 255 omap_writew(UDC_SET_HALT, UDC_CTRL); omap_ep_disable() 344 omap_writew(*wp++, UDC_DATA); write_packet() 375 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); write_fifo() 549 omap_writew(w, UDC_DMA_IRQ_EN); next_in_dma() 550 omap_writew(UDC_TXN_START | txdma_ctrl, UDC_TXDMA(ep->dma_channel)); next_in_dma() 576 omap_writew(w, UDC_DMA_IRQ_EN); finish_in_dma() 599 omap_writew(UDC_RXN_STOP | (packets - 1), UDC_RXDMA(ep->dma_channel)); next_out_dma() 602 omap_writew(w, UDC_DMA_IRQ_EN); next_out_dma() 603 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); next_out_dma() 604 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); next_out_dma() 633 omap_writew(w, UDC_DMA_IRQ_EN); finish_out_dma() 653 omap_writew(UDC_TXN_DONE, UDC_IRQ_SRC); dma_irq() 672 omap_writew(UDC_RXN_EOT, UDC_IRQ_SRC); dma_irq() 686 omap_writew(UDC_RXN_CNT, UDC_IRQ_SRC); dma_irq() 736 omap_writew(reg, UDC_TXDMA_CFG); dma_channel_claim() 753 omap_writew(reg, UDC_RXDMA_CFG); dma_channel_claim() 800 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); dma_channel_claim() 834 omap_writew((omap_readw(UDC_TXDMA_CFG) & ~mask) | UDC_DMA_REQ, dma_channel_release() 842 omap_writew(UDC_CLR_EP, UDC_CTRL); dma_channel_release() 848 omap_writew((omap_readw(UDC_RXDMA_CFG) & ~mask) | UDC_DMA_REQ, dma_channel_release() 925 omap_writew(w, UDC_IRQ_EN); omap_ep_queue() 950 omap_writew(irq_en, UDC_IRQ_EN); omap_ep_queue() 957 omap_writew(UDC_EP_SEL | UDC_EP_DIR, omap_ep_queue() 959 omap_writew(UDC_CLR_EP, UDC_CTRL); omap_ep_queue() 960 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); omap_ep_queue() 961 omap_writew(UDC_EP_DIR, UDC_EP_NUM); omap_ep_queue() 970 omap_writew(UDC_EP_SEL | UDC_EP_DIR, omap_ep_queue() 975 omap_writew(UDC_EP_SEL, UDC_EP_NUM); omap_ep_queue() 991 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); omap_ep_queue() 1059 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); omap_ep_set_halt() 1061 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); omap_ep_set_halt() 1089 omap_writew(UDC_SET_HALT, UDC_CTRL); omap_ep_set_halt() 1099 omap_writew(ep->udc->clr_halt, UDC_CTRL); omap_ep_set_halt() 1102 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); omap_ep_set_halt() 1153 omap_writew(UDC_RMT_WKP, UDC_SYSCON2); omap_wakeup() 1182 omap_writew(syscon1, UDC_SYSCON1); omap_set_selfpowered() 1199 omap_writew(w, UDC_SYSCON1); pullup_enable() 1207 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); pullup_enable() 1221 omap_writew(UDC_DS_CHG_IE, UDC_IRQ_EN); pullup_disable() 1224 omap_writew(w, UDC_SYSCON1); pullup_disable() 1341 omap_writew(UDC_CLR_EP, UDC_CTRL); nuke() 1343 omap_writew(UDC_SET_HALT, UDC_CTRL); nuke() 1408 omap_writew(ack, UDC_IRQ_SRC); ep0_irq() 1428 omap_writew(UDC_EP0_TX, UDC_IRQ_SRC); ep0_irq() 1429 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1438 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1440 omap_writew(UDC_EP_SEL, UDC_EP_NUM); ep0_irq() 1441 omap_writew(UDC_CLR_EP, UDC_CTRL); ep0_irq() 1442 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1443 omap_writew(0, UDC_EP_NUM); ep0_irq() 1448 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1454 omap_writew(UDC_CLR_HALT, UDC_CTRL); ep0_irq() 1455 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1457 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1465 omap_writew(UDC_EP0_RX, UDC_IRQ_SRC); ep0_irq() 1466 omap_writew(UDC_EP_SEL, UDC_EP_NUM); ep0_irq() 1476 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); ep0_irq() 1480 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1481 omap_writew(0, UDC_EP_NUM); ep0_irq() 1487 omap_writew(UDC_EP_SEL | UDC_EP_DIR, ep0_irq() 1489 omap_writew(UDC_CLR_EP, UDC_CTRL); ep0_irq() 1490 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1491 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1496 omap_writew(0, UDC_EP_NUM); ep0_irq() 1501 omap_writew(UDC_CLR_HALT, UDC_CTRL); ep0_irq() 1502 omap_writew(0, UDC_EP_NUM); ep0_irq() 1504 omap_writew(0, UDC_EP_NUM); ep0_irq() 1519 omap_writew(UDC_SETUP_SEL, UDC_EP_NUM); ep0_irq() 1525 omap_writew(0, UDC_EP_NUM); ep0_irq() 1557 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); ep0_irq() 1559 omap_writew(UDC_DEV_CFG, UDC_SYSCON2); ep0_irq() 1577 omap_writew(udc->clr_halt, UDC_CTRL); ep0_irq() 1580 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1613 omap_writew(UDC_CLR_EP, UDC_CTRL); ep0_irq() 1614 omap_writew(UDC_SET_HALT, UDC_CTRL); ep0_irq() 1618 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1619 omap_writew(UDC_CLR_EP, UDC_CTRL); ep0_irq() 1620 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1621 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1658 omap_writew(UDC_EP_SEL|UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1659 omap_writew(0, UDC_DATA); ep0_irq() 1660 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1661 omap_writew(UDC_EP_DIR, UDC_EP_NUM); ep0_irq() 1670 omap_writew(0, UDC_EP_NUM); ep0_irq() 1671 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); ep0_irq() 1712 omap_writew(UDC_CLR_CFG, UDC_SYSCON2); ep0_irq() 1714 omap_writew(UDC_STALL_CMD, UDC_SYSCON2); ep0_irq() 1768 omap_writew(UDC_DS_CHG_IE | UDC_EP0_IE, devstate_irq() 1815 omap_writew(UDC_DS_CHG, UDC_IRQ_SRC); devstate_irq() 1880 omap_writew(ep->bEndpointAddress, UDC_EP_NUM); pio_out_timer() 1881 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); pio_out_timer() 1907 omap_writew(UDC_EPN_RX, UDC_IRQ_SRC); omap_udc_pio_irq() 1912 omap_writew(epnum | UDC_EP_SEL, UDC_EP_NUM); omap_udc_pio_irq() 1928 omap_writew(epnum, UDC_EP_NUM); omap_udc_pio_irq() 1934 omap_writew(UDC_SET_FIFO_EN, UDC_CTRL); omap_udc_pio_irq() 1943 omap_writew(UDC_EPN_TX, UDC_IRQ_SRC); omap_udc_pio_irq() 1948 omap_writew(epnum | UDC_EP_DIR | UDC_EP_SEL, UDC_EP_NUM); omap_udc_pio_irq() 1960 omap_writew(epnum | UDC_EP_DIR, UDC_EP_NUM); omap_udc_pio_irq() 2025 omap_writew(w, UDC_IRQ_EN); omap_udc_iso_irq() 2027 omap_writew(UDC_IRQ_SOF, UDC_IRQ_SRC); omap_udc_iso_irq() 2060 omap_writew(UDC_SET_HALT, UDC_CTRL); omap_udc_start() 2074 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); omap_udc_start() 2562 omap_writew(epn_rxtx, UDC_EP_TX(addr & 0xf)); omap_ep_setup() 2564 omap_writew(epn_rxtx, UDC_EP_RX(addr)); omap_ep_setup() 2626 omap_writew(0, UDC_SYSCON1); omap_udc_setup() 2627 omap_writew(0, UDC_IRQ_EN); omap_udc_setup() 2628 omap_writew(UDC_IRQ_SRC_MASK, UDC_IRQ_SRC); omap_udc_setup() 2629 omap_writew(0, UDC_DMA_IRQ_EN); omap_udc_setup() 2630 omap_writew(0, UDC_RXDMA_CFG); omap_udc_setup() 2631 omap_writew(0, UDC_TXDMA_CFG); omap_udc_setup() 2658 omap_writew(0, UDC_EP_RX(tmp)); omap_udc_setup() 2659 omap_writew(0, UDC_EP_TX(tmp)); omap_udc_setup() 2744 omap_writew(UDC_CFG_LOCK|UDC_SELF_PWR, UDC_SYSCON1); omap_udc_setup() 2979 omap_writew(0, UDC_SYSCON1); omap_udc_remove()
|
/linux-4.4.14/drivers/input/keyboard/ |
H A D | omap-keypad.c | 95 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); omap_kp_interrupt() 112 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); omap_kp_scan_keypad() 115 omap_writew(0xff, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBC); omap_kp_scan_keypad() 117 omap_writew(~(1 << col) & 0xff, omap_kp_scan_keypad() 125 omap_writew(0x00, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBC); omap_kp_scan_keypad() 189 omap_writew(0, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); omap_kp_tasklet() 276 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); omap_kp_probe() 328 omap_writew(0xff, OMAP1_MPUIO_BASE + OMAP_MPUIO_GPIO_DEBOUNCING); omap_kp_probe() 338 omap_writew(0, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); omap_kp_probe() 365 omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT); omap_kp_remove()
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | keypad-omap.h | 14 #define omap_writew(val, reg) do {} while (0) macro
|
/linux-4.4.14/drivers/pcmcia/ |
H A D | omap_cf.c | 143 omap_writew(CF_CONTROL_RESET, CF_CONTROL); omap_cf_set_socket() 145 omap_writew(0, CF_CONTROL); omap_cf_set_socket() 270 omap_writew(~(1 << seg), CF_CFG); omap_cf_probe()
|
/linux-4.4.14/drivers/usb/phy/ |
H A D | phy-isp1301-omap.c | 663 omap_writew(OPRT_CHG, OTG_IRQ_SRC); omap_otg_irq() 679 omap_writew(B_SRP_TMROUT, OTG_IRQ_SRC); omap_otg_irq() 697 omap_writew(B_HNP_FAIL, OTG_IRQ_SRC); omap_otg_irq() 722 omap_writew(A_SRP_DETECT, OTG_IRQ_SRC); omap_otg_irq() 739 omap_writew(A_REQ_TMROUT, OTG_IRQ_SRC); omap_otg_irq() 753 omap_writew(A_VBUS_ERR, OTG_IRQ_SRC); omap_otg_irq() 810 omap_writew(DRIVER_SWITCH, OTG_IRQ_SRC); omap_otg_irq() 852 omap_writew(DRIVER_SWITCH | OPRT_CHG isp1301_otg_init() 1283 omap_writew(0, OTG_IRQ_EN); isp1301_set_host() 1339 omap_writew(0, OTG_IRQ_EN); isp1301_set_peripheral()
|
/linux-4.4.14/arch/arm/mach-omap1/include/mach/ |
H A D | hardware.h | 51 extern void omap_writew(u16 v, u32 pa);
|