Searched refs:jzpc (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/pinctrl/ |
D | pinctrl-ingenic.c | 137 struct ingenic_pinctrl *jzpc; member 159 is_soc_or_above(const struct ingenic_pinctrl *jzpc, enum jz_version version) in is_soc_or_above() argument 163 || jzpc->info->version >= version); in is_soc_or_above() 3261 regmap_read(jzgc->jzpc->map, jzgc->reg_base + reg, &val); in ingenic_gpio_read_reg() 3269 if (!is_soc_or_above(jzgc->jzpc, ID_JZ4740)) { in ingenic_gpio_set_bit() 3270 regmap_update_bits(jzgc->jzpc->map, jzgc->reg_base + reg, in ingenic_gpio_set_bit() 3280 regmap_write(jzgc->jzpc->map, jzgc->reg_base + reg, BIT(offset)); in ingenic_gpio_set_bit() 3291 regmap_write(jzgc->jzpc->map, REG_PZ_BASE( in ingenic_gpio_shadow_set_bit() 3292 jzgc->jzpc->info->reg_offset) + reg, BIT(offset)); in ingenic_gpio_shadow_set_bit() 3297 regmap_write(jzgc->jzpc->map, REG_PZ_GID2LD( in ingenic_gpio_shadow_set_bit_load() [all …]
|