Lines Matching defs:map
120 int map, int wave, int glue, int sync, int stop)
132 reg1 = sync | glue << 4 | ++wave << 11 | ++map << 15 | ((operand << 20) & 0xfff00000);
166 int map;
170 map = ipu_bus_format_to_map(bus_format);
192 dc_write_tmpl(dc, addr, WROD(0), 0, map, SYNC_WAVE, 0, sync, 1);
199 dc_write_tmpl(dc, addr + 2, WROD(0), 0, map, SYNC_WAVE, 8, sync, 1);
200 dc_write_tmpl(dc, addr + 3, WROD(0), 0, map, SYNC_WAVE, 4, sync, 0);
201 dc_write_tmpl(dc, addr + 4, WRG, 0, map, NULL_WAVE, 0, 0, 1);
202 dc_write_tmpl(dc, addr + 1, WROD(0), 0, map, SYNC_WAVE, 0, sync, 1);
278 static void ipu_dc_map_config(struct ipu_dc_priv *priv, enum ipu_dc_map map,
281 int ptr = map * 3 + byte_num;
289 reg = readl(priv->dc_reg + DC_MAP_CONF_PTR(map));
290 reg &= ~(0x1f << ((16 * (map & 0x1)) + (5 * byte_num)));
291 reg |= ptr << ((16 * (map & 0x1)) + (5 * byte_num));
292 writel(reg, priv->dc_reg + DC_MAP_CONF_PTR(map));
295 static void ipu_dc_map_clear(struct ipu_dc_priv *priv, int map)
297 u32 reg = readl(priv->dc_reg + DC_MAP_CONF_PTR(map));
299 writel(reg & ~(0xffff << (16 * (map & 0x1))),
300 priv->dc_reg + DC_MAP_CONF_PTR(map));