Searched refs:to_reg (Results 1 - 3 of 3) sorted by path

/linux-master/drivers/gpio/
H A Dgpio-crystalcove.c82 static inline int to_reg(int gpio, enum ctrl_register reg_type) function
127 int reg = to_reg(gpio, CTRL_IN);
135 int reg = to_reg(gpio, CTRL_OUT);
146 int reg = to_reg(gpio, CTRL_OUT);
158 int ret, reg = to_reg(gpio, CTRL_IN);
173 int reg = to_reg(gpio, CTRL_OUT);
308 regmap_read(cg->regmap, to_reg(gpio, CTRL_OUT), &ctlo);
309 regmap_read(cg->regmap, to_reg(gpio, CTRL_IN), &ctli);
H A Dgpio-wcove.c102 static inline int to_reg(int gpio, enum ctrl_register type) function
139 int reg = to_reg(gpio, CTRL_IN);
147 int reg = to_reg(gpio, CTRL_OUT);
159 int reg = to_reg(gpio, CTRL_OUT);
171 int ret, reg = to_reg(gpio, CTRL_OUT);
190 int ret, reg = to_reg(gpio, CTRL_IN);
205 int reg = to_reg(gpio, CTRL_OUT);
220 int reg = to_reg(gpio, CTRL_OUT);
380 ret += regmap_read(wg->regmap, to_reg(gpio, CTRL_OUT), &ctlo);
381 ret += regmap_read(wg->regmap, to_reg(gpi
[all...]
H A Dgpio-xra1403.c45 static unsigned int to_reg(unsigned int reg, unsigned int offset) function
54 return regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset),
64 ret = regmap_update_bits(xra->regmap, to_reg(XRA_GCR, offset),
69 ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset),
81 ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val);
97 ret = regmap_read(xra->regmap, to_reg(XRA_GSR, offset), &val);
109 ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset),

Completed in 167 milliseconds