Searched refs:constant (Results 1 - 25 of 48) sorted by path

12

/linux-master/arch/m68k/fpsp040/
H A Dround.S179 .set ad_1_sgl,0x00000100 | constant to add 1 to l-bit in sgl prec
180 .set ad_1_dbl,0x00000800 | constant to add 1 to l-bit in dbl prec
H A Dsetox.S72 | Note also that the constant 16380 log(2) used in Step 1.3
88 | Z := X * constant
93 | constant := single-precision( 64/log 2 ).
95 | Using a single-precision constant avoids memory access.
96 | Another effect of using a single-precision "constant" is
H A Dsmovecr.S4 | The entry point sMOVECR returns the constant at the
9 | Output: The constant rounded to the user's rounding
/linux-master/arch/m68k/ifpsp060/src/
H A Dfplsp.S6726 # by integer comparison. Note also that the constant #
6744 # Z := X * constant #
6747 # constant := single-precision( 64/log 2 ). #
6749 # Using a single-precision constant avoids memory #
6751 # "constant" is that the calculated value Z is #
H A Dfpsp.S6832 # by integer comparison. Note also that the constant #
6850 # Z := X * constant #
6853 # constant := single-precision( 64/log 2 ). #
6855 # Using a single-precision constant avoids memory #
6857 # "constant" is that the calculated value Z is #
9311 # smovcr(): returns the ROM constant at the offset specified in d1 #
9319 # fp0 = the ROM constant rounded to the user's rounding mode,prec #
22123 set ad_1_sgl, 0x00000100 # constant to add 1 to l-bit in sgl prec
22124 set ad_1_dbl, 0x00000800 # constant to add 1 to l-bit in dbl prec
/linux-master/arch/m68k/math-emu/
H A Dfp_scan.S344 | Move an (emulated) ROM constant
/linux-master/drivers/input/
H A Dinput-compat.h46 struct ff_constant_effect constant; member in union:ff_effect_compat::__anon292
H A Dff-memless.c64 return &effect->u.constant.envelope;
253 new->u.constant.level,
254 &new->u.constant.envelope));
258 * here we abuse ff_ramp to hold x and y of constant force
/linux-master/drivers/input/joystick/iforce/
H A Diforce-ff.c12 * Set the magnitude of a constant force effect
219 return old->u.constant.level != effect->u.constant.level;
231 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length
232 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level
233 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length
234 || old->u.constant
[all...]
/linux-master/drivers/scsi/
H A Dscript_asm.pl144 $constant = "$hexnum|$decnum";
146 # yucky - since we can't control grouping of # $constant, we need to
150 "$identifier\\s*[+-]\s*$hexnum|$constant";
222 # an identifier or constant, $word is the word offset relative to
405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) {
/linux-master/tools/testing/selftests/timers/
H A Dset-tai.c35 tx.constant = offset;
/linux-master/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl19 use constant MM_PAGE_ALLOC => 1;
20 use constant MM_PAGE_FREE => 2;
21 use constant MM_PAGE_FREE_BATCHED => 3;
22 use constant MM_PAGE_PCPU_DRAIN => 4;
23 use constant MM_PAGE_ALLOC_ZONE_LOCKED => 5;
24 use constant MM_PAGE_ALLOC_EXTFRAG => 6;
25 use constant EVENT_UNKNOWN => 7;
28 use constant STATE_PCPU_PAGES_DRAINED => 8;
29 use constant STATE_PCPU_PAGES_REFILLED => 9;
32 use constant HIGH_PCPU_DRAIN
[all...]
H A Dtrace-vmscan-postprocess.pl17 use constant MM_VMSCAN_DIRECT_RECLAIM_BEGIN => 1;
18 use constant MM_VMSCAN_DIRECT_RECLAIM_END => 2;
19 use constant MM_VMSCAN_KSWAPD_WAKE => 3;
20 use constant MM_VMSCAN_KSWAPD_SLEEP => 4;
21 use constant MM_VMSCAN_LRU_SHRINK_ACTIVE => 5;
22 use constant MM_VMSCAN_LRU_SHRINK_INACTIVE => 6;
23 use constant MM_VMSCAN_LRU_ISOLATE => 7;
24 use constant MM_VMSCAN_WRITEPAGE_FILE_SYNC => 8;
25 use constant MM_VMSCAN_WRITEPAGE_ANON_SYNC => 9;
26 use constant MM_VMSCAN_WRITEPAGE_FILE_ASYN
[all...]
/linux-master/arch/alpha/kernel/
H A Dosf_sys.c1166 long constant; /* pll time constant */ member in struct:timex32
/linux-master/arch/arm/kernel/
H A Dhead.S125 ldr r8, =PLAT_PHYS_OFFSET @ always constant in this case
H A Dphys2virt.S41 mov r0, r3, lsr #21 @ constant for add/sub instructions
/linux-master/arch/sparc/kernel/
H A Dentry.S1162 sethi %hi(0x028f4b62), %l0 ! Add in rounding constant * 2**32,
/linux-master/arch/sparc/lib/
H A Dchecksum_32.S340 sll %o2, 1, %g2 ! constant multiplies are fun...
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx10.asm396 // There is no ttmp space to hold the resource constant for VGPR save.
/linux-master/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c221 u32 range[2], constant; local
229 constant = t_ui << 1;
267 val[CLK] = DIV_ROUND_UP(range[L] * factor - constant, t_half_byteck);
269 val[DATA] = DIV_ROUND_UP(range[L] * 3 / 2 - constant, t_half_byteck) - 2;
/linux-master/drivers/hid/
H A Dhid-logitech-hidpp.c82 /* Convenience constant to check for any high-res support. */
2584 force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15;
2588 params[8] = effect->u.constant.envelope.attack_level >> 7;
2589 params[9] = effect->u.constant.envelope.attack_length >> 8;
2590 params[10] = effect->u.constant.envelope.attack_length & 255;
2591 params[11] = effect->u.constant.envelope.fade_level >> 7;
2592 params[12] = effect->u.constant.envelope.fade_length >> 8;
2593 params[13] = effect->u.constant.envelope.fade_length & 255;
2595 dbg_hid("Uploading constant force level=%d in dir %d = %d\n",
2596 effect->u.constant
[all...]
/linux-master/drivers/hid/usbhid/
H A Dhid-pidff.c271 * Send constant force report to the device
279 effect->u.constant.level);
286 * Test if the constant parameters have changed between effects
291 return effect->u.constant.level != old->u.constant.level;
578 pidff_needs_set_envelope(&effect->u.constant.envelope,
579 &old->u.constant.envelope))
581 &effect->u.constant.envelope);
1097 "has constant effect but no envelope\n");
1109 hid_warn(pidff->hid, "unknown constant effec
[all...]
/linux-master/drivers/input/misc/
H A Dda7280.c524 tmp = effect->u.constant.level * 254;
529 haptics->gain = effect->u.constant.level <= 0 ?
530 0 : effect->u.constant.level;
/linux-master/drivers/input/mouse/
H A Delan_i2c_i2c.c473 u16 constant; local
484 constant = le16_to_cpup((__le16 *)val);
485 dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant);
487 *mode = (constant & ETP_I2C_MAIN_MODE_ON) ? MAIN_MODE : IAP_MODE;
523 u16 constant; local
543 constant = le16_to_cpup((__le16 *)val);
544 dev_dbg(&client->dev, "iap type reg: 0x%04x\n", constant);
546 if (constant == fw_page_size / 2)
H A Delan_i2c_smbus.c297 u16 constant; local
307 constant = be16_to_cpup((__be16 *)val);
308 dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant);
310 *mode = (constant & ETP_SMBUS_IAP_MODE_ON) ? IAP_MODE : MAIN_MODE;

Completed in 357 milliseconds

12