/linux-6.1.9/tools/testing/selftests/arm64/abi/ |
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]++; 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-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_features.c | 39 u64 write_val; member 58 vector = wrmsr_safe(msr->idx, msr->write_val); in guest_msr() 172 msr->write_val = LINUX_OS_ID; in guest_test_msrs_access() 201 msr->write_val = 1; in guest_test_msrs_access() 220 msr->write_val = 1; in guest_test_msrs_access() 239 msr->write_val = 1; in guest_test_msrs_access() 257 msr->write_val = 0; in guest_test_msrs_access() 275 msr->write_val = 0; in guest_test_msrs_access() 302 msr->write_val = 0; in guest_test_msrs_access() 320 msr->write_val = 0; in guest_test_msrs_access() [all …]
|
/linux-6.1.9/drivers/pci/controller/ |
D | pci-thunder-pem.c | 218 u64 write_val, read_val; in thunder_pem_bridge_write() local 281 write_val = (((u64)val) << 32) | where_aligned; in thunder_pem_bridge_write() 282 writeq(write_val, pem_pci->pem_reg_base + PEM_CFG_WR); in thunder_pem_bridge_write()
|
/linux-6.1.9/drivers/net/dsa/qca/ |
D | qca8k-8xxx.c | 350 qca8k_regmap_update_bits_eth(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_regmap_update_bits_eth() argument 360 val |= write_val; in qca8k_regmap_update_bits_eth() 418 qca8k_regmap_update_bits(void *ctx, uint32_t reg, uint32_t mask, uint32_t write_val) in qca8k_regmap_update_bits() argument 426 if (!qca8k_regmap_update_bits_eth(priv, reg, mask, write_val)) in qca8k_regmap_update_bits() 442 val |= write_val; in qca8k_regmap_update_bits() 503 u32 write_val, clear_val = 0, val; in qca8k_phy_eth_command() local 513 write_val = QCA8K_MDIO_MASTER_BUSY | QCA8K_MDIO_MASTER_EN | in qca8k_phy_eth_command() 518 write_val |= QCA8K_MDIO_MASTER_READ; in qca8k_phy_eth_command() 520 write_val |= QCA8K_MDIO_MASTER_WRITE; in qca8k_phy_eth_command() 521 write_val |= QCA8K_MDIO_MASTER_DATA(data); in qca8k_phy_eth_command() [all …]
|
D | qca8k.h | 435 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val);
|
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()
|
/linux-6.1.9/drivers/phy/qualcomm/ |
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-6.1.9/include/media/drv-intf/ |
D | tea575x.h | 28 void (*write_val)(struct snd_tea575x *tea, u32 val); member
|
/linux-6.1.9/sound/soc/intel/keembay/ |
D | kmb_platform.c | 586 u32 write_val; in kmb_dai_hw_params() local 631 write_val = ((config->chan_nr / 2) << TDM_CHANNEL_CONFIG_BIT) | in kmb_dai_hw_params() 635 writel(write_val, kmb_i2s->pss_base + I2S_GEN_CFG_0); in kmb_dai_hw_params() 645 write_val = ((config->chan_nr / 2) << TDM_CHANNEL_CONFIG_BIT) | in kmb_dai_hw_params() 649 writel(write_val, kmb_i2s->pss_base + I2S_GEN_CFG_0); in kmb_dai_hw_params()
|
/linux-6.1.9/drivers/iio/amplifiers/ |
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-6.1.9/drivers/hid/ |
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-6.1.9/drivers/iio/frequency/ |
D | adrf6780.c | 297 unsigned int write_val, in adrf6780_reg_access() argument 305 return adrf6780_spi_write(st, reg, write_val); in adrf6780_reg_access()
|
D | admv1013.c | 365 unsigned int write_val, in admv1013_reg_access() argument 373 return admv1013_spi_write(st, reg, write_val); in admv1013_reg_access()
|
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()
|
/linux-6.1.9/drivers/iio/filter/ |
D | admv8818.c | 386 unsigned int write_val, in admv8818_reg_access() argument 394 return regmap_write(st->regmap, reg, write_val); in admv8818_reg_access()
|
/linux-6.1.9/tools/testing/selftests/alsa/ |
D | mixer-test.c | 563 snd_ctl_elem_value_t *write_val, in write_and_verify() argument 578 snd_ctl_elem_value_copy(w_val, write_val); in write_and_verify() 584 snd_ctl_elem_value_copy(expected_val, write_val); in write_and_verify()
|
/linux-6.1.9/drivers/media/radio/ |
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()
|
D | radio-shark.c | 150 .write_val = shark_write_val,
|
/linux-6.1.9/drivers/net/ethernet/adi/ |
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-6.1.9/drivers/pinctrl/ |
D | pinctrl-cy8c95x0.c | 409 int write_val; in cy8c95x0_write_regs_mask() local 459 write_val = bitmap_get_value8(tval, i * BANK_SZ); in cy8c95x0_write_regs_mask() 461 ret = regmap_update_bits(chip->regmap, off, bits, write_val); in cy8c95x0_write_regs_mask()
|
/linux-6.1.9/drivers/iio/dac/ |
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-6.1.9/sound/pci/hda/ |
D | patch_ca0132.c | 3667 unsigned int write_val; in ca0113_mmio_command_set() local 3679 write_val = (target & 0xff); in ca0113_mmio_command_set() 3680 write_val |= (value << 8); in ca0113_mmio_command_set() 3683 writel(write_val, spec->mem_base + 0x204); in ca0113_mmio_command_set() 3706 unsigned int write_val; in ca0113_mmio_command_set_type2() local 3718 write_val = (target & 0xff); in ca0113_mmio_command_set_type2() 3719 write_val |= (value << 8); in ca0113_mmio_command_set_type2() 3722 writel(write_val, spec->mem_base + 0x204); in ca0113_mmio_command_set_type2()
|