coreboot-libre-fam15h-rdimm/3rdparty/chromeec/chip/mchp/gpio_chip.h

39 lines
646 B
C

/* Copyright 2017 The Chromium OS Authors. All rights reserved
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Register map for MCHP MEC processor
*/
/** @file gpio_chip.h
*MEC GPIO module
*/
/** @defgroup MEC gpio
*/
#ifndef _GPIO_CHIP_H
#define _GPIO_CHIP_H
#include <stdint.h>
#include <stddef.h>
#include "gpio.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Place any C interfaces here */
int gpio_power_off(enum gpio_signal signal);
void gpio_power_off_by_mask(uint32_t port, uint32_t mask);
#ifdef __cplusplus
}
#endif
#endif /* #ifndef _GPIO_CHIP_H */
/** @}
*/