Searched refs:xra (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/drivers/gpio/ |
D | gpio-xra1403.c | 53 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_direction_input() local 55 return regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_input() 63 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_direction_output() local 65 ret = regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_output() 70 ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset), in xra1403_direction_output() 80 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_get_direction() local 82 ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val); in xra1403_get_direction() 96 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_get() local 98 ret = regmap_read(xra->regmap, to_reg(XRA_GSR, offset), &val); in xra1403_get() 108 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_set() local [all …]
|