Searched refs:difference (Results 1 - 24 of 24) sorted by relevance

/linux-master/tools/testing/selftests/powerpc/pmu/
H A Dcount_instructions.c32 s64 difference, expected; local
46 difference = events[0].result.value - expected;
47 percentage = (double)difference / events[0].result.value * 100;
56 printf("Delta %lld, %f%%\n", difference, percentage);
62 if (difference < 0)
63 difference = -difference;
65 /* Tolerate a difference below 0.0001 % */
66 difference *= 10000 * 100;
67 if (difference / event
[all...]
H A Dcount_stcx_fail.c32 s64 difference, expected; local
48 difference = events[0].result.value - expected;
49 percentage = (double)difference / events[0].result.value * 100;
60 printf("Delta %lld, %f%%\n", difference, percentage);
67 if (difference < 0)
68 difference = -difference;
70 /* Tolerate a difference below 0.0001 % */
71 difference *= 10000 * 100;
72 if (difference / event
[all...]
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dinstruction_count_test.c28 int64_t difference, expected; local
47 difference = event->result.value - expected;
48 percentage = (double)difference / event->result.value * 100;
54 printf("Delta %ld, %f%%\n", difference, percentage);
58 if (difference < 0)
59 difference = -difference;
61 /* Tolerate a difference of up to 0.0001 % */
62 difference *= 10000 * 100;
63 if (difference / even
[all...]
/linux-master/arch/arc/lib/
H A Dstrcmp.S31 xor r0,r2,r3 ; mask for difference
33 bic_s r0,r0,r1 ; mask for least significant difference bit
35 xor r0,r5,r1 ; mask for least significant difference byte
47 xor r0,r2,r3 ; mask for difference
50 bic_s r0,r0,r1 ; mask for least significant difference bit
52 xor r0,r5,r1 ; mask for least significant difference byte
/linux-master/drivers/input/
H A Dff-memless.c157 int difference; local
178 difference = abs(value) - envelope_level;
180 pr_debug("difference = %d\n", difference);
184 difference = difference * time_from_level / time_of_envelope;
186 pr_debug("difference = %d\n", difference);
189 -(difference + envelope_level) : (difference
[all...]
/linux-master/drivers/hid/
H A Dhid-roccat-kone.c293 int retval = 0, difference, old_profile; local
301 difference = memcmp(settings, &kone->settings,
303 if (difference) {
360 int retval = 0, difference; local
369 difference = memcmp(buf, profile, sizeof(struct kone_profile));
370 if (difference) {
/linux-master/drivers/platform/x86/dell/
H A Ddell-smbios-wmi.c92 size_t difference; local
104 difference = priv->req_buf_size - sizeof(u64) - size;
106 memset(&priv->buf->ext, 0, difference);
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_config.h125 u32 difference; member in struct:icssg_setclock_desc
/linux-master/drivers/hwmon/
H A Daht10.c136 ktime_t difference = ktime_sub(current_time, data->previous_poll_time); local
138 return ktime_after(difference, data->min_poll_interval);
/linux-master/drivers/md/
H A Ddm-kcopyd.c125 unsigned int throttle, now, difference; local
140 difference = now - t->last_jiffies;
143 t->io_period += difference;
144 t->total_period += difference;
189 unsigned int now, difference; local
192 difference = now - t->last_jiffies;
195 t->io_period += difference;
196 t->total_period += difference;
H A Ddm-stats.c537 unsigned long long now, difference; local
545 difference = now - shared->stamp;
546 if (!difference)
552 p->io_ticks[READ] += difference;
554 p->io_ticks[WRITE] += difference;
556 p->io_ticks_total += difference;
557 p->time_in_queue += (in_flight_read + in_flight_write) * difference;
/linux-master/tools/testing/kunit/
H A Dkunit_parser.py482 difference = len(DIVIDER) - len_message - 2 # 2 spaces added
483 if difference > 0:
485 len_1 = int(difference / 2)
486 len_2 = difference - len_1
/linux-master/drivers/scsi/aacraid/
H A Dcommsup.c2435 long difference = HZ; local
2458 && ((difference = next_check_jiffies - jiffies) <= 0)) {
2461 difference = ((long)(unsigned)check_interval)
2463 next_check_jiffies = jiffies + difference;
2468 && ((difference = next_jiffies - jiffies) <= 0)) {
2484 difference = HZ + HZ / 2 -
2496 difference = (long)(unsigned)update_interval*HZ;
2498 next_jiffies = jiffies + difference;
2500 difference = next_check_jiffies - jiffies;
2502 if (difference <
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dx_fline.S44 subl #4,%a7 |4 accounts for 2-word difference
H A Dres_func.S1810 subw %d0,LOCAL_EX(%a0) |account for difference between
1830 subw %d0,LOCAL_EX(%a0) |account for difference between
1913 subw %d0,LOCAL_EX(%a0) |account for difference in denorm
/linux-master/include/linux/
H A Djbd2.h1723 int difference = (x - y); local
1724 return (difference > 0);
1729 int difference = (x - y); local
1730 return (difference >= 0);
/linux-master/drivers/regulator/
H A Dmax8998.c353 int difference, ret; local
368 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000;
369 if (difference > 0)
370 return DIV_ROUND_UP(difference, (val & 0x0f) + 1);
/linux-master/drivers/usb/class/
H A Dcdc-acm.c293 int difference; local
321 difference = acm->ctrlin ^ newctrl;
323 if ((difference & USB_CDC_SERIAL_STATE_DCD) && acm->port.tty) {
336 if (difference & USB_CDC_SERIAL_STATE_DSR)
338 if (difference & USB_CDC_SERIAL_STATE_DCD)
357 if (difference)
/linux-master/scripts/
H A Dcheck-uapi.sh42 $FAIL_ABI) ABI difference detected
/linux-master/arch/sparc/mm/
H A Dhypersparc.S359 sub %o1, %o0, %o2 ! difference
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c2391 * difference to calculate an appropriate 2s complement addition to add
2397 u64 phc_time, phy_time, difference; local
2414 * calculate the difference between the PHC time and the port time,
2417 difference = phc_time - phy_time;
2419 err = ice_ptp_prep_port_adj_e82x(hw, port, (s64)difference);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dlib.sh1230 check_err 1 "Packet difference is 0"
/linux-master/arch/sparc/lib/
H A DM7memcpy.S206 sub %o1, %o0, %o1 ! %o1 gets the difference
/linux-master/arch/m68k/ifpsp060/src/
H A Dfpsp.S15902 cmp.w %d0,L_SCR1(%a6) # is difference >= len(mantissa)+2?
15938 cmp.w %d0,2+L_SCR1(%a6) # is difference >= len(mantissa)+2?
15977 # of the difference between the original and new exponent. Then, #
16104 # of the difference between the original and new exponent. Then, #
17431 # only difference is that the <ea> field should hold the PC

Completed in 375 milliseconds