Searched refs:xra (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/gpio/ |
D | gpio-xra1403.c | 64 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_direction_input() local 66 return regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_input() 74 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_direction_output() local 76 ret = regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset), in xra1403_direction_output() 81 ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset), in xra1403_direction_output() 91 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_get_direction() local 93 ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val); in xra1403_get_direction() 104 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_get() local 106 ret = regmap_read(xra->regmap, to_reg(XRA_GSR, offset), &val); in xra1403_get() 116 struct xra1403 *xra = gpiochip_get_data(chip); in xra1403_set() local [all …]
|