Searched refs:reg_gpio (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 97 return !!(readl(priv->reg_gpio + reg) & BIT(bit)); in meson_gpio_get() 111 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), value ? BIT(bit) : 0); in meson_gpio_set() 127 val = readl(priv->reg_gpio + reg); in meson_gpio_get_direction() 143 setbits_le32(priv->reg_gpio + reg, BIT(bit)); in meson_gpio_direction_input() 160 clrbits_le32(priv->reg_gpio + reg, BIT(bit)); in meson_gpio_direction_output() 167 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), value ? BIT(bit) : 0); in meson_gpio_direction_output() 314 priv->reg_gpio = (void __iomem *)addr; in meson_pinctrl_probe()
|
H A D | pinctrl-meson.h | 41 void __iomem *reg_gpio; member
|
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 193 return regmap_update_bits(pc->reg_gpio, reg, BIT(bit), in meson_pinconf_set_gpio_bit() 210 ret = regmap_read(pc->reg_gpio, reg, &val); in meson_pinconf_get_gpio_bit() 599 regmap_read(pc->reg_gpio, reg, &val); in meson_gpio_get() 688 pc->reg_gpio = meson_map_resource(pc, gpio_np, "gpio"); in meson_pinctrl_parse_dt() 689 if (IS_ERR_OR_NULL(pc->reg_gpio)) { in meson_pinctrl_parse_dt() 691 return pc->reg_gpio ? PTR_ERR(pc->reg_gpio) : -ENOENT; in meson_pinctrl_parse_dt() 727 pc->reg_pull = pc->reg_gpio; in meson_a1_parse_dt_extra() 728 pc->reg_pullen = pc->reg_gpio; in meson_a1_parse_dt_extra() 729 pc->reg_ds = pc->reg_gpio; in meson_a1_parse_dt_extra()
|
H A D | pinctrl-meson.h | 133 struct regmap *reg_gpio; member
|
H A D | pinctrl-meson-g12a.c | 1372 pc->reg_pull = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra() 1373 pc->reg_pullen = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt5677.c | 5281 int reg_gpio; in rt5677_check_hotword() local 5286 if (regmap_read(rt5677->regmap, RT5677_GPIO_CTRL1, ®_gpio)) in rt5677_check_hotword() 5290 if ((reg_gpio & RT5677_GPIO1_PIN_MASK) == RT5677_GPIO1_PIN_IRQ) in rt5677_check_hotword()
|
/openbmc/linux/ |
H A D | opengrok0.0.log | [all...] |