/linux/tools/testing/selftests/arm64/abi/ |
H A D | ptrace.c | 35 uint64_t write_val[MAX_TPIDRS]; in test_tpidr() local 41 write_iov.iov_base = write_val; in test_tpidr() 50 write_val[0] = read_val[0] + 1; in test_tpidr() 56 ksft_test_result(ret == 0 && write_val[0] == read_val[0], in test_tpidr() 79 write_iov.iov_len = sizeof(write_val); in test_tpidr() 81 write_val[i] = read_val[i] + 1; in test_tpidr() 85 write_iov.iov_len == sizeof(write_val), in test_tpidr() 96 memcmp(read_val, write_val, in test_tpidr() 103 read_val[0] == write_val[0] && in test_tpidr() 110 memcpy(write_val, read_val, sizeof(read_val)); in test_tpidr() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_features.c | 28 u64 write_val; member 50 vector = wrmsr_safe(msr->idx, msr->write_val); in guest_msr() 70 msr->idx, msr->write_val, msr_val); in guest_msr() 185 msr->write_val = HYPERV_LINUX_OS_ID; in guest_test_msrs_access() 214 msr->write_val = 1; in guest_test_msrs_access() 233 msr->write_val = 1; in guest_test_msrs_access() 252 msr->write_val = 1; in guest_test_msrs_access() 276 msr->write_val = 0; in guest_test_msrs_access() 294 msr->write_val = 0; in guest_test_msrs_access() 321 msr->write_val = 0; in guest_test_msrs_access() [all …]
|
/linux/drivers/iio/dac/ |
H A D | mcp4821.c | 139 u16 write_val; in mcp4821_write_raw() local 152 write_val = MCP4821_ACTIVE_MODE | val << chan->scan_type.shift; in mcp4821_write_raw() 154 write_val |= MCP4802_SECOND_CHAN; in mcp4821_write_raw() 156 write_buffer = cpu_to_be16(write_val); in mcp4821_write_raw()
|
H A D | ad7293.c | 638 unsigned int write_val, in ad7293_reg_access() argument 649 ret = ad7293_spi_write(st, reg, (u16)write_val); in ad7293_reg_access()
|
/linux/sound/soc/intel/keembay/ |
H A D | kmb_platform.c | 585 u32 write_val; in kmb_dai_hw_params() local 630 write_val = ((config->chan_nr / 2) << TDM_CHANNEL_CONFIG_BIT) | in kmb_dai_hw_params() 634 writel(write_val, kmb_i2s->pss_base + I2S_GEN_CFG_0); in kmb_dai_hw_params() 644 write_val = ((config->chan_nr / 2) << TDM_CHANNEL_CONFIG_BIT) | in kmb_dai_hw_params() 648 writel(write_val, kmb_i2s->pss_base + I2S_GEN_CFG_0); in kmb_dai_hw_params()
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-ipq806x-usb.c | 146 u32 write_val, tmp = readl(phy_dwc3->base + offset); in usb_phy_write_readback() local 149 write_val = tmp | val; in usb_phy_write_readback() 151 writel(write_val, phy_dwc3->base + offset); in usb_phy_write_readback()
|
/linux/include/media/drv-intf/ |
H A D | tea575x.h | 28 void (*write_val)(struct snd_tea575x *tea, u32 val); member
|
/linux/drivers/iio/amplifiers/ |
H A D | ada4250.c | 262 unsigned int write_val, in ada4250_reg_access() argument 270 return regmap_write(st->regmap, reg, write_val); in ada4250_reg_access()
|
/linux/drivers/hid/ |
H A D | hid-alps.c | 166 u8 *read_val, u8 write_val, bool read_flag) in t4_read_write_register() argument 183 input[8] = write_val; in t4_read_write_register() 253 u8 *read_val, u8 write_val, bool read_flag) in u1_read_write_register() argument 270 input[6] = write_val; in u1_read_write_register()
|
/linux/drivers/iio/frequency/ |
H A D | adrf6780.c | 296 unsigned int write_val, in adrf6780_reg_access() argument 304 return adrf6780_spi_write(st, reg, write_val); in adrf6780_reg_access()
|
H A D | admv1013.c | 362 unsigned int write_val, in admv1013_reg_access() argument 370 return admv1013_spi_write(st, reg, write_val); in admv1013_reg_access()
|
H A D | admv1014.c | 468 unsigned int write_val, in admv1014_reg_access() argument 476 return admv1014_spi_write(st, reg, write_val); in admv1014_reg_access()
|
H A D | adf4377.c | 476 unsigned int write_val, in adf4377_reg_access() argument 484 return regmap_write(st->regmap, reg, write_val); in adf4377_reg_access()
|
/linux/drivers/media/radio/ |
H A D | tea575x.c | 87 if (tea->ops->write_val) in snd_tea575x_write() 88 return tea->ops->write_val(tea, val); in snd_tea575x_write()
|
H A D | radio-shark.c | 150 .write_val = shark_write_val,
|
/linux/drivers/iio/filter/ |
H A D | admv8818.c | 388 unsigned int write_val, in admv8818_reg_access() argument 396 return regmap_write(st->regmap, reg, write_val); in admv8818_reg_access()
|
/linux/tools/testing/selftests/alsa/ |
H A D | mixer-test.c | 588 snd_ctl_elem_value_t *write_val, in write_and_verify() argument 603 snd_ctl_elem_value_copy(w_val, write_val); in write_and_verify() 609 snd_ctl_elem_value_copy(expected_val, write_val); in write_and_verify()
|
/linux/drivers/net/ethernet/adi/ |
H A D | adin1110.c | 269 u32 write_val; in adin1110_set_bits() local 272 ret = adin1110_read_reg(priv, reg, &write_val); in adin1110_set_bits() 276 set_mask_bits(&write_val, mask, val); in adin1110_set_bits() 278 return adin1110_write_reg(priv, reg, write_val); in adin1110_set_bits()
|
/linux/drivers/gpio/ |
H A D | gpio-aspeed.c | 1185 u32 write_val; in aspeed_g7_reg_bit_set() local 1188 write_val = (ioread32(addr) & ~(mask)) | field_prep(mask, val); in aspeed_g7_reg_bit_set() 1189 iowrite32(write_val, addr); in aspeed_g7_reg_bit_set()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-cy8c95x0.c | 612 int write_val; in cy8c95x0_write_regs_mask() local 631 write_val = bitmap_get_value8(tval, i * BANK_SZ); in cy8c95x0_write_regs_mask() 633 ret = cy8c95x0_regmap_update_bits(chip, reg, i, bits, write_val); in cy8c95x0_write_regs_mask()
|
/linux/drivers/net/dsa/qca/ |
H A D | qca8k-common.c | 76 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_rmw() argument 78 return regmap_update_bits(priv->regmap, reg, mask, write_val); in qca8k_rmw()
|
H A D | qca8k.h | 510 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val);
|
/linux/sound/pci/hda/ |
H A D | patch_ca0132.c | 3679 unsigned int write_val; in ca0113_mmio_command_set() 3691 write_val = (target & 0xff); in ca0113_mmio_command_set() 3692 write_val |= (value << 8); in ca0113_mmio_command_set() 3695 writel(write_val, spec->mem_base + 0x204); in ca0113_mmio_command_set() 3718 unsigned int write_val; in ca0113_mmio_command_set_type2() 3730 write_val = (target & 0xff); in ca0113_mmio_command_set_type2() 3731 write_val |= (value << 8); in ca0113_mmio_command_set_type2() 3734 writel(write_val, spec->mem_base + 0x204); 3667 unsigned int write_val; ca0113_mmio_command_set() local 3706 unsigned int write_val; ca0113_mmio_command_set_type2() local
|