/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | audio-graph-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 port-base: 16 $ref: /schemas/graph.yaml#/$defs/port-base 18 convert-rate: 19 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate 20 convert-channels: [all …]
|
H A D | audio-graph.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 $ref: /schemas/types.yaml#/definitions/phandle-array 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 32 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 33 convert-rate: 34 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate [all …]
|
/openbmc/linux/sound/core/oss/ |
H A D | mulaw.c | 2 * Mu-Law conversion Plug-In Interface 4 * Uros Bizjak <uros@kss-loka.si> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SIGN_BIT (0x80) /* Sign bit for a u-law byte. */ 31 #define NSEGS (8) /* Number of u-law segments. */ 55 * linear2ulaw() - Convert a linear PCM value to u-law 58 * is biased by adding 33 which shifts the encoding range from (0 - 8158) to 59 * (33 - 8191). The result can be seen in the following encoding table: 62 * ------------------------ --------------- 75 * four bits wxyz. * The trailing bits (a - h) are ignored. [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | data-convert-json.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "data-convert.h" 31 #include <traceevent/event-parse.h> 41 // Outputs a JSON-encoded string surrounded by quotes with characters escaped. 84 // Outputs a printf format string (with delimiter) as a JSON value. 86 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) in output_json_format() argument 91 va_start(args, format); in output_json_format() 92 vfprintf(out, format, args); in output_json_format() 96 // Outputs a JSON key-value pair where the value is a string. 106 // Outputs a JSON key-value pair where the value is a printf format string. [all …]
|
H A D | data-convert-bt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <babeltrace/ctf-writer/writer.h> 15 #include <babeltrace/ctf-writer/clock.h> 16 #include <babeltrace/ctf-writer/stream.h> 17 #include <babeltrace/ctf-writer/event.h> 18 #include <babeltrace/ctf-writer/event-types.h> 19 #include <babeltrace/ctf-writer/event-fields.h> 20 #include <babeltrace/ctf-ir/utils.h> 23 #include "data-convert.h" 36 #include "util/sample.h" [all …]
|
H A D | s390-cpumsf.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Auxtrace support for s390 CPU-Measurement Sampling Facility 17 * see Documentation/perf.data-file-format.txt. 61 * record sample, the auxtrace queues will be processed. As auxtrace queues 72 * Each sampling-data entry in the auxiliary trace data generates a perf sample. 73 * This sample is filled 75 * etc. This sample is processed with perf_session__deliver_synth_event() to 80 * auxtrace_heap top. This is triggered by ordered_event->deliver(). 95 * | - Those generated by perf record command (type number equal or higher 98 * | - Those generated by the kernel are handled by [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-data.txt | 1 perf-data(1) 5 ---- 6 perf-data - Data file related processing 9 -------- 14 ----------- 18 -------- 19 convert:: 20 Converts perf data file into another format. 21 It's possible to set data-convert debug variable to get debug messages from conversion, 23 perf --debug data-convert data convert ... [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | gecko.py | 1 # gecko.py - Convert perf record output to Firefox's gecko profile format 2 # SPDX-License-Identifier: GPL-2.0 4 # The script converts perf.data to Gecko Profile Format, 9 # perf record -a -g -F 99 sleep 60 14 # perf script gecko -F 99 -a sleep 60 32 # Add the Perf-Trace-Util library to the Python path 34 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 48 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty… 53 PRODUCT = os.popen('uname -op').read().strip() 68 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty… [all …]
|
/openbmc/openbmc/poky/scripts/lib/build_perf/html/ |
H A D | measurement_chart.html | 4 {% for sample in measurement.samples %} 5 …[{{ sample.commit_num }}, {{ sample.mean.gv_value() }}, {{ sample.start_time }}, '{{sample.commit}… 13 // Update value format to either minutes or leave as size value 15 // Assuming the array values are duration in the format [hours, minutes, seconds, milliseconds] 19 // Convert raw data to the format: [time, value] 24 … // Assuming the array values are duration in the format [hours, minutes, seconds, milliseconds] 47 const sample = rawData.filter(([commit, dataValue]) => updateValue(dataValue) === value) 48 …const formattedDate = new Date(sample[0][2] * 1000).toString().replace(/GMT[+-]\d{4}/, '').replace… 51 const commitLink = `https://git.yoctoproject.org/poky/commit/?id=${sample[0][3]}` 56 …ong> <a href="${commitLink}" target="_blank" rel="noreferrer noopener">${sample[0][0]}</a>, <br/> … [all …]
|
/openbmc/linux/sound/core/ |
H A D | pcm_misc.c | 2 * PCM Interface - misc routines 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SND_PCM_FORMAT_UNKNOWN (-1) 37 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */ 38 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */ 45 static bool valid_format(snd_pcm_format_t format) in valid_format() argument 47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format() 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, 108 .width = 32, .phys = 32, .le = 1, .signd = -1, [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-raw-vbi.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _raw-vbi: 19 signal, or to be added to a signal for output. The data format is 55 Raw VBI Format Negotiation 106 .. flat-table:: struct v4l2_vbi_format 107 :header-rows: 0 108 :stub-columns: 0 111 * - __u32 112 - ``sampling_rate`` 113 - Samples per second, i. e. unit 1 Hz. [all …]
|
/openbmc/openbmc/poky/meta/recipes-multimedia/libtiff/ |
H A D | tiff_4.7.0.bb | 1 SUMMARY = "Provides support for the Tag Image File Format (TIFF)" 2 DESCRIPTION = "Library provides support for the Tag Image File Format \ 3 (TIFF), a widely used format for storing image data. This library \ 11 SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz" 16 UPSTREAM_CHECK_REGEX = "tiff-(?P<pver>\d+(\.\d+)+).tar" 18 CVE_STATUS[CVE-2015-7313] = "fixed-version: Tested with check from https://security-tracker.debian.… 19 CVE_STATUS[CVE-2023-52356] = "fixed-version: Fixed since 4.7.0, NVD tracks this as version-less vul… 20 CVE_STATUS[CVE-2023-6228] = "fixed-version: Fixed since 4.7.0, NVD tracks this as version-less vuln… 21 CVE_STATUS[CVE-2023-6277] = "fixed-version: Fixed since 4.7.0, NVD tracks this as version-less vuln… 28 strip-chopping extrasample-as-alpha check-ycbcr-subsampling" [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | buildstats.py | 4 # SPDX-License-Identifier: GPL-2.0-only 42 # environments like Linux-VServer. Silently skip collecting 56 # Minimum number of seconds between recording a sample. This becames relevant when we get 61 # pick a somewhat arbitary tolerance such that we sample a large majority 63 … # and may lead an extra sample in a given second every so often. However, it allows for fairly 66 self.min_seconds = 1.0 - self.tolerance 115 # since the last sampling and record the result as sample 117 interval = time - self.diskstats_ltime 119 sums = [ a - b for a, b in zip(diskdata, self.diskstats_data) ] 142 user = float((times[0] + times[1]) - (self.stat_ltimes[0] + self.stat_ltimes[1])) [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_client.robot | 4 ... command. IPMI raw command will use dbus-send command 16 ${dbusHostIpmicmd1}= dbus-send --system ${OPENBMC_BASE_URI}HostIpmi/1 22 ${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL} -N ${IPMI_TIMEOUT} -p ${IPMI_PORT} 23 ${HOST}= -H 40 # -C=3, -I=lanplus, etc.). Currently, only 64 # -C=3, -I=lanplus, etc.). Currently, only 93 ... ${IPMITOOL_PATH} -I dbus ${command} return_stdout=True 100 [Documentation] Run the raw IPMI command in-band. 123 [Documentation] Run the standard IPMI command in-band. 156 # "-vvv"), it will be pre-pended to this [all …]
|
H A D | gen_misc.py | 86 - It will print an "Issuing: shutil.rmtree" message. 106 - It will print an "Issuing: os.chdir" message. 213 "Programmer error - The mod_name passed to" 263 "Programmer error - The mod_name passed to" 279 The properties file must have the following format: 312 # Make the property names case-sensitive. 429 # Bash re-direction: >, < 498 Convert number to a signed number and return the result. 514 var1: -15 537 neg_bit_mask = 2 ** (bit_width - 1) [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-ahb-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include "dw-hdmi-audio.h" 23 #define DRIVER_NAME "dw-hdmi-ahb-audio" 85 * allocation bits. Note that we can't do channel remapping here - 88 * Mappings for alsa-lib pcm/surround*.conf files: 144 * Convert to hardware format: The userspace buffer contains IEC958 samples, 156 u32 *src = dw->buf_src + offset; in dw_hdmi_reformat_iec958() 157 u32 *dst = dw->buf_dst + offset; in dw_hdmi_reformat_iec958() 158 u32 *end = dw->buf_src + offset + bytes; in dw_hdmi_reformat_iec958() 161 u32 b, sample = *src++; in dw_hdmi_reformat_iec958() local [all …]
|
/openbmc/openbmc-tools/sensor_yaml_config/ |
H A D | sensor_yaml_config.py | 30 "offsetB": -127, 34 "scale": -3, 52 "offsetB": -127, 56 "scale": -3, 77 "scale": -6, 157 # Convert path like: /sys-0/node-0/motherboard-0/dimmconn-0/dimm-0 161 dimmconn = re.search(r"dimmconn-\d+", p).group() 163 return "/xyz/openbmc_project/sensors/temperature/dimm{}_temp".format( 169 # Convert names like MEMBUF0_Temp or CENTAUR0_Temp 172 return "/xyz/openbmc_project/sensors/temperature/{}".format(name.lower()) [all …]
|
/openbmc/linux/Documentation/trace/rv/ |
H A D | deterministic_automata.rst | 10 - *X* is the set of states; 11 - *E* is the finite set of events; 12 - x\ :subscript:`0` is the initial state; 13 - X\ :subscript:`m` (subset of *X*) is the set of marked (or final) states. 14 - *f* : *X* x *E* -> *X* $ is the transition function. It defines the state 22 - *X* = { ``preemptive``, ``non_preemptive``} 23 - *E* = { ``preempt_enable``, ``preempt_disable``, ``sched_waking``} 24 - x\ :subscript:`0` = ``preemptive`` 25 - X\ :subscript:`m` = {``preemptive``} 26 - *f* = [all …]
|
/openbmc/linux/Documentation/sound/designs/ |
H A D | oss-emulation.rst | 2 Notes on Kernel OSS-Emulation 13 as add-on kernel modules, snd-pcm-oss, snd-mixer-oss and snd-seq-oss. 18 is called. The alias is defined ``sound-service-x-y``, where x and y are 22 Only necessary step for auto-loading of OSS modules is to define the 25 alias sound-slot-0 snd-emu10k1 27 As the second card, define ``sound-slot-1`` as well. 29 ``alias sound-slot-0 snd-card-0`` doesn't work any more like the old 38 after the corresponding OSS-emulation module is loaded. Don't worry 79 snd-pcm-oss and snd-rawmidi. In the case of PCM, the following 80 options are available for snd-pcm-oss: [all …]
|
/openbmc/linux/drivers/comedi/drivers/ni_routing/ |
H A D | README | 15 increasingly hard to find and the NI-MHDDK (comments in in example code). 22 varying purposes, but the end-user had to gain a knowledge of register 26 programming manuals and vendor-provided documentation are _not_ even 27 close to the same names that are in the end-user documentation. 32 NIDAQmx(-base) c-libraries, nor with register level programming, _nor_ 34 information is through the proprietary NI-MAX software, which currently only 36 cannot be exported from NI-MAX, except by screenshot. 41 of signal routing capabilities of National Instruments data-acquisition and 42 control hardware. In order to facilitate the transfer of register-level 49 documentation, (b) NI's user-level code, (c) the information as provided by [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.trace | 1 # SPDX-License-Identifier: GPL-2.0+ 5 Tracing in U-Boot 8 U-Boot supports a simple tracing feature which allows a record of excecution 14 -------- 16 The trace feature uses GCC's instrument-functions feature to trace all 27 Quick-start using Sandbox 28 ------------------------- 30 Sandbox is a build of U-Boot that can run under Linux so it is a convenient 43 Build sandbox U-Boot with tracing enabled: 51 $ ./sandbox/u-boot [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/dlink/ |
H A D | dl2k.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 D-Link DL2000-based Gigabit Ethernet Adapter Installation 11 - Compatibility List 12 - Quick Install 13 - Compiling the Driver 14 - Installing the Driver 15 - Option parameter 16 - Configuration Script Sample 17 - Troubleshooting 25 - D-Link DGE-550T Gigabit Ethernet Adapter. [all …]
|
/openbmc/linux/sound/soc/generic/ |
H A D | audio-graph-card2-custom-sample.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * audio-graph-card2-custom-sample.dtsi 8 * This sample indicates how to use audio-graph-card2 and its 9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver 10 * which is using audio-graph-card2. 12 * You can easily use this sample by adding below line on your DT file, 15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi" 23 * "compatible" on each test-component. see below 26 * - compatible = "test-cpu"; 27 * + compatible = "test-cpu-verbose"; [all …]
|
/openbmc/linux/tools/perf/arch/powerpc/util/ |
H A D | perf_regs.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "../../../perf-sys.h" 84 #define SDT_OP_REGEX1 "^(%r)?([1-2]?[0-9]|3[0-1])$" 86 /* -NUM(REG) or NUM(REG) or -NUM(%rREG) or NUM(%rREG) */ 87 #define SDT_OP_REGEX2 "^(\\-)?([0-9]+)\\((%r)?([1-2]?[0-9]|3[0-1])\\)$" 118 * Parse OP and convert it into uprobe format, which is, +/-NUM(%gprREG). 120 * Format Example 121 * ------------------------- 123 * -NUM(REG) -48(18) 125 * -NUM(%rREG) -48(%r18) [all …]
|
/openbmc/linux/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - added versioning 12 * - put in and populated the hardware_afmts field. 13 * [0.2] - put in SNDCTL_DSP_GETCAPS value. 14 * [0.3] - put in constraint on state buffer usage. 15 * [0.4] - put in default hard/soft settings 65 * Helper pointers for 16(14)-bit sound 82 static int AmiSetFormat(int format); 92 * Heartbeat interferes with sound since the 7 kHz low-pass filter and the 133 * to convert samples into the right frequency/encoding. They will only work on [all …]
|