Searched refs:difference (Results 1 – 12 of 12) sorted by relevance
/drivers/input/ |
D | ff-memless.c | 160 int difference; in apply_envelope() local 181 difference = abs(value) - envelope_level; in apply_envelope() 183 pr_debug("difference = %d\n", difference); in apply_envelope() 187 difference = difference * time_from_level / time_of_envelope; in apply_envelope() 189 pr_debug("difference = %d\n", difference); in apply_envelope() 192 -(difference + envelope_level) : (difference + envelope_level); in apply_envelope()
|
/drivers/md/ |
D | dm-kcopyd.c | 223 unsigned throttle, now, difference; in io_job_start() local 238 difference = now - t->last_jiffies; in io_job_start() 241 t->io_period += difference; in io_job_start() 242 t->total_period += difference; in io_job_start() 286 unsigned now, difference; in io_job_finish() local 289 difference = now - t->last_jiffies; in io_job_finish() 292 t->io_period += difference; in io_job_finish() 293 t->total_period += difference; in io_job_finish()
|
D | dm-stats.c | 499 unsigned long long now, difference; in dm_stat_round() local 507 difference = now - shared->stamp; in dm_stat_round() 508 if (!difference) in dm_stat_round() 514 p->io_ticks[READ] += difference; in dm_stat_round() 516 p->io_ticks[WRITE] += difference; in dm_stat_round() 518 p->io_ticks_total += difference; in dm_stat_round() 519 p->time_in_queue += (in_flight_read + in_flight_write) * difference; in dm_stat_round()
|
/drivers/platform/x86/ |
D | dell-smbios-wmi.c | 87 size_t difference; in dell_smbios_wmi_call() local 99 difference = priv->req_buf_size - sizeof(u64) - size; in dell_smbios_wmi_call() 101 memset(&priv->buf->ext, 0, difference); in dell_smbios_wmi_call()
|
/drivers/hid/ |
D | hid-roccat-kone.c | 296 int retval = 0, difference, old_profile; in kone_sysfs_write_settings() local 304 difference = memcmp(settings, &kone->settings, in kone_sysfs_write_settings() 306 if (difference) { in kone_sysfs_write_settings() 363 int retval = 0, difference; in kone_sysfs_write_profilex() local 372 difference = memcmp(buf, profile, sizeof(struct kone_profile)); in kone_sysfs_write_profilex() 373 if (difference) { in kone_sysfs_write_profilex()
|
/drivers/scsi/aacraid/ |
D | commsup.c | 2434 long difference = HZ; in aac_command_thread() local 2457 && ((difference = next_check_jiffies - jiffies) <= 0)) { in aac_command_thread() 2460 difference = ((long)(unsigned)check_interval) in aac_command_thread() 2462 next_check_jiffies = jiffies + difference; in aac_command_thread() 2467 && ((difference = next_jiffies - jiffies) <= 0)) { in aac_command_thread() 2483 difference = HZ + HZ / 2 - in aac_command_thread() 2495 difference = (long)(unsigned)update_interval*HZ; in aac_command_thread() 2497 next_jiffies = jiffies + difference; in aac_command_thread() 2499 difference = next_check_jiffies - jiffies; in aac_command_thread() 2501 if (difference <= 0) in aac_command_thread() [all …]
|
/drivers/regulator/ |
D | max8998.c | 352 int difference, ret; in max8998_set_voltage_buck_time_sel() local 367 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000; in max8998_set_voltage_buck_time_sel() 368 if (difference > 0) in max8998_set_voltage_buck_time_sel() 369 return DIV_ROUND_UP(difference, (val & 0x0f) + 1); in max8998_set_voltage_buck_time_sel()
|
/drivers/usb/class/ |
D | cdc-acm.c | 292 int difference; in acm_process_notification() local 320 difference = acm->ctrlin ^ newctrl; in acm_process_notification() 325 if (difference & ACM_CTRL_DSR) in acm_process_notification() 327 if (difference & ACM_CTRL_DCD) in acm_process_notification() 346 if (difference) in acm_process_notification()
|
/drivers/mtd/ubi/ |
D | Kconfig | 19 This parameter defines the maximum difference between the highest
|
/drivers/cpufreq/ |
D | Kconfig | 178 governor both in its source code and its purpose, the difference is
|
/drivers/gpio/ |
D | Kconfig | 507 The difference from regular GPIOs is that they
|
/drivers/rtc/ |
D | Kconfig | 67 The RTC device used for NTP synchronization. The main difference
|