Home
last modified time | relevance | path

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

/drivers/input/
A Dff-memless.c157 int difference; in apply_envelope() local
178 difference = abs(value) - envelope_level; in apply_envelope()
180 pr_debug("difference = %d\n", difference); in apply_envelope()
184 difference = difference * time_from_level / time_of_envelope; in apply_envelope()
186 pr_debug("difference = %d\n", difference); in apply_envelope()
189 -(difference + envelope_level) : (difference + envelope_level); in apply_envelope()
/drivers/md/
A Ddm-kcopyd.c125 unsigned int throttle, now, difference; in io_job_start() local
140 difference = now - t->last_jiffies; in io_job_start()
143 t->io_period += difference; in io_job_start()
144 t->total_period += difference; in io_job_start()
189 unsigned int now, difference; in io_job_finish() local
192 difference = now - t->last_jiffies; in io_job_finish()
195 t->io_period += difference; in io_job_finish()
196 t->total_period += difference; in io_job_finish()
A Ddm-stats.c537 unsigned long long now, difference; in dm_stat_round() local
545 difference = now - shared->stamp; in dm_stat_round()
546 if (!difference) in dm_stat_round()
552 p->io_ticks[READ] += difference; in dm_stat_round()
554 p->io_ticks[WRITE] += difference; in dm_stat_round()
556 p->io_ticks_total += difference; in dm_stat_round()
557 p->time_in_queue += (in_flight_read + in_flight_write) * difference; in dm_stat_round()
/drivers/hid/
A Dhid-roccat-kone.c293 int retval = 0, difference, old_profile; in kone_sysfs_write_settings() local
301 difference = memcmp(settings, &kone->settings, in kone_sysfs_write_settings()
303 if (difference) { in kone_sysfs_write_settings()
360 int retval = 0, difference; in kone_sysfs_write_profilex() local
369 difference = memcmp(buf, profile, sizeof(struct kone_profile)); in kone_sysfs_write_profilex()
370 if (difference) { in kone_sysfs_write_profilex()
/drivers/platform/x86/dell/
A Ddell-smbios-wmi.c92 size_t difference; in dell_smbios_wmi_call() local
104 difference = priv->req_buf_size - sizeof(u64) - size; in dell_smbios_wmi_call()
106 memset(&priv->buf->ext, 0, difference); in dell_smbios_wmi_call()
/drivers/scsi/aacraid/
A Dcommsup.c2307 long difference = HZ; in aac_command_thread() local
2333 difference = ((long)(unsigned)check_interval) in aac_command_thread()
2335 next_check_jiffies = jiffies + difference; in aac_command_thread()
2340 && ((difference = next_jiffies - jiffies) <= 0)) { in aac_command_thread()
2356 difference = HZ + HZ / 2 - in aac_command_thread()
2368 difference = (long)(unsigned)update_interval*HZ; in aac_command_thread()
2370 next_jiffies = jiffies + difference; in aac_command_thread()
2372 difference = next_check_jiffies - jiffies; in aac_command_thread()
2374 if (difference <= 0) in aac_command_thread()
2375 difference = 1; in aac_command_thread()
[all …]
/drivers/hwmon/
A Daht10.c136 ktime_t difference = ktime_sub(current_time, data->previous_poll_time); in aht10_polltime_expired() local
138 return ktime_after(difference, data->min_poll_interval); in aht10_polltime_expired()
/drivers/regulator/
A Dmax8998.c353 int difference, ret; in max8998_set_voltage_buck_time_sel() local
368 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000; in max8998_set_voltage_buck_time_sel()
369 if (difference > 0) in max8998_set_voltage_buck_time_sel()
370 return DIV_ROUND_UP(difference, (val & 0x0f) + 1); in max8998_set_voltage_buck_time_sel()
/drivers/net/ethernet/ti/icssg/
A Dicssg_config.h243 u32 difference; member
/drivers/usb/class/
A Dcdc-acm.c293 int difference; in acm_process_notification() local
321 difference = acm->ctrlin ^ newctrl; in acm_process_notification()
323 if ((difference & USB_CDC_SERIAL_STATE_DCD) && acm->port.tty) { in acm_process_notification()
336 if (difference & USB_CDC_SERIAL_STATE_DSR) in acm_process_notification()
338 if (difference & USB_CDC_SERIAL_STATE_DCD) in acm_process_notification()
357 if (difference) in acm_process_notification()
/drivers/platform/surface/aggregator/
A DKconfig35 due to a difference in the communication interface of the controller,
/drivers/net/ethernet/intel/ice/
A Dice_ptp_hw.c1959 u64 phc_time, phy_time, difference; in ice_sync_phy_timer_eth56g() local
1981 difference = phc_time - phy_time; in ice_sync_phy_timer_eth56g()
1983 err = ice_ptp_prep_port_adj_eth56g(hw, port, (s64)difference); in ice_sync_phy_timer_eth56g()
3966 u64 phc_time, phy_time, difference; in ice_sync_phy_timer_e82x() local
3986 difference = phc_time - phy_time; in ice_sync_phy_timer_e82x()
3988 err = ice_ptp_prep_port_adj_e82x(hw, port, (s64)difference); in ice_sync_phy_timer_e82x()
/drivers/mtd/ubi/
A DKconfig19 This parameter defines the maximum difference between the highest
/drivers/cpufreq/
A DKconfig170 governor both in its source code and its purpose, the difference is
/drivers/gpio/
A DKconfig654 The difference from regular GPIOs is that they
/drivers/rtc/
A DKconfig67 The RTC device used for NTP synchronization. The main difference

Completed in 46 milliseconds