Home
last modified time | relevance | path

Searched full:gpio2 (Results 1 – 25 of 1251) sorted by relevance

12345678910>>...51

/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dgpio-au1000.h15 * GPIO0-31 from GPIO1 block, GPIO200-215 from GPIO2 block.
36 /* register offsets within GPIO2 block */
281 * GPIO2 block macros for common linux GPIO functions. The 'gpio'
357 /* GPIO2 shared interrupts and control */
359 static inline void __alchemy_gpio2_mod_int(int gpio2, int en) in __alchemy_gpio2_mod_int() argument
364 r |= 1 << gpio2; in __alchemy_gpio2_mod_int()
366 r &= ~(1 << gpio2); in __alchemy_gpio2_mod_int()
372 * alchemy_gpio2_enable_int - Enable a GPIO2 pins' shared irq contribution.
373 * @gpio2: The GPIO2 pin to activate (200...215).
383 * GPIO2-based interrupts have their own request to the INTC. Please
[all …]
/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_gpio-test.c383 uint32_t gpio2 = GPIO_BASE_ADDR + (GPIO_H - gpio); in test_push_pull() local
396 gpio_set_irq(gpio2, pin, 0); in test_push_pull()
397 gpio_set_bit(gpio2, ODR, pin, 1); in test_push_pull()
398 gpio_set_2bits(gpio2, MODER, pin, MODER_OUTPUT); in test_push_pull()
399 g_assert_cmphex(get_disconnected_pins(gpio2), ==, 0xFFFF); in test_push_pull()
400 g_assert_cmphex(gpio_readl(gpio2, IDR), ==, reset(gpio2, IDR) | (1 << pin)); in test_push_pull()
408 gpio_set_irq(gpio2, pin, 0); in test_push_pull()
409 g_assert_cmphex(get_disconnected_pins(gpio2), ==, 0xFFFF); in test_push_pull()
410 g_assert_cmphex(gpio_readl(gpio2, IDR), ==, reset(gpio2, IDR) | (1 << pin)); in test_push_pull()
414 gpio_writel(gpio2, ODR, reset(gpio2, ODR)); in test_push_pull()
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam57xx-evm.dtso31 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
64 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
99 attb-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
100 interrupt-parent = <&gpio2>;
103 reset-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
H A Dam335x-baltos-ir2110.dts27 …AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] D…
28 …AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_hsync.gpio2[23] DS…
29 …AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_pclk.gpio2[24] DCD …
30 …NF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_ac_bias_en.gpio2[25] RI */
44 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
45 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
46 dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
47 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
157 &gpio2 {
H A Dam335x-baltos-ir3220.dts33 …AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] D…
34 …AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_hsync.gpio2[23] DS…
35 …AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_pclk.gpio2[24] DCD …
36 …NF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_ac_bias_en.gpio2[25] RI */
65 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
66 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
67 dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
68 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
128 cd-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
203 &gpio2 {
H A Dam335x-baltos-ir5221.dts41 …AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* lcd_vsync.gpio2[22] D…
42 …AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_hsync.gpio2[23] DS…
43 …AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_pclk.gpio2[24] DCD …
44 …NF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_ac_bias_en.gpio2[25] RI */
73 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
74 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
75 dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
76 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
152 cd-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
227 &gpio2 {
H A Dam571x-idk.dts55 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
62 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
68 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
75 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
81 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
87 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
122 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
176 load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
H A Dam335x-netcom-plus-2xx.dts60 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
61 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
62 dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
63 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
169 &gpio2 {
/openbmc/u-boot/board/bosch/shc/
H A Dmux.c142 {OFFSET(gpmc_advn_ale), (MODE(7) | PULLUDDIS)}, /* gpio2[2] - LED_Cloud_RD */
143 {OFFSET(gpmc_oen_ren), (MODE(7) | PULLUDDIS | RXACTIVE)}, /* gpio2[3] - #WIFI_POR */
144 {OFFSET(gpmc_wen), (MODE(7) | PULLUDDIS)}, /* gpio2[4] - N/C */
145 {OFFSET(gpmc_be0n_cle), (MODE(7) | PULLUDDIS)}, /* gpio2[5] - EEPROM_WP */
146 {OFFSET(lcd_data0), (MODE(7) | PULLUDDIS)}, /* gpio2[6] */
147 {OFFSET(lcd_data1), (MODE(7) | PULLUDDIS)}, /* gpio2[7] */
148 {OFFSET(lcd_data2), (MODE(7) | PULLUDDIS)}, /* gpio2[8] */
149 {OFFSET(lcd_data3), (MODE(7) | PULLUDDIS)}, /* gpio2[9] */
150 {OFFSET(lcd_data4), (MODE(7) | PULLUDDIS)}, /* gpio2[10] */
151 {OFFSET(lcd_data5), (MODE(7) | PULLUDDIS)}, /* gpio2[11] */
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dphy-mapphone-mdm6600.txt18 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
19 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
25 motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
26 <&gpio2 21 GPIO_ACTIVE_HIGH>,
27 <&gpio2 23 GPIO_ACTIVE_HIGH>;
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-cards.c170 .gpio2 = 0x00F5e700,
177 .gpio2 = 0x00F5c700,
184 .gpio2 = 0x00F5c700,
191 .gpio2 = 0x00F5d700,
234 .gpio2 = 0x0000ff40,
240 .gpio2 = 0x0000ff40,
246 .gpio2 = 0x0000ff40,
253 .gpio2 = 0x0000ff20,
268 .gpio2 = 0x0035e700,
275 .gpio2 = 0x0035c700,
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dgpio-matrix-keypad.txt36 row-gpios = <&gpio2 25 0
37 &gpio2 26 0
38 &gpio2 27 0>;
40 col-gpios = <&gpio2 21 0
41 &gpio2 22 0>;
/openbmc/u-boot/arch/arm/dts/
H A Dam571x-idk.dts29 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
36 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
42 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
55 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
61 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a-clearfog-itx.dtsi30 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
37 mod-def0-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
44 mod-def0-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
51 mod-def0-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
58 mod-def0-gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs35l41.yaml118 Note that the options are different from the GPIO2 pin
127 cirrus,gpio2-polarity-invert:
129 Boolean which specifies whether the GPIO2
133 cirrus,gpio2-output-enable:
135 Boolean which specifies whether the GPIO2 pin
140 cirrus,gpio2-src-select:
142 Configures the function of the GPIO2 pin.
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-hrefprev60-stuib.dts39 interrupt-parent = <&gpio2>;
41 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
45 interrupt-parent = <&gpio2>;
47 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
H A Dste-hrefv60plus-stuib.dts44 interrupt-parent = <&gpio2>;
46 touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
50 interrupt-parent = <&gpio2>;
52 touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-max3191x.txt53 maxim,modesel-gpios = <&gpio2 23>;
54 maxim,fault-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
55 maxim,db0-gpios = <&gpio2 25>;
56 maxim,db1-gpios = <&gpio2 26>;
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-l-50.dts65 gpio2: gpio-expander@20 { label
112 gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
118 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
123 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
128 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
135 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
140 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
147 gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml81 enum: [ fpga-gpio1, fpga-gpio2, fpga-gpio3, fpga-gpio4,
82 fpga-gpio5, fpga-gpio6, codec-gpio1, codec-gpio2,
84 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
86 gf-gpio2, gf-gpio3, gf-gpio7, codec-aif1-bclk,
116 enum: [ aif, fpga-gpio1, fpga-gpio2, fpga-gpio3, fpga-gpio4,
117 fpga-gpio5, fpga-gpio6, codec-gpio1, codec-gpio2,
119 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
121 gf-gpio2, gf-gpio3, gf-gpio7, gf-gpio1, gf-gpio5,
/openbmc/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs-icicle-kit.dts40 gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
46 gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
52 gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>;
58 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
92 &gpio2 {
/openbmc/linux/drivers/hwmon/
H A Datxp1.c46 u8 gpio2; /* General purpose I/O register 2 */ member
65 data->reg.gpio2 = i2c_smbus_read_byte_data(client, ATXP1_GPIO2); in atxp1_update_device()
196 /* sys file functions for GPIO2 */
205 size = sprintf(buf, "0x%02x\n", data->reg.gpio2); in gpio2_show()
223 if (value != data->reg.gpio2) { in gpio2_store()
235 * GPIO2 data register
238 static DEVICE_ATTR_RW(gpio2);
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dsolomon,ssd1307fb.yaml255 reset-gpios = <&gpio2 7>;
262 reset-gpios = <&gpio2 7>;
278 reset-gpios = <&gpio2 7>;
279 dc-gpios = <&gpio2 8>;
287 reset-gpios = <&gpio2 7>;
288 dc-gpios = <&gpio2 8>;
/openbmc/linux/Documentation/devicetree/bindings/display/ti/
H A Dti,tpd12s015.txt20 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
21 <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */
22 <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dgpio-fan.txt34 gpios = <&gpio2 14 1
35 &gpio2 13 1>;
39 alarm-gpios = <&gpio2 15 1>;

12345678910>>...51