/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | trace.h | 277 unsigned int old_val, bool changed), 279 TP_ARGS(id, reg_name, reg, new_val, old_val, changed), 286 __field(unsigned int, old_val) 295 __entry->old_val = old_val; 301 __entry->old_val, __entry->changed) 348 unsigned int old_val, unsigned int new_val), 350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val), 357 __field(unsigned int, old_val) 366 __entry->old_val = old_val; 373 __entry->old_val, __entry->new_val)
|
/linux-6.1.9/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi_signal_restart.c | 94 unsigned int old_val; in waiterfn() local 101 old_val = f1; in waiterfn() 102 res = futex_wait_requeue_pi(&f1, old_val, &(f2), NULL, in waiterfn() 120 unsigned int old_val; in main() local 181 old_val = f1; in main() 182 res = futex_cmp_requeue_pi(&f1, old_val, &(f2), 1, 0, in main()
|
D | futex_requeue_pi.c | 111 futex_t old_val; in waiterfn() local 119 old_val = f1; in waiterfn() 123 args->ret = futex_wait_requeue_pi(&f1, old_val, &f2, args->timeout, in waiterfn() 149 futex_t old_val; in broadcast_wakerfn() local 164 old_val = f1; in broadcast_wakerfn() 165 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn() 195 unsigned int old_val; in signal_wakerfn() local 216 old_val = f1; in signal_wakerfn() 217 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, in signal_wakerfn()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb.c | 1709 u32 old_val; in i40e_dcb_hw_rx_pb_config() local 1720 old_val = old_pb_cfg->shared_pool_low_wm; in i40e_dcb_hw_rx_pb_config() 1722 if (new_val < old_val) { in i40e_dcb_hw_rx_pb_config() 1734 old_val = old_pb_cfg->shared_pool_low_thresh[i]; in i40e_dcb_hw_rx_pb_config() 1736 if (new_val < old_val) { in i40e_dcb_hw_rx_pb_config() 1744 old_val = old_pb_cfg->tc_pool_low_wm[i]; in i40e_dcb_hw_rx_pb_config() 1746 if (new_val < old_val) { in i40e_dcb_hw_rx_pb_config() 1756 old_val = old_pb_cfg->shared_pool_high_wm; in i40e_dcb_hw_rx_pb_config() 1758 if (new_val < old_val) { in i40e_dcb_hw_rx_pb_config() 1770 old_val = old_pb_cfg->shared_pool_high_thresh[i]; in i40e_dcb_hw_rx_pb_config() [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-ath79.c | 57 u32 old_val, new_val; in ath79_gpio_update_bits() local 59 old_val = ath79_gpio_read(ctrl, reg); in ath79_gpio_update_bits() 60 new_val = (old_val & ~mask) | (bits & mask); in ath79_gpio_update_bits() 62 if (new_val != old_val) in ath79_gpio_update_bits() 65 return new_val != old_val; in ath79_gpio_update_bits()
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 110 int old_val; in qla2x00_set_fcport_disc_state() local 119 old_val = atomic_read(&fcport->shadow_disc_state); in qla2x00_set_fcport_disc_state() 120 if (old_val == atomic_cmpxchg(&fcport->shadow_disc_state, in qla2x00_set_fcport_disc_state() 121 old_val, (old_val << shiftbits) | state)) { in qla2x00_set_fcport_disc_state() 124 fcport->port_name, port_dstate_str[old_val & mask], in qla2x00_set_fcport_disc_state()
|
/linux-6.1.9/kernel/sched/ |
D | clock.c | 300 u64 *ptr, old_val, val; in sched_clock_remote() local 341 old_val = remote_clock; in sched_clock_remote() 348 old_val = this_clock; in sched_clock_remote() 352 if (!try_cmpxchg64(ptr, &old_val, val)) in sched_clock_remote()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac_lib.c | 261 u32 old_val, value; in stmmac_set_mac() local 263 old_val = readl(ioaddr + MAC_CTRL_REG); in stmmac_set_mac() 264 value = old_val; in stmmac_set_mac() 271 if (value != old_val) in stmmac_set_mac()
|
D | dwmac5.c | 439 u32 old_val, val; in dwmac5_rxp_config() local 442 old_val = readl(ioaddr + GMAC_CONFIG); in dwmac5_rxp_config() 443 val = old_val & ~GMAC_CONFIG_RE; in dwmac5_rxp_config() 516 writel(old_val, ioaddr + GMAC_CONFIG); in dwmac5_rxp_config()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | unpriv_bpf_disabled.c | 38 static int sysctl_set(const char *sysctl_path, char *old_val, const char *new_val) in sysctl_set() argument 46 if (old_val && fscanf(fp, "%s", old_val) <= 0) { in sysctl_set() 48 } else if (!old_val || strcmp(old_val, new_val) != 0) { in sysctl_set()
|
/linux-6.1.9/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 91 u32 old_val; in imx1_write_2bit() local 102 old_val = readl(reg); in imx1_write_2bit() 103 old_val &= mask; in imx1_write_2bit() 107 new_val |= old_val;/* Set new state for pin_id */ in imx1_write_2bit() 118 u32 old_val; in imx1_write_bit() local 122 old_val = readl(reg); in imx1_write_bit() 123 old_val &= mask; in imx1_write_bit() 127 new_val |= old_val;/* Set new state for pin_id */ in imx1_write_bit()
|
/linux-6.1.9/drivers/macintosh/ |
D | mac_hid.c | 189 int old_val = *valp; in mac_hid_toggle_emumouse() local 198 if (rc == 0 && write && *valp != old_val) { in mac_hid_toggle_emumouse() 209 *valp = old_val; in mac_hid_toggle_emumouse()
|
/linux-6.1.9/sound/core/ |
D | vmaster.c | 313 static int sync_followers(struct link_master *master, int old_val, int new_val) in sync_followers() argument 322 master->val = old_val; in sync_followers() 336 int err, new_val, old_val; in master_put() local 343 old_val = master->val; in master_put() 345 if (new_val == old_val) in master_put() 348 err = sync_followers(master, old_val, new_val); in master_put()
|
/linux-6.1.9/drivers/ata/ |
D | ahci_st.c | 41 unsigned long old_val, new_val; in st_ahci_configure_oob() local 48 old_val = readl(mmio + ST_AHCI_OOBR); in st_ahci_configure_oob() 49 writel(old_val | ST_AHCI_OOBR_WE, mmio + ST_AHCI_OOBR); in st_ahci_configure_oob()
|
/linux-6.1.9/drivers/net/ |
D | mdio.c | 70 int old_val = mdio->mdio_read(mdio->dev, prtad, devad, addr); in mdio_set_flag() local 73 if (old_val < 0) in mdio_set_flag() 74 return old_val; in mdio_set_flag() 76 new_val = old_val | mask; in mdio_set_flag() 78 new_val = old_val & ~mask; in mdio_set_flag() 79 if (old_val == new_val) in mdio_set_flag()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | prom_common.c | 70 void *old_val = prop->value; in of_set_property() local 81 kfree(old_val); in of_set_property()
|
/linux-6.1.9/drivers/mfd/ |
D | aat2870-core.c | 179 u8 old_val, new_val; in aat2870_update() local 184 ret = __aat2870_read(aat2870, addr, &old_val); in aat2870_update() 188 new_val = (old_val & ~mask) | (val & mask); in aat2870_update() 189 change = old_val != new_val; in aat2870_update()
|
/linux-6.1.9/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 761 unsigned short old_val, val; in snd_ad1816a_put_single() local 768 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_single() 769 val = (old_val & ~(mask << shift)) | val; in snd_ad1816a_put_single() 770 change = val != old_val; in snd_ad1816a_put_single() 833 unsigned short old_val, val1, val2; in snd_ad1816a_put_double() local 844 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_double() 845 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double() 846 change = val1 != old_val; in snd_ad1816a_put_double()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | atom.c | 455 atom_dst_to_src[(attr >> 3) & 7][(attr >> 6) & 3], old_val = in atom_put_dst() local 458 old_val &= atom_arg_mask[align] >> atom_arg_shift[align]; in atom_put_dst() 561 DEBUG(".[31:0] <- 0x%08X\n", old_val); in atom_put_dst() 564 DEBUG(".[15:0] <- 0x%04X\n", old_val); in atom_put_dst() 567 DEBUG(".[23:8] <- 0x%04X\n", old_val); in atom_put_dst() 570 DEBUG(".[31:16] <- 0x%04X\n", old_val); in atom_put_dst() 573 DEBUG(".[7:0] <- 0x%02X\n", old_val); in atom_put_dst() 576 DEBUG(".[15:8] <- 0x%02X\n", old_val); in atom_put_dst() 579 DEBUG(".[23:16] <- 0x%02X\n", old_val); in atom_put_dst() 582 DEBUG(".[31:24] <- 0x%02X\n", old_val); in atom_put_dst()
|
/linux-6.1.9/drivers/media/pci/solo6x10/ |
D | solo6x10-g723.c | 298 u8 old_val; in snd_solo_capture_volume_put() local 300 old_val = tw28_get_audio_gain(solo_dev, ch); in snd_solo_capture_volume_put() 301 if (old_val == value->value.integer.value[0]) in snd_solo_capture_volume_put()
|
D | solo6x10-tw28.c | 847 u8 old_val; in tw28_set_audio_gain() local 854 old_val = tw_readbyte(solo_dev, chip_num, in tw28_set_audio_gain() 858 val = (old_val & ((ch % 2) ? 0x0f : 0xf0)) | in tw28_set_audio_gain()
|
/linux-6.1.9/tools/perf/util/ |
D | expr.c | 282 struct expr_id_data *old_val = NULL; in expr__del_id() local 286 (const void **)&old_key, (void **)&old_val); in expr__del_id() 288 free(old_val); in expr__del_id()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 453 atom_dst_to_src[(attr >> 3) & 7][(attr >> 6) & 3], old_val = in atom_put_dst() local 456 old_val &= atom_arg_mask[align] >> atom_arg_shift[align]; in atom_put_dst() 559 DEBUG(".[31:0] <- 0x%08X\n", old_val); in atom_put_dst() 562 DEBUG(".[15:0] <- 0x%04X\n", old_val); in atom_put_dst() 565 DEBUG(".[23:8] <- 0x%04X\n", old_val); in atom_put_dst() 568 DEBUG(".[31:16] <- 0x%04X\n", old_val); in atom_put_dst() 571 DEBUG(".[7:0] <- 0x%02X\n", old_val); in atom_put_dst() 574 DEBUG(".[15:8] <- 0x%02X\n", old_val); in atom_put_dst() 577 DEBUG(".[23:16] <- 0x%02X\n", old_val); in atom_put_dst() 580 DEBUG(".[31:24] <- 0x%02X\n", old_val); in atom_put_dst()
|
/linux-6.1.9/sound/i2c/other/ |
D | ak4117.c | 204 u8 old_val; in snd_ak4117_rx_put() local 207 old_val = chip->regmap[AK4117_REG_IO]; in snd_ak4117_rx_put() 208 change = !!ucontrol->value.integer.value[0] != ((old_val & AK4117_IPS) ? 1 : 0); in snd_ak4117_rx_put() 210 …reg_write(chip, AK4117_REG_IO, (old_val & ~AK4117_IPS) | (ucontrol->value.integer.value[0] ? AK411… in snd_ak4117_rx_put()
|
D | ak4113.c | 236 u8 old_val; in snd_ak4113_rx_put() local 239 old_val = chip->regmap[AK4113_REG_IO1]; in snd_ak4113_rx_put() 240 change = ucontrol->value.integer.value[0] != AK4113_IPS(old_val); in snd_ak4113_rx_put() 243 (old_val & (~AK4113_IPS(0xff))) | in snd_ak4113_rx_put()
|