Home
last modified time | relevance | path

Searched defs:gpio (Results 1 – 25 of 185) sorted by relevance

12345678

/u-boot/arch/m68k/include/asm/
A Dimmap_5445x.h100 typedef struct gpio { struct
109 u8 resv0[0x1];
119 u8 resv1[0x2];
132 u8 resv2[0x1];
142 u8 resv3[0x2];
155 u8 resv4[0x1];
165 u8 resv5[0x2];
178 u8 resv6[0x1];
188 u8 resv7[0x2];
201 u8 resv8[0x1];
[all …]
A Dimmap_5227x.h91 typedef struct gpio { struct
93 u8 podr_be; /* 0x00 */
94 u8 podr_cs; /* 0x01 */
97 u8 rsvd1; /* 0x04 */
107 u8 pddr_be; /* 0x0C */
111 u8 rsvd2; /* 0x10 */
125 u8 rsvd3; /* 0x1C */
139 u8 rsvd4; /* 0x28 */
149 u8 par_be; /* 0x30 */
150 u8 par_cs; /* 0x31 */
[all …]
A Dimmap_547x_8x.h118 typedef struct gpio { struct
123 u8 rsvd1; /*0x03 */
131 u8 rsvd2; /*0x0B */
135 u8 rsvd3; /*0x0F */
141 u8 rsvd4; /*0x13 */
149 u8 rsvd5; /*0x1B */
153 u8 rsvd6; /*0x1F */
159 u8 rsvd7; /*0x23 */
167 u8 rsvd8; /*0x2B */
171 u8 rsvd9; /*0x2F */
[all …]
A Dimmap_5441x.h125 typedef struct gpio { struct
126 u8 podr_a; /* 0x00 */
127 u8 podr_b; /* 0x01 */
128 u8 podr_c; /* 0x02 */
137 u8 rsvd0; /* 0x0B */
150 u8 rsvd1; /* 0x17 */
163 u8 rsvd2; /* 0x23 */
176 u8 rsvd3; /* 0x2F */
212 u8 rsvd5; /* 0x5D */
214 u8 rsvd6; /* 0x5F */
[all …]
/u-boot/arch/powerpc/include/asm/
A Dmpc85xx_gpio.h23 ccsr_gpio_t *gpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in mpc85xx_gpio_set() local
59 ccsr_gpio_t *gpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in mpc85xx_gpio_get() local
69 static inline int gpio_request(unsigned gpio, const char *label) in gpio_request()
75 static inline int gpio_free(unsigned gpio) in gpio_free()
81 static inline int gpio_direction_input(unsigned gpio) in gpio_direction_input()
87 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
96 static inline int gpio_get_value(unsigned gpio) in gpio_get_value()
101 static inline int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
110 static inline int gpio_is_valid(int gpio) in gpio_is_valid()
/u-boot/drivers/gpio/
A Dspear_gpio.c17 static int gpio_direction(unsigned gpio, in gpio_direction()
35 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
47 int gpio_get_value(unsigned gpio) in gpio_get_value()
57 int gpio_request(unsigned gpio, const char *label) in gpio_request()
65 int gpio_free(unsigned gpio) in gpio_free()
70 void gpio_toggle_value(unsigned gpio) in gpio_toggle_value()
75 int gpio_direction_input(unsigned gpio) in gpio_direction_input()
80 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
A Ds5p_gpio.c26 #define DAT_MASK(gpio) (0x1 << (gpio)) argument
27 #define DAT_SET(gpio) (0x1 << (gpio)) argument
29 #define PULL_MASK(gpio) (0x3 << ((gpio) << 1)) argument
34 #define RATE_MASK(gpio) (0x1 << (gpio + 16)) argument
35 #define RATE_SET(gpio) (0x1 << (gpio + 16)) argument
98 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
183 int s5p_gpio_get_pin(unsigned gpio) in s5p_gpio_get_pin()
240 void gpio_set_pull(int gpio, int mode) in gpio_set_pull()
246 void gpio_set_drv(int gpio, int mode) in gpio_set_drv()
252 void gpio_cfg_pin(int gpio, int cfg) in gpio_cfg_pin()
[all …]
A Dmvgpio.c22 int gpio_request(unsigned gpio, const char *label) in gpio_request()
31 int gpio_free(unsigned gpio) in gpio_free()
36 int gpio_direction_input(unsigned gpio) in gpio_direction_input()
50 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
65 int gpio_get_value(unsigned gpio) in gpio_get_value()
81 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
A Dadi_gpio2.c22 static void gpio_error(unsigned gpio) in gpio_error()
61 inline int check_gpio(unsigned gpio) in check_gpio()
113 unsigned short get_gpio_dir(unsigned gpio) in get_gpio_dir()
248 int gpio_request(unsigned gpio, const char *label) in gpio_request()
281 int gpio_free(unsigned gpio) in gpio_free()
333 void special_gpio_free(unsigned gpio) in special_gpio_free()
356 int gpio_direction_input(unsigned gpio) in gpio_direction_input()
372 int gpio_set_value(unsigned gpio, int arg) in gpio_set_value()
382 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
406 int gpio_get_value(unsigned gpio) in gpio_get_value()
[all …]
A Domap_gpio.c46 int gpio_is_valid(int gpio) in gpio_is_valid()
101 static int _get_gpio_value(const struct gpio_bank *bank, int gpio) in _get_gpio_value()
122 static inline int get_gpio_index(int gpio) in get_gpio_index()
127 static inline const struct gpio_bank *get_gpio_bank(int gpio) in get_gpio_bank()
132 static int check_gpio(int gpio) in check_gpio()
144 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
159 int gpio_get_value(unsigned gpio) in gpio_get_value()
173 int gpio_direction_input(unsigned gpio) in gpio_direction_input()
189 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
208 int gpio_request(unsigned gpio, const char *label) in gpio_request()
[all …]
A Dda8xx_gpio.c315 int gpio_request(unsigned int gpio, const char *label) in gpio_request()
332 int gpio_free(unsigned int gpio) in gpio_free()
347 static int _gpio_direction_input(struct davinci_gpio *bank, unsigned int gpio) in _gpio_direction_input()
353 static int _gpio_get_value(struct davinci_gpio *bank, unsigned int gpio) in _gpio_get_value()
370 static int _gpio_get_dir(struct davinci_gpio *bank, unsigned int gpio) in _gpio_get_dir()
375 static int _gpio_direction_output(struct davinci_gpio *bank, unsigned int gpio, in _gpio_direction_output()
387 unsigned int gpio, dir, val; in gpio_info() local
402 int gpio_direction_input(unsigned int gpio) in gpio_direction_input()
410 int gpio_direction_output(unsigned int gpio, int value) in gpio_direction_output()
418 int gpio_get_value(unsigned int gpio) in gpio_get_value()
[all …]
A Dpca9698.c43 static void pca9698_set_bit(unsigned gpio, u8 *buffer, unsigned value) in pca9698_set_bit()
54 int pca9698_request(unsigned gpio, const char *label) in pca9698_request()
62 void pca9698_free(unsigned gpio) in pca9698_free()
66 int pca9698_direction_input(u8 addr, unsigned gpio) in pca9698_direction_input()
80 int pca9698_direction_output(u8 addr, unsigned gpio, int value) in pca9698_direction_output()
98 int pca9698_get_value(u8 addr, unsigned gpio) in pca9698_get_value()
115 int pca9698_set_value(u8 addr, unsigned gpio, int value) in pca9698_set_value()
A Dmpc83xx_gpio.c37 int gpio_request(unsigned gpio, const char *label) in gpio_request()
45 int gpio_free(unsigned gpio) in gpio_free()
52 int gpio_direction_input(unsigned gpio) in gpio_direction_input()
72 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
100 int gpio_get_value(unsigned gpio) in gpio_get_value()
119 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
A Dkona_gpio.c17 #define GPIO_BANK(gpio) ((gpio) >> 5) argument
18 #define GPIO_BITMASK(gpio) \ argument
46 int gpio_request(unsigned gpio, const char *label) in gpio_request()
58 int gpio_free(unsigned gpio) in gpio_free()
70 int gpio_direction_input(unsigned gpio) in gpio_direction_input()
82 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
101 int gpio_get_value(unsigned gpio) in gpio_get_value()
120 void gpio_set_value(unsigned gpio, int value) in gpio_set_value()
A Dmpc83xx_spisel_boot.c21 static u32 gpio_mask(uint gpio) in gpio_mask()
26 static int mpc83xx_spisel_boot_direction_input(struct udevice *dev, uint gpio) in mpc83xx_spisel_boot_direction_input()
31 static int mpc83xx_spisel_boot_set_value(struct udevice *dev, uint gpio, int value) in mpc83xx_spisel_boot_set_value()
46 static int mpc83xx_spisel_boot_direction_output(struct udevice *dev, uint gpio, int value) in mpc83xx_spisel_boot_direction_output()
51 static int mpc83xx_spisel_boot_get_value(struct udevice *dev, uint gpio) in mpc83xx_spisel_boot_get_value()
58 static int mpc83xx_spisel_boot_get_function(struct udevice *dev, uint gpio) in mpc83xx_spisel_boot_get_function()
A Dvybrid_gpio.c24 static int vybrid_gpio_direction_input(struct udevice *dev, unsigned gpio) in vybrid_gpio_direction_input()
34 static int vybrid_gpio_direction_output(struct udevice *dev, unsigned gpio, in vybrid_gpio_direction_output()
46 static int vybrid_gpio_get_value(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_value()
53 static int vybrid_gpio_set_value(struct udevice *dev, unsigned gpio, in vybrid_gpio_set_value()
65 static int vybrid_gpio_get_function(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_function()
A Ddb8500_gpio.c60 static void __iomem *get_gpio_addr(unsigned gpio) in get_gpio_addr()
78 static unsigned get_gpio_offset(unsigned gpio) in get_gpio_offset()
84 static void gpio_set_mode(unsigned gpio, enum db8500_gpio_alt mode) in gpio_set_mode()
115 void db8500_gpio_set_pull(unsigned gpio, enum db8500_gpio_pull pull) in db8500_gpio_set_pull()
135 void db8500_gpio_make_input(unsigned gpio) in db8500_gpio_make_input()
143 int db8500_gpio_get_input(unsigned gpio) in db8500_gpio_get_input()
155 void db8500_gpio_make_output(unsigned gpio, int val) in db8500_gpio_make_output()
164 void db8500_gpio_set_output(unsigned gpio, int val) in db8500_gpio_set_output()
A Dhi6220_gpio.c14 static int hi6220_gpio_direction_input(struct udevice *dev, unsigned int gpio) in hi6220_gpio_direction_input()
26 static int hi6220_gpio_set_value(struct udevice *dev, unsigned gpio, in hi6220_gpio_set_value()
35 static int hi6220_gpio_direction_output(struct udevice *dev, unsigned gpio, in hi6220_gpio_direction_output()
50 static int hi6220_gpio_get_value(struct udevice *dev, unsigned gpio) in hi6220_gpio_get_value()
A Dtegra_gpio.c44 static int get_config(unsigned gpio) in get_config()
61 static void set_config(unsigned gpio, int type) in set_config()
79 static int get_direction(unsigned gpio) in get_direction()
96 static void set_direction(unsigned gpio, int output) in set_direction()
114 static void set_level(unsigned gpio, int high) in set_level()
154 int gpio = state->base_gpio + offset; in tegra_gpio_direction_output() local
172 int gpio = state->base_gpio + offset; in tegra_gpio_get_value() local
190 int gpio = state->base_gpio + offset; in tegra_gpio_set_value() local
226 int gpio = state->base_gpio + offset; in tegra_gpio_get_function() local
239 int gpio, port, ret; in tegra_gpio_xlate() local
/u-boot/arch/m68k/cpu/mcf532x/
A Dcpu_init.c28 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
124 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
178 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local
217 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
305 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
342 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local
/u-boot/arch/m68k/cpu/mcf5445x/
A Dcpu_init.c74 gpio_t *gpio = (gpio_t *)MMAP_GPIO; in cfspi_port_conf() local
106 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
279 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
408 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local
/u-boot/arch/mips/mach-jz47xx/jz4780/
A Dgpio.c9 int jz47xx_gpio_get_value(unsigned int gpio) in jz47xx_gpio_get_value()
18 void jz47xx_gpio_direction_input(unsigned int gpio) in jz47xx_gpio_direction_input()
29 void jz47xx_gpio_direction_output(unsigned int gpio, int value) in jz47xx_gpio_direction_output()
/u-boot/arch/m68k/cpu/mcf5227x/
A Dcpu_init.c23 gpio_t *gpio = (gpio_t *)MMAP_GPIO; in cfspi_port_conf() local
39 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
129 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
/u-boot/arch/m68k/cpu/mcf547x_8x/
A Dcpu_init.c34 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
106 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
131 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local
/u-boot/arch/m68k/cpu/mcf523x/
A Dcpu_init.c40 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
128 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
163 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local

Completed in 55 milliseconds

12345678