Lines Matching refs:offt
3578 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3582 regmap_write(jzpc->map, offt * jzpc->info->reg_offset +
3585 regmap_set_bits(jzpc->map, offt * jzpc->info->reg_offset +
3589 regmap_write(jzpc->map, offt * jzpc->info->reg_offset +
3592 regmap_clear_bits(jzpc->map, offt * jzpc->info->reg_offset +
3622 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3625 regmap_update_bits(jzpc->map, offt * jzpc->info->reg_offset + reg,
3633 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3636 regmap_read(jzpc->map, offt * jzpc->info->reg_offset + reg, &val);
3721 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3724 'A' + offt, idx, func);
3790 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3793 'A' + offt, idx, input ? "in" : "out");
3831 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3839 (jzpc->info->pull_ups[offt] & BIT(idx));
3842 (jzpc->info->pull_downs[offt] & BIT(idx));
3849 regmap_read(jzpc->map, offt * jzpc->info->reg_offset +
3852 regmap_read(jzpc->map, offt * jzpc->info->reg_offset +
3857 pullup = (bias == GPIO_PULL_UP) && (jzpc->info->pull_ups[offt] & BIT(idx));
3858 pulldown = (bias == GPIO_PULL_DOWN) && (jzpc->info->pull_downs[offt] & BIT(idx));
3868 pullup = pull && (jzpc->info->pull_ups[offt] & BIT(idx));
3869 pulldown = pull && (jzpc->info->pull_downs[offt] & BIT(idx));
3946 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
3949 regmap_write(jzpc->map, offt * jzpc->info->reg_offset +
3951 regmap_write(jzpc->map, offt * jzpc->info->reg_offset +
3954 regmap_write(jzpc->map, offt * jzpc->info->reg_offset +
3956 regmap_write(jzpc->map, offt * jzpc->info->reg_offset +
4003 unsigned int offt = pin / PINS_PER_GPIO_CHIP;
4027 'A' + offt, idx);
4032 if (!(jzpc->info->pull_ups[offt] & BIT(idx)))
4035 'A' + offt, idx);
4040 if (!(jzpc->info->pull_downs[offt] & BIT(idx)))
4043 'A' + offt, idx);