/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | hda.c | 12 void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt) in tegra_hda_parse_format() argument 16 if (format & AC_FMT_TYPE_NON_PCM) in tegra_hda_parse_format() 21 if (format & AC_FMT_BASE_44K) in tegra_hda_parse_format() 26 mul = (format & AC_FMT_MULT_MASK) >> AC_FMT_MULT_SHIFT; in tegra_hda_parse_format() 27 div = (format & AC_FMT_DIV_MASK) >> AC_FMT_DIV_SHIFT; in tegra_hda_parse_format() 31 switch (format & AC_FMT_BITS_MASK) { in tegra_hda_parse_format() 53 bits = (format & AC_FMT_BITS_MASK) >> AC_FMT_BITS_SHIFT; in tegra_hda_parse_format() 59 channels = (format & AC_FMT_CHAN_MASK) >> AC_FMT_CHAN_SHIFT; in tegra_hda_parse_format()
|
/openbmc/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | ipuv3-plane.c | 431 fb->format != old_fb->format)) in ipu_plane_atomic_check() 451 switch (fb->format->format) { in ipu_plane_atomic_check() 471 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 488 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 633 fb->format->format, fb->modifier, in ipu_plane_atomic_update() 638 old_state->fb->format->format != fb->format->format || in ipu_plane_atomic_update() 688 info = drm_format_info(fb->format->format); in ipu_plane_atomic_update() 702 switch (fb->format->format) { in ipu_plane_atomic_update() 713 fb->format->format == DRM_FORMAT_YVU444) in ipu_plane_atomic_update() 842 plane_state->fb->format->format, in ipu_planes_assign_pre() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | pmbus_write_vout_command_action_tests.cpp | 52 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() local 55 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 72 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() local 75 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 90 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::direct}; in TEST() local 93 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 575 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() local 597 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() local 600 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 606 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() local [all …]
|
H A D | pmbus_read_sensor_action_tests.cpp | 55 SensorDataFormat format{SensorDataFormat::linear_16}; in TEST() local 69 SensorDataFormat format{SensorDataFormat::linear_11}; in TEST() local 118 SensorDataFormat format{SensorDataFormat::linear_11}; in TEST() local 165 SensorDataFormat format{SensorDataFormat::linear_16}; in TEST() local 215 SensorDataFormat format{SensorDataFormat::linear_16}; in TEST() local 236 SensorDataFormat format{SensorDataFormat::linear_11}; in TEST() local 279 SensorDataFormat format{SensorDataFormat::linear_16}; in TEST() local 508 SensorDataFormat format{SensorDataFormat::linear_11}; in TEST() local 518 SensorDataFormat format{SensorDataFormat::linear_16}; in TEST() local 540 SensorDataFormat format{SensorDataFormat::linear_11}; in TEST() local [all …]
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 272 code->code = format->code; in vsp1_subdev_enum_mbus_code() 328 fse->min_width = format->width; in vsp1_subdev_enum_frame_size() 329 fse->max_width = format->width; in vsp1_subdev_enum_frame_size() 383 fmt->format = *format; in vsp1_subdev_set_pad_format() 397 format->width = clamp_t(unsigned int, fmt->format.width, in vsp1_subdev_set_pad_format() 399 format->height = clamp_t(unsigned int, fmt->format.height, in vsp1_subdev_set_pad_format() 401 format->field = V4L2_FIELD_NONE; in vsp1_subdev_set_pad_format() 404 fmt->format = *format; in vsp1_subdev_set_pad_format() 408 *format = fmt->format; in vsp1_subdev_set_pad_format() 415 selection->width = format->width; in vsp1_subdev_set_pad_format() [all …]
|
/openbmc/linux/tools/virtio/linux/ |
H A D | kernel.h | 51 #define __printf(a,b) __attribute__((format(printf,a,b))) 128 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 130 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 132 #define pr_debug(format, ...) do {} while (0) argument 134 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 135 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 136 #define dev_warn_once(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | TdcPlugin.py | 6 print(' -- {}.__init__'.format(self.sub_class)) 13 print(' -- {}.pre_suite'.format(self.sub_class)) 19 print(' -- {}.post_suite'.format(self.sub_class)) 24 print(' -- {}.pre_case'.format(self.sub_class)) 31 print(' -- {}.post_case'.format(self.sub_class)) 36 print(' -- {}.pre_execute'.format(self.sub_class)) 41 print(' -- {}.post_execute'.format(self.sub_class)) 46 print(' -- {}.adjust_command {}'.format(self.sub_class, stage)) 74 print(' -- {}.check_args'.format(self.sub_class))
|
H A D | TdcResults.py | 35 self.errormsg = '{}\n{}'.format(self.errormsg, errormsg) 45 self.failmsg = '{}\n{}'.format(self.failmsg, failmsg) 91 ftap += '1..{}\n'.format(self.count_tests()) 96 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name) 98 ftap += ' # skipped - {}\n'.format(t.errormsg) 103 ftap += '\n\t\t{}'.format(step) 104 ftap += '\n\t{}'.format(t.failmsg) 115 xunit += 'name=\"{}\">\n'.format(escape(t.test_name)) 121 xunit += '\t{}\n'.format(escape(step)) 122 xunit += 'FAILURE: {}\n'.format(escape(t.failmsg)) [all …]
|
/openbmc/qemu/ui/ |
H A D | qemu-pixman.c | 17 pf.bytes_per_pixel = PIXMAN_FORMAT_BPP(format) / 8; in qemu_pixelformat_from_pixman() 18 pf.depth = PIXMAN_FORMAT_DEPTH(format); in qemu_pixelformat_from_pixman() 20 pf.abits = PIXMAN_FORMAT_A(format); in qemu_pixelformat_from_pixman() 21 pf.rbits = PIXMAN_FORMAT_R(format); in qemu_pixelformat_from_pixman() 22 pf.gbits = PIXMAN_FORMAT_G(format); in qemu_pixelformat_from_pixman() 23 pf.bbits = PIXMAN_FORMAT_B(format); in qemu_pixelformat_from_pixman() 25 switch (PIXMAN_FORMAT_TYPE(format)) { in qemu_pixelformat_from_pixman() 151 pixman_format_code_t format; in qemu_pixman_get_format() local 160 return format; in qemu_pixman_get_format() 173 switch (format) { in qemu_pixman_check_format() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | print_support.h | 37 #define PWARN(format, ...) ia_css_print("warning: ", ##__VA_ARGS__) argument 38 #define PRINT(format, ...) ia_css_print(format, ##__VA_ARGS__) argument 39 #define PERROR(format, ...) ia_css_print("error: " format, ##__VA_ARGS__) argument 40 #define PDEBUG(format, ...) ia_css_print("debug: " format, ##__VA_ARGS__) argument
|
/openbmc/libbej/src/ |
H A D | bej_tree.c | 7 node->nodeAttr.format.principalDataType = type; in bejTreeInitParent() 8 node->nodeAttr.format.deferredBinding = 0; in bejTreeInitParent() 9 node->nodeAttr.format.readOnlyProperty = 0; in bejTreeInitParent() 10 node->nodeAttr.format.nullableProperty = 0; in bejTreeInitParent() 35 return node->format.principalDataType == bejSet || in bejTreeIsParentType() 36 node->format.principalDataType == bejArray || in bejTreeIsParentType() 45 node->nodeAttr.format.principalDataType = type; in bejTreeInitChildNode() 46 node->nodeAttr.format.deferredBinding = 0; in bejTreeInitChildNode() 47 node->nodeAttr.format.readOnlyProperty = 0; in bejTreeInitChildNode() 48 node->nodeAttr.format.nullableProperty = 0; in bejTreeInitChildNode() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-reserved.rst | 16 you think your format should be listed in a standard format section 45 - Compressed format of the ET61X251 driver. 50 - 8 bit RGB format used by the BTTV driver. 55 - YUV format used by the gspca cpia1 driver. 101 - OV511 JPEG format used by the gspca driver. 126 - Compressed format used by the Zoran driver 131 - Compressed format of the PWC driver. 136 - Compressed format of the PWC driver. 141 - Compressed format of the SN9C102 driver. 156 - Bayer format of the gspca stv0680 driver. [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap.c | 135 if (map->format.format_write) in regmap_readable() 1027 !(map->format.format_reg && map->format.format_val)) in __regmap_init() 1603 map->format.pad_bytes; in _regmap_raw_write_impl() 1721 map->format.reg_bytes + map->format.val_bytes); in _regmap_raw_write_impl() 1760 map->format.reg_bytes + in _regmap_raw_write_impl() 1773 len = map->format.reg_bytes + map->format.pad_bytes + val_len; in _regmap_raw_write_impl() 1779 memcpy(buf + map->format.reg_bytes + map->format.pad_bytes, in _regmap_raw_write_impl() 1804 return map->write && map->format.format_val && map->format.format_reg; in regmap_can_raw_write() 1883 map->format.format_val(map->work_buf + map->format.reg_bytes in _regmap_bus_raw_write() 2736 map->format.reg_bytes + map->format.pad_bytes, in _regmap_raw_read() [all …]
|
/openbmc/qemu/scripts/tracetool/format/ |
H A D | __init__.py | 47 for filename in os.listdir(tracetool.format.__path__[0]): 76 def generate(events, format, backend, group): argument 77 if not exists(format): 78 raise ValueError("unknown format: %s" % format) 79 format = format.replace("-", "_") 80 func = tracetool.try_import("tracetool.format." + format, 83 raise AttributeError("format has no 'generate': %s" % format)
|
/openbmc/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 170 u32 format = 0; in drm_format_to_dpu() local 172 switch (fb->format->format) { in drm_format_to_dpu() 176 format |= BIT_DPU_LAY_FORMAT_ARGB8888; in drm_format_to_dpu() 202 format |= BIT_DPU_LAY_FORMAT_RGB565; in drm_format_to_dpu() 210 format |= BIT_DPU_LAY_NO_SWITCH; in drm_format_to_dpu() 234 format |= BIT_DPU_LAY_NO_SWITCH; in drm_format_to_dpu() 241 format |= BIT_DPU_LAY_NO_SWITCH; in drm_format_to_dpu() 254 return format; in drm_format_to_dpu() 351 if (fb->format->num_planes == 3) { in sprd_dpu_layer() 366 format = drm_format_to_dpu(fb); in sprd_dpu_layer() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_plane.c | 59 if (!old_state->format || in rcar_du_plane_needs_realloc() 60 old_state->format->planes != new_state->format->planes) in rcar_du_plane_needs_realloc() 78 if (state->format->planes == 2) in rcar_du_plane_hwmask() 162 if (!new_plane_state->format) { in rcar_du_atomic_check_planes() 239 new_plane_state->format ? in rcar_du_atomic_check_planes() 607 *format = NULL; in __rcar_du_plane_atomic_check() 623 *format = NULL; in __rcar_du_plane_atomic_check() 627 *format = rcar_du_format_info(state->fb->format->format); in __rcar_du_plane_atomic_check() 628 if (*format == NULL) { in __rcar_du_plane_atomic_check() 630 &state->fb->format->format); in __rcar_du_plane_atomic_check() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | pldm.cpp | 55 std::format( in fetchSensorInfo() 68 std::format( in fetchSensorInfo() 288 std::format( in clearData() 305 std::format( in clearData() 445 std::format( in resetOCC() 572 std::format( in sendPldm() 589 std::format( in sendPldm() 661 std::format( in registerPldmRspCallback() 796 std::format( in pldmRspCallback() 820 std::format( in pldmRspCallback() [all …]
|
H A D | powercap.cpp | 54 std::format( in updatePcapBounds() 71 std::format( in updatePcapBounds() 88 std::format( in updatePcapBounds() 127 std::format( in updatePcapBounds() 294 std::format( in readUserCapHwmon() 369 std::format( in pcapChanged() 379 std::format( in pcapChanged() 390 std::format( in pcapChanged() 418 std::format( in updateDbusPcapLimits() 433 std::format( in updateDbusPcapLimits() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-ip.c | 113 fmt->format = *src_format; in rzg2l_cru_ip_set_format() 122 sink_format->code = fmt->format.code; in rzg2l_cru_ip_set_format() 126 sink_format->xfer_func = fmt->format.xfer_func; in rzg2l_cru_ip_set_format() 127 sink_format->ycbcr_enc = fmt->format.ycbcr_enc; in rzg2l_cru_ip_set_format() 134 fmt->format = *sink_format; in rzg2l_cru_ip_set_format() 176 fmt.format.width = RZG2L_CRU_MIN_INPUT_WIDTH; in rzg2l_cru_ip_init_config() 178 fmt.format.field = V4L2_FIELD_NONE; in rzg2l_cru_ip_init_config() 179 fmt.format.code = MEDIA_BUS_FMT_UYVY8_1X16; in rzg2l_cru_ip_init_config() 180 fmt.format.colorspace = V4L2_COLORSPACE_SRGB; in rzg2l_cru_ip_init_config() 181 fmt.format.ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in rzg2l_cru_ip_init_config() [all …]
|
/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csiphy.c | 432 format.width = 1; in csiphy_enum_frame_size() 433 format.height = 1; in csiphy_enum_frame_size() 442 format.width = -1; in csiphy_enum_frame_size() 443 format.height = -1; in csiphy_enum_frame_size() 467 if (format == NULL) in csiphy_get_format() 470 fmt->format = *format; in csiphy_get_format() 491 if (format == NULL) in csiphy_set_format() 496 *format = fmt->format; in csiphy_set_format() 504 *format = fmt->format; in csiphy_set_format() 506 format, in csiphy_set_format() [all …]
|
/openbmc/bmcweb/http/ |
H A D | logging.hpp | 20 auto format(const void*& ptr, auto& ctx) const in format() function 68 inline void vlog(std::format_string<Args...>&& format, Args&&... args, in vlog() argument 88 logLocation = std::format("[{} {}:{}] ", levelString, filename, in vlog() 90 logLocation += std::format(std::move(format), in vlog() 115 std::move(format), std::forward<Args>(args)..., loc); in BMCWEB_LOG_CRITICAL() 123 BMCWEB_LOG_ERROR(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_ERROR() 128 std::move(format), std::forward<Args>(args)..., loc); in BMCWEB_LOG_ERROR() 141 std::move(format), std::forward<Args>(args)..., loc); in BMCWEB_LOG_WARNING() 149 BMCWEB_LOG_INFO(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_INFO() 154 std::move(format), std::forward<Args>(args)..., loc); in BMCWEB_LOG_INFO() [all …]
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_frontend.c | 200 if (fb->format->num_planes > 1) in sun4i_frontend_update_buffer() 203 if (fb->format->num_planes > 2) in sun4i_frontend_update_buffer() 212 if (fb->format->num_planes > 1) in sun4i_frontend_update_buffer() 216 if (fb->format->num_planes > 2) in sun4i_frontend_update_buffer() 221 swap = sun4i_frontend_format_chroma_requires_swap(fb->format->format); in sun4i_frontend_update_buffer() 228 if (fb->format->num_planes > 1) { in sun4i_frontend_update_buffer() 250 if (!format->is_yuv) in sun4i_frontend_drm_format_to_input_fmt() 272 switch (format->num_planes) { in sun4i_frontend_drm_format_to_input_mode() 302 switch (format->format) { in sun4i_frontend_drm_format_to_input_sequence() 407 const struct drm_format_info *format = fb->format; in sun4i_frontend_update_formats() local [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | dectree.py | 71 + "width of 16 bits!".format(tag, enc_class) 78 + "width of 32 bits!".format(tag, enc_class) 138 + "of the following tags:\n{}".format("\n".join(tags)) 195 reversed("{:0{}b}".format(value, width)) 202 name = "DECODE_EXT_{}".format(enc_class) 204 name = "DECODE_SUBINSN_{}".format(enc_class) 206 name = "DECODE_ROOT_{}".format(enc_width) 242 print('EXTSPACE({},"{}")'.format(tag, enc), file=f) 294 print("DECODE_OPINFO({},".format(tag), file=f) 314 " DECODE_REG({},{},{})".format( [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | mlx5_core.h | 47 #define mlx5_core_dbg(__dev, format, ...) \ argument 54 "%s:%d:(pid %d): " format, \ 61 mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \ 64 #define mlx5_core_err(__dev, format, ...) \ argument 71 "%s:%d:(pid %d): " format, \ 75 #define mlx5_core_warn(__dev, format, ...) \ argument 87 "%s:%d:(pid %d): " format, \ 91 #define mlx5_core_info(__dev, format, ...) \ argument 96 "%s:%d:(pid %d): " format, \ 110 va_start(args, format); in mlx5_printk() [all …]
|
/openbmc/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-scaler.c | 30 struct v4l2_subdev_format *format) in isc_scaler_get_fmt() argument 35 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in isc_scaler_get_fmt() 37 format->pad); in isc_scaler_get_fmt() 38 format->format = *v4l2_try_fmt; in isc_scaler_get_fmt() 43 format->format = isc->scaler_format[format->pad]; in isc_scaler_get_fmt() 65 &req_fmt->format.height, 16, UINT_MAX, 0, 0); in isc_scaler_set_fmt() 67 isc_scaler_prepare_fmt(&req_fmt->format); in isc_scaler_set_fmt() 74 req_fmt->format.code = fmt->mbus_code; in isc_scaler_set_fmt() 79 *v4l2_try_fmt = req_fmt->format; in isc_scaler_set_fmt() 83 *v4l2_try_fmt = req_fmt->format; in isc_scaler_set_fmt() [all …]
|