![]() |
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 | |
static int | ptn_select_edid (struct device *dev, uint8_t edid_num) |
This function selects one of 7 EDID-tables inside PTN3460 which should be emulated on display port and turn emulation ON. More... | |
static int | ptn3460_write_edid (struct device *dev, u8 edid_num, u8 *data) |
This function writes one EDID data structure to PTN3460. More... | |
static void | ptn3460_init (struct device *dev) |
This function sets up the DP2LVDS-converter to be used with the appropriate EDID data. More... | |
__weak enum cb_err | mb_get_edid (uint8_t edid_data[0x80]) |
__weak uint8_t | mb_select_edid_table (void) |
__weak int | mb_adjust_cfg (struct ptn_3460_config *cfg_ptr) |
static void | ptn3460_enable (struct device *dev) |
Variables | |
static struct device_operations | ptn3460_ops |
struct chip_operations | drivers_i2c_ptn3460_ops |
__weak int mb_adjust_cfg | ( | struct ptn_3460_config * | cfg_ptr | ) |
Definition at line 122 of file ptn3460.c.
Referenced by ptn3460_init().
Definition at line 114 of file ptn3460.c.
References CB_ERR.
Referenced by ptn3460_init().
Definition at line 118 of file ptn3460.c.
Referenced by ptn3460_init().
This function sets up the DP2LVDS-converter to be used with the appropriate EDID data.
*dev | Pointer to the I2C controller where PTN3460 is attached |
Definition at line 62 of file ptn3460.c.
References BIOS_ERR, CB_SUCCESS, i2c_dev_readb_at(), i2c_dev_writeb_at(), mb_adjust_cfg(), mb_get_edid(), mb_select_edid_table(), printk, ptn3460_write_edid(), PTN_CFG_MODIFIED, PTN_CONFIG_OFF, PTN_EDID_LEN, PTN_MAX_EDID_NUM, ptn_select_edid(), PTN_SUCCESS, and val.
This function writes one EDID data structure to PTN3460.
*dev | Pointer to the relevant I2C controller |
edid_num | Number of EDID that must be written (0..6) |
*data | Pointer to a buffer where data to write is stored in |
Definition at line 35 of file ptn3460.c.
References i2c_dev_writeb_at(), PTN_BUS_ERROR, PTN_CONFIG_OFF, PTN_EDID_LEN, PTN_EDID_OFF, PTN_INVALID_EDID, PTN_MAX_EDID_NUM, and PTN_SUCCESS.
Referenced by ptn3460_init().
This function selects one of 7 EDID-tables inside PTN3460 which should be emulated on display port and turn emulation ON.
*dev | Pointer to the relevant I2C controller |
edid_num | Number of EDID to emulate (0..6) |
Definition at line 16 of file ptn3460.c.
References i2c_dev_writeb_at(), PTN_BUS_ERROR, PTN_CONFIG_OFF, PTN_ENABLE_EMULATION, PTN_INVALID_EDID, PTN_MAX_EDID_NUM, PTN_SUCCESS, and val.
Referenced by ptn3460_init().
struct chip_operations drivers_i2c_ptn3460_ops |
|
static |