mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-19 16:02:36 +02:00
14 lines
668 B
C
14 lines
668 B
C
unsigned int bcm_gpio_get_dir(unsigned int gpio_num);
|
|
void bcm_gpio_set_dir(unsigned int gpio_num, unsigned int dir);
|
|
unsigned int bcm_gpio_get_data(unsigned int gpio_num);
|
|
void bcm_gpio_set_data(unsigned int gpio_num, unsigned int data);
|
|
#if defined(CONFIG_BCM960333) || defined(_BCM960333_)
|
|
unsigned int bcm_gpio_get_funcmode(unsigned int gpio_num);
|
|
void bcm_gpio_set_funcmode(unsigned int gpio_num, unsigned int mode);
|
|
#endif
|
|
|
|
#if defined(CONFIG_BCM947189) || defined(_BCM947189_)
|
|
void bcm_multi_gpio_set_dir(unsigned int gpio_mask, unsigned int dir);
|
|
void bcm_multi_gpio_set_data(unsigned int gpio_mask, unsigned int value);
|
|
#endif
|
|
int bcm_common_gpio_init(void);
|