cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

aspeed.h (437B)


      1#ifndef __GPIO_ASPEED_H
      2#define __GPIO_ASPEED_H
      3
      4struct aspeed_gpio_copro_ops {
      5	int (*request_access)(void *data);
      6	int (*release_access)(void *data);
      7};
      8
      9int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
     10				u16 *vreg_offset, u16 *dreg_offset, u8 *bit);
     11int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
     12int aspeed_gpio_copro_set_ops(const struct aspeed_gpio_copro_ops *ops, void *data);
     13
     14
     15#endif /* __GPIO_ASPEED_H */