Lines Matching +full:0 +full:x44000000
39 sendack = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0xff); in send_ack()
40 sendack |= 0x80; in send_ack()
41 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0x00, sendack); in send_ack()
47 sendack = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0xff); in send_nack()
48 sendack &= ~0x80; in send_nack()
49 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0x00, sendack); in send_nack()
55 u32 retry = 0; in wait_ack()
57 waitack = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd2, 0xff); in wait_ack()
58 waitack &= 0x80; in wait_ack()
71 u32 retry = 0; in wait_nack()
73 waitack = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd2, 0xff); in wait_nack()
74 waitack &= 0x80; in wait_nack()
86 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, ~0x40, 0x40); in set_cmd_trigger()
91 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, ~0x40, 0x00); in clear_cmd_trigger()
94 #if 0
98 u32 retry = 0;
100 waitready = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd2, 0xff);
101 waitready &= 0x40;
115 int retry = 0; in ast_write_cmd()
118 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9a, 0x00, data); in ast_write_cmd()
140 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9a, 0x00, data); in ast_write_data()
151 #if 0
157 *data = 0;
161 tmp = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd3, 0xff);
174 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9a, 0x00, 0x00);
180 ast_write_cmd(dev, 0x40); in ast_set_dp501_video_output()
188 return ast_mindwm(ast, 0x1e6e2104) & 0x7fffffff; in get_fw_base()
200 data = ast_mindwm(ast, 0x1e6e2100) & 0x01; in ast_backup_fw()
203 for (i = 0; i < size; i += 4) in ast_backup_fw()
213 u32 i, data, len = 0; in ast_launch_m68k()
221 data = ast_mindwm(ast, 0x1e6e2100) & 0x01; in ast_launch_m68k()
229 ast_load_dp501_microcode(dev) < 0) in ast_launch_m68k()
236 ast_moutdwm(ast, 0x1e6e2000, 0x1688a8a8); in ast_launch_m68k()
237 data = ast_mindwm(ast, 0x1e6e0004); in ast_launch_m68k()
238 switch (data & 0x03) { in ast_launch_m68k()
239 case 0: in ast_launch_m68k()
240 boot_address = 0x44000000; in ast_launch_m68k()
244 boot_address = 0x48000000; in ast_launch_m68k()
247 boot_address = 0x50000000; in ast_launch_m68k()
250 boot_address = 0x60000000; in ast_launch_m68k()
253 boot_address -= 0x200000; /* -2MB */ in ast_launch_m68k()
256 for (i = 0; i < len; i += 4) { in ast_launch_m68k()
262 ast_moutdwm(ast, 0x1e6e2000, 0x1688a8a8); in ast_launch_m68k()
265 ast_moutdwm(ast, 0x1e6e2104, 0x80000000 + boot_address); in ast_launch_m68k()
266 ast_moutdwm(ast, 0x1e6e2100, 1); in ast_launch_m68k()
269 data = ast_mindwm(ast, 0x1e6e2040) & 0xfffff1ff; /* D[11:9] = 100b: UEFI handling */ in ast_launch_m68k()
270 data |= 0x800; in ast_launch_m68k()
271 ast_moutdwm(ast, 0x1e6e2040, data); in ast_launch_m68k()
273 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x99, 0xfc); /* D[1:0]: Reserved Video Buffer */ in ast_launch_m68k()
274 jreg |= 0x02; in ast_launch_m68k()
275 ast_set_index_reg(ast, AST_IO_VGACRI, 0x99, jreg); in ast_launch_m68k()
303 offset = 0x0000; in ast_dp501_is_connected()
335 for (i = 0; i < rdlen; i += 4) { in ast_dp512_read_edid_block()
341 for (i = 0; i < rdlen; i += 4) { in ast_dp512_read_edid_block()
356 ast_write32(ast, 0xf004, 0x1e6e0000); in ast_init_dvo()
357 ast_write32(ast, 0xf000, 0x1); in ast_init_dvo()
358 ast_write32(ast, 0x12000, 0x1688a8a8); in ast_init_dvo()
360 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd0, 0xff); in ast_init_dvo()
361 if (!(jreg & 0x80)) { in ast_init_dvo()
363 data = ast_read32(ast, 0x12008); in ast_init_dvo()
365 data &= 0xfffff8ff; in ast_init_dvo()
366 data |= 0x00000500; in ast_init_dvo()
367 ast_write32(ast, 0x12008, data); in ast_init_dvo()
370 data = ast_read32(ast, 0x12084); in ast_init_dvo()
372 data |= 0xfffe0000; in ast_init_dvo()
373 ast_write32(ast, 0x12084, data); in ast_init_dvo()
375 data = ast_read32(ast, 0x12088); in ast_init_dvo()
377 data |= 0x000fffff; in ast_init_dvo()
378 ast_write32(ast, 0x12088, data); in ast_init_dvo()
380 data = ast_read32(ast, 0x12090); in ast_init_dvo()
382 data &= 0xffffffcf; in ast_init_dvo()
383 data |= 0x00000020; in ast_init_dvo()
384 ast_write32(ast, 0x12090, data); in ast_init_dvo()
386 data = ast_read32(ast, 0x12088); in ast_init_dvo()
388 data |= 0x30000000; in ast_init_dvo()
389 ast_write32(ast, 0x12088, data); in ast_init_dvo()
391 data = ast_read32(ast, 0x1208c); in ast_init_dvo()
393 data |= 0x000000cf; in ast_init_dvo()
394 ast_write32(ast, 0x1208c, data); in ast_init_dvo()
396 data = ast_read32(ast, 0x120a4); in ast_init_dvo()
398 data |= 0xffff0000; in ast_init_dvo()
399 ast_write32(ast, 0x120a4, data); in ast_init_dvo()
401 data = ast_read32(ast, 0x120a8); in ast_init_dvo()
403 data |= 0x0000000f; in ast_init_dvo()
404 ast_write32(ast, 0x120a8, data); in ast_init_dvo()
406 data = ast_read32(ast, 0x12094); in ast_init_dvo()
408 data |= 0x00000002; in ast_init_dvo()
409 ast_write32(ast, 0x12094, data); in ast_init_dvo()
414 data = ast_read32(ast, 0x1202c); in ast_init_dvo()
415 data &= 0xfffbffff; in ast_init_dvo()
416 ast_write32(ast, 0x1202c, data); in ast_init_dvo()
419 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xa3, 0xcf, 0x80); in ast_init_dvo()
434 ast_write32(ast, 0xf004, 0x1e6e0000); in ast_init_analog()
435 ast_write32(ast, 0xf000, 0x1); in ast_init_analog()
438 ast_write32(ast, 0x12000, 0x1688a8a8); in ast_init_analog()
439 ast_write32(ast, 0x12000, 0x1688a8a8); in ast_init_analog()
440 ast_write32(ast, 0x12000, 0x1688a8a8); in ast_init_analog()
443 data = ast_read32(ast, 0x1202c); in ast_init_analog()
444 data &= 0xfffcffff; in ast_init_analog()
445 ast_write32(ast, 0, data); in ast_init_analog()
448 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xa3, 0xcf, 0x00); in ast_init_analog()
457 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd1, 0xff); in ast_init_3rdtx()
458 switch (jreg & 0x0e) { in ast_init_3rdtx()
459 case 0x04: in ast_init_3rdtx()
462 case 0x08: in ast_init_3rdtx()
465 case 0x0c: in ast_init_3rdtx()
498 ast_set_dp501_video_output(dev, 0); in ast_dp501_encoder_helper_atomic_disable()
581 connector->interlace_allowed = 0; in ast_dp501_connector_init()
582 connector->doublescan_allowed = 0; in ast_dp501_connector_init()
586 return 0; in ast_dp501_connector_init()
615 return 0; in ast_dp501_output_init()