Home
last modified time | relevance | path

Searched full:condition (Results 1 – 25 of 1342) sorted by relevance

12345678910>>...54

/linux/include/linux/
H A Dswait.h158 #define ___swait_event(wq, condition, state, ret, cmd) \ argument
168 if (condition) \
182 #define __swait_event(wq, condition) \ argument
183 (void)___swait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, \
186 #define swait_event_exclusive(wq, condition) \ argument
188 if (condition) \
190 __swait_event(wq, condition); \
193 #define __swait_event_timeout(wq, condition, timeout) \ argument
194 ___swait_event(wq, ___wait_cond_timeout(condition), \
198 #define swait_event_timeout_exclusive(wq, condition, timeout) \ argument
[all …]
H A Dbuild_bug.h8 * Force a compilation error if condition is true, but also produce a
33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
35 * @cond: the condition which the compiler should know is false.
43 * BUILD_BUG_ON - break compile if a condition is true.
44 * @condition: the condition which the compiler should know is false.
47 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to
50 #define BUILD_BUG_ON(condition) \ argument
51 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
75 * Also note that BUILD_BUG_ON() fails the build if the condition is
H A Dratelimit.h74 #define WARN_ON_RATELIMIT(condition, state) ({ \ argument
75 bool __rtn_cond = !!(condition); \
80 #define WARN_RATELIMIT(condition, format, ...) \ argument
85 int rtn = !!(condition); \
95 #define WARN_ON_RATELIMIT(condition, state) \ argument
96 WARN_ON(condition)
98 #define WARN_RATELIMIT(condition, format, ...) \ argument
100 int rtn = WARN(condition, format, ##__VA_ARGS__); \
H A Donce_lite.h13 #define __ONCE_LITE_IF(condition) \ argument
16 bool __ret_cond = !!(condition); \
26 #define DO_ONCE_LITE_IF(condition, func, ...) \ argument
28 bool __ret_do_once = !!(condition); \
/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/
H A Dbranch.json24 …ess Cache (BTAC) can predict is retired and has mispredicted either the condition or the address. …
27 …ess Cache (BTAC) can predict is retired and has mispredicted either the condition or the address. …
30 …hat the BTAC can predict is retired, was taken, correctly predicted the condition, and has mispred…
33 …hat the BTAC can predict is retired, was taken, correctly predicted the condition, and has mispred…
36condition. This event still counts when branch prediction is disabled due to the MMU being off. Co…
39condition. This event still counts when branch prediction is disabled due to the MMU being off. Co…
42 …the BTAC can predict is retired, was taken, and correctly predicted the condition. This event stil…
45 …the BTAC can predict is retired, was taken, and correctly predicted the condition. This event stil…
48 …rn stack can predict is retired, was taken, and correctly predicted the condition. This event stil…
51 …rn stack can predict is retired, was taken, and correctly predicted the condition. This event stil…
[all …]
/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/
H A Dbranch.json24 …e predicted by the BTAC is retired, and has mispredicted for either the condition or the address. …
27 …e predicted by the BTAC is retired, and has mispredicted for either the condition or the address. …
30 …predicted by the BTAC is retired, was taken and correctly predicted the condition, and has mispred…
33 …predicted by the BTAC is retired, was taken and correctly predicted the condition, and has mispred…
36condition. This event still counts when branch prediction is disabled due to the MMU being off. Co…
39condition. This event still counts when branch prediction is disabled due to the MMU being off. Co…
42 …predicted by the BTAC is retired, was taken and correctly predicted the condition. This event stil…
45 …predicted by the BTAC is retired, was taken and correctly predicted the condition. This event stil…
48 … predicted by the CRS is retired, was taken and correctly predicted the condition. This event stil…
51 … predicted by the CRS is retired, was taken and correctly predicted the condition. This event stil…
[all …]
/linux/arch/powerpc/include/asm/
H A Ddelay.h34 * spin_event_timeout - spin until a condition gets true or a timeout elapses
35 * @condition: a C expression to evalate
38 * @condition
40 * The process spins until the condition evaluates to true (non-zero) or the
42 * @condition when the loop terminates. This allows you to determine the cause
53 #define spin_event_timeout(condition, timeout, delay) \ argument
55 typeof(condition) __ret; \
60 while (!(__ret = (condition)) && \
65 while (!(__ret = (condition)) && \
71 __ret = (condition); \
H A Ddbdma.h20 unsigned int intr_sel; /* select interrupt condition bit */
21 unsigned int br_sel; /* select branch condition bit */
22 unsigned int wait_sel; /* select wait condition bit */
75 #define INTR_IFSET 0x10 /* intr if condition bit is 1 */
76 #define INTR_IFCLR 0x20 /* intr if condition bit is 0 */
81 #define BR_IFSET 0x4 /* branch if condition bit is 1 */
82 #define BR_IFCLR 0x8 /* branch if condition bit is 0 */
87 #define WAIT_IFSET 1 /* wait if condition bit is 1 */
88 #define WAIT_IFCLR 2 /* wait if condition bit is 0 */
/linux/tools/include/linux/
H A Dbuild_bug.h8 * Force a compilation error if condition is true, but also produce a
33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
35 * @cond: the condition which the compiler should know is false.
43 * BUILD_BUG_ON - break compile if a condition is true.
44 * @condition: the condition which the compiler should know is false.
47 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to
50 #define BUILD_BUG_ON(condition) \ argument
51 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
75 * Also note that BUILD_BUG_ON() fails the build if the condition is
/linux/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \ argument
11 int __ret_warn_on = !!(condition); \
17 #define WARN_ON(condition) ({ \ argument
18 int __ret_warn_on = !!(condition); \
25 #define WARN_ON_ONCE(condition) ({ \ argument
27 int __ret_warn_once = !!(condition); \
36 #define WARN_ONCE(condition, format...) ({ \ argument
38 int __ret_warn_once = !!(condition); \
/linux/drivers/input/joystick/iforce/
H A Diforce-ff.c158 iforce_dump_packet(iforce, "condition", FF_CMD_CONDITION, data); in make_condition_modifier()
174 * Analyse the changes in an effect, and tell if we need to send an condition
191 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier()
192 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier()
193 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier()
194 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier()
195 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier()
196 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier()
459 * Upload an condition effect. Those are for example friction, inertia, springs...
480 effect->u.condition[0].right_saturation, in iforce_upload_condition()
[all …]
/linux/arch/arm/nwfpe/
H A Dfpa11_cprt.c153 /* Check for unordered condition and convert all operands to 80-bit in PerformComparison()
221 /* test for less than condition */ in PerformComparison()
225 /* test for equal condition */ in PerformComparison()
229 /* test for greater than or equal condition */ in PerformComparison()
247 /* test for less than condition */ in PerformComparison()
251 /* test for equal condition */ in PerformComparison()
255 /* test for greater than or equal condition */ in PerformComparison()
268 /* test for less than condition */ in PerformComparison()
272 /* test for equal condition */ in PerformComparison()
276 /* test for greater than or equal condition */ in PerformComparison()
[all …]
/linux/arch/arm/kernel/
H A Dopcodes.c5 * A32 condition code lookup feature moved from nwfpe/fpopcode.c
14 * condition code lookup table
17 * bit position in short is condition code: NZCV
40 * ARM_OPCODE_CONDTEST_FAIL - if condition fails
41 * ARM_OPCODE_CONDTEST_PASS - if condition passes (including AL)
42 * ARM_OPCODE_CONDTEST_UNCOND - if NV condition, or separate unconditional
45 * Code that tests whether a conditional instruction would pass its condition
48 * Code that tests if a condition means that the instruction would be executed
/linux/tools/testing/selftests/
H A Dkselftest.h24 * ksft_test_result(condition, fmt, ...);
37 * ksft_exit(condition);
234 * ksft_test_result() - Report test success based on truth of condition
236 * @condition: if true, report test success, otherwise failure.
238 #define ksft_test_result(condition, fmt, ...) do { \ argument
239 if (!!(condition)) \
349 * ksft_test_result() - Report test success based on truth of condition
351 * @condition: if true, report test success, otherwise failure.
385 * ksft_exit() - Exit selftest based on truth of condition
387 * @condition
389 ksft_exit(condition) global() argument
[all...]
/linux/net/x25/
H A Dx25_in.c100 x25->condition = 0x00; in x25_state1_machine()
224 x25->condition = 0x00; in x25_state3_machine()
246 x25->condition = 0x00; in x25_state3_machine()
255 x25->condition |= X25_COND_PEER_RX_BUSY; in x25_state3_machine()
257 x25->condition &= ~X25_COND_PEER_RX_BUSY; in x25_state3_machine()
263 x25->condition &= ~X25_COND_PEER_RX_BUSY; in x25_state3_machine()
268 x25->condition = 0x00; in x25_state3_machine()
286 x25->condition = 0x00; in x25_state3_machine()
296 x25->condition |= X25_COND_OWN_RX_BUSY; in x25_state3_machine()
303 x25->condition &= ~X25_COND_ACK_PENDING; in x25_state3_machine()
[all …]
/linux/net/lapb/
H A Dlapb_in.c59 lapb->condition = 0x00; in lapb_state0_machine()
79 lapb->condition = 0x00; in lapb_state0_machine()
157 lapb->condition = 0x00; in lapb_state1_machine()
268 lapb->condition = 0x00; in lapb_state3_machine()
286 lapb->condition = 0x00; in lapb_state3_machine()
324 lapb->condition |= LAPB_PEER_RX_BUSY_CONDITION; in lapb_state3_machine()
343 lapb->condition &= ~LAPB_PEER_RX_BUSY_CONDITION; in lapb_state3_machine()
362 lapb->condition &= ~LAPB_PEER_RX_BUSY_CONDITION; in lapb_state3_machine()
395 if (lapb->condition & LAPB_PEER_RX_BUSY_CONDITION) in lapb_state3_machine()
416 lapb->condition &= ~LAPB_REJECT_CONDITION; in lapb_state3_machine()
[all …]
/linux/arch/mips/include/asm/
H A Dbug.h22 static inline void __BUG_ON(unsigned long condition) in __BUG_ON() argument
24 if (__builtin_constant_p(condition)) { in __BUG_ON()
25 if (condition) in __BUG_ON()
31 : : "r" (condition), "i" (BRK_BUG)); in __BUG_ON()
/linux/Documentation/i2c/
H A Di2c-protocol.rst12 S Start condition
13 P Stop condition
47 condition P a start condition S is sent and the transaction continues.
77 we do not generate Addr, but we do generate the start condition S.
94 Force a stop condition (P) after the message. Some I2C related protocols
/linux/include/uapi/linux/
H A Dblkzoned.h39 * enum blk_zone_cond - Condition [state] of a zone in a zoned device.
54 * The Zone Condition state machine in the ZBC/ZAC standards maps the above
67 * The condition BLK_ZONE_COND_ACTIVE is used only with cached zone reports.
70 * regular zone report will never report a zone condition using
97 * BLK_ZONE_COND_ACTIVE condition.
134 __u8 cond; /* Zone condition */
188 * may include zones with the condition @BLK_ZONE_COND_ACTIVE
189 * (c.f. the description of this condition above for more
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_intr.c27 /* This error condition is latched into MLXBF_GIGE_INT_STATUS in mlxbf_gige_error_intr()
30 * of this routine clears this error condition. in mlxbf_gige_error_intr()
36 /* This condition happens when the networking stack invokes in mlxbf_gige_error_intr()
40 * sent. The "tx_small_frame" condition is latched into the in mlxbf_gige_error_intr()
44 * clears this condition. in mlxbf_gige_error_intr()
/linux/drivers/target/
H A Dtarget_core_ua.c51 * From sam4r14, section 5.14 Unit attention condition: in target_scsi3_ua_check()
55 * report nor clear any unit attention condition; in target_scsi3_ua_check()
58 * report any unit attention condition; in target_scsi3_ua_check()
60 * a unit attention condition exists for the SCSI initiator port in target_scsi3_ua_check()
105 * Section 5.14 Unit Attention Condition: in core_scsi3_ua_allocate()
131 * Family 2AHh ASCQ codes for Unit Attention condition. in core_scsi3_ua_allocate()
241 * condition. Return the ASC/ASCQ of the highest priority UA in core_scsi3_ua_for_check_condition()
255 pr_debug("[%s]: %s UNIT ATTENTION condition with" in core_scsi3_ua_for_check_condition()
317 pr_debug("[%s]: Released UNIT ATTENTION condition, mapped" in core_scsi3_ua_clear_for_request_sense()
/linux/Documentation/devicetree/bindings/iio/accel/
H A Dlis302.txt37 - st,irq{1,2}-ff-wu-1: raise IRQ 1/2 on FF_WU_1 condition
38 - st,irq{1,2}-ff-wu-2: raise IRQ 1/2 on FF_WU_2 condition
39 - st,irq{1,2}-data-ready: raise IRQ 1/2 on data ready condition
40 - st,irq{1,2}-click: raise IRQ 1/2 on click condition
47 - st,wakeup-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for
50 - st,wakeup2-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for
/linux/drivers/s390/cio/
H A Dtrace.h82 * @cc: Condition code
93 * @cc: Condition code
104 * @cc: Condition code
150 * @cc: Condition code
191 * @cc: Condition code
238 * @cc: Condition code
248 * @cc: Condition code
258 * @cc: Condition code
268 * @cc: Condition code
281 * @cc: Condition code
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcs35l36.txt78 Configures the threshold at which the overtemperature warning condition occurs.
115 condition is present and the VP brownout condition is in an attacking state.
124 - cirrus,vpbr-wait : Configures the delay time between a brownout condition
129 between consecutive volume attenuation release steps when a brownout condition
133 is reached, the error condition still remains, and this bit is set, the audio
/linux/drivers/media/usb/dvb-usb/
H A Dm920x.h46 0x80: Send START condition. After a START condition, one would normally
49 0x40: Send STOP condition. This should be set on the last byte of an
54 START condition.

12345678910>>...54