/drivers/staging/tidspbridge/hw/ |
D | MMURegAcM.h | 35 register u32 new_value = (value);\ 38 new_value <<= MMU_MMU_SYSCONFIG_IDLE_MODE_OFFSET;\ 39 new_value &= MMU_MMU_SYSCONFIG_IDLE_MODE_MASK;\ 40 new_value |= data;\ 41 __raw_writel(new_value, base_address+offset);\ 48 register u32 new_value = (value);\ 51 new_value <<= MMU_MMU_SYSCONFIG_AUTO_IDLE_OFFSET;\ 52 new_value &= MMU_MMU_SYSCONFIG_AUTO_IDLE_MASK;\ 53 new_value |= data;\ 54 __raw_writel(new_value, base_address+offset);\ [all …]
|
/drivers/net/bonding/ |
D | bond_sysfs.c | 316 int new_value, ret = count; in bonding_store_mode() local 333 new_value = bond_parse_parm(buf, bond_mode_tbl); in bonding_store_mode() 334 if (new_value < 0) { in bonding_store_mode() 340 if ((new_value == BOND_MODE_ALB || in bonding_store_mode() 341 new_value == BOND_MODE_TLB) && in bonding_store_mode() 344 bond->dev->name, bond_mode_tbl[new_value].modename); in bonding_store_mode() 349 bond->params.mode = new_value; in bonding_store_mode() 352 bond->dev->name, bond_mode_tbl[new_value].modename, in bonding_store_mode() 353 new_value); in bonding_store_mode() 379 int new_value, ret = count; in bonding_store_xmit_hash() local [all …]
|
/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 113 static int pm_ctrl_write(struct pci_dev *dev, int offset, u16 new_value, in pm_ctrl_write() argument 125 new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write() 127 new_value &= PM_OK_BITS; in pm_ctrl_write() 128 if ((old_value & PM_OK_BITS) != new_value) { in pm_ctrl_write() 129 new_value = (old_value & ~PM_OK_BITS) | new_value; in pm_ctrl_write() 130 err = pci_write_config_word(dev, offset, new_value); in pm_ctrl_write()
|
/drivers/watchdog/ |
D | at91rm9200_wdt.c | 139 int new_value; in at91_wdt_ioctl() local 149 if (get_user(new_value, p)) in at91_wdt_ioctl() 151 if (new_value & WDIOS_DISABLECARD) in at91_wdt_ioctl() 153 if (new_value & WDIOS_ENABLECARD) in at91_wdt_ioctl() 160 if (get_user(new_value, p)) in at91_wdt_ioctl() 162 if (at91_wdt_settimeout(new_value)) in at91_wdt_ioctl()
|
D | imx2_wdt.c | 180 int new_value; in imx2_wdt_ioctl() local 193 new_value = val & IMX2_WDT_WRSR_TOUT ? WDIOF_CARDRESET : 0; in imx2_wdt_ioctl() 194 return put_user(new_value, p); in imx2_wdt_ioctl() 201 if (get_user(new_value, p)) in imx2_wdt_ioctl() 203 if ((new_value < 1) || (new_value > IMX2_WDT_MAX_TIME)) in imx2_wdt_ioctl() 205 imx2_wdt_set_timeout(new_value); in imx2_wdt_ioctl() 206 imx2_wdt.timeout = new_value; in imx2_wdt_ioctl()
|
D | bcm47xx_wdt.c | 188 int new_value, retval = -EINVAL; in bcm47xx_wdt_ioctl() local 200 if (get_user(new_value, p)) in bcm47xx_wdt_ioctl() 203 if (new_value & WDIOS_DISABLECARD) { in bcm47xx_wdt_ioctl() 208 if (new_value & WDIOS_ENABLECARD) { in bcm47xx_wdt_ioctl() 220 if (get_user(new_value, p)) in bcm47xx_wdt_ioctl() 223 if (bcm47xx_wdt_settimeout(new_value)) in bcm47xx_wdt_ioctl()
|
D | ks8695_wdt.c | 163 int new_value; in ks8695_wdt_ioctl() local 173 if (get_user(new_value, p)) in ks8695_wdt_ioctl() 175 if (new_value & WDIOS_DISABLECARD) in ks8695_wdt_ioctl() 177 if (new_value & WDIOS_ENABLECARD) in ks8695_wdt_ioctl() 184 if (get_user(new_value, p)) in ks8695_wdt_ioctl() 186 if (ks8695_wdt_settimeout(new_value)) in ks8695_wdt_ioctl()
|
D | bcm63xx_wdt.c | 175 int new_value, retval = -EINVAL; in bcm63xx_wdt_ioctl() local 187 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl() 190 if (new_value & WDIOS_DISABLECARD) { in bcm63xx_wdt_ioctl() 194 if (new_value & WDIOS_ENABLECARD) { in bcm63xx_wdt_ioctl() 206 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl() 209 if (bcm63xx_wdt_settimeout(new_value)) in bcm63xx_wdt_ioctl()
|
D | pika_wdt.c | 176 int new_value; in pikawdt_ioctl() local 193 if (get_user(new_value, p)) in pikawdt_ioctl() 196 heartbeat = new_value; in pikawdt_ioctl() 199 return put_user(new_value, p); /* return current value */ in pikawdt_ioctl()
|
D | at91sam9_wdt.c | 179 int new_value; in at91_wdt_ioctl() local 195 if (get_user(new_value, p)) in at91_wdt_ioctl() 198 heartbeat = new_value; in at91_wdt_ioctl() 201 return put_user(new_value, p); /* return current value */ in at91_wdt_ioctl()
|
D | nuc900_wdt.c | 165 int new_value; in nuc900_wdt_ioctl() local 180 if (get_user(new_value, p)) in nuc900_wdt_ioctl() 183 heartbeat = new_value; in nuc900_wdt_ioctl() 186 return put_user(new_value, p); in nuc900_wdt_ioctl()
|
/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 222 u32 org_value, bit_shift, new_value; in get_bb_reg() local 226 new_value = (org_value & bitmask) >> bit_shift; in get_bb_reg() 227 return new_value; in get_bb_reg() 235 u32 org_value, bit_shift, new_value; in set_bb_reg() local 240 new_value = ((org_value & (~bitmask)) | (value << bit_shift)); in set_bb_reg() 242 new_value = value; in set_bb_reg() 243 return r8712_bb_reg_write(pAdapter, offset, new_value); in set_bb_reg() 249 u32 org_value, bit_shift, new_value; in get_rf_reg() local 253 new_value = (org_value & bitmask) >> bit_shift; in get_rf_reg() 254 return new_value; in get_rf_reg() [all …]
|
/drivers/hid/ |
D | hid-roccat.c | 256 uint8_t *new_value; in roccat_report_event() local 260 new_value = kmemdup(data, device->report_size, GFP_ATOMIC); in roccat_report_event() 261 if (!new_value) in roccat_report_event() 269 report->value = new_value; in roccat_report_event()
|
/drivers/base/power/ |
D | qos.c | 280 s32 new_value) in dev_pm_qos_update_request() argument 294 if (new_value != req->node.prio) in dev_pm_qos_update_request() 296 new_value); in dev_pm_qos_update_request()
|
/drivers/hwmon/ |
D | emc2103.c | 438 long new_value; in set_pwm_enable() local 441 int result = kstrtol(buf, 10, &new_value); in set_pwm_enable() 446 switch (new_value) { in set_pwm_enable()
|
/drivers/macintosh/ |
D | via-pmu.c | 937 int new_value; in pmu_options_proc_write() local 938 new_value = ((*val) == '1'); in pmu_options_proc_write() 939 if (new_value != option_server_mode) in pmu_options_proc_write() 940 pmu_set_server_mode(new_value); in pmu_options_proc_write()
|