Lines Matching refs:w
134 u16 w; in set_b1_regs() local
253 w = omap_readw(OMAP1610_DMA_LCD_CSDP); in set_b1_regs()
254 w &= ~0x03; in set_b1_regs()
255 w |= lcd_dma.data_type; in set_b1_regs()
256 omap_writew(w, OMAP1610_DMA_LCD_CSDP); in set_b1_regs()
258 w = omap_readw(OMAP1610_DMA_LCD_CTRL); in set_b1_regs()
260 w &= ~(0x03 << 6); in set_b1_regs()
262 w |= 1 << 1; /* Block interrupt enable */ in set_b1_regs()
264 w &= ~(1 << 1); in set_b1_regs()
265 omap_writew(w, OMAP1610_DMA_LCD_CTRL); in set_b1_regs()
271 w = omap_readw(OMAP1610_DMA_LCD_CCR); in set_b1_regs()
273 w |= (0x03 << 12); in set_b1_regs()
274 omap_writew(w, OMAP1610_DMA_LCD_CCR); in set_b1_regs()
283 u16 w; in lcd_dma_irq_handler() local
285 w = omap_readw(OMAP1610_DMA_LCD_CTRL); in lcd_dma_irq_handler()
286 if (unlikely(!(w & (1 << 3)))) { in lcd_dma_irq_handler()
291 w |= (1 << 3); in lcd_dma_irq_handler()
292 omap_writew(w, OMAP1610_DMA_LCD_CTRL); in lcd_dma_irq_handler()
295 lcd_dma.callback(w, lcd_dma.cb_data); in lcd_dma_irq_handler()
347 u16 w; in omap_enable_lcd_dma() local
357 w = omap_readw(OMAP1610_DMA_LCD_CTRL); in omap_enable_lcd_dma()
358 w |= 1 << 8; in omap_enable_lcd_dma()
359 omap_writew(w, OMAP1610_DMA_LCD_CTRL); in omap_enable_lcd_dma()
363 w = omap_readw(OMAP1610_DMA_LCD_CCR); in omap_enable_lcd_dma()
364 w |= 1 << 7; in omap_enable_lcd_dma()
365 omap_writew(w, OMAP1610_DMA_LCD_CCR); in omap_enable_lcd_dma()
380 u16 w; in omap_setup_lcd_dma() local
382 w = omap_readw(OMAP1610_DMA_LCD_CCR); in omap_setup_lcd_dma()
388 w |= 1 << 11; /* End_prog */ in omap_setup_lcd_dma()
390 w |= (3 << 8); /* Auto_init, repeat */ in omap_setup_lcd_dma()
391 omap_writew(w, OMAP1610_DMA_LCD_CCR); in omap_setup_lcd_dma()
398 u16 w; in omap_stop_lcd_dma() local
404 w = omap_readw(OMAP1610_DMA_LCD_CCR); in omap_stop_lcd_dma()
405 w &= ~(1 << 7); in omap_stop_lcd_dma()
406 omap_writew(w, OMAP1610_DMA_LCD_CCR); in omap_stop_lcd_dma()
408 w = omap_readw(OMAP1610_DMA_LCD_CTRL); in omap_stop_lcd_dma()
409 w &= ~(1 << 8); in omap_stop_lcd_dma()
410 omap_writew(w, OMAP1610_DMA_LCD_CTRL); in omap_stop_lcd_dma()
422 u16 w; in omap_init_lcd_dma() local
425 w = omap_readw(OMAP1610_DMA_LCD_CTRL); in omap_init_lcd_dma()
426 w &= ~(1 << 8); in omap_init_lcd_dma()
427 omap_writew(w, OMAP1610_DMA_LCD_CTRL); in omap_init_lcd_dma()