Home
last modified time | relevance | path

Searched refs:MADERA_GP1_DIR_MASK (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpio/
Dgpio-madera.c37 return !!(val & MADERA_GP1_DIR_MASK); in madera_gpio_get_direction()
48 MADERA_GP1_DIR_MASK, MADERA_GP1_DIR); in madera_gpio_direction_in()
78 MADERA_GP1_DIR_MASK, 0); in madera_gpio_direction_out()
/Linux-v5.4/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c537 if (conf[1] & MADERA_GP1_DIR_MASK) in madera_pin_dbg_show()
688 ret = regmap_update_bits(madera->regmap, reg, MADERA_GP1_DIR_MASK, val); in madera_gpio_set_direction()
797 if (conf[0] & MADERA_GP1_DIR_MASK) in madera_pin_conf_get()
806 if ((conf[1] & MADERA_GP1_DIR_MASK) && in madera_pin_conf_get()
880 mask[1] |= MADERA_GP1_DIR_MASK; in madera_pin_conf_set()
894 mask[1] |= MADERA_GP1_DIR_MASK; in madera_pin_conf_set()
900 mask[1] |= MADERA_GP1_DIR_MASK; in madera_pin_conf_set()
911 mask[1] |= MADERA_GP1_DIR_MASK; in madera_pin_conf_set()
/Linux-v5.4/include/linux/mfd/madera/
Dregisters.h3662 #define MADERA_GP1_DIR_MASK 0x8000 macro