70 printk(
BIOS_ERR,
"PTN3460 error: Unable to get EDID data from mainboard.\n");
77 printk(
BIOS_ERR,
"PTN3460 error: invalid EDID table (%d) selected.\n",
84 printk(
BIOS_ERR,
"PTN3460 error: writing EDID data into device failed.\n");
94 "PTN3460 error: Unable to read config data from device.\n");
107 "PTN3460 error: Unable to write config data.\n");
cb_err
coreboot error codes
@ CB_ERR
Generic error code.
@ CB_SUCCESS
Call completed successfully.
#define printk(level,...)
int i2c_dev_writeb_at(struct device *const dev, const uint8_t off, const uint8_t val)
int i2c_dev_readb_at(struct device *const dev, uint8_t off)
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
static void noop_set_resources(struct device *dev)
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
static void ptn3460_init(struct device *dev)
This function sets up the DP2LVDS-converter to be used with the appropriate EDID data.
__weak enum cb_err mb_get_edid(uint8_t edid_data[0x80])
static void ptn3460_enable(struct device *dev)
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 an...
__weak int mb_adjust_cfg(struct ptn_3460_config *cfg_ptr)
struct chip_operations drivers_i2c_ptn3460_ops
static struct device_operations ptn3460_ops
__weak uint8_t mb_select_edid_table(void)
static int ptn3460_write_edid(struct device *dev, u8 edid_num, u8 *data)
This function writes one EDID data structure to PTN3460.
#define PTN_ENABLE_EMULATION
const struct smm_save_state_ops *legacy_ops __weak
void(* read_resources)(struct device *dev)
struct device_operations * ops