Lines Matching +full:edge +full:- +full:offset

1 // SPDX-License-Identifier: GPL-2.0
15 release_firmware(ast->dp501_fw); in ast_release_firmware()
16 ast->dp501_fw = NULL; in ast_release_firmware()
24 ret = request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); in ast_load_dp501_microcode()
28 return devm_add_action_or_reset(dev->dev, ast_release_firmware, ast); in ast_load_dp501_microcode()
192 if (ast->config_mode != ast_use_p2a) in ast_backup_fw()
213 if (ast->config_mode != ast_use_p2a) in ast_launch_m68k()
219 if (ast->dp501_fw_addr) { in ast_launch_m68k()
220 fw_addr = ast->dp501_fw_addr; in ast_launch_m68k()
223 if (!ast->dp501_fw && in ast_launch_m68k()
227 fw_addr = (u8 *)ast->dp501_fw->data; in ast_launch_m68k()
228 len = ast->dp501_fw->size; in ast_launch_m68k()
248 boot_address -= 0x200000; /* -2MB */ in ast_launch_m68k()
277 u32 boot_address, offset, data; in ast_dp501_is_connected() local
279 if (ast->config_mode == ast_use_p2a) { in ast_dp501_is_connected()
283 offset = AST_DP501_GBL_VERSION; in ast_dp501_is_connected()
284 data = ast_mindwm(ast, boot_address + offset); in ast_dp501_is_connected()
289 offset = AST_DP501_PNPMONITOR; in ast_dp501_is_connected()
290 data = ast_mindwm(ast, boot_address + offset); in ast_dp501_is_connected()
294 if (!ast->dp501_fw_buf) in ast_dp501_is_connected()
298 offset = 0x0000; in ast_dp501_is_connected()
299 data = readl(ast->dp501_fw_buf + offset); in ast_dp501_is_connected()
302 offset = AST_DP501_GBL_VERSION; in ast_dp501_is_connected()
303 data = readl(ast->dp501_fw_buf + offset); in ast_dp501_is_connected()
308 offset = AST_DP501_PNPMONITOR; in ast_dp501_is_connected()
309 data = readl(ast->dp501_fw_buf + offset); in ast_dp501_is_connected()
319 u32 i, boot_address, offset, data; in ast_dp501_read_edid() local
325 if (ast->config_mode == ast_use_p2a) { in ast_dp501_read_edid()
329 offset = AST_DP501_EDID_DATA; in ast_dp501_read_edid()
331 data = ast_mindwm(ast, boot_address + offset + i); in ast_dp501_read_edid()
337 offset = AST_DP501_EDID_DATA; in ast_dp501_read_edid()
339 data = readl(ast->dp501_fw_buf + offset + i); in ast_dp501_read_edid()
368 /* multi-pins for DVO single-edge */ in ast_init_dvo()
373 /* multi-pins for DVO single-edge */ in ast_init_dvo()
378 /* multi-pins for DVO single-edge */ in ast_init_dvo()
384 /* multi-pins for DVO single-edge */ in ast_init_dvo()
389 /* multi-pins for DVO single-edge */ in ast_init_dvo()
394 /* multi-pins for DVO single-edge */ in ast_init_dvo()
399 /* multi-pins for DVO single-edge */ in ast_init_dvo()
404 /* multi-pins for DVO single-edge */ in ast_init_dvo()
466 if (ast->tx_chip_types & BIT(AST_TX_SIL164)) in ast_init_3rdtx()