![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
Go to the source code of this file.
Data Structures | |
struct | ptn_3460_config |
struct | ptn_3460_flash |
Macros | |
#define | PTN_EDID_OFF 0x00 |
#define | PTN_EDID_LEN 0x80 |
#define | PTN_CONFIG_OFF 0x80 |
#define | PTN_CONFIG_LEN 0x19 |
#define | PTN_FLASH_CFG_OFF 0xE8 |
#define | PTN_FLASH_CFG_LEN 0x04 |
#define | PTN_MAX_EDID_NUM 6 |
#define | PTN_ENABLE_EMULATION (1 << 0) |
#define | PTN_SUCCESS 0x00000000 |
#define | PTN_CFG_MODIFIED 0x00000001 |
#define | PTN_BUS_ERROR 0x10000000 |
#define | PTN_INVALID_EDID 0x20000000 |
#define | PTN_INVALID_EDID_BLOCK 0x30000000 |
#define | PTN_ERROR 0x40000000 |
Functions | |
enum cb_err | mb_get_edid (uint8_t edid_data[0x80]) |
This function provides EDID data to the driver for DP2LVDS Bridge (PTN3460) More... | |
uint8_t | mb_select_edid_table (void) |
This function provides EDID block [0..6] to the driver for DP2LVDS Bridge (PTN3460) which has to be used. More... | |
int | mb_adjust_cfg (struct ptn_3460_config *cfg_ptr) |
Function to enable mainboard to adjust the config data of PTN3460. More... | |
Variables | |
struct ptn_3460_config | __packed |
int mb_adjust_cfg | ( | struct ptn_3460_config * | cfg | ) |
Function to enable mainboard to adjust the config data of PTN3460.
*cfg_ptr | Pointer to the PTN config structure to modify. |
Definition at line 122 of file ptn3460.c.
References ptn_3460_config::backlight_ctrl, BIOS_ERR, CB_SUCCESS, ptn_3460_config::dp_interface_ctrl, ptn_3460_config::lvds_interface_ctrl1, ptn_3460_config::lvds_interface_ctrl2, ptn_3460_config::lvds_interface_ctrl3, printk, PTN_CFG_MODIFIED, ptn_3460_config::t12_timing, ptn_3460_config::t2_delay, ptn_3460_config::t3_timing, ptn_3460_config::t4_timing, and ptn_3460_config::t5_delay.
Referenced by ptn3460_init().
This function provides EDID data to the driver for DP2LVDS Bridge (PTN3460)
edid_data | pointer to EDID data in driver |
Definition at line 114 of file ptn3460.c.
References BIOS_ERR, CB_ERR, CB_SUCCESS, printk, and PTN_EDID_LEN.
Referenced by ptn3460_init().
This function provides EDID block [0..6] to the driver for DP2LVDS Bridge (PTN3460) which has to be used.
Definition at line 118 of file ptn3460.c.
Referenced by ptn3460_init().
struct ptn_3460_flash __packed |