/drivers/net/bonding/ |
D | bond_options.c | 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); 34 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); 44 const struct bond_opt_value *newval); [all …]
|
D | bond_netlink.c | 139 struct bond_opt_value newval; in bond_slave_changelink() local 152 bond_opt_initstr(&newval, queue_id_str); in bond_slave_changelink() 153 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval); in bond_slave_changelink() 166 struct bond_opt_value newval; in bond_changelink() local 176 bond_opt_initval(&newval, mode); in bond_changelink() 177 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval); in bond_changelink() 193 bond_opt_initstr(&newval, active_slave); in bond_changelink() 194 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval); in bond_changelink() 201 bond_opt_initval(&newval, miimon); in bond_changelink() 202 err = __bond_opt_set(bond, BOND_OPT_MIIMON, &newval); in bond_changelink() [all …]
|
D | bond_main.c | 3444 struct bond_opt_value newval; in bond_do_ioctl() local 3531 bond_opt_initstr(&newval, slave_dev->name); in bond_do_ioctl() 3533 &newval); in bond_do_ioctl() 4325 struct bond_opt_value newval; in bond_check_params() local 4339 bond_opt_initstr(&newval, mode); in bond_check_params() 4340 valptr = bond_opt_parse(bond_opt_get(BOND_OPT_MODE), &newval); in bond_check_params() 4355 bond_opt_initstr(&newval, xmit_hash_policy); in bond_check_params() 4357 &newval); in bond_check_params() 4372 bond_opt_initstr(&newval, lacp_rate); in bond_check_params() 4374 &newval); in bond_check_params() [all …]
|
/drivers/hwmon/ |
D | asc7621.c | 485 u8 currval, newval = 0; in store_ap2_temp() local 496 newval = i; in store_ap2_temp() 501 newval = (newval & param->mask[0]) << param->shift[0]; in store_ap2_temp() 503 newval |= (currval & ~(param->mask[0] << param->shift[0])); in store_ap2_temp() 504 data->reg[param->msb[0]] = newval; in store_ap2_temp() 505 write_byte(client, param->msb[0], newval); in store_ap2_temp() 535 u8 currval, config, altbit, newval; in store_pwm_ac() local 561 newval = config | (currval & ~(param->mask[0] << param->shift[0])); in store_pwm_ac() 562 newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); in store_pwm_ac() 563 data->reg[param->msb[0]] = newval; in store_pwm_ac() [all …]
|
/drivers/net/phy/ |
D | micrel.c | 363 int newval; in ksz9021_load_values_from_of() local 382 newval = kszphy_extended_read(phydev, reg); in ksz9021_load_values_from_of() 384 newval = 0; in ksz9021_load_values_from_of() 387 newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0); in ksz9021_load_values_from_of() 390 newval = ((newval & 0xff0f) | ((val2 / PS_TO_REG) & 0xf) << 4); in ksz9021_load_values_from_of() 393 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); in ksz9021_load_values_from_of() 396 newval = ((newval & 0x0fff) | ((val4 / PS_TO_REG) & 0xf) << 12); in ksz9021_load_values_from_of() 398 return kszphy_extended_write(phydev, reg, newval); in ksz9021_load_values_from_of() 482 u16 newval; in ksz9031_of_load_skew_values() local 493 newval = ksz9031_extended_read(phydev, OP_DATA, 2, reg); in ksz9031_of_load_skew_values() [all …]
|
/drivers/mmc/host/ |
D | sdhci-iproc.c | 120 u32 oldval, newval; in sdhci_iproc_writew() local 139 newval = (oldval & ~mask) | (val << word_shift); in sdhci_iproc_writew() 143 iproc_host->shadow_cmd = newval; in sdhci_iproc_writew() 147 iproc_host->shadow_blk = newval; in sdhci_iproc_writew() 151 sdhci_iproc_writel(host, newval, reg & ~3); in sdhci_iproc_writew() 160 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb() local 162 sdhci_iproc_writel(host, newval, reg & ~3); in sdhci_iproc_writeb()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 121 static void hns_gmac_set_tx_auto_pause_frames(void *mac_drv, u16 newval) in hns_gmac_set_tx_auto_pause_frames() argument 126 GMAC_FC_TX_TIMER_S, newval); in hns_gmac_set_tx_auto_pause_frames() 129 static void hns_gmac_get_tx_auto_pause_frames(void *mac_drv, u16 *newval) in hns_gmac_get_tx_auto_pause_frames() argument 133 *newval = dsaf_get_dev_field(drv, GMAC_FC_TX_TIMER_REG, in hns_gmac_get_tx_auto_pause_frames() 137 static void hns_gmac_set_rx_auto_pause_frames(void *mac_drv, u32 newval) in hns_gmac_set_rx_auto_pause_frames() argument 142 GMAC_PAUSE_EN_RX_FDFC_B, !!newval); in hns_gmac_set_rx_auto_pause_frames() 145 static void hns_gmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_gmac_config_max_frame_length() argument 150 GMAC_MAX_FRM_SIZE_S, newval); in hns_gmac_config_max_frame_length() 153 GMAC_MAX_FRM_SIZE_S, newval); in hns_gmac_config_max_frame_length() 156 static void hns_gmac_config_pad_and_crc(void *mac_drv, u8 newval) in hns_gmac_config_pad_and_crc() argument [all …]
|
D | hns_dsaf_xgmac.c | 235 static void hns_xgmac_config_pad_and_crc(void *mac_drv, u8 newval) in hns_xgmac_config_pad_and_crc() argument 240 dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); in hns_xgmac_config_pad_and_crc() 241 dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc() 242 dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc() 307 static void hns_xgmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_xgmac_config_max_frame_length() argument 311 dsaf_write_dev(drv, XGMAC_MAC_MAX_PKT_SIZE_REG, newval); in hns_xgmac_config_max_frame_length()
|
D | hns_dsaf_mac.h | 368 void (*config_max_frame_length)(void *mac_drv, u16 newval); 370 void (*config_pad_and_crc)(void *mac_drv, u8 newval); 372 void (*config_half_duplex)(void *mac_drv, u8 newval);
|
/drivers/mtd/nand/ |
D | diskonchip.c | 1522 unsigned char newval; in doc_probe() local 1531 newval = ReadDOC(virtadr, Mplus_AliasResolution); in doc_probe() 1534 newval = ReadDOC(virtadr, AliasResolution); in doc_probe() 1536 if (oldval != newval) in doc_probe() 1539 WriteDOC(~newval, virtadr, Mplus_AliasResolution); in doc_probe() 1541 WriteDOC(newval, virtadr, Mplus_AliasResolution); // restore it in doc_probe() 1543 WriteDOC(~newval, virtadr, AliasResolution); in doc_probe() 1545 WriteDOC(newval, virtadr, AliasResolution); // restore it in doc_probe() 1547 newval = ~newval; in doc_probe() 1548 if (oldval == newval) { in doc_probe()
|
/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 213 u8 newval; in em28xx_write_reg_bits() local 219 newval = (((u8)oldval) & ~bitmask) | (val & bitmask); in em28xx_write_reg_bits() 221 return em28xx_write_regs(dev, reg, &newval, 1); in em28xx_write_reg_bits() 232 u8 newval; in em28xx_toggle_reg_bits() local 238 newval = (~oldval & bitmask) | (oldval & ~bitmask); in em28xx_toggle_reg_bits() 240 return em28xx_write_reg(dev, reg, newval); in em28xx_toggle_reg_bits()
|
/drivers/video/fbdev/ |
D | amba-clcd.c | 379 u32 val, mask, newval; in clcdfb_setcolreg() local 381 newval = (red >> 11) & 0x001f; in clcdfb_setcolreg() 382 newval |= (green >> 6) & 0x03e0; in clcdfb_setcolreg() 383 newval |= (blue >> 1) & 0x7c00; in clcdfb_setcolreg() 393 newval <<= 16; in clcdfb_setcolreg() 400 writel(val | newval, fb->regs + hw_reg); in clcdfb_setcolreg()
|
/drivers/watchdog/ |
D | bcm_kona_wdt.c | 191 unsigned mask, unsigned newval) in bcm_kona_wdt_ctrl_reg_modify() argument 204 val |= newval; in bcm_kona_wdt_ctrl_reg_modify()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_reg.h | 226 u16 oldval, u16 newval) in asd_ddbsite_update_word() argument 233 asd_write_reg_word(asd_ha, ANEWDATA, newval); in asd_ddbsite_update_word()
|
/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 139 uint32_t newval; member
|
/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 639 static int netdev_set_wol(struct net_device *dev, u32 newval); 641 static int netdev_set_sopass(struct net_device *dev, u8 *newval); 2708 static int netdev_set_wol(struct net_device *dev, u32 newval) in netdev_set_wol() argument 2715 if (newval & WAKE_PHY) in netdev_set_wol() 2717 if (newval & WAKE_UCAST) in netdev_set_wol() 2719 if (newval & WAKE_MCAST) in netdev_set_wol() 2721 if (newval & WAKE_BCAST) in netdev_set_wol() 2723 if (newval & WAKE_ARP) in netdev_set_wol() 2725 if (newval & WAKE_MAGIC) in netdev_set_wol() 2728 if (newval & WAKE_MAGICSECURE) { in netdev_set_wol() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 593 u64 newval = 0; in epb_access() local 595 qib_write_kreg(dd, acc, newval); in epb_access() 605 u64 newval = EPB_ACC_REQ | oct_sel; in epb_access() local 607 qib_write_kreg(dd, acc, newval); in epb_access()
|
/drivers/media/i2c/ |
D | max2175.c | 361 u8 msb, u8 lsb, u8 newval) in max2175_write_bits() argument 364 newval << lsb); in max2175_write_bits() 372 static int max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) in max2175_write_bit() argument 374 return max2175_write_bits(ctx, idx, bit, bit, newval); in max2175_write_bit()
|
/drivers/usb/serial/ |
D | iuu_phoenix.c | 895 u32 newval = cflag & supported_mask; in iuu_set_termios() local 935 tty->termios.c_cflag |= newval | csize; in iuu_set_termios()
|
/drivers/media/usb/dvb-usb/ |
D | cxusb.c | 105 u8 newval) in cxusb_bluebird_gpio_rw() argument 111 o[1] = newval & changemask; /* new values for bits */ in cxusb_bluebird_gpio_rw() 114 if (rc < 0 || (gpio_state & changemask) != (newval & changemask)) in cxusb_bluebird_gpio_rw()
|
/drivers/scsi/cxlflash/ |
D | main.c | 361 int newval; in send_cmd_sq() local 364 newval = atomic_dec_if_positive(&hwq->hsq_credits); in send_cmd_sq() 365 if (newval <= 0) { in send_cmd_sq()
|
/drivers/tty/ |
D | synclinkmp.c | 3054 unsigned char newval = oldval + in wait_mgsl_event() local 3057 if ( oldval != newval ) { in wait_mgsl_event() 3058 info->ie1_value = newval; in wait_mgsl_event()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6134 static void tg3_refclk_write(struct tg3 *tp, u64 newval) in tg3_refclk_write() argument 6139 tw32(TG3_EAV_REF_CLCK_LSB, newval & 0xffffffff); in tg3_refclk_write() 6140 tw32(TG3_EAV_REF_CLCK_MSB, newval >> 32); in tg3_refclk_write()
|