Home
last modified time | relevance | path

Searched refs:to_reg (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-xra1403.c46 static unsigned int to_reg(unsigned int reg, unsigned int offset) in to_reg() function
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()
70 ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset), in xra1403_direction_output()
82 ret = regmap_read(xra->regmap, to_reg(XRA_GCR, offset), &val); in xra1403_get_direction()
98 ret = regmap_read(xra->regmap, to_reg(XRA_GSR, offset), &val); in xra1403_get()
110 ret = regmap_update_bits(xra->regmap, to_reg(XRA_OCR, offset), in xra1403_set()
H A Dgpio-wcove.c100 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() function
135 int reg = to_reg(gpio, CTRL_IN); in wcove_update_irq_ctrl()
146 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_dir_in()
158 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_dir_out()
170 int ret, reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_get_direction()
189 int ret, reg = to_reg(gpio, CTRL_IN); in wcove_gpio_get()
204 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_set()
219 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_set_config()
374 ret += regmap_read(wg->regmap, to_reg(gpio, CTRL_OUT), &ctlo); in wcove_gpio_dbg_show()
375 ret += regmap_read(wg->regmap, to_reg(gpio, CTRL_IN), &ctli); in wcove_gpio_dbg_show()
H A Dgpio-crystalcove.c81 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() function
127 int reg = to_reg(gpio, CTRL_IN); in crystalcove_update_irq_ctrl()
135 int reg = to_reg(gpio, CTRL_OUT); in crystalcove_gpio_dir_in()
147 int reg = to_reg(gpio, CTRL_OUT); in crystalcove_gpio_dir_out()
159 int ret, reg = to_reg(gpio, CTRL_IN); in crystalcove_gpio_get()
175 int reg = to_reg(gpio, CTRL_OUT); in crystalcove_gpio_set()
304 regmap_read(cg->regmap, to_reg(gpio, CTRL_OUT), &ctlo); in crystalcove_gpio_dbg_show()
305 regmap_read(cg->regmap, to_reg(gpio, CTRL_IN), &ctli); in crystalcove_gpio_dbg_show()
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/sources/ela/
H A Dcoresight_mali_source_ela_core.c342 static ssize_t sprintf_regs(char *const buf, int from_reg, int to_reg) in sprintf_regs() argument
347 for (i = from_reg; i <= to_reg; i++) in sprintf_regs()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtarget.def6009 @var{to_reg}. This target hook will usually be @code{true}, since most of the\n\
6014 bool, (const int from_reg, const int to_reg),
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtarget.def6009 @var{to_reg}. This target hook will usually be @code{true}, since most of the\n\
6014 bool, (const int from_reg, const int to_reg),