Home
last modified time | relevance | path

Searched refs:format (Results 151 – 175 of 5035) sorted by relevance

12345678910>>...202

/openbmc/phosphor-mboxd/
H A Dformat-code.sh7 [ -f .clang-format ] && rm .clang-format
31 ln -sf .clang-format-c++ .clang-format
34 rm .clang-format
/openbmc/hiomapd/
H A Dformat-code.sh12 [ -f .clang-format ] && rm .clang-format
38 ln -sf .clang-format-c++ .clang-format
41 rm .clang-format
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c41 if (fb->format->format == DRM_FORMAT_NV12 && is_tile) in mdp4_get_frame_format()
221 const struct mdp_format *format; in mdp4_plane_mode_set() local
270 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
286 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
318 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp4_plane_mode_set()
319 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp4_plane_mode_set()
320 MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp4_plane_mode_set()
321 MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp4_plane_mode_set()
323 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set()
331 MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | in mdp4_plane_mode_set()
[all …]
/openbmc/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py68 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
76 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti…
85 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
100 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
120 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_name, datetime.now()))
123 …plot_str = "plot for [i in title_list] i.'.csv' using {:d}:{:d} pt 7 ps 1 title i".format(C_ELAPSE…
124 g_plot('title_list = "{}"'.format(title_list))
134 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
138 g_plot('title_list = "{}"'.format(title_list))
149 g_plot('set title "{} : cpu load : {:%F %H:%M}"'.format(test_name, datetime.now()))
[all …]
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c301 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
307 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
308 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
311 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format()
667 *format = vfh->format; in isp_video_get_format()
725 vfh->format = *format; in isp_video_set_format()
749 isp_video_pix_to_mbus(&format->fmt.pix, &fmt.format); in isp_video_try_format()
756 isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix); in isp_video_try_format()
812 sel->r.width = format.format.width; in isp_video_get_selection()
813 sel->r.height = format.format.height; in isp_video_get_selection()
[all …]
H A Dispresizer.c1455 format.width = 1; in resizer_enum_frame_size()
1456 format.height = 1; in resizer_enum_frame_size()
1465 format.width = -1; in resizer_enum_frame_size()
1466 format.height = -1; in resizer_enum_frame_size()
1492 fmt->format = *format; in resizer_get_format()
1516 *format = fmt->format; in resizer_set_format()
1529 *format = fmt->format; in resizer_set_format()
1575 memset(&format, 0, sizeof(format)); in resizer_init_formats()
1578 format.format.code = MEDIA_BUS_FMT_YUYV8_1X16; in resizer_init_formats()
1579 format.format.width = 4096; in resizer_init_formats()
[all …]
/openbmc/linux/drivers/ata/
H A Dpata_sc1200.c86 u32 format; in sc1200_set_piomode() local
90 pci_read_config_dword(pdev, reg + 4, &format); in sc1200_set_piomode()
91 format >>= 31; in sc1200_set_piomode()
92 format += sc1200_clock(); in sc1200_set_piomode()
94 pio_timings[format][mode]); in sc1200_set_piomode()
124 u32 format; in sc1200_set_dmamode() local
127 format = udma_timing[clock][mode - XFER_UDMA_0]; in sc1200_set_dmamode()
129 format = mwdma_timing[clock][mode - XFER_MW_DMA_0]; in sc1200_set_dmamode()
136 timings |= format; in sc1200_set_dmamode()
139 pci_write_config_dword(pdev, reg + 12, format); in sc1200_set_dmamode()
/openbmc/linux/drivers/media/pci/intel/ivsc/
H A Dmei_csi.c379 format->which); in mei_csi_get_fmt()
381 format->format = *mbusformat; in mei_csi_get_fmt()
407 v4l_bound_align_image(&format->format.width, 1, 65536, 0, in mei_csi_set_fmt()
408 &format->format.height, 1, 65536, 0, 0); in mei_csi_set_fmt()
410 switch (format->format.code) { in mei_csi_set_fmt()
501 format->format.code = MEDIA_BUS_FMT_Y8_1X8; in mei_csi_set_fmt()
505 if (format->format.field == V4L2_FIELD_ANY) in mei_csi_set_fmt()
506 format->format.field = V4L2_FIELD_NONE; in mei_csi_set_fmt()
512 format->format = csi->format_mbus[CSI_PAD_SINK]; in mei_csi_set_fmt()
514 *mbusformat = format->format; in mei_csi_set_fmt()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dadv7511-v4l2.c1235 memset(&format->format, 0, sizeof(format->format)); in adv7511_get_fmt()
1242 format->format.code = fmt->code; in adv7511_get_fmt()
1244 format->format.ycbcr_enc = fmt->ycbcr_enc; in adv7511_get_fmt()
1246 format->format.xfer_func = fmt->xfer_func; in adv7511_get_fmt()
1248 format->format.code = state->fmt_code; in adv7511_get_fmt()
1283 switch (format->format.code) { in adv7511_set_fmt()
1297 fmt->code = format->format.code; in adv7511_set_fmt()
1305 switch (format->format.code) { in adv7511_set_fmt()
1322 state->fmt_code = format->format.code; in adv7511_set_fmt()
1328 switch (format->format.colorspace) { in adv7511_set_fmt()
[all …]
/openbmc/linux/drivers/mtd/
H A Dsm_ftl.h71 #define sm_printk(format, ...) \ argument
72 printk(KERN_WARNING "sm_ftl" ": " format "\n", ## __VA_ARGS__)
74 #define dbg(format, ...) \ argument
76 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
78 #define dbg_verbose(format, ...) \ argument
80 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
/openbmc/linux/drivers/hwmon/pmbus/
H A Dtda38640.c23 .format[PSC_VOLTAGE_IN] = linear,
24 .format[PSC_VOLTAGE_OUT] = linear,
25 .format[PSC_CURRENT_OUT] = linear,
26 .format[PSC_CURRENT_IN] = linear,
27 .format[PSC_POWER] = linear,
28 .format[PSC_TEMPERATURE] = linear,
/openbmc/linux/drivers/media/rc/
H A Dene_ir.h171 #define __dbg(level, format, ...) \ argument
174 pr_info(format "\n", ## __VA_ARGS__); \
177 #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) argument
178 #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) argument
179 #define dbg_regs(format, ...) __dbg(3, format, ## __VA_ARGS__) argument
/openbmc/qemu/scripts/performance/
H A Ddissect.py146 format("Total Instructions:",
147 format(total_instructions, ',')))
150 format("Code Generation:",
151 format(code_generation_instructions, ","),
155 format("JIT Execution:",
156 format(JIT_self_instructions, ","),
160 format("Helpers:",
161 format(helpers_instructions, ","),
/openbmc/openbmc-tools/dbusView/
H A DdbusView.py22 busctl = "sshpass -p {} busctl -H {}@{} ".format(
54 busctl + "introspect {} {}".format(busname, path), shell=True
62 out += "<div><H2>Bus Names {}</H2></div>".format(args.address)
65 out += '<a href="{}"> {} </a>'.format(name, name)
78 out += "<div><H2>tree {}</H2></div>".format(name)
81 out += '<a href="{}/{}"> {} </a>'.format(
92 out += "<div><H2>introspect {} {}</H2></div>".format(name, path)
95 out += "<pre> {} </pre>".format(line)
/openbmc/linux/scripts/gdb/linux/
H A Dlists.py28 .format(head.type))
32 .format(head.address))
51 .format(head.type))
72 gdb.write("Starting with: {}\n".format(c))
83 'prev@{p_addr}={p}\n'.format(
92 'current@{current_addr}={current}\n'.format(
101 'next@{n_addr}={n}\n'.format(
110 'current@{current_addr}={current}\n'.format(
118 gdb.write("list is consistent: {} node(s)\n".format(nb))
/openbmc/linux/drivers/pci/hotplug/
H A Dshpchp.h36 #define dbg(format, arg...) \ argument
41 #define err(format, arg...) \ argument
43 #define info(format, arg...) \ argument
45 #define warn(format, arg...) \ argument
48 #define ctrl_dbg(ctrl, format, arg...) \ argument
52 format, ## arg); \
54 #define ctrl_err(ctrl, format, arg...) \ argument
55 pci_err(ctrl->pci_dev, format, ## arg)
56 #define ctrl_info(ctrl, format, arg...) \ argument
57 pci_info(ctrl->pci_dev, format, ## arg)
[all …]
/openbmc/qemu/scripts/oss-fuzz/
H A Doutput_reproducer.py41 """.format(date=date.today().year, owner=owner)
50 print(" * {}".format(l))
53 result = '\\\n'.join(textwrap.wrap("cat << EOF | {} {}".format(path, args),
63 result.append("""static void {}(void)\n{{""".format(name))
70 result.append("""QTestState *s = qtest_init("{}");""".format(args))
81 result.append("""qtest_bufwrite(s, {}, "{}", {});""".format(
84 result.append("qtest_{}(s, {});".format(
87 result.append("qtest_{}(s, {}, {});".format(
93 result.append("qtest_clock_step(s, {});".format(param[1]))
109 }}""".format(name=name, arch=arch)
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-v4l2.c227 v4l2_fill_pix_format(&vin->format, &fmt.format); in rvin_reset_format()
237 vin->format.height *= 2; in rvin_reset_format()
276 v4l2_fill_mbus_format(&format.format, pix, vin->mbus_code); in rvin_try_format()
288 v4l2_fill_pix_format(pix, &format.format); in rvin_try_format()
341 vin->format = f->fmt.pix; in rvin_s_fmt_vid_cap()
359 f->fmt.pix = vin->format; in rvin_g_fmt_vid_cap()
456 rect->width = fmt.format.width; in rvin_remote_rectangle()
460 switch (vin->format.field) { in rvin_remote_rectangle()
500 s->r.width = vin->format.width; in rvin_g_selection()
578 vin->format.width, vin->format.height); in rvin_s_selection()
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DvalgrindPlugin.py32 print('{}.pre_suite'.format(self.sub_class))
34 self._add_to_tap('1..{}\n'.format(self.testcount))
40 print('{}.post_suite'.format(self.sub_class))
43 res = TestResult('{}-mem'.format(self.testidlist[xx]), 'Test skipped')
71 print('{}.adjust_command'.format(self.sub_class))
82 format(stage, command, cmdlist))
86 cmdlist.insert(0, '--log-file=vgnd-{}.log'.format(self.args.testid))
98 print('adjust_command: return command [{}]'.format(command))
105 res = TestResult('{}-mem'.format(self.args.testid),
106 '{} memory leak check'.format(self.args.test_name))
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpmbus_driver_device.cpp48 throw std::runtime_error{std::format( in getGPIOValues()
60 std::string fileName = std::format("status{:d}", page); in getStatusWord()
65 throw std::runtime_error{std::format( in getStatusWord()
77 std::string fileName = std::format("status{:d}_vout", page); in getStatusVout()
82 throw std::runtime_error{std::format( in getStatusVout()
95 std::string fileName = std::format("in{}_input", fileNumber); in getReadVout()
103 throw std::runtime_error{std::format( in getReadVout()
116 std::string fileName = std::format("in{}_lcrit", fileNumber); in getVoutUVFaultLimit()
124 throw std::runtime_error{std::format( in getVoutUVFaultLimit()
141 throw std::runtime_error{std::format( in getFileNumber()
[all …]
/openbmc/openpower-occ-control/
H A Dpowermode.cpp45 std::format( in setMasterOcc()
299 std::format( in updateDbusMode()
377 std::format( in sendModeChange()
417 std::format( in sendModeChange()
548 std::format( in getIPSParms()
599 std::format( in sendIpsData()
649 std::format( in sendIpsData()
664 std::format( in print()
694 std::format( in save()
720 std::format( in load()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D191.out161 "format": "file",
230 "format": "file",
299 "format": "file",
397 file format: IMGFMT
401 backing file format: IMGFMT
403 file format: IMGFMT
407 backing file format: IMGFMT
815 file format: IMGFMT
819 backing file format: IMGFMT
821 file format: IMGFMT
[all …]
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-ic-prpencvf.c955 format.format = sdformat->format; in prp_set_fmt()
960 *outfmt = format.format; in prp_set_fmt()
989 format.format.code = fse->code; in prp_enum_frame_size()
990 format.format.width = 1; in prp_enum_frame_size()
991 format.format.height = 1; in prp_enum_frame_size()
993 fse->min_width = format.format.width; in prp_enum_frame_size()
996 if (format.format.code != fse->code) { in prp_enum_frame_size()
1001 format.format.code = fse->code; in prp_enum_frame_size()
1002 format.format.width = -1; in prp_enum_frame_size()
1003 format.format.height = -1; in prp_enum_frame_size()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/musl/musl-legacy-error/
H A Derror.h14 static inline void error(int status, int errnum, const char* format, ...) in error() argument
22 va_start(ap, format); in error()
23 vfprintf(stderr, format, ap); in error()
36 unsigned int linenum, const char *format, ...) in error_at_line() argument
48 va_start(ap, format); in error_at_line()
49 vfprintf(stderr, format, ap); in error_at_line()
/openbmc/linux/tools/hv/
H A Dvmbus_testing169 .format(device.split("/")[5]))
172 .format(device.split("/")[5]))
184 .format(errno, strerror, path))
195 f.write("{}".format(value))
199 .format(errno, strerror, path))
209 .format(state_path.split("/")[5]))
213 .format(state_path.split("/")[5]))
237 .format(read_test_files(interrupt),
240 .format(read_test_files(message),
245 .format(errno, strerror, interrupt, message))
[all …]

12345678910>>...202