coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
void | ast_set_index_reg_mask (struct ast_private *ast, uint32_t base, uint8_t index, uint8_t mask, uint8_t val) |
uint8_t | ast_get_index_reg (struct ast_private *ast, uint32_t base, uint8_t index) |
uint8_t | ast_get_index_reg_mask (struct ast_private *ast, uint32_t base, uint8_t index, uint8_t mask) |
static void | ast_detect_config_mode (struct drm_device *dev, u32 *scu_rev) |
static int | ast_detect_chip (struct drm_device *dev, bool *need_post) |
static int | ast_get_dram_info (struct drm_device *dev) |
static u32 | ast_get_vram_info (struct drm_device *dev) |
int | ast_driver_load (struct drm_device *dev, unsigned long flags) |
|
static |
Definition at line 80 of file ast_main.c.
References __fallthrough, ast, AST1100, AST1180, AST2000, AST2100, AST2150, AST2200, AST2300, AST2400, AST2500, ast_backup_fw(), ast_detect_config_mode(), ast_enable_mmio(), ast_enable_vga(), ast_get_index_reg_mask(), AST_IO_CRTC_PORT, ast_is_vga_enabled(), ast_open_key(), AST_TX_DP501, AST_TX_NONE, AST_TX_SIL164, ast_private::chip, ast_private::dev, drm_device::dev_private, ast_private::dp501_fw_addr, DRM_INFO, GFP_KERNEL, kfree, kzalloc(), NULL, PCI_CHIP_AST1180, pci_read_config_dword(), drm_device::pdev, ast_private::support_wide_screen, ast_private::tx_chip_type, and ast_private::vga2_clone.
Referenced by ast_driver_load().
|
static |
Definition at line 39 of file ast_main.c.
References ast, ast_get_index_reg_mask(), AST_IO_CRTC_PORT, ast_private::ast_use_defaults, ast_private::ast_use_p2a, ast_private::config_mode, ast_private::dev, drm_device::dev_private, DRM_INFO, PCI_CHIP_AST2000, and drm_device::pdev.
Referenced by ast_detect_chip().
int ast_driver_load | ( | struct drm_device * | dev, |
unsigned long | flags | ||
) |
Definition at line 380 of file ast_main.c.
References ast, AST1180, ast_detect_chip(), ast_get_dram_info(), ast_get_vram_info(), AST_IO_MM_OFFSET, ast_post_gpu(), ast_private::chip, ast_private::dev, dev_err, drm_device::dev_private, ast_private::dram_bus_width, ast_private::dram_type, DRM_INFO, EIO, ENOMEM, resource::flags, GFP_KERNEL, ast_private::io_space_uses_mmap, ast_private::ioregs, IORESOURCE_IO, kfree, kzalloc(), ast_private::mclk, NULL, PCI_BASE_ADDRESS_1, PCI_BASE_ADDRESS_2, drm_device::pdev, probe_resource(), ast_private::regs, res2mmio(), and ast_private::vram_size.
|
static |
Definition at line 235 of file ast_main.c.
References ast, AST2300, AST2400, AST2500, AST_DRAM_1Gx16, AST_DRAM_1Gx32, AST_DRAM_2Gx16, AST_DRAM_4Gx16, AST_DRAM_512Mx16, AST_DRAM_512Mx32, AST_DRAM_8Gx16, ast_private::ast_use_defaults, ast_private::ast_use_dt, ast_private::ast_use_p2a, ast_private::chip, ast_private::config_mode, ast_private::dev, drm_device::dev_private, ast_private::dram_bus_width, ast_private::dram_type, and ast_private::mclk.
Referenced by ast_driver_load().
uint8_t ast_get_index_reg | ( | struct ast_private * | ast, |
uint32_t | base, | ||
uint8_t | index | ||
) |
Definition at line 21 of file ast_main.c.
uint8_t ast_get_index_reg_mask | ( | struct ast_private * | ast, |
uint32_t | base, | ||
uint8_t | index, | ||
uint8_t | mask | ||
) |
Definition at line 30 of file ast_main.c.
References ast, base, and mask.
Referenced by ast_detect_chip(), ast_detect_config_mode(), ast_get_vram_info(), ast_init_3rdtx(), ast_init_dram_reg(), ast_init_dvo(), ast_launch_m68k(), ast_post_chip_2300(), ast_post_chip_2500(), send_ack(), send_nack(), set_clock(), wait_ack(), and wait_nack().
|
static |
Definition at line 348 of file ast_main.c.
References ast, ast_get_index_reg_mask(), AST_IO_CRTC_PORT, ast_open_key(), AST_VIDMEM_DEFAULT_SIZE, AST_VIDMEM_SIZE_16M, AST_VIDMEM_SIZE_32M, AST_VIDMEM_SIZE_64M, AST_VIDMEM_SIZE_8M, ast_private::dev, drm_device::dev_private, and ast_private::vram_size.
Referenced by ast_driver_load().
void ast_set_index_reg_mask | ( | struct ast_private * | ast, |
uint32_t | base, | ||
uint8_t | index, | ||
uint8_t | mask, | ||
uint8_t | val | ||
) |
Definition at line 11 of file ast_main.c.
References ast, ast_set_index_reg(), base, mask, and val.
Referenced by ast_crtc_mode_set(), ast_enable_mmio(), ast_hide_cursor(), ast_init_analog(), ast_init_dvo(), ast_post_gpu(), ast_set_crtc_reg(), ast_set_dclk_reg(), ast_set_def_ext_reg(), ast_set_ext_reg(), ast_set_std_reg(), ast_write_cmd(), ast_write_data(), clear_cmd_trigger(), send_ack(), send_nack(), set_clock(), and set_cmd_trigger().