Searched refs:reg_out (Results 1 – 4 of 4) sorted by relevance
/drivers/gpio/ |
D | gpio-vx855.c | 85 u_int32_t reg_out; in vx855gpio_direction_input() local 97 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input() 98 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_direction_input() 99 outl(reg_out, vg->io_gpo); in vx855gpio_direction_input() 135 u_int32_t reg_out; in vx855gpio_set() local 142 reg_out = inl(vg->io_gpo); in vx855gpio_set() 145 reg_out |= gpo_o_bit(nr - NR_VX855_GPI); in vx855gpio_set() 147 reg_out &= ~gpo_o_bit(nr - NR_VX855_GPI); in vx855gpio_set() 150 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_set() 152 reg_out &= ~gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_set() [all …]
|
D | gpio-max732x.c | 142 uint8_t reg_out[2]; member 207 uint8_t reg_out; in max732x_gpio_set_mask() local 212 reg_out = (off > 7) ? chip->reg_out[1] : chip->reg_out[0]; in max732x_gpio_set_mask() 213 reg_out = (reg_out & ~mask) | (val & mask); in max732x_gpio_set_mask() 215 ret = max732x_writeb(chip, is_group_a(chip, off), reg_out); in max732x_gpio_set_mask() 221 chip->reg_out[1] = reg_out; in max732x_gpio_set_mask() 223 chip->reg_out[0] = reg_out; in max732x_gpio_set_mask() 331 msg = (chip->irq_mask << 8) | chip->reg_out[0]; in max732x_irq_update_mask() 336 msg = chip->irq_mask | chip->reg_out[0]; in max732x_irq_update_mask() 684 ret = max732x_readb(chip, is_group_a(chip, 0), &chip->reg_out[0]); in max732x_probe() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | tout.c | 106 #define MLX5_TIMEOUT_QUERY(fld, reg_out) \ argument 112 time_field = MLX5_ADDR_OF(dtor_reg, reg_out, fld); \ 119 #define MLX5_TIMEOUT_FILL(fld, reg_out, dev, to_type, to_extra) \ argument 121 u64 fw_to = MLX5_TIMEOUT_QUERY(fld, reg_out); \
|
/drivers/net/wireless/marvell/libertas/ |
D | if_spi.c | 149 __le16 reg_out = cpu_to_le16(reg | IF_SPI_WRITE_OPERATION_MASK); in spu_write() local 165 reg_trans.tx_buf = ®_out; in spu_write() 166 reg_trans.len = sizeof(reg_out); in spu_write() 203 __le16 reg_out = cpu_to_le16(reg | IF_SPI_READ_OPERATION_MASK); in spu_read() local 223 reg_trans.tx_buf = ®_out; in spu_read() 224 reg_trans.len = sizeof(reg_out); in spu_read()
|