Home
last modified time | relevance | path

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

/drivers/input/
Dff-memless.c172 int difference; in apply_envelope() local
193 difference = abs(value) - envelope_level; in apply_envelope()
195 pr_debug("difference = %d\n", difference); in apply_envelope()
199 difference = difference * time_from_level / time_of_envelope; in apply_envelope()
201 pr_debug("difference = %d\n", difference); in apply_envelope()
204 -(difference + envelope_level) : (difference + envelope_level); in apply_envelope()
/drivers/md/
Ddm-kcopyd.c101 unsigned throttle, now, difference; in io_job_start() local
116 difference = now - t->last_jiffies; in io_job_start()
119 t->io_period += difference; in io_job_start()
120 t->total_period += difference; in io_job_start()
164 unsigned now, difference; in io_job_finish() local
167 difference = now - t->last_jiffies; in io_job_finish()
170 t->io_period += difference; in io_job_finish()
171 t->total_period += difference; in io_job_finish()
Ddm-stats.c492 unsigned long long now, difference; in dm_stat_round() local
500 difference = now - shared->stamp; in dm_stat_round()
501 if (!difference) in dm_stat_round()
507 p->io_ticks[READ] += difference; in dm_stat_round()
509 p->io_ticks[WRITE] += difference; in dm_stat_round()
511 p->io_ticks_total += difference; in dm_stat_round()
512 p->time_in_queue += (in_flight_read + in_flight_write) * difference; in dm_stat_round()
/drivers/hid/
Dhid-roccat-kone.c299 int retval = 0, difference, old_profile; in kone_sysfs_write_settings() local
306 difference = memcmp(buf, &kone->settings, sizeof(struct kone_settings)); in kone_sysfs_write_settings()
307 if (difference) { in kone_sysfs_write_settings()
357 int retval = 0, difference; in kone_sysfs_write_profilex() local
366 difference = memcmp(buf, profile, sizeof(struct kone_profile)); in kone_sysfs_write_profilex()
367 if (difference) { in kone_sysfs_write_profilex()
/drivers/scsi/aacraid/
Dcommsup.c1744 long difference = HZ; in aac_command_thread() local
1955 && ((difference = next_check_jiffies - jiffies) <= 0)) { in aac_command_thread()
1958 difference = ((long)(unsigned)check_interval) in aac_command_thread()
1960 next_check_jiffies = jiffies + difference; in aac_command_thread()
1965 && ((difference = next_jiffies - jiffies) <= 0)) { in aac_command_thread()
1981 difference = (((1000000 - now.tv_usec) * HZ) in aac_command_thread()
2014 difference = (long)(unsigned)update_interval*HZ; in aac_command_thread()
2017 difference = 10 * HZ; in aac_command_thread()
2019 next_jiffies = jiffies + difference; in aac_command_thread()
2021 difference = next_check_jiffies - jiffies; in aac_command_thread()
[all …]
/drivers/usb/class/
Dcdc-acm.c281 int difference; in acm_ctrl_irq() local
328 difference = acm->ctrlin ^ newctrl; in acm_ctrl_irq()
333 if (difference & ACM_CTRL_DSR) in acm_ctrl_irq()
335 if (difference & ACM_CTRL_BRK) in acm_ctrl_irq()
337 if (difference & ACM_CTRL_RI) in acm_ctrl_irq()
339 if (difference & ACM_CTRL_DCD) in acm_ctrl_irq()
341 if (difference & ACM_CTRL_FRAMING) in acm_ctrl_irq()
343 if (difference & ACM_CTRL_PARITY) in acm_ctrl_irq()
345 if (difference & ACM_CTRL_OVERRUN) in acm_ctrl_irq()
349 if (difference) in acm_ctrl_irq()
/drivers/regulator/
Dmax8998.c421 int difference, ret; in max8998_set_voltage_buck_time_sel() local
438 difference = (new_selector - old_selector) * desc->step / 1000; in max8998_set_voltage_buck_time_sel()
439 if (difference > 0) in max8998_set_voltage_buck_time_sel()
440 return DIV_ROUND_UP(difference, (val & 0x0f) + 1); in max8998_set_voltage_buck_time_sel()
/drivers/mtd/ubi/
DKconfig18 This parameter defines the maximum difference between the highest
/drivers/cpufreq/
DKconfig197 governor both in its source code and its purpose, the difference is
/drivers/rtc/
DKconfig69 The RTC device used for NTP synchronization. The main difference