Home
last modified time | relevance | path

Searched refs:gpio_in (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/Documentation/devicetree/bindings/gpio/
Dgpio-axp209.txt59 Each GPIO is independent from the other (i.e. GPIO0 in gpio_in function does
60 not force GPIO1 and GPIO2 to be in gpio_in function as well).
66 GPIO0 | gpio_in, gpio_out, ldo, adc
67 GPIO1 | gpio_in, gpio_out, ldo, adc
68 GPIO2 | gpio_in, gpio_out
74 GPIO0 | gpio_in, gpio_out, ldo, adc
75 GPIO1 | gpio_in, gpio_out, ldo
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c138 u32 gpio_dir,gpio_in,gpio_out; in pvr2_debugifc_print_status() local
147 gpio_dir = 0; gpio_in = 0; gpio_out = 0; in pvr2_debugifc_print_status()
150 pvr2_hdw_gpio_get_in(hdw,&gpio_in); in pvr2_debugifc_print_status()
152 gpio_dir,gpio_in,gpio_out); in pvr2_debugifc_print_status()
/Linux-v5.4/drivers/iio/dac/
Dad5592r-base.c70 st->gpio_in |= BIT(offset); in ad5592r_gpio_direction_input()
76 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_IN_EN, st->gpio_in); in ad5592r_gpio_direction_input()
97 st->gpio_in &= ~BIT(offset); in ad5592r_gpio_direction_output()
108 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_IN_EN, st->gpio_in); in ad5592r_gpio_direction_output()
222 st->gpio_in |= BIT(i); /* Default to input */ in ad5592r_set_channel_modes()
279 ret = ops->reg_write(st, AD5592R_REG_GPIO_IN_EN, st->gpio_in); in ad5592r_set_channel_modes()
Dad5592r-base.h64 u8 gpio_in; member
Dad5592r.c106 AD5592R_GPIO_READBACK_EN | st->gpio_in); in ad5593r_gpio_read()
/Linux-v5.4/drivers/leds/
Dleds-ss4200.c204 u32 gpio_in; in nasgpio_led_get_attr() local
207 gpio_in = inl(nas_gpio_io_base + port); in nasgpio_led_get_attr()
209 if (gpio_in & (1<<led->gpio_bit)) in nasgpio_led_get_attr()
/Linux-v5.4/arch/mips/ar7/
Dgpio.c25 void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT; in ar7_gpio_get_value() local
27 return !!(readl(gpio_in) & (1 << gpio)); in ar7_gpio_get_value()
/Linux-v5.4/arch/arm/boot/dts/
Dsun8i-q8-common.dtsi105 function = "gpio_in";
Dsun6i-a31s-primo81.dts151 function = "gpio_in";