kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
20 lines
482 B
C
20 lines
482 B
C
#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 */
|