Home
last modified time | relevance | path

Searched full:assertion (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/openbmc/linux/include/kunit/
H A Dassert.h3 * Assertion and expectation serialization API.
19 * enum kunit_assert_type - Type of expectation/assertion.
20 * @KUNIT_ASSERTION: Used to denote that a kunit_assert represents an assertion.
24 * represents an expectation or an assertion.
44 * struct kunit_assert - Data for printing a failed assertion or expectation.
46 * Represents a failed expectation/assertion. Contains all the data necessary to
60 * struct kunit_fail_assert - Represents a plain fail expectation/assertion.
79 * Represents a simple expectation or assertion that simply asserts something is
94 * struct kunit_ptr_not_err_assert - An expectation/assertion that a pointer is
100 * Represents an expectation/assertion that a pointer is not null and is does
[all …]
H A Dtest.h609 * @fmt: an informational message to be printed when the assertion is made.
1193 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1201 * this is otherwise known as an *assertion failure*.
1214 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1218 * Sets an assertion that the value that @condition evaluates to is false. This
1219 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1220 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1233 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1238 * Sets an assertion that the values that @left and @right evaluate to are
1239 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/
H A Dconfig.yaml40 readingType: assertion
72 readingType: assertion
88 readingType: assertion
108 readingType: assertion
139 readingType: assertion
170 readingType: assertion
201 readingType: assertion
232 readingType: assertion
263 readingType: assertion
294 readingType: assertion
[all …]
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/configuration/s6q-yaml-config/
H A Dipmi-sensors.yaml530 readingType: assertion
554 readingType: assertion
578 readingType: assertion
602 readingType: assertion
626 readingType: assertion
650 readingType: assertion
674 readingType: assertion
698 readingType: assertion
722 readingType: assertion
746 readingType: assertion
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/
H A Dp10bmc-ipmi-sensors.yaml26 readingType: assertion
56 readingType: assertion
86 readingType: assertion
116 readingType: assertion
146 readingType: assertion
176 readingType: assertion
206 readingType: assertion
236 readingType: assertion
266 readingType: assertion
296 readingType: assertion
[all …]
/openbmc/linux/fs/gfs2/
H A Dutil.h30 #define gfs2_assert(sdp, assertion) \ argument
32 if (unlikely(!(assertion))) { \
39 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
43 #define gfs2_assert_withdraw(sdp, assertion) \ argument
45 bool _bool = (assertion); \
47 gfs2_assert_withdraw_i((sdp), #assertion, \
52 #define gfs2_assert_withdraw_delayed(sdp, assertion) \ argument
54 bool _bool = (assertion); \
56 gfs2_assert_withdraw_i((sdp), #assertion, \
61 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
[all …]
H A Dutil.c41 fs_emerg(sdp, "fatal assertion failed\n"); in gfs2_assert_i()
367 * gfs2_assert_withdraw_i - Cause the machine to withdraw if @assertion is false
370 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() argument
378 "fatal: assertion \"%s\" failed\n" in gfs2_assert_withdraw_i()
380 assertion, function, file, line); in gfs2_assert_withdraw_i()
397 * gfs2_assert_warn_i - Print a message to the console if @assertion is false
400 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() argument
409 fs_warn(sdp, "warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i()
410 assertion, function, file, line); in gfs2_assert_warn_i()
418 panic("GFS2: fsid=%s: warning: assertion \"%s\" failed\n" in gfs2_assert_warn_i()
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dgpmc-omap.h35 u32 cs_on; /* Assertion time */
40 u32 adv_on; /* Assertion time */
43 u32 adv_aad_mux_on; /* ADV assertion time for AAD */
48 u32 we_on; /* WE assertion time */
52 u32 oe_on; /* OE assertion time */
54 u32 oe_aad_mux_on; /* OE assertion time for AAD */
91 u32 t_aa; /* access time from ADV assertion */
93 u32 t_oe; /* access time from OE assertion */
100 u32 t_wpl; /* write assertion time */
120 u8 cyc_oe; /* access time from OE assertion in cycles */
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/
H A Dromulus-ipmi-sensors.yaml50 readingType: assertion
72 readingType: assertion
102 readingType: assertion
132 readingType: assertion
162 readingType: assertion
192 readingType: assertion
222 readingType: assertion
252 readingType: assertion
282 readingType: assertion
312 readingType: assertion
[all …]
/openbmc/u-boot/board/buffalo/lsxl/
H A Dkwbimage-lschl.cfg139 # bit7-4: 2, 2 cycles from read command to assertion of M_ODT signal
140 # bit11-8: 5, 5 cycles from read command to de-assertion of M_ODT signal
141 # bit15-12: 5, 5 cycles from read command to assertion of internal ODT signal
142 # bit19-16: 8, 8 cycles from read command to de-assertion of internal ODT signal
147 # bit3-0: 2, 2 cycles from write comand to assertion of M_ODT signal
148 # bit7-4: 5, 5 cycles from write command to de-assertion of M_ODT signal
149 # bit15-12: 5, 5 cycles from write command to assertion of internal ODT signal
150 # bit19-16: 8, 8 cycles from write command to de-assertion of internal ODT signal
188 # bit1-0: 0, M_ODT[0] assertion is controlled by ODT Control Low register
189 # bit3-2: 0, M_ODT[1] assertion is controlled by ODT Control Low register
[all …]
H A Dkwbimage-lsxhl.cfg139 # bit7-4: 2, 2 cycles from read command to assertion of M_ODT signal
140 # bit11-8: 5, 5 cycles from read command to de-assertion of M_ODT signal
141 # bit15-12: 5, 5 cycles from read command to assertion of internal ODT signal
142 # bit19-16: 8, 8 cycles from read command to de-assertion of internal ODT signal
147 # bit3-0: 2, 2 cycles from write comand to assertion of M_ODT signal
148 # bit7-4: 5, 5 cycles from write command to de-assertion of M_ODT signal
149 # bit15-12: 5, 5 cycles from write command to assertion of internal ODT signal
150 # bit19-16: 8, 8 cycles from write command to de-assertion of internal ODT signal
188 # bit1-0: 0, M_ODT[0] assertion is controlled by ODT Control Low register
189 # bit3-2: 0, M_ODT[1] assertion is controlled by ODT Control Low register
[all …]
/openbmc/u-boot/board/d-link/dns325/
H A Dkwbimage.cfg128 # bit7-4: 2, 2 cycles from read command to assertion of M_ODT signal
129 # bit11-8: 5, 5 cycles from read command to de-assertion of M_ODT signal
130 # bit15-12: 5, 5 cycles from read command to assertion of internal ODT signal
131 # bit19-16: 8, 8 cycles from read command to de-assertion of internal ODT signal
135 # bit3-0: 2, 2 cycles from write comand to assertion of M_ODT signal
136 # bit7-4: 5, 5 cycles from write command to de-assertion of M_ODT signal
137 # bit15-12: 5, 5 cycles from write command to assertion of internal ODT signal
138 # bit19-16: 8, 8 cycles from write command to de-assertion of internal ODT signal
169 # bit1-0: 0, M_ODT[0] assertion is controlled by ODT Control Low register
170 # bit3-2: 0, M_ODT[1] assertion is controlled by ODT Control Low register
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/
H A Dconfig.yaml17 readingType: assertion
34 readingType: assertion
91 readingType: assertion
117 readingType: assertion
143 readingType: assertion
171 readingType: assertion
187 readingType: assertion
225 readingType: assertion
242 readingType: assertion
349 readingType: assertion
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/
H A Dacx22-ipmi-sensors-mrw.yaml35 readingType: assertion
61 readingType: assertion
103 readingType: assertion
181 readingType: assertion
214 readingType: assertion
259 readingType: assertion
270 readingType: assertion
286 readingType: assertion
302 readingType: assertion
320 readingType: assertion
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Common/
H A DThreshold.interface.yaml26 This indicates the assertion change for a threshold.
31 This indicates the threshold type for the assertion.
35 This indicates the threshold bound for the assertion.
39 This indicates whether the assertion has been asserted(true) or
44 The value that triggered the assertion change.
/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.hpp31 using Assertion = uint16_t; typedef
33 using AssertionSet = std::pair<Assertion, Deassertion>;
44 /** @brief Make assertion set from input data
46 * @return pair of assertion and deassertion set
129 * @brief Helper function to map the dbus info to sensor's assertion status
144 * @brief Map the Dbus info to sensor's assertion status in the Get sensor
151 GetSensorResponse assertion(const Info& sensorInfo);
164 * @brief readingAssertion is a case where the entire assertion state field
331 * @brief Map the Dbus info to sensor's assertion status in the Get sensor
340 std::optional<GetSensorResponse> assertion(uint8_t id, const Info& sensorInfo,
[all …]
H A Dsensordatahandler.cpp25 Assertion assertionStates = in getAssertionSet()
26 (static_cast<Assertion>(cmdData.assertOffset8_14)) << 8 | in getAssertionSet()
136 GetSensorResponse assertion(const Info& sensorInfo) in assertion() function
147 std::optional<GetSensorResponse> assertion(uint8_t id, const Info& sensorInfo, in assertion() function
150 // The assertion may contain multiple properties in assertion()
222 ipmi_ret_t assertion(const SetSensorReadingReq& cmdData, const Info& sensorInfo) in assertion() function
292 ipmi_ret_t assertion(const SetSensorReadingReq& cmdData, const Info& sensorInfo) in assertion() function
377 GetSensorResponse assertion(const Info& sensorInfo) in assertion() function
391 std::optional<GetSensorResponse> assertion(uint8_t id, const Info& sensorInfo,
394 // The assertion may contain multiple properties
/openbmc/openbmc/meta-ibm/meta-palmetto/recipes-phosphor/configuration/palmetto-yaml-config/
H A Dpalmetto-ipmi-sensors.yaml50 readingType: assertion
96 readingType: assertion
126 readingType: assertion
156 readingType: assertion
186 readingType: assertion
217 readingType: assertion
248 readingType: assertion
279 readingType: assertion
310 readingType: assertion
341 readingType: assertion
[all …]
/openbmc/phosphor-host-ipmid/scripts/
H A Dsensor-example.yaml12 # Where the sensor value is represented - assertion bits/reading/event data
13 readingType: assertion
42 readingType: assertion
76 # A special case of assertion, where the entire assert bitfield
78 # 0xFF, to indicate not to check any specific bits in the assertion.
133 readingType: assertion
166 readingType: assertion
/openbmc/u-boot/board/keymile/km_arm/
H A Dkwbimage-memphis.cfg133 # bit7-4 : 0010, M_ODT assertion 2 cycles after read
134 # bit11-8 : 0101, M_ODT de-assertion 5 cycles after read
135 # bit15-12: 0100, internal ODT assertion 4 cycles after read
136 # bit19-16: 1000, internal ODT de-assertion 8 cycles after read
140 # bit3-0 : 0001, M_ODT assertion same cycle as write
141 # bit7-4 : 0101, M_ODT de-assertion x cycles after write
142 # bit11-8 : 0100, internal ODT assertion x cycles after write
143 # bit15-12: 1000, internal ODT de-assertion x cycles after write
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dti,gpmc-child.yaml30 description: Assertion time
43 description: Assertion time
55 description: Assertion time for AAD
68 description: Assertion time
77 description: Assertion time
85 description: Assertion time for AAD
H A Darm,pl172.txt67 - mpmc,write-enable-delay: Delay from chip select assertion to write
70 - mpmc,output-enable-delay: Delay from chip select assertion to output
73 - mpmc,write-access-delay: Delay from chip select assertion to write
76 - mpmc,read-access-delay: Delay from chip select assertion to read
H A Dmvebu-devbus.txt62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to
63 DEV_OEn assertion. If set to 0 (default),
72 de-assertion of DEV_CSn. If set to 0 (default),
75 This parameter has no affect on DEV_OEn de-assertion.
86 to the DEV_WEn assertion.
/openbmc/u-boot/lib/
H A Dpanic.c49 void __assert_fail(const char *assertion, const char *file, unsigned int line, in __assert_fail() argument
53 panic("%s:%u: %s: Assertion `%s' failed.", file, line, function, in __assert_fail()
54 assertion); in __assert_fail()
/openbmc/linux/rust/kernel/
H A Dkunit.rs66 // The assertion failed but this task is not running a KUnit test, so we cannot call
72 // This mimics KUnit's failed assertion format.
74 " # {}: ASSERTION FAILED at {FILE}:{LINE}\n",
104 static ASSERTION: UnaryAssert = UnaryAssert($crate::bindings::kunit_unary_assert { constant
133 core::ptr::addr_of!(ASSERTION.0.assert),

12345678910>>...18