Home
last modified time | relevance | path

Searched refs:GPIO_PULL_DOWN (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.15/include/dt-bindings/gpio/
H A Dgpio.h40 #define GPIO_PULL_DOWN 32 macro
/linux-6.15/include/linux/gpio/
H A Dmachine.h15 GPIO_PULL_DOWN = (1 << 5), enumerator
/linux-6.15/include/linux/
H A Dcs5535.h150 #define GPIO_PULL_DOWN 0x1C macro
/linux-6.15/Documentation/devicetree/bindings/phy/
H A Dallwinner,sun5i-a13-usb-phy.yaml92 usb0_vbus_det-gpios = <&pio 6 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PG1 */
/linux-6.15/drivers/gpio/
H A Dgpio-virtuser.c1208 else if (flags & GPIO_PULL_DOWN) in gpio_virtuser_lookup_entry_config_pull_show()
1232 entry->flags &= ~(GPIO_PULL_DOWN | GPIO_PULL_DISABLE); in gpio_virtuser_lookup_entry_config_pull_store()
1236 entry->flags |= GPIO_PULL_DOWN; in gpio_virtuser_lookup_entry_config_pull_store()
1238 entry->flags &= ~(GPIO_PULL_UP | GPIO_PULL_DOWN); in gpio_virtuser_lookup_entry_config_pull_store()
1241 entry->flags &= ~(GPIO_PULL_UP | GPIO_PULL_DOWN | in gpio_virtuser_lookup_entry_config_pull_store()
H A Dgpiolib-of.c488 lflags |= GPIO_PULL_DOWN; in of_convert_gpio_flags()
H A Dgpiolib.c4795 if (((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) || in gpiod_configure_flags()
4797 ((lflags & GPIO_PULL_DOWN) && (lflags & GPIO_PULL_DISABLE))) { in gpiod_configure_flags()
4805 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags()
H A Dgpiolib-acpi.c730 *lookupflags |= GPIO_PULL_DOWN; in acpi_gpio_update_gpiod_lookup_flags()
/linux-6.15/arch/arm/boot/dts/allwinner/
H A Dsun4i-a10-hyundai-a7hd.dts111 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun5i-a13-olinuxino-micro.dts137 usb0_vbus_det-gpios = <&pio 6 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PG1 */
H A Dsun4i-a10-chuwi-v7-cw0825.dts155 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun4i-a10-inet97fv2.dts199 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun4i-a10-inet1.dts224 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun5i-a13-empire-electronix-d709.dts186 usb0_vbus_det-gpios = <&pio 6 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PG1 */
H A Dsun4i-a10-dserve-dsrv9703c.dts214 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun4i-a10-pov-protab2-ips9.dts202 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun5i-a13-olinuxino.dts243 usb0_vbus_det-gpios = <&pio 6 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PG1 */
H A Dsun5i-reference-design-tablet.dtsi189 usb0_vbus_det-gpios = <&pio 6 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PG1 */
H A Dsun7i-a20-olinuxino-lime.dts211 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun7i-a20-olinuxino-lime2.dts275 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun7i-a20-olinuxino-micro.dts349 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
H A Dsun4i-a10-inet9f-rev03.dts353 usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */
/linux-6.15/drivers/pinctrl/
H A Dpinctrl-ingenic.c82 #define GPIO_PULL_DOWN 2 macro
4106 bias = (bias >> idxh) & (GPIO_PULL_UP | GPIO_PULL_DOWN); in ingenic_pinconf_get()
4109 pulldown = (bias == GPIO_PULL_DOWN) && (jzpc->info->pull_downs[offt] & BIT(idx)); in ingenic_pinconf_get()
4184 case GPIO_PULL_DOWN: in ingenic_set_bias()
4299 ingenic_set_bias(jzpc, pin, GPIO_PULL_DOWN); in ingenic_pinconf_set()
/linux-6.15/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-colibri.dtsi50 gpios = <&gpio5 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* SODIMM 45 */
H A Dimx7-colibri.dtsi44 gpios = <&gpio1 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* SODIMM 45 */

12