Searched refs:reg_out (Results 1 – 2 of 2) sorted by relevance
101 u_int32_t reg_out; in vx855gpio_direction_input() local113 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input()114 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_direction_input()115 outl(reg_out, vg->io_gpo); in vx855gpio_direction_input()151 u_int32_t reg_out; in vx855gpio_set() local158 reg_out = inl(vg->io_gpo); in vx855gpio_set()161 reg_out |= gpo_o_bit(nr - NR_VX855_GPI); in vx855gpio_set()163 reg_out &= ~gpo_o_bit(nr - NR_VX855_GPI); in vx855gpio_set()166 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_set()168 reg_out &= ~gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_set()[all …]
149 uint8_t reg_out[2]; member214 uint8_t reg_out; in max732x_gpio_set_mask() local219 reg_out = (off > 7) ? chip->reg_out[1] : chip->reg_out[0]; in max732x_gpio_set_mask()220 reg_out = (reg_out & ~mask) | (val & mask); in max732x_gpio_set_mask()222 ret = max732x_writeb(chip, is_group_a(chip, off), reg_out); in max732x_gpio_set_mask()228 chip->reg_out[1] = reg_out; in max732x_gpio_set_mask()230 chip->reg_out[0] = reg_out; in max732x_gpio_set_mask()338 msg = (chip->irq_mask << 8) | chip->reg_out[0]; in max732x_irq_update_mask()343 msg = chip->irq_mask | chip->reg_out[0]; in max732x_irq_update_mask()694 ret = max732x_readb(chip, is_group_a(chip, 0), &chip->reg_out[0]); in max732x_probe()[all …]