Home
last modified time | relevance | path

Searched refs:difference (Results 1 – 16 of 16) sorted by relevance

/drivers/input/
Dff-memless.c160 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/
Ddm-kcopyd.c122 unsigned throttle, now, difference; in io_job_start() local
137 difference = now - t->last_jiffies; in io_job_start()
140 t->io_period += difference; in io_job_start()
141 t->total_period += difference; in io_job_start()
185 unsigned now, difference; in io_job_finish() local
188 difference = now - t->last_jiffies; in io_job_finish()
191 t->io_period += difference; in io_job_finish()
192 t->total_period += difference; in io_job_finish()
Ddm-stats.c522 unsigned long long now, difference; in dm_stat_round() local
530 difference = now - shared->stamp; in dm_stat_round()
531 if (!difference) in dm_stat_round()
537 p->io_ticks[READ] += difference; in dm_stat_round()
539 p->io_ticks[WRITE] += difference; in dm_stat_round()
541 p->io_ticks_total += difference; in dm_stat_round()
542 p->time_in_queue += (in_flight_read + in_flight_write) * difference; in dm_stat_round()
/drivers/platform/x86/dell/
Ddell-smbios-wmi.c87 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/
Dhid-roccat-kone.c296 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/hwmon/
Daht10.c120 ktime_t difference = ktime_sub(current_time, data->previous_poll_time); in aht10_polltime_expired() local
122 return ktime_after(difference, data->min_poll_interval); in aht10_polltime_expired()
/drivers/scsi/aacraid/
Dcommsup.c2435 long difference = HZ; in aac_command_thread() local
2458 && ((difference = next_check_jiffies - jiffies) <= 0)) { in aac_command_thread()
2461 difference = ((long)(unsigned)check_interval) in aac_command_thread()
2463 next_check_jiffies = jiffies + difference; in aac_command_thread()
2468 && ((difference = next_jiffies - jiffies) <= 0)) { in aac_command_thread()
2484 difference = HZ + HZ / 2 - in aac_command_thread()
2496 difference = (long)(unsigned)update_interval*HZ; in aac_command_thread()
2498 next_jiffies = jiffies + difference; in aac_command_thread()
2500 difference = next_check_jiffies - jiffies; in aac_command_thread()
2502 if (difference <= 0) in aac_command_thread()
[all …]
/drivers/regulator/
Dmax8998.c352 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/staging/media/av7110/
Daudio-fopen.rst68 functions where there is a difference. It does not affect the semantics
Dvideo-fopen.rst69 documentation for functions where there is a difference. It does not
/drivers/usb/class/
Dcdc-acm.c292 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/platform/surface/aggregator/
DKconfig34 due to a difference in the communication interface of the controller,
/drivers/mtd/ubi/
DKconfig19 This parameter defines the maximum difference between the highest
/drivers/cpufreq/
DKconfig178 governor both in its source code and its purpose, the difference is
/drivers/gpio/
DKconfig541 The difference from regular GPIOs is that they
/drivers/rtc/
DKconfig67 The RTC device used for NTP synchronization. The main difference