/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | floppy.h | 14 int new_val = (val); \ 16 if (new_val & 0xf0) \ 17 new_val = (new_val & 0x0c) | \ 18 floppy_selects[new_val & 3]; \ 20 new_val &= 0x0c; \ 22 outb(new_val, (base) + (reg)); \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm_irq.c | 36 u32 new_val; in gen6_gt_pm_update_irq() local 42 new_val = gt->pm_imr; in gen6_gt_pm_update_irq() 43 new_val &= ~interrupt_mask; in gen6_gt_pm_update_irq() 44 new_val |= ~enabled_irq_mask & interrupt_mask; in gen6_gt_pm_update_irq() 46 if (new_val != gt->pm_imr) { in gen6_gt_pm_update_irq() 47 gt->pm_imr = new_val; in gen6_gt_pm_update_irq()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | trace.h | 276 TP_PROTO(int id, char *reg_name, unsigned int reg, unsigned int new_val, 279 TP_ARGS(id, reg_name, reg, new_val, old_val, changed), 285 __field(unsigned int, new_val) 294 __entry->new_val = new_val; 300 __entry->id, __entry->buf, __entry->reg, __entry->new_val, 348 unsigned int old_val, unsigned int new_val), 350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val), 358 __field(unsigned int, new_val) 367 __entry->new_val = new_val; 373 __entry->old_val, __entry->new_val)
|
/kernel/linux/linux-5.10/arch/x86/include/asm/xen/ |
D | hypercall.h | 344 HYPERVISOR_update_va_mapping(unsigned long va, pte_t new_val, in HYPERVISOR_update_va_mapping() argument 347 if (sizeof(new_val) == sizeof(long)) in HYPERVISOR_update_va_mapping() 349 new_val.pte, flags); in HYPERVISOR_update_va_mapping() 352 new_val.pte, new_val.pte >> 32, flags); in HYPERVISOR_update_va_mapping() 460 pte_t new_val, unsigned long flags) in MULTI_update_va_mapping() argument 464 if (sizeof(new_val) == sizeof(long)) { in MULTI_update_va_mapping() 465 mcl->args[1] = new_val.pte; in MULTI_update_va_mapping() 468 mcl->args[1] = new_val.pte; in MULTI_update_va_mapping() 469 mcl->args[2] = new_val.pte >> 32; in MULTI_update_va_mapping() 473 trace_xen_mc_entry(mcl, sizeof(new_val) == sizeof(long) ? 3 : 4); in MULTI_update_va_mapping()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | prom_common.c | 54 void *new_val; in of_set_property() local 57 new_val = kmemdup(val, len, GFP_KERNEL); in of_set_property() 58 if (!new_val) in of_set_property() 77 prop->value = new_val; in of_set_property()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.h | 39 int dtsec_set_promiscuous(struct fman_mac *dtsec, bool new_val); 44 int dtsec_cfg_max_frame_len(struct fman_mac *dtsec, u16 new_val); 45 int dtsec_cfg_pad_and_crc(struct fman_mac *dtsec, bool new_val);
|
D | fman_tgec.h | 39 int tgec_set_promiscuous(struct fman_mac *tgec, bool new_val); 41 int tgec_cfg_max_frame_len(struct fman_mac *tgec, u16 new_val);
|
D | fman_memac.h | 42 int memac_set_promiscuous(struct fman_mac *memac, bool new_val); 45 int memac_cfg_max_frame_len(struct fman_mac *memac, u16 new_val);
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | intel_pmc_bxt.c | 110 u32 new_val; in intel_pmc_gcr_update() local 116 new_val = readl(pmc->gcr_mem_base + offset); in intel_pmc_gcr_update() 118 new_val = (new_val & ~mask) | (val & mask); in intel_pmc_gcr_update() 119 writel(new_val, pmc->gcr_mem_base + offset); in intel_pmc_gcr_update() 121 new_val = readl(pmc->gcr_mem_base + offset); in intel_pmc_gcr_update() 125 return (new_val & mask) != (val & mask) ? -EIO : 0; in intel_pmc_gcr_update()
|
D | aat2870-core.c | 179 u8 old_val, new_val; in aat2870_update() local 188 new_val = (old_val & ~mask) | (val & mask); in aat2870_update() 189 change = old_val != new_val; in aat2870_update() 191 ret = __aat2870_write(aat2870, addr, new_val); in aat2870_update()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | serdes.c | 101 u16 val, new_val; in mv88e6352_serdes_power() local 109 new_val = val & ~BMCR_PDOWN; in mv88e6352_serdes_power() 111 new_val = val | BMCR_PDOWN; in mv88e6352_serdes_power() 113 if (val != new_val) in mv88e6352_serdes_power() 114 err = mv88e6352_serdes_write(chip, MII_BMCR, new_val); in mv88e6352_serdes_power() 533 u16 val, new_val; in mv88e6390_serdes_power_10g() local 543 new_val = val & ~(MDIO_CTRL1_RESET | in mv88e6390_serdes_power_10g() 547 new_val = val | MDIO_CTRL1_LPOWER; in mv88e6390_serdes_power_10g() 549 if (val != new_val) in mv88e6390_serdes_power_10g() 551 MV88E6390_10G_CTRL1, new_val); in mv88e6390_serdes_power_10g() [all …]
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sdhci-esdhc-imx.c | 588 u32 new_val = 0; in esdhc_writew_le() local 592 new_val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le() 594 new_val |= ESDHC_VENDOR_SPEC_FRC_SDCLK_ON; in esdhc_writew_le() 596 new_val &= ~ESDHC_VENDOR_SPEC_FRC_SDCLK_ON; in esdhc_writew_le() 597 writel(new_val, host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le() 598 if (!(new_val & ESDHC_VENDOR_SPEC_FRC_SDCLK_ON)) in esdhc_writew_le() 602 new_val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le() 604 new_val |= ESDHC_VENDOR_SPEC_VSELECT; in esdhc_writew_le() 606 new_val &= ~ESDHC_VENDOR_SPEC_VSELECT; in esdhc_writew_le() 607 writel(new_val, host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | vmw_vmci_defs.h | 755 static inline void vmci_q_set_pointer(u64 *var, u64 new_val) in vmci_q_set_pointer() argument 758 WRITE_ONCE(*(unsigned long *)var, (unsigned long)new_val); in vmci_q_set_pointer() 767 u64 new_val = vmci_q_read_pointer(var); in vmci_qp_add_pointer() local 769 if (new_val >= size - add) in vmci_qp_add_pointer() 770 new_val -= size; in vmci_qp_add_pointer() 772 new_val += add; in vmci_qp_add_pointer() 774 vmci_q_set_pointer(var, new_val); in vmci_qp_add_pointer()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-it87.c | 139 u8 new_val = curr_val | mask; in superio_set_mask() local 141 if (curr_val != new_val) in superio_set_mask() 142 superio_outb(new_val, reg); in superio_set_mask() 148 u8 new_val = curr_val & ~mask; in superio_clear_mask() local 150 if (curr_val != new_val) in superio_clear_mask() 151 superio_outb(new_val, reg); in superio_clear_mask()
|
D | gpio-ath79.c | 57 u32 old_val, new_val; in ath79_gpio_update_bits() local 60 new_val = (old_val & ~mask) | (bits & mask); in ath79_gpio_update_bits() 62 if (new_val != old_val) in ath79_gpio_update_bits() 63 ath79_gpio_write(ctrl, reg, new_val); in ath79_gpio_update_bits() 65 return new_val != old_val; in ath79_gpio_update_bits()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | pageattr.c | 20 unsigned long new_val = val; in set_pageattr_masks() local 22 new_val &= ~(pgprot_val(masks->clear_mask)); in set_pageattr_masks() 23 new_val |= (pgprot_val(masks->set_mask)); in set_pageattr_masks() 25 return new_val; in set_pageattr_masks()
|
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 92 u32 new_val; in imx1_write_2bit() local 105 new_val = value & 0x3; /* Make sure value is really 2 bit */ in imx1_write_2bit() 106 new_val <<= offset; in imx1_write_2bit() 107 new_val |= old_val;/* Set new state for pin_id */ in imx1_write_2bit() 109 writel(new_val, reg); in imx1_write_2bit() 119 u32 new_val; in imx1_write_bit() local 125 new_val = value & 0x1; /* Make sure value is really 1 bit */ in imx1_write_bit() 126 new_val <<= offset; in imx1_write_bit() 127 new_val |= old_val;/* Set new state for pin_id */ in imx1_write_bit() 129 writel(new_val, reg); in imx1_write_bit()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
D | regmap-debugfs.c | 465 bool new_val, require_sync = false; in regmap_cache_only_write_file() local 468 err = kstrtobool_from_user(user_buf, count, &new_val); in regmap_cache_only_write_file() 479 if (new_val && !map->cache_only) { in regmap_cache_only_write_file() 482 } else if (!new_val && map->cache_only) { in regmap_cache_only_write_file() 486 map->cache_only = new_val; in regmap_cache_only_write_file() 512 bool new_val; in regmap_cache_bypass_write_file() local 515 err = kstrtobool_from_user(user_buf, count, &new_val); in regmap_cache_bypass_write_file() 526 if (new_val && !map->cache_bypass) { in regmap_cache_bypass_write_file() 529 } else if (!new_val && map->cache_bypass) { in regmap_cache_bypass_write_file() 532 map->cache_bypass = new_val; in regmap_cache_bypass_write_file()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | ahci_st.c | 41 unsigned long old_val, new_val; in st_ahci_configure_oob() local 43 new_val = (0x02 << ST_AHCI_OOBR_CWMIN_SHIFT) | in st_ahci_configure_oob() 50 writel(new_val | ST_AHCI_OOBR_WE, mmio + ST_AHCI_OOBR); in st_ahci_configure_oob() 51 writel(new_val, mmio + ST_AHCI_OOBR); in st_ahci_configure_oob()
|
/kernel/linux/linux-5.10/lib/ |
D | packing.c | 34 u64 new_val = 0; in bit_reverse() local 40 new_val |= (bit << (width - i - 1)); in bit_reverse() 42 return new_val; in bit_reverse()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | max8997-regulator.c | 539 u8 new_val, int *best) in max8997_assess_side_effect() argument 575 if (new_val != (buckx_val[rid])[i]) { in max8997_assess_side_effect() 621 int new_val, new_idx, damage, tmp_val, tmp_idx, tmp_dmg; in max8997_set_voltage_buck() local 647 new_val = max8997_get_voltage_proper_val(desc, min_uV, max_uV); in max8997_set_voltage_buck() 648 if (new_val < 0) in max8997_set_voltage_buck() 649 return new_val; in max8997_set_voltage_buck() 655 damage = max8997_assess_side_effect(rdev, new_val, &new_idx); in max8997_set_voltage_buck() 661 tmp_val = new_val; in max8997_set_voltage_buck() 665 new_val++; in max8997_set_voltage_buck() 666 } while (desc->min + desc->step * new_val <= desc->max); in max8997_set_voltage_buck() [all …]
|
/kernel/linux/linux-5.10/sound/core/ |
D | vmaster.c | 313 static int sync_followers(struct link_master *master, int old_val, int new_val) in sync_followers() argument 325 master->val = new_val; in sync_followers() 336 int err, new_val, old_val; in master_put() local 344 new_val = ucontrol->value.integer.value[0]; in master_put() 345 if (new_val == old_val) in master_put() 348 err = sync_followers(master, old_val, new_val); in master_put()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_top.c | 96 u32 reg_val, new_val; in dpu_hw_setup_clk_force_ctrl() local 113 new_val = reg_val | BIT(bit_off); in dpu_hw_setup_clk_force_ctrl() 115 new_val = reg_val & ~BIT(bit_off); in dpu_hw_setup_clk_force_ctrl() 117 DPU_REG_WRITE(c, reg_off, new_val); in dpu_hw_setup_clk_force_ctrl()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | i8259.c | 305 unsigned char new_val; in probe_8259A() local 317 new_val = inb(PIC_MASTER_IMR); in probe_8259A() 318 if (new_val != probe_val) { in probe_8259A()
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
D | conf_space.c | 115 static inline u32 merge_value(u32 val, u32 new_val, u32 new_val_mask, in merge_value() argument 120 new_val <<= (offset * 8); in merge_value() 123 new_val >>= (offset * -8); in merge_value() 125 val = (val & ~new_val_mask) | (new_val & new_val_mask); in merge_value()
|