Debian Codegraph @

src/mainboard/lenovo/x200/mainboard.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <device/device.h>
4 #include <drivers/intel/gma/int15.h>
5 #include <drivers/lenovo/lenovo.h>
6
7 static void fill_ssdt(const struct device *device)
8 {
9 drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0);
10 }
11
12 static void mainboard_enable(struct device *dev)
13 {
14 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
15 GMA_INT15_PANEL_FIT_CENTERING,
16 GMA_INT15_BOOT_DISPLAY_DEFAULT, 2);
17
18 dev->ops->acpi_fill_ssdt = fill_ssdt;
19 }
20
21 struct chip_operations mainboard_ops = {
22 .enable_dev = mainboard_enable,
23 };