to_reg
int reg = to_reg(gpio, CTRL_IN);
int reg = to_reg(gpio, CTRL_OUT);
int reg = to_reg(gpio, CTRL_OUT);
int ret, reg = to_reg(gpio, CTRL_IN);
int reg = to_reg(gpio, CTRL_OUT);
regmap_read(cg->regmap, to_reg(gpio, CTRL_OUT), &ctlo);
regmap_read(cg->regmap, to_reg(gpio, CTRL_IN), &ctli);
int reg = to_reg(gpio, CTRL_IN);
int reg = to_reg(gpio, CTRL_OUT);
int reg = to_reg(gpio, CTRL_OUT);
int ret, reg = to_reg(gpio, CTRL_OUT);
int ret, reg = to_reg(gpio, CTRL_IN);
int reg = to_reg(gpio, CTRL_OUT);
int reg = to_reg(gpio, CTRL_OUT);
ret += regmap_read(wg->regmap, to_reg(gpio, CTRL_OUT), &ctlo);
ret += regmap_read(wg->regmap, to_reg(gpio, CTRL_IN), &ctli);
return regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset),
return regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset),
ret = regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset),
ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset),
ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val);
ret = regmap_read(xra->regmap, to_reg(XRA_GSR, offset), &val);