[go: nahoru, domu]

Searched defs:newval (Results 1 - 19 of 19) sorted by relevance

/drivers/mmc/host/
H A Dsdhci-bcm2835.c83 u32 newval = (oldval & ~mask) | (val << word_shift); local
86 bcm2835_host->shadow = newval;
88 bcm2835_sdhci_writel(host, newval, reg & ~3);
107 u32 newval = (oldval & ~mask) | (val << byte_shift); local
109 bcm2835_sdhci_writel(host, newval, reg & ~3);
/drivers/net/bonding/
H A Dbond_netlink.c119 struct bond_opt_value newval; local
132 bond_opt_initstr(&newval, queue_id_str);
133 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval);
145 struct bond_opt_value newval; local
155 bond_opt_initval(&newval, mode);
156 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval);
172 bond_opt_initstr(&newval, active_slave);
173 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval);
180 bond_opt_initval(&newval, miimon);
181 err = __bond_opt_set(bond, BOND_OPT_MIIMON, &newval);
[all...]
H A Dbond_options.c22 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);
42 const struct bond_opt_value *newval);
672 bond_option_mode_set(struct bonding *bond, const struct bond_opt_value *newval) argument
706 bond_option_active_slave_set(struct bonding *bond, const struct bond_opt_value *newval) argument
775 bond_option_miimon_set(struct bonding *bond, const struct bond_opt_value *newval) argument
814 bond_option_updelay_set(struct bonding *bond, const struct bond_opt_value *newval) argument
836 bond_option_downdelay_set(struct bonding *bond, const struct bond_opt_value *newval) argument
858 bond_option_use_carrier_set(struct bonding *bond, const struct bond_opt_value *newval) argument
872 bond_option_arp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1004 bond_option_arp_ip_targets_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1030 bond_option_arp_validate_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1047 bond_option_arp_all_targets_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1057 bond_option_primary_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1106 bond_option_primary_reselect_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1120 bond_option_fail_over_mac_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1130 bond_option_xmit_hash_policy_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1140 bond_option_resend_igmp_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1150 bond_option_num_peer_notif_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1158 bond_option_all_slaves_active_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1179 bond_option_min_links_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1189 bond_option_lp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1197 bond_option_pps_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1215 bond_option_lacp_rate_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1226 bond_option_ad_select_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1236 bond_option_queue_id_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1297 bond_option_slaves_set(struct bonding *bond, const struct bond_opt_value *newval) argument
1343 bond_option_tlb_dynamic_lb_set(struct bonding *bond, const struct bond_opt_value *newval) argument
[all...]
H A Dbond_main.c3181 struct bond_opt_value newval; local
3269 bond_opt_initstr(&newval, slave_dev->name);
3270 res = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval);
4052 struct bond_opt_value newval; local
4058 bond_opt_initstr(&newval, mode);
4059 valptr = bond_opt_parse(bond_opt_get(BOND_OPT_MODE), &newval);
4074 bond_opt_initstr(&newval, xmit_hash_policy);
4076 &newval);
4091 bond_opt_initstr(&newval, lacp_rate);
4093 &newval);
[all...]
/drivers/scsi/aic94xx/
H A Daic94xx_reg.h215 * @newval: the new value to replace it
226 u16 oldval, u16 newval)
233 asd_write_reg_word(asd_ha, ANEWDATA, newval);
224 asd_ddbsite_update_word(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u16 oldval, u16 newval) argument
/drivers/scsi/lpfc/
H A Dlpfc_nl.h137 uint32_t newval; member in struct:lpfc_scsi_varqueuedepth_event
/drivers/watchdog/
H A Dbcm_kona_wdt.c186 unsigned mask, unsigned newval)
199 val |= newval;
185 bcm_kona_wdt_ctrl_reg_modify(struct bcm_kona_wdt *wdt, unsigned mask, unsigned newval) argument
/drivers/media/usb/em28xx/
H A Dem28xx-core.c219 u8 newval; local
225 newval = (((u8) oldval) & ~bitmask) | (val & bitmask);
227 return em28xx_write_regs(dev, reg, &newval, 1);
238 u8 newval; local
244 newval = (~oldval & bitmask) | (oldval & ~bitmask);
246 return em28xx_write_reg(dev, reg, newval);
/drivers/net/phy/
H A Dmicrel.c229 int newval; local
248 newval = kszphy_extended_read(phydev, reg);
250 newval = 0;
253 newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0);
256 newval = ((newval & 0xff0f) | ((val2 / PS_TO_REG) & 0xf) << 4);
259 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8);
262 newval
330 u16 newval; local
[all...]
/drivers/video/fbdev/
H A Damba-clcd.c355 u32 val, mask, newval; local
357 newval = (red >> 11) & 0x001f;
358 newval |= (green >> 6) & 0x03e0;
359 newval |= (blue >> 1) & 0x7c00;
369 newval <<= 16;
376 writel(val | newval, fb->regs + hw_reg);
/drivers/hwmon/
H A Dasc7621.c485 u8 currval, newval = 0; local
496 newval = i;
501 newval = (newval & param->mask[0]) << param->shift[0];
503 newval |= (currval & ~(param->mask[0] << param->shift[0]));
504 data->reg[param->msb[0]] = newval;
505 write_byte(client, param->msb[0], newval);
535 u8 currval, config, altbit, newval; local
561 newval = config | (currval & ~(param->mask[0] << param->shift[0]));
562 newval
573 u8 config, altbit, minoff, val, newval; local
604 u8 currval, config, altbit, newval, minoff = 255; local
677 u8 currval, newval = 255; local
726 u8 currval, newval = 255; local
773 u8 currval, newval = 255; local
[all...]
/drivers/mtd/nand/
H A Ddiskonchip.c1528 unsigned char newval; local
1537 newval = ReadDOC(virtadr, Mplus_AliasResolution);
1540 newval = ReadDOC(virtadr, AliasResolution);
1542 if (oldval != newval)
1545 WriteDOC(~newval, virtadr, Mplus_AliasResolution);
1547 WriteDOC(newval, virtadr, Mplus_AliasResolution); // restore it
1549 WriteDOC(~newval, virtadr, AliasResolution);
1551 WriteDOC(newval, virtadr, AliasResolution); // restore it
1553 newval = ~newval;
[all...]
/drivers/staging/media/lirc/
H A Dlirc_sir.c323 int newval; local
327 newval = val & PULSE_MASK;
335 if (newval > TIME_CONST/2)
336 newval -= TIME_CONST/2;
338 newval = 1;
339 newval |= PULSE_BIT;
341 newval += TIME_CONST/2;
348 rx_buf[rx_tail] = newval;
/drivers/usb/serial/
H A Diuu_phoenix.c898 u32 newval = cflag & supported_mask; local
938 tty->termios.c_cflag |= newval | csize;
/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c592 u64 newval = 0; local
593 qib_write_kreg(dd, acc, newval);
603 u64 newval = EPB_ACC_REQ | oct_sel; local
604 qib_write_kreg(dd, acc, newval);
/drivers/media/usb/dvb-usb/
H A Dcxusb.c104 u8 newval)
110 o[1] = newval & changemask; /* new values for bits */
113 if (rc < 0 || (gpio_state & changemask) != (newval & changemask))
103 cxusb_bluebird_gpio_rw(struct dvb_usb_device *d, u8 changemask, u8 newval) argument
/drivers/net/ethernet/natsemi/
H A Dnatsemi.c639 static int netdev_set_wol(struct net_device *dev, u32 newval);
641 static int netdev_set_sopass(struct net_device *dev, u8 *newval);
2691 static int netdev_set_wol(struct net_device *dev, u32 newval) argument
2698 if (newval & WAKE_PHY)
2700 if (newval & WAKE_UCAST)
2702 if (newval & WAKE_MCAST)
2704 if (newval & WAKE_BCAST)
2706 if (newval & WAKE_ARP)
2708 if (newval & WAKE_MAGIC)
2711 if (newval
2757 netdev_set_sopass(struct net_device *dev, u8 *newval) argument
[all...]
/drivers/tty/
H A Dsynclinkmp.c3073 unsigned char newval = oldval + local
3076 if ( oldval != newval ) {
3077 info->ie1_value = newval;
/drivers/net/ethernet/broadcom/
H A Dtg3.c6133 static void tg3_refclk_write(struct tg3 *tp, u64 newval) argument
6138 tw32(TG3_EAV_REF_CLCK_LSB, newval & 0xffffffff);
6139 tw32(TG3_EAV_REF_CLCK_MSB, newval >> 32);

Completed in 464 milliseconds