Lines Matching refs:map
238 static void ipu_dc_map_config(int map, int byte_num, int offset, int mask) in ipu_dc_map_config() argument
240 int ptr = map * 3 + byte_num; in ipu_dc_map_config()
248 reg = __raw_readl(DC_MAP_CONF_PTR(map)); in ipu_dc_map_config()
249 reg &= ~(0x1F << ((16 * (map & 0x1)) + (5 * byte_num))); in ipu_dc_map_config()
250 reg |= ptr << ((16 * (map & 0x1)) + (5 * byte_num)); in ipu_dc_map_config()
251 __raw_writel(reg, DC_MAP_CONF_PTR(map)); in ipu_dc_map_config()
254 static void ipu_dc_map_clear(int map) in ipu_dc_map_clear() argument
256 u32 reg = __raw_readl(DC_MAP_CONF_PTR(map)); in ipu_dc_map_clear()
257 __raw_writel(reg & ~(0xFFFF << (16 * (map & 0x1))), in ipu_dc_map_clear()
258 DC_MAP_CONF_PTR(map)); in ipu_dc_map_clear()
261 static void ipu_dc_write_tmpl(int word, u32 opcode, u32 operand, int map, in ipu_dc_write_tmpl() argument
270 reg |= (++map << 15); in ipu_dc_write_tmpl()
840 int map; in ipu_init_sync_panel() local
901 map = ipu_pixfmt_to_map(pixel_fmt); in ipu_init_sync_panel()
902 if (map < 0) { in ipu_init_sync_panel()
1124 ipu_dc_write_tmpl(2, WROD(0), 0, map, SYNC_WAVE, 8, 5); in ipu_init_sync_panel()
1125 ipu_dc_write_tmpl(3, WROD(0), 0, map, SYNC_WAVE, 4, 5); in ipu_init_sync_panel()
1126 ipu_dc_write_tmpl(4, WROD(0), 0, map, SYNC_WAVE, 0, 5); in ipu_init_sync_panel()
1128 ipu_dc_write_tmpl(5, WROD(0), 0, map, SYNC_WAVE, 8, 5); in ipu_init_sync_panel()
1129 ipu_dc_write_tmpl(6, WROD(0), 0, map, SYNC_WAVE, 4, 5); in ipu_init_sync_panel()
1130 ipu_dc_write_tmpl(7, WROD(0), 0, map, SYNC_WAVE, 0, 5); in ipu_init_sync_panel()