Lines Matching refs:int
9 …const int pin_to_gpio_rev1[41] = {-1, -1, -1, 0, -1, 1, -1, 4, 14, -1, 15, 17, 18, 21, -1, 22, 23,…
10 …const int pin_to_gpio_rev2[41] = {-1, -1, -1, 2, -1, 3, -1, 4, 14, -1, 15, 17, 18, 27, -1, 22, 23,…
11 …const int pin_to_gpio_rev3[41] = {-1, -1, -1, 2, -1, 3, -1, 4, 14, -1, 15, 17, 18, 27, -1, 22, 23,…
12 +const int (*pin_to_gpio)[41];
13 +int gpio_direction[54];
15 int setup_error = 0;
16 int module_setup = 0;
25 -int gpio_mode;
26 -const int pin_to_gpio_rev1[41];
27 -const int pin_to_gpio_rev2[41];
28 -const int pin_to_gpio_rev3[41];
29 -const int (*pin_to_gpio)[41];
30 -int gpio_direction[54];
32 -int setup_error;
33 -int module_setup;
34 +extern int gpio_mode;
35 +extern const int pin_to_gpio_rev1[41];
36 +extern const int pin_to_gpio_rev2[41];
37 +extern const int pin_to_gpio_rev3[41];
38 +extern const int (*pin_to_gpio)[41];
39 +extern int gpio_direction[54];
41 +extern int setup_error;
42 +extern int module_setup;
43 int check_gpio_priv(void);
44 int get_gpio_number(int channel, unsigned int *gpio);
114 int event_occurred[54] = { 0 };
115 int thread_running = 0;
116 int epfd_thread = -1;
142 @@ -26,4 +26,4 @@ void pwm_set_duty_cycle(unsigned int gpi
143 void pwm_set_frequency(unsigned int gpio, float freq);
144 void pwm_start(unsigned int gpio);
145 void pwm_stop(unsigned int gpio);
146 -int pwm_exists(unsigned int gpio);
147 +extern int pwm_exists(unsigned int gpio);