HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.14.0-1017-azure/include/linux/gpio/aspeed.h
#ifndef __GPIO_ASPEED_H
#define __GPIO_ASPEED_H

#include <linux/types.h>

struct gpio_desc;

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 */