Home
last modified time | relevance | path

Searched full:modifier (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/openbmc/phosphor-fan-presence/control/json/utils/
H A Dmodifier.hpp29 * @class Modifier
50 class Modifier class
71 Modifier() = delete;
72 ~Modifier() = default;
73 Modifier(const Modifier&) = delete;
74 Modifier& operator=(const Modifier&) = delete;
75 Modifier(Modifier&&) = delete;
76 Modifier& operator=(Modifier&&) = delete;
83 explicit Modifier(const json& jsonObj);
H A Dmodifier.cpp17 #include "modifier.hpp"
94 struct MinusOperator : public Modifier::BaseOperator
132 "Bool not allowed as a 'minus' modifier value"}; in operator ()()
144 * "modifier": {
163 struct LessThanOperator : public Modifier::BaseOperator
174 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
187 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
196 "Invalid data type in arg_value key in modifier JSON " in LessThanOperator()
200 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
212 "modifier json: {}", in LessThanOperator()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c127 u64 modifier; member
160 .modifier = I915_FORMAT_MOD_4_TILED_MTL_MC_CCS,
169 .modifier = I915_FORMAT_MOD_4_TILED_MTL_RC_CCS,
177 .modifier = I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC,
186 .modifier = I915_FORMAT_MOD_4_TILED_DG2_MC_CCS,
190 .modifier = I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC,
198 .modifier = I915_FORMAT_MOD_4_TILED_DG2_RC_CCS,
202 .modifier = I915_FORMAT_MOD_4_TILED,
206 .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
215 .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS,
[all …]
H A Dintel_fb.h32 bool intel_fb_is_tiled_modifier(u64 modifier);
33 bool intel_fb_is_ccs_modifier(u64 modifier);
34 bool intel_fb_is_rc_ccs_cc_modifier(u64 modifier);
35 bool intel_fb_is_mc_ccs_modifier(u64 modifier);
42 bool intel_fb_plane_supports_modifier(struct intel_plane *plane, u64 modifier);
49 u64 modifier);
95 bool intel_fb_modifier_uses_dpt(struct drm_i915_private *i915, u64 modifier);
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_osd_afbcd.c58 static int meson_gxm_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_pixel_fmt() argument
71 static bool meson_gxm_afbcd_supported_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_supported_fmt() argument
73 if (modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_32x8) in meson_gxm_afbcd_supported_fmt()
76 if (!(modifier & AFBC_FORMAT_MOD_YTR)) in meson_gxm_afbcd_supported_fmt()
79 return meson_gxm_afbcd_pixel_fmt(modifier, format) >= 0; in meson_gxm_afbcd_supported_fmt()
124 meson_gxm_afbcd_pixel_fmt(priv->afbcd.modifier, in meson_gxm_afbcd_setup()
127 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPARSE) in meson_gxm_afbcd_setup()
130 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPLIT) in meson_gxm_afbcd_setup()
206 static int meson_g12a_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_g12a_afbcd_pixel_fmt() argument
212 if (modifier & AFBC_FORMAT_MOD_YTR) in meson_g12a_afbcd_pixel_fmt()
[all …]
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c92 { .buffer_created = 1, .name = "ABGR8888 Valid buffer modifier",
96 .modifier = { AFBC_FORMAT_MOD_YTR, 0, 0 },
100 .name = "ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)",
104 .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, 0, 0 },
134 { .buffer_created = 0, .name = "NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag",
136 .handles = { 1, 1, 0 }, .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, 0, 0 },
140 { .buffer_created = 0, .name = "NV12 different modifier per-plane",
143 .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, 0, 0 },
150 .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE,
157 .handles = { 1, 1, 0 }, .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE,
[all …]
/openbmc/ibm-logging/
H A Dpolicy_table.cpp62 d.modifier = details["mod"]; in load()
82 const std::string& modifier) const in find()
85 // underlying details object it is with the help of the modifier. in find()
91 // If there is no exact modifier match, then look for an entry with in find()
92 // an empty modifier - it is the catch-all for that error. in find()
95 [&modifier](const auto& d) { return modifier == d.modifier; }); in find()
97 if ((details == policy->second.end()) && !modifier.empty()) in find()
101 [](const auto& d) { return d.modifier.empty(); }); in find()
H A Dpolicy_find.cpp149 * Returns the search modifier to use, but if it isn't found
166 * @return string - the search modifier
180 // Try the called out device path as the search modifier in getSearchModifierFirstTry()
188 // as the search modifier. in getSearchModifierFirstTry()
210 * Returns the search modifier to use.
212 * The modifier is used when the error name itself isn't granular
213 * enough to find a policy table entry. The modifier is determined
216 * Not all errors need a modifier, so this function isn't
221 * @return string - the search modifier
226 // The modifier may be one of several things within the in getSearchModifier()
[all …]
H A Dpolicy_table.hpp19 * - search modifier
25 std::string modifier; member
41 * search modifier. This data contains additional information
73 * error and the search modifier.
76 * @param[in] modifier - the search modifier, used to find the entry
82 const std::string& modifier) const;
H A Dcondense_policy.py13 Modifier: Used in combination with the error to locate a
19 There may be multiple CommonEventID/Modifier/Message groups per Error,
20 which is why both the error and modifier are needed to find an entry.
99 # Parse the error||modifer line. The modifier is optional.
103 modifier = name[separatorPos + 2 :] variable
104 details["mod"] = modifier
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-hist-mod.tc12 echo "Test histogram with execname modifier"
18 fail "execname modifier on sched_process_fork did not work"
22 echo "Test histogram with hex modifier"
29 fail "hex modifier on sched_process_fork did not work"
33 echo "Test histogram with syscall modifier"
38 fail "syscall modifier on raw_syscalls/sys_exit did not work"
43 echo "Test histgram with log2 modifier"
48 fail "log2 modifier on kmem/kmalloc did not work"
/openbmc/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c58 fb->modifier == DRM_FORMAT_MOD_LINEAR); in dcss_plane_fb_is_linear()
72 u64 modifier) in dcss_plane_format_mod_supported() argument
80 return modifier == DRM_FORMAT_MOD_LINEAR || in dcss_plane_format_mod_supported()
81 modifier == DRM_FORMAT_MOD_VIVANTE_TILED || in dcss_plane_format_mod_supported()
82 modifier == DRM_FORMAT_MOD_VIVANTE_SUPER_TILED; in dcss_plane_format_mod_supported()
84 return modifier == DRM_FORMAT_MOD_LINEAR; in dcss_plane_format_mod_supported()
88 return modifier == DRM_FORMAT_MOD_LINEAR; in dcss_plane_format_mod_supported()
105 bool mod_present, u64 modifier, in dcss_plane_can_rotate() argument
108 bool linear_format = !mod_present || modifier == DRM_FORMAT_MOD_LINEAR; in dcss_plane_can_rotate()
115 (modifier == DRM_FORMAT_MOD_VIVANTE_TILED || in dcss_plane_can_rotate()
[all …]
/openbmc/linux/include/linux/iio/
H A Devents.h16 * @modifier: Modifier for the channel. Should be one of enum iio_modifier.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
27 ((u64)direction << 48) | ((u64)modifier << 40) | \
36 * @modifier: Modifier for the channel. Should be one of enum iio_modifier.
41 #define IIO_MOD_EVENT_CODE(chan_type, number, modifier, \ argument
43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
/openbmc/linux/tools/perf/util/
H A Dmetricgroup.c130 /** Modifier on the metric such as "u" or NULL for none. */
131 const char *modifier; member
204 zfree(&m->modifier); in metric__free()
210 const char *modifier, in metric__new() argument
229 m->modifier = NULL; in metric__new()
230 if (modifier) { in metric__new()
231 m->modifier = strdup(modifier); in metric__new()
232 if (!m->modifier) in metric__new()
609 static int decode_all_metric_ids(struct evlist *perf_evlist, const char *modifier) in decode_all_metric_ids() argument
647 if (modifier) { in decode_all_metric_ids()
[all …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/
H A Devents.json524 "modifier": { object
532 "modifier": { object
566 "modifier": { object
574 "modifier": { object
608 "modifier": { object
616 "modifier": { object
650 "modifier": { object
658 "modifier": { object
692 "modifier": { object
700 "modifier": { object
[all …]
/openbmc/linux/drivers/gpu/drm/arm/
H A Dmalidp_planes.c142 u32 format, u64 modifier) in malidp_format_mod_supported() argument
149 if (WARN_ON(modifier == DRM_FORMAT_MOD_INVALID)) in malidp_format_mod_supported()
152 /* Some pixel formats are supported without any modifier */ in malidp_format_mod_supported()
153 if (modifier == DRM_FORMAT_MOD_LINEAR) { in malidp_format_mod_supported()
161 if (!fourcc_mod_is_vendor(modifier, ARM)) { in malidp_format_mod_supported()
162 DRM_ERROR("Unknown modifier (not Arm)\n"); in malidp_format_mod_supported()
166 if (modifier & in malidp_format_mod_supported()
175 if (WARN_ON_ONCE((modifier & AFBC_SPLIT) && !(modifier & AFBC_SPARSE))) in malidp_format_mod_supported()
179 if (WARN_ON_ONCE((modifier & AFBC_CBR) && (modifier & AFBC_YTR))) in malidp_format_mod_supported()
183 if (*modifiers == modifier) in malidp_format_mod_supported()
[all …]
/openbmc/u-boot/cmd/
H A Dblob.c16 * @key_mod: - Pointer to key modifier/key
30 * @key_mod: - Pointer to key modifier/key
91 " modifier is stored.\n"
92 " The modifier is required for generation\n"
94 " Key modifier should be 16 byte long.\n"
99 " modifier is stored.\n"
100 " The modifier is required for generation\n"
102 " Key modifier should be 16 byte long.\n";
/openbmc/openbmc/poky/meta/recipes-devtools/libdnf/libdnf/
H A Darmarch.patch32 - char *modifier = un.machine + 5;
33 - while(isdigit(*modifier)) /* keep armv7, armv8, armv9, armv10, armv100, ... */
34 - modifier++;
36 - *modifier++ = 'h';
38 - *modifier++ = 'n';
39 - *modifier++ = endian;
40 - *modifier = 0;
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c14 u32 fourcc, u64 modifier) in komeda_get_format_caps() argument
17 u64 afbc_features = modifier & ~(AFBC_FORMAT_MOD_BLOCK_SIZE_MASK); in komeda_get_format_caps()
18 u32 afbc_layout = modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK; in komeda_get_format_caps()
27 if ((modifier == 0ULL) && (caps->supported_afbc_layouts == 0)) in komeda_get_format_caps()
38 u32 komeda_get_afbc_format_bpp(const struct drm_format_info *info, u64 modifier) in komeda_get_afbc_format_bpp() argument
96 u32 layer_type, u32 fourcc, u64 modifier, in komeda_format_mod_supported() argument
101 caps = komeda_get_format_caps(table, fourcc, modifier); in komeda_format_mod_supported()
109 return table->format_mod_supported(caps, layer_type, modifier, in komeda_format_mod_supported()
H A Dkomeda_framebuffer.c55 switch (fb->modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK) { in komeda_fb_afbc_size_check()
66 fb->modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK); in komeda_fb_afbc_size_check()
71 if (fb->modifier & AFBC_FORMAT_MOD_TILED) { in komeda_fb_afbc_size_check()
91 bpp = komeda_get_afbc_format_bpp(info, fb->modifier); in komeda_fb_afbc_size_check()
172 mode_cmd->modifier[0]); in komeda_fb_create()
182 if (kfb->base.modifier) in komeda_fb_create()
253 if (!fb->modifier) { in komeda_fb_get_pixel_addr()
273 u64 modifier = fb->modifier; in komeda_fb_is_layer_supported() local
277 fourcc, modifier, rot); in komeda_fb_is_layer_supported()
279 DRM_DEBUG_ATOMIC("Layer TYPE: %d doesn't support fb FMT: %p4cc with modifier: 0x%llx.\n", in komeda_fb_is_layer_supported()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dfb.c39 uint64_t modifier = framebuffer->modifier; in tegra_fb_get_tiling() local
41 if (fourcc_mod_is_vendor(modifier, NVIDIA)) { in tegra_fb_get_tiling()
42 if ((modifier & DRM_FORMAT_MOD_NVIDIA_SECTOR_LAYOUT) == 0) in tegra_fb_get_tiling()
47 modifier &= ~DRM_FORMAT_MOD_NVIDIA_SECTOR_LAYOUT; in tegra_fb_get_tiling()
50 switch (modifier) { in tegra_fb_get_tiling()
92 DRM_DEBUG_KMS("unknown format modifier: %llx\n", modifier); in tegra_fb_get_tiling()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dset_parameter_from_group_max.hpp18 #include "../utils/modifier.hpp"
36 * storing it if the JSON specifies a valid Modifier class expression.
43 * "modifier": {
53 * See the Modifier class documentation for valid expressions.
98 * @brief Read the optional modifier from the JSON
112 * Only created if a modifier is specified in the JSON.
114 std::unique_ptr<Modifier> _modifier;
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/
H A Devents.json379 "modifier": { object
387 "modifier": { object
421 "modifier": { object
429 "modifier": { object
463 "modifier": { object
471 "modifier": { object
505 "modifier": { object
513 "modifier": { object
547 "modifier": { object
555 "modifier": { object
[all …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/
H A Devents.json567 "modifier": { object
575 "modifier": { object
609 "modifier": { object
617 "modifier": { object
651 "modifier": { object
659 "modifier": { object
693 "modifier": { object
701 "modifier": { object
735 "modifier": { object
743 "modifier": { object
[all …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge2U/
H A Devents.json567 "modifier": { object
575 "modifier": { object
609 "modifier": { object
617 "modifier": { object
651 "modifier": { object
659 "modifier": { object
693 "modifier": { object
701 "modifier": { object
735 "modifier": { object
743 "modifier": { object
[all …]

12345678910>>...16