| /Linux-v6.1/Documentation/devicetree/bindings/sound/ |
| 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 - $ref: /schemas/graph.yaml#/$defs/port-base 21 convert-rate: 22 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate" 23 convert-channels: 24 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels" [all …]
|
| 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 28 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 29 convert-rate: 30 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate" [all …]
|
| /Linux-v6.1/sound/core/oss/ |
| 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 …]
|
| /Linux-v6.1/tools/perf/util/ |
| D | data-convert-json.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "data-convert.h" 37 // Outputs a JSON-encoded string surrounded by quotes with characters escaped. 80 // Outputs a printf format string (with delimiter) as a JSON value. 82 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) in output_json_format() argument 87 va_start(args, format); in output_json_format() 88 vfprintf(out, format, args); in output_json_format() 92 // Outputs a JSON key-value pair where the value is a string. 102 // Outputs a JSON key-value pair where the value is a printf format string. 105 const char *key, const char *format, ...) in output_json_key_format() argument [all …]
|
| 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> 22 #include <traceevent/event-parse.h> 24 #include "data-convert.h" [all …]
|
| 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 …]
|
| /Linux-v6.1/tools/perf/Documentation/ |
| 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 …]
|
| /Linux-v6.1/sound/core/ |
| 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 …]
|
| D | pcm_dmaengine.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 * imx-pcm-dma-mx2.c, Copyright 2009 Sascha Hauer <s.hauer@pengutronix.de> 8 * mxs-pcm.c, Copyright (C) 2011 Freescale Semiconductor, Inc. 9 * ep93xx-pcm.c, Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org> 32 return substream->runtime->private_data; in substream_to_prtd() 39 return prtd->dma_chan; in snd_dmaengine_pcm_get_chan() 44 * snd_hwparams_to_dma_slave_config - Convert hw_params to dma_slave_config 63 return -EINVAL; in snd_hwparams_to_dma_slave_config() 75 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hwparams_to_dma_slave_config() [all …]
|
| /Linux-v6.1/Documentation/userspace-api/media/v4l/ |
| 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 …]
|
| /Linux-v6.1/drivers/gpu/drm/bridge/synopsys/ |
| 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 …]
|
| /Linux-v6.1/Documentation/trace/rv/ |
| 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 …]
|
| /Linux-v6.1/Documentation/sound/designs/ |
| 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 …]
|
| /Linux-v6.1/drivers/comedi/drivers/ni_routing/ |
| 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 …]
|
| /Linux-v6.1/Documentation/networking/device_drivers/ethernet/dlink/ |
| 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 …]
|
| /Linux-v6.1/tools/perf/arch/powerpc/util/ |
| D | perf_regs.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "../../../perf-sys.h" 83 #define SDT_OP_REGEX1 "^(%r)?([1-2]?[0-9]|3[0-1])$" 85 /* -NUM(REG) or NUM(REG) or -NUM(%rREG) or NUM(%rREG) */ 86 #define SDT_OP_REGEX2 "^(\\-)?([0-9]+)\\((%r)?([1-2]?[0-9]|3[0-1])\\)$" 117 * Parse OP and convert it into uprobe format, which is, +/-NUM(%gprREG). 119 * Format Example 120 * ------------------------- 122 * -NUM(REG) -48(18) 124 * -NUM(%rREG) -48(%r18) [all …]
|
| /Linux-v6.1/sound/soc/generic/ |
| D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 35 if (!strcmp(data->convert_sample_format, in asoc_simple_fixup_sample_fmt() 52 if (data->convert_rate) in asoc_simple_convert_fixup() 53 rate->min = in asoc_simple_convert_fixup() 54 rate->max = data->convert_rate; in asoc_simple_convert_fixup() 56 if (data->convert_channels) in asoc_simple_convert_fixup() 57 channels->min = in asoc_simple_convert_fixup() 58 channels->max = data->convert_channels; in asoc_simple_convert_fixup() 60 if (data->convert_sample_format) in asoc_simple_convert_fixup() [all …]
|
| /Linux-v6.1/sound/oss/dmasound/ |
| 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 …]
|
| /Linux-v6.1/arch/x86/events/amd/ |
| D | power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Performance events - AMD Processor Power Reporting Mechanism 16 /* Event code: LSB 8 bits, passed in attr->config any other bit is reserved. */ 25 * The ratio of compute unit power accumulator sample period to the 45 struct hw_perf_event *hwc = &event->hw; in event_update() 49 prev_pwr_acc = hwc->pwr_acc; in event_update() 50 prev_ptsc = hwc->ptsc; in event_update() 56 * final value (delta) is micro-Watts. Then add it to the event count. in event_update() 60 delta -= prev_pwr_acc; in event_update() 62 delta = new_pwr_acc - prev_pwr_acc; in event_update() [all …]
|
| /Linux-v6.1/include/linux/comedi/ |
| D | comedidev.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * header file for kernel-only structures, variables, and constants 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org> 13 #include <linux/dma-mapping.h> 28 * struct comedi_subdevice - Working data for a COMEDI subdevice 34 * the low-level driver.) 36 * low-level driver.) 38 * the COMEDI core and user application. (Initialized by the low-level 42 * low-level driver, or changed from 0 to 1 during post-configuration.) [all …]
|
| /Linux-v6.1/sound/ppc/ |
| D | snd_ps3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 129 } while (!done && --retries); in snd_ps3_verify_dma_stop() 145 * NOTE: caller should reset card->running before call. 146 * If not, the interrupt handler will re-start DMA, 158 * 5.7ms is from 16bit/sample 2ch 44.1Khz; the time next in snd_ps3_wait_for_dma_stop() 187 * convert virtual addr to ioif bus addr. 191 return card->dma_start_bus_addr[ch] + in v_to_bus() 192 (paddr - card->dma_start_vaddr[ch]); in v_to_bus() 205 card->dma_last_transfer_vaddr[ch] = in snd_ps3_bump_buffer() [all …]
|
| /Linux-v6.1/sound/pci/asihpi/ |
| D | hpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 14 The HPI is a low-level hardware abstraction layer to all 17 (C) Copyright AudioScience Inc. 1998-2010 31 /** Audio format types 37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 41 /** MPEG-1 Layer-1. */ 43 /** MPEG-1 Layer-2. 67 <tr><td>256<td>-<td>X [all …]
|
| /Linux-v6.1/sound/soc/intel/keembay/ |
| D | kmb_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 56 * Convert to ADV7511 HDMI hardware format. 59 * ALSA IEC958 subframe format: 60 * bit 0-3 = preamble (0x8 = block start) 61 * 4-7 = AUX (=0) 62 * 8-27 = audio data (without AUX if 24bit sample) 68 * ADV7511 IEC958 subframe format: 69 * bit 0-23 = audio data 74 * 28-31 = 0 [all …]
|
| /Linux-v6.1/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 32 return core->base + HDMI_CORE_AV; in hdmi_av_base() 37 void __iomem *base = core->base; in hdmi4_core_ddc_init() 50 return -ETIMEDOUT; in hdmi4_core_ddc_init() 61 return -ETIMEDOUT; in hdmi4_core_ddc_init() 71 return -ETIMEDOUT; in hdmi4_core_ddc_init() 80 void __iomem *base = core->base; in hdmi4_core_ddc_read() 87 return -ETIMEDOUT; in hdmi4_core_ddc_read() 112 return -EIO; in hdmi4_core_ddc_read() [all …]
|
| /Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 33 return core->base + HDMI_CORE_AV; in hdmi_av_base() 38 void __iomem *base = core->base; in hdmi_core_ddc_init() 51 return -ETIMEDOUT; in hdmi_core_ddc_init() 62 return -ETIMEDOUT; in hdmi_core_ddc_init() 72 return -ETIMEDOUT; in hdmi_core_ddc_init() 81 void __iomem *base = core->base; in hdmi_core_ddc_edid() 90 return -ETIMEDOUT; in hdmi_core_ddc_edid() 118 return -EIO; in hdmi_core_ddc_edid() [all …]
|