Home
last modified time | relevance | path

Searched refs:XRA_GCR (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-xra1403.c23 #define XRA_GCR 0x06 /* GPIO Configuration */ macro
55 return regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_input()
65 ret = regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_output()
82 ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val); in xra1403_get_direction()
138 gcr = value[XRA_GCR + 1] << 8 | value[XRA_GCR]; in xra1403_dbg_show()
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-xra1403.c22 #define XRA_GCR 0x06 /* GPIO Configuration */ macro
54 return regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_input()
64 ret = regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_output()
81 ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val); in xra1403_get_direction()
137 gcr = value[XRA_GCR + 1] << 8 | value[XRA_GCR]; in xra1403_dbg_show()

Completed in 2 milliseconds