HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/root/usr/src/linux-headers-5.15.0-89-generic/include/linux/gpio/aspeed.h
#ifndef __GPIO_ASPEED_H
#define __GPIO_ASPEED_H

struct aspeed_gpio_copro_ops {
	int (*request_access)(void *data);
	int (*release_access)(void *data);
};

int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
				u16 *vreg_offset, u16 *dreg_offset, u8 *bit);
int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
int aspeed_gpio_copro_set_ops(const struct aspeed_gpio_copro_ops *ops, void *data);


#endif /* __GPIO_ASPEED_H */