Debian Codegraph @

src/mainboard/google/fizz/variants/karma/smihandler.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <acpi/acpi.h>
4 #include <baseboard/variants.h>
5 #include <gpio.h>
6
7 #define TS_ENABLE GPP_B4
8
9 void variant_smi_sleep(u8 slp_typ)
10 {
11 if (slp_typ == ACPI_S5) {
12 /* Set TS to disable */
13 gpio_set(TS_ENABLE, 0);
14 }
15 }