Home
last modified time | relevance | path

Searched refs:GPIO_LINE_DIRECTION_IN (Results 1 – 25 of 106) sorted by relevance

12345

/openbmc/linux/Documentation/translations/zh_CN/rust/
H A Dcoding-guidelines.rst177 #define GPIO_LINE_DIRECTION_IN 0
186 In = bindings::GPIO_LINE_DIRECTION_IN as _,
191 也就是说, ``GPIO_LINE_DIRECTION_IN`` 的等价物将被称为 ``gpio::LineDirection::In`` 。
192 特别是,它不应该被命名为 ``gpio::gpio_line_direction::GPIO_LINE_DIRECTION_IN`` 。
/openbmc/linux/drivers/gpio/
H A Dgpio-sama5d2-piobu.c122 return (ret == PIOBU_IN) ? GPIO_LINE_DIRECTION_IN : in sama5d2_piobu_get_direction()
158 if (ret == GPIO_LINE_DIRECTION_IN) in sama5d2_piobu_get()
H A Dgpio-regmap.c121 return GPIO_LINE_DIRECTION_IN; in gpio_regmap_get_direction()
146 return GPIO_LINE_DIRECTION_IN; in gpio_regmap_get_direction()
H A Dgpio-74xx-mmio.c85 return GPIO_LINE_DIRECTION_IN; in mmio_74xx_get_direction()
H A Dgpio-bd9571mwv.c34 return GPIO_LINE_DIRECTION_IN; in bd9571mwv_gpio_get_direction()
H A Dgpio-xtensa.c74 return GPIO_LINE_DIRECTION_IN; /* input only */ in xtensa_impwire_get_direction()
H A Dgpio-tps65912.c37 return GPIO_LINE_DIRECTION_IN; in tps65912_gpio_get_direction()
H A Dgpio-bd71828.c93 return GPIO_LINE_DIRECTION_IN; in bd71828_get_direction()
H A Dgpio-wcd934x.c34 return GPIO_LINE_DIRECTION_IN; in wcd_gpio_get_direction()
H A Dgpio-bcm-kona.c122 return val ? GPIO_LINE_DIRECTION_IN : GPIO_LINE_DIRECTION_OUT; in bcm_kona_gpio_get_dir()
139 if (bcm_kona_gpio_get_dir(chip, gpio) == GPIO_LINE_DIRECTION_IN) in bcm_kona_gpio_set()
165 if (bcm_kona_gpio_get_dir(chip, gpio) == GPIO_LINE_DIRECTION_IN) in bcm_kona_gpio_get()
H A Dgpio-mmio.c372 return GPIO_LINE_DIRECTION_IN; in bgpio_get_dir()
378 return GPIO_LINE_DIRECTION_IN; in bgpio_get_dir()
385 return GPIO_LINE_DIRECTION_IN; in bgpio_get_dir()
H A Dgpio-en7523.c77 return (dir & mask) ? GPIO_LINE_DIRECTION_OUT : GPIO_LINE_DIRECTION_IN; in airoha_get_dir()
H A Dgpio-pisosr.c60 return GPIO_LINE_DIRECTION_IN; in pisosr_gpio_get_direction()
H A Dgpio-lp87565.c55 return GPIO_LINE_DIRECTION_IN; in lp87565_gpio_get_direction()
H A Dgpio-tps68470.c70 GPIO_LINE_DIRECTION_IN; in tps68470_gpio_get_direction()
H A Dgpio-moxtet.c81 return GPIO_LINE_DIRECTION_IN; in moxtet_gpio_get_direction()
H A Dgpio-ts4900.c42 return GPIO_LINE_DIRECTION_IN; in ts4900_gpio_get_direction()
H A Dgpio-dln2.c205 return GPIO_LINE_DIRECTION_IN; in dln2_gpio_get_direction()
217 if (dir == GPIO_LINE_DIRECTION_IN) in dln2_gpio_get()
H A Dgpio-madera.c38 return GPIO_LINE_DIRECTION_IN; in madera_gpio_get_direction()
H A Dgpio-mockup.c227 chip->lines[offset].dir = GPIO_LINE_DIRECTION_IN; in gpio_mockup_dirin()
449 chip->lines[i].dir = GPIO_LINE_DIRECTION_IN; in gpio_mockup_probe()
H A Dgpio-reg.c37 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN : in gpio_reg_get_direction()
H A Dgpio-amd-fch.c95 return ret ? GPIO_LINE_DIRECTION_OUT : GPIO_LINE_DIRECTION_IN; in amd_fch_gpio_get_direction()
/openbmc/linux/Documentation/rust/
H A Dcoding-guidelines.rst200 #define GPIO_LINE_DIRECTION_IN 0
209 In = bindings::GPIO_LINE_DIRECTION_IN as _,
214 That is, the equivalent of ``GPIO_LINE_DIRECTION_IN`` would be referred to as
216 ``gpio::gpio_line_direction::GPIO_LINE_DIRECTION_IN``.
/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c144 return GPIO_LINE_DIRECTION_IN; in rza2_chip_get_direction()
152 return GPIO_LINE_DIRECTION_IN; in rza2_chip_get_direction()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-axp209.c166 return GPIO_LINE_DIRECTION_IN; in axp20x_gpio_get_direction()
192 return GPIO_LINE_DIRECTION_IN; in axp20x_gpio_get_direction()

12345