AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.137.186.26


Current Path : /usr/src/linux-headers-5.15.0-127/include/linux/gpio/
Upload File :
Current File : //usr/src/linux-headers-5.15.0-127/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 */