coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
wacom.c File Reference
#include <types.h>
#include <console/console.h>
#include <acpi/acpigen.h>
#include <device/device.h>
#include <device/pnp.h>
#include <string.h>
#include "lenovo.h"
#include "drivers/i2c/at24rf08c/lenovo.h"
Include dependency graph for wacom.c:

Go to the source code of this file.

Functions

int drivers_lenovo_is_wacom_present (void)
 
void drivers_lenovo_serial_ports_ssdt_generate (const char *scope, int have_dock_serial)
 

Variables

static const char tablet_numbers [][5]
 

Function Documentation

◆ drivers_lenovo_is_wacom_present()

int drivers_lenovo_is_wacom_present ( void  )

Definition at line 26 of file wacom.c.

References ARRAY_SIZE, BIOS_DEBUG, BIOS_INFO, CONFIG, dev_find_slot_pnp(), lenovo_mainboard_partnumber(), memcmp(), pnp_read_config(), printk, and tablet_numbers.

Referenced by drivers_lenovo_serial_ports_ssdt_generate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drivers_lenovo_serial_ports_ssdt_generate()

void drivers_lenovo_serial_ports_ssdt_generate ( const char *  scope,
int  have_dock_serial 
)

Variable Documentation

◆ tablet_numbers

const char tablet_numbers[][5]
static
Initial value:
= {
"6363", "6364", "6365", "6366",
"6367", "6368", "7762", "7763",
"7764", "7767", "7768", "7769",
"7448", "7449", "7450", "7453",
"0053", "0831", "2985", "3093",
"3113", "3144", "3239", "4184",
"2263", "2266",
}

Definition at line 12 of file wacom.c.

Referenced by drivers_lenovo_is_wacom_present().