/linux-master/drivers/mtd/nand/raw/ |
H A D | diskonchip.c | 1399 unsigned char newval; local 1408 newval = ReadDOC(virtadr, Mplus_AliasResolution); 1411 newval = ReadDOC(virtadr, AliasResolution); 1413 if (oldval != newval) 1416 WriteDOC(~newval, virtadr, Mplus_AliasResolution); 1418 WriteDOC(newval, virtadr, Mplus_AliasResolution); // restore it 1420 WriteDOC(~newval, virtadr, AliasResolution); 1422 WriteDOC(newval, virtadr, AliasResolution); // restore it 1424 newval = ~newval; [all...] |
/linux-master/arch/x86/kernel/cpu/ |
H A D | common.c | 449 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4); local 453 newval = (cr4 & ~clear) | set; 454 if (newval != cr4) { 455 this_cpu_write(cpu_tlbstate.cr4, newval); 456 __write_cr4(newval);
|
/linux-master/drivers/net/phy/ |
H A D | micrel.c | 810 int newval; local 829 newval = kszphy_extended_read(phydev, reg); 831 newval = 0; 834 newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0); 837 newval = ((newval & 0xff0f) | ((val2 / PS_TO_REG) & 0xf) << 4); 840 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); 843 newval 949 u16 newval; local 1179 u16 newval; local [all...] |
/linux-master/scripts/kconfig/ |
H A D | conf.c | 385 tristate oldval, newval; local 418 newval = no; 424 newval = mod; 430 newval = yes; 435 newval = oldval; 442 if (sym_set_tristate_value(sym, newval))
|
H A D | symbol.c | 330 struct symbol_value newval, oldval; local 351 newval.tri = no; 355 newval.val = "0"; 358 newval.val = "0x0"; 361 newval.val = ""; 365 newval.val = "n"; 380 sym->curr = newval; 387 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; 394 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, 404 newval 545 tristate oldval, newval; local 651 sym_set_string_value(struct symbol *sym, const char *newval) argument [all...] |
H A D | lkc_proto.h | 32 bool sym_string_valid(struct symbol *sym, const char *newval); 34 bool sym_set_string_value(struct symbol *sym, const char *newval);
|
/linux-master/drivers/scsi/cxlflash/ |
H A D | main.c | 355 int newval; local 358 newval = atomic_dec_if_positive(&hwq->hsq_credits); 359 if (newval <= 0) {
|
/linux-master/drivers/media/i2c/ |
H A D | max2175.c | 353 u8 msb, u8 lsb, u8 newval) 356 newval << lsb); 364 static int max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) argument 366 return max2175_write_bits(ctx, idx, bit, bit, newval); 352 max2175_write_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, u8 newval) argument
|
/linux-master/drivers/clk/renesas/ |
H A D | renesas-cpg-mssr.c | 918 u32 mask, oldval, newval; local 938 newval = oldval & ~mask; 939 newval |= priv->smstpcr_saved[reg].val & mask; 940 if (newval == oldval) 944 writeb(newval, priv->base + priv->control_regs[reg]); 950 writel(newval, priv->base + priv->control_regs[reg]);
|
/linux-master/arch/arm64/kvm/ |
H A D | sys_regs.c | 3754 u32 val, newval; local 3771 if (get_user(newval, uval)) 3774 return set_ccsidr(vcpu, val, newval);
|
/linux-master/sound/pci/hda/ |
H A D | hda_codec.c | 1093 unsigned int oldval, newval; local 1097 newval = (stream_tag << 4) | channel_id; 1098 if (oldval != newval) 1101 newval);
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 6132 static void tg3_refclk_write(struct tg3 *tp, u64 newval) argument 6137 tw32(TG3_EAV_REF_CLCK_LSB, newval & 0xffffffff); 6138 tw32(TG3_EAV_REF_CLCK_MSB, newval >> 32);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_redirect.c | 72 static int write_file(const char *path, const char *newval) argument 79 if (fwrite(newval, strlen(newval), 1, f) != 1) {
|
/linux-master/kernel/printk/ |
H A D | printk_ringbuffer.c | 1506 unsigned long newval; local 1525 newval = __u64seq_to_ulseq(finalized_seq); 1552 &oldval, newval)) { /* LMM(desc_update_last_finalized:A) */
|
/linux-master/drivers/net/bonding/ |
H A D | bond_options.c | 20 const struct bond_opt_value *newval); 22 const struct bond_opt_value *newval); 24 const struct bond_opt_value *newval); 26 const struct bond_opt_value *newval); 28 const struct bond_opt_value *newval); 30 const struct bond_opt_value *newval); 32 const struct bond_opt_value *newval); 36 const struct bond_opt_value *newval); 38 const struct bond_opt_value *newval); 40 const struct bond_opt_value *newval); 867 bond_option_mode_set(struct bonding *bond, const struct bond_opt_value *newval) argument 907 bond_option_active_slave_set(struct bonding *bond, const struct bond_opt_value *newval) argument 971 bond_option_miimon_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1013 _bond_option_delay_set(struct bonding *bond, const struct bond_opt_value *newval, const char *name, int *target) argument 1041 bond_option_updelay_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1048 bond_option_downdelay_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1055 bond_option_peer_notif_delay_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1064 bond_option_use_carrier_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1078 bond_option_arp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1210 bond_option_arp_ip_targets_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1261 bond_option_ns_ip6_targets_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1294 bond_option_ns_ip6_targets_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1301 bond_option_arp_validate_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1311 bond_option_arp_all_targets_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1321 bond_option_missed_max_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1331 bond_option_prio_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1352 bond_option_primary_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1400 bond_option_primary_reselect_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1414 bond_option_fail_over_mac_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1424 bond_option_xmit_hash_policy_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1434 bond_option_resend_igmp_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1444 bond_option_num_peer_notif_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1452 bond_option_all_slaves_active_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1473 bond_option_min_links_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1484 bond_option_lp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1492 bond_option_pps_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1512 bond_option_lacp_active_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1522 bond_option_lacp_rate_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1533 bond_option_ad_select_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1543 bond_option_queue_id_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1604 bond_option_slaves_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1652 bond_option_tlb_dynamic_lb_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1662 bond_option_ad_actor_sys_prio_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1674 bond_option_ad_actor_system_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1702 bond_option_ad_user_port_key_set(struct bonding *bond, const struct bond_opt_value *newval) argument 1712 bond_option_coupled_control_set(struct bonding *bond, const struct bond_opt_value *newval) argument [all...] |
H A D | bond_netlink.c | 151 struct bond_opt_value newval; local 164 bond_opt_initstr(&newval, queue_id_str); 165 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval, 174 bond_opt_slave_initval(&newval, &slave_dev, prio); 175 err = __bond_opt_set(bond, BOND_OPT_PRIO, &newval, 189 struct bond_opt_value newval; local 199 bond_opt_initval(&newval, mode); 200 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval, 217 bond_opt_initstr(&newval, active_slave); 218 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval, [all...] |
H A D | bond_main.c | 4501 struct bond_opt_value newval; local 4558 bond_opt_initstr(&newval, slave_dev->name); 4560 &newval); 5946 struct bond_opt_value newval; local 5960 bond_opt_initstr(&newval, mode); 5961 valptr = bond_opt_parse(bond_opt_get(BOND_OPT_MODE), &newval); 5976 bond_opt_initstr(&newval, xmit_hash_policy); 5978 &newval); 5993 bond_opt_initstr(&newval, lacp_rate); 5995 &newval); [all...] |
/linux-master/arch/x86/kernel/ |
H A D | process.c | 683 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4); local 685 newval = cr4 ^ mask; 686 if (newval != cr4) { 687 this_cpu_write(cpu_tlbstate.cr4, newval); 688 __write_cr4(newval);
|
/linux-master/tools/testing/selftests/rseq/ |
H A D | param_test.c | 614 intptr_t *targetptr, newval, expect; local 620 newval = (intptr_t)node; 624 targetptr, expect, newval, cpu); 824 intptr_t *targetptr, newval; local 836 newval = offset - 1; 841 (intptr_t)head, newval, cpu);
|
H A D | basic_percpu_ops_test.c | 177 intptr_t *targetptr, newval, expect; local 183 newval = (intptr_t)node; 187 targetptr, expect, newval, cpu);
|
/linux-master/fs/jfs/ |
H A D | jfs_dmap.c | 66 static void dbSplit(dmtree_t *tp, int leafno, int splitsz, int newval, bool is_ctl); 68 static int dbJoin(dmtree_t *tp, int leafno, int newval, bool is_ctl); 69 static void dbAdjTree(dmtree_t *tp, int leafno, int newval, bool is_ctl); 70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, 2455 * newval - the new value of the lower level dmap or dmap control 2468 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) argument 2531 dbSplit((dmtree_t *) dcp, leafno, dcp->budmin, newval, true); 2533 rc = dbJoin((dmtree_t *) dcp, leafno, newval, true); 2618 * newval - the new value for the leaf. 2624 static void dbSplit(dmtree_t *tp, int leafno, int splitsz, int newval, boo argument 2768 dbJoin(dmtree_t *tp, int leafno, int newval, bool is_ctl) argument 2862 dbAdjTree(dmtree_t *tp, int leafno, int newval, bool is_ctl) argument [all...] |
/linux-master/kernel/futex/ |
H A D | pi.c | 475 static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) argument 483 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); 522 u32 uval, newval, vpid = task_pid_vnr(task); local 564 newval = uval & FUTEX_OWNER_DIED; 565 newval |= vpid; 569 newval |= FUTEX_WAITERS; 571 ret = lock_pi_update_atomic(uaddr, uval, newval); 599 newval = uval | FUTEX_WAITERS; 600 ret = lock_pi_update_atomic(uaddr, uval, newval); 608 return attach_to_pi_owner(uaddr, newval, ke 621 u32 curval, newval; local 676 u32 uval, curval, newval, newtid; local [all...] |
H A D | core.c | 453 int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval) argument 458 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval);
|
/linux-master/arch/um/kernel/skas/ |
H A D | uaccess.c | 317 * uaddr with newval if the current value is 322 * @newval: new value to store to @uaddr 331 u32 oldval, u32 newval) 355 ret = cmpxchg(uaddr, oldval, newval); 330 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) argument
|
/linux-master/sound/usb/ |
H A D | mixer_quirks.c | 923 u8 newval = ucontrol->value.integer.value[0]; local 926 if (oldval == newval) 930 kcontrol->private_value |= (unsigned int)newval << 24;
|