Home
last modified time | relevance | path

Searched refs:gpios (Results 1 – 25 of 1664) sorted by relevance

12345678910>>...67

/Linux-v5.4/drivers/tty/serial/
Dserial_mctrl_gpio.c45 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
52 if (gpios == NULL) in mctrl_gpio_set()
56 if (gpios->gpio[i] && mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_set()
57 desc_array[count] = gpios->gpio[i]; in mctrl_gpio_set()
66 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument
69 if (gpios == NULL) in mctrl_gpio_to_gpiod()
72 return gpios->gpio[gidx]; in mctrl_gpio_to_gpiod()
76 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
80 if (gpios == NULL) in mctrl_gpio_get()
84 if (gpios->gpio[i] && !mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_get()
[all …]
Dserial_mctrl_gpio.h38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
44 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
51 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl);
56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
82 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios);
87 void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios);
92 void mctrl_gpio_disable_ms(struct mctrl_gpios *gpios);
97 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
102 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
108 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get_outputs() argument
[all …]
/Linux-v5.4/sound/soc/
Dsoc-jack.c23 struct snd_soc_jack_gpio *gpios; member
320 struct snd_soc_jack_gpio *gpios) in jack_free_gpios() argument
325 gpiod_unexport(gpios[i].desc); in jack_free_gpios()
326 unregister_pm_notifier(&gpios[i].pm_notifier); in jack_free_gpios()
327 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios()
328 cancel_delayed_work_sync(&gpios[i].work); in jack_free_gpios()
329 gpiod_put(gpios[i].desc); in jack_free_gpios()
330 gpios[i].jack = NULL; in jack_free_gpios()
338 jack_free_gpios(tbl->jack, tbl->count, tbl->gpios); in jack_devres_free_gpios()
352 struct snd_soc_jack_gpio *gpios) in snd_soc_jack_add_gpios() argument
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dlpc3250-ea3250.dts27 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
33 gpios = <&pca9532 0 0>;
39 gpios = <&pca9532 1 0>;
45 gpios = <&pca9532 2 0>;
51 gpios = <&pca9532 3 0>;
57 gpios = <&gpio 2 0 0>; /* P2.0 */
63 gpios = <&gpio 2 1 0>; /* P2.1 */
69 gpios = <&gpio 2 2 0>; /* P2.2 */
75 gpios = <&gpio 2 3 0>; /* P2.3 */
81 gpios = <&gpio 2 4 0>; /* P2.4 */
[all …]
Dam572x-idk-common.dtsi20 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
27 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
33 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
40 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
64 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
70 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
76 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
82 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
[all …]
Daspeed-bmc-opp-palmetto.dts45 gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
49 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
53 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
66 clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
67 data-gpios = <&gpio ASPEED_GPIO(A, 5) GPIO_ACTIVE_HIGH>;
68 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
69 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
70 trans-gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
78 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
212 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
[all …]
Dam571x-idk.dts27 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
34 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
40 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
59 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
70 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
76 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
82 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
88 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
[all …]
Dbcm4709-buffalo-wxr-1900dhp.dts33 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
38 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
43 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
49 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
54 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
59 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
64 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
69 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
74 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
86 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
[all …]
Dusb_a9g20-dab-mmx.dtsi30 gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
37 * gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
42 gpios = <&pioB 22 GPIO_ACTIVE_LOW>;
47 gpios = <&pioB 23 GPIO_ACTIVE_LOW>;
52 gpios = <&pioB 24 GPIO_ACTIVE_LOW>;
57 gpios = <&pioB 30 GPIO_ACTIVE_LOW>;
62 gpios = <&pioB 31 GPIO_ACTIVE_LOW>;
73 gpios = <&pioB 25 GPIO_ACTIVE_LOW>;
79 gpios = <&pioB 13 GPIO_ACTIVE_LOW>;
85 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
[all …]
Dbcm47094-linksys-panamera.dts31 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
37 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
43 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
52 gpios = <&chipcommon 22 GPIO_ACTIVE_LOW>;
57 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
64 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
72 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
77 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
82 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
87 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
[all …]
Dbcm4708-smartrg-sr400ac.dts33 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
39 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
44 gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>;
51 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
58 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
65 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
70 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
75 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
80 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
85 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
[all …]
Dbcm47094-netgear-r8500.dts30 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
36 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
41 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
46 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
51 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
56 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
61 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
71 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
77 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
83 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
[all …]
Daspeed-bmc-lenovo-hr855xg2.dts60 gpios = <&gpio ASPEED_GPIO(C, 7) GPIO_ACTIVE_LOW>;
64 gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>;
427 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_LOW>;
434 gpios = <ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>;
441 gpios = <ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
448 gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
455 gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
462 gpios = <ASPEED_GPIO(E, 2) GPIO_ACTIVE_HIGH>;
469 gpios = <ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>;
476 gpios = <ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
[all …]
Dbcm4708-buffalo-wzr-1750dhp.dts33 cs-gpios = <&chipcommon 6 0>;
54 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
63 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
68 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
74 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
80 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
85 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
91 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
96 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
106 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
9 - cen-gpios: Charge enable pin (active low, output)
10 - chg-gpios: Charger status pin (active low, input)
11 - flt-gpios: Fault pin (active low, output)
12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
13 - usus-gpios: USB suspend pin (active high, output)
20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
21 flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
22 chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
[all …]
/Linux-v5.4/sound/soc/codecs/
Dwm1250-ev1.c27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member
37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
83 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
85 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
89 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
91 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
95 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
97 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
101 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
103 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
[all …]
/Linux-v5.4/drivers/net/phy/
Dmdio-mux-gpio.c18 struct gpio_descs *gpios; member
33 gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, in mdio_mux_gpio_switch_fn()
34 s->gpios->info, values); in mdio_mux_gpio_switch_fn()
42 struct gpio_descs *gpios; in mdio_mux_gpio_probe() local
45 gpios = gpiod_get_array(&pdev->dev, NULL, GPIOD_OUT_LOW); in mdio_mux_gpio_probe()
46 if (IS_ERR(gpios)) in mdio_mux_gpio_probe()
47 return PTR_ERR(gpios); in mdio_mux_gpio_probe()
51 gpiod_put_array(gpios); in mdio_mux_gpio_probe()
55 s->gpios = gpios; in mdio_mux_gpio_probe()
61 gpiod_put_array(s->gpios); in mdio_mux_gpio_probe()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/input/
Dgpio-mouse.txt9 - up-gpios: GPIO line phandle to the line indicating "up"
10 - down-gpios: GPIO line phandle to the line indicating "down"
11 - left-gpios: GPIO line phandle to the line indicating "left"
12 - right-gpios: GPIO line phandle to the line indicating "right"
15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
17 - button-right-gpios: GPIO line handle to the right mouse button
25 up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
26 down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/phy/
Dphy-mapphone-mdm6600.txt5 - enable-gpios GPIO to enable the USB PHY
6 - power-gpios GPIO to power on the device
7 - reset-gpios GPIO to reset the device
8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for
10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600
11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600
17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
18 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
19 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
20 motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/siox/
Deckelmann,siox-gpio.txt5 - din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the
15 din-gpios = <&gpio6 11 0>;
16 dout-gpios = <&gpio6 8 0>;
17 dclk-gpios = <&gpio6 9 0>;
18 dld-gpios = <&gpio6 10 0>;
/Linux-v5.4/drivers/watchdog/
Dmena21_wdt.c34 struct gpio_desc *gpios[NUM_GPIOS]; member
46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus()
47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus()
48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus()
57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start()
66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop()
75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping()
77 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping()
99 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 1); in a21_wdt_set_timeout()
101 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 0); in a21_wdt_set_timeout()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/fsi/
Dfsi-master-gpio.txt6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
10 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal
11 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable
12 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
23 clock-gpios = <&gpio 0>;
24 data-gpios = <&gpio 1>;
25 enable-gpios = <&gpio 2>;
26 trans-gpios = <&gpio 3>;
27 mux-gpios = <&gpio 4>;
/Linux-v5.4/Documentation/devicetree/bindings/input/touchscreen/
Dcolibri-vf50-ts.txt6 - xp-gpios: FET gate driver for input of X+
7 - xm-gpios: FET gate driver for input of X-
8 - yp-gpios: FET gate driver for input of Y+
9 - ym-gpios: FET gate driver for input of Y-
11 - pinctrl-names: "idle", "default", "gpios"
14 - pinctrl-2: pinctrl node for gpios functioning as FET gate drivers
23 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
24 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
25 yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
26 ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
[all …]
/Linux-v5.4/arch/arc/boot/dts/
Dabilis_tb100_dvk.dts56 gpios = <&gpioi 0 0>;
61 gpios = <&gpioi 1 0>;
66 gpios = <&gpioi 2 0>;
71 gpios = <&gpioi 3 0>;
76 gpios = <&gpioi 4 0>;
81 gpios = <&gpioi 5 0>;
86 gpios = <&gpioi 6 0>;
91 gpios = <&gpioi 7 0>;
96 gpios = <&gpioi 8 0>;
101 gpios = <&gpioi 9 0>;
[all …]
Dabilis_tb101_dvk.dts56 gpios = <&gpioi 0 0>;
61 gpios = <&gpioi 1 0>;
66 gpios = <&gpioi 2 0>;
71 gpios = <&gpioi 3 0>;
76 gpios = <&gpioi 4 0>;
81 gpios = <&gpioi 5 0>;
86 gpios = <&gpioi 6 0>;
91 gpios = <&gpioi 7 0>;
96 gpios = <&gpioi 8 0>;
101 gpios = <&gpioi 9 0>;
[all …]

12345678910>>...67