| /linux/Documentation/sound/soc/ |
| H A D | dai.rst | 13 now also popular in many portable devices. This DAI has a RESET line and time 19 The AC97 specification can be found at : 30 usually varies depending on the sample rate and the master system clock 31 (SYSCLK). LRCLK is the same as the sample rate. A few devices support separate 32 ADC and DAC LRCLKs, this allows for simultaneous capture and playback at 33 different sample rates. 35 I2S has several different operating modes:- 45 MSB is transmitted sample size BCLKs before LRC transition. 53 receive the audio data. Bit clock usually varies depending on sample rate 54 while sync runs at the sample rate. PCM also supports Time Division [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | seq-oss.rst | 15 What this does - it provides the emulation of the OSS sequencer, access 53 However, each MIDI device is exclusive - that is, if a MIDI device 57 * Real-time event processing: 60 ioctl. To switch to real-time mode, send ABSTIME 0 event. The followed 61 events will be processed in real-time without queued. To switch off the 62 real-time mode, send RELTIME 0 event. 67 ``/proc/asound/seq/oss`` at any time. In the later version, 74 Run configure script with both sequencer support (``--with-sequencer=yes``) 75 and OSS emulation (``--with-oss=yes``) options. A module ``snd-seq-oss.o`` 81 At beginning, this module probes all the MIDI ports which have been [all …]
|
| /linux/net/dccp/ |
| H A D | input.c | |
| /linux/net/ipv4/ |
| H A D | tcp_nv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TCP-NV is a successor of TCP-Vegas that has been developed to 7 * Like TCP-Vegas, TCP-NV supports true congestion avoidance, 9 * When congestion (queue buildup) starts to occur, TCP-NV 15 * all the flows are NV (at least those within the data center). This 22 * seen issues with rx-frames values greater than 8. 37 * nv_reset_period How often (in) seconds)to reset min_rtt 46 * slow-start due to congestion 47 * nv_stop_rtt_cnt Only grow cwnd for this many RTTs after non-congestion 76 MODULE_PARM_DESC(nv_reset_period, "nv_min_rtt reset period (secs)"); [all …]
|
| H A D | tcp_rate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 /* The bandwidth estimator estimates the rate at which the network 5 * can currently deliver outbound data packets for this flow. At a high 6 * level, it operates by taking a delivery rate sample for each ACK. 8 * A rate sample records the rate at which the network delivered packets 13 * the estimator generates a delivery rate sample. Typically it uses the rate 14 * at which packets were acknowledged. However, the approach of using only the 21 * send_rate = #pkts_delivered/(last_snd_time - first_snd_time) 22 * ack_rate = #pkts_delivered/(last_ack_time - first_ack_time) 28 * deliberately avoids using the inter-packet spacing approach because that [all …]
|
| H A D | tcp_bbr.c | 21 * +---> STARTUP ----+ 24 * | DRAIN ----+ 27 * +---> PROBE_BW ----+ 30 * | +----+ | 32 * +---- PROBE_RTT <--+ 37 * A long-lived BBR flow spends the vast majority of its time remaining 41 * sample that matches or decreases its min_rtt estimate for 10 seconds, then 42 * it briefly enters PROBE_RTT to cut inflight to a minimum value to re-probe 43 * the path's two-way propagation delay (min_rtt). When exiting PROBE_RTT, if 48 * "BBR: Congestion-Based Congestion Control", [all …]
|
| H A D | tcp_vegas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * IEEE Journal on Selected Areas in Communication, 13(8):1465--1480, 17 * using fine-grained timers, NewReno, and FACK. 19 * only every-other RTT during slow start, we increase during 22 * we use the rate at which ACKs come back as the "actual" 23 * rate, rather than the rate at which data is sent. 27 * minimum RTT sample observed during the last RTT to calculate 29 * o When the sender re-starts from idle, it waits until it has 55 /* There are several situations when we must "re-start" Vegas: 63 * In these circumstances we cannot do a Vegas calculation at the [all …]
|
| H A D | tcp_westwood.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TCP Westwood+: end-to-end bandwidth estimation for TCP 7 * Support at http://c3lab.poliba.it/index.php/Westwood 10 * - Mascolo S, Casetti, M. Gerla et al. 13 * - A. Grieco, s. Mascolo 17 * - A. Dell'Aera, L. Grieco, S. Mascolo. 18 * "Linux 2.4 Implementation of Westwood+ TCP with Rate-Halving : 21 * Westwood+ employs end-to-end bandwidth measurement to set cwnd and 43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/ 55 * information about RTTmin at this time so we simply set it to [all …]
|
| /linux/sound/firewire/dice/ |
| H A D | dice-interface.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * block read transactions with at least quadlet-aligned offset and length. 12 * Writes are not allowed except where noted; quadlet-sized registers must be 15 * All values are in big endian. The DICE firmware runs on a little-endian CPU 16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness 17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver. 32 * size values are measured in quadlets. Read-only. 50 * Stores the full 64-bit address (node ID and offset in the node's address 53 * cleared on a bus reset. 60 * A bitmask with asynchronous events; read-only. When any event(s) happen, [all …]
|
| /linux/sound/usb/ |
| H A D | usbaudio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 /* handling of USB vendor/product ID pairs as 32-bit numbers */ 56 struct list_head ep_list; /* list of audio-related endpoints */ 80 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L) 83 dev_err(&(chip)->dev->dev, fmt, ##args) 85 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args) 87 dev_warn(&(chip)->dev->dev, fmt, ##args) 89 dev_info(&(chip)->dev->dev, fmt, ##args) 91 dev_dbg(&(chip)->dev->dev, fmt, ##args) 98 #define QUIRK_NODEV_INTERFACE -3 /* return -ENODEV */ [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 34 * DSP's internal clock at the time the sample was received. The clock 35 * runs at 1/10 the JR3 DSP cycle time. JR3's slowest DSP runs at 10 36 * Mhz. At 10 Mhz raw_time would therefore clock at 1 Mhz. 40 * channels. Channel 0 shows the excitation voltage at the sensor. It 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 96 /* vect_bits appears to be unused at this time */ 139 * was detected in the on-board RAM during the power-up [all …]
|
| H A D | quatech_daqp_cs.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * COMEDI - Linux Control and Measurement Device Interface 13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf 15 * This manual is for both the DAQP-208 and the DAQP-308. 18 * - A/D conversion 19 * - 8 channels 20 * - 4 gain ranges 21 * - ground ref or differential 22 * - single-shot and timed both supported 23 * - D/A conversion, single-shot [all …]
|
| /linux/drivers/clk/mvebu/ |
| H A D | mv98dx3236.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 14 #include <linux/clk-provider.h> 21 * For 98DX4251 Sample At Reset the CPU, DDR and Main PLL clocks are all 22 * defined at the same time 30 * For 98DX3236 Sample At Reset the CPU, DDR and Main PLL clocks are all 31 * defined at the same time 76 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) in mv98dx3236_get_cpu_freq() 78 else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) in mv98dx3236_get_cpu_freq() 125 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) { in mv98dx3236_get_clk_ratio() [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | kfence.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Kernel Electric-Fence (KFENCE) 7 Kernel Electric-Fence (KFENCE) is a low-overhead sampling-based memory safety 8 error detector. KFENCE detects heap out-of-bounds access, use-after-free, and 9 invalid-free errors. 15 non-production test workloads. One way to quickly achieve a large enough total 19 ----- 26 ``kfence.sample_interval`` to non-zero value), configure the kernel with:: 37 The most important parameter is KFENCE's sample interval, which can be set via 39 sample interval determines the frequency with which heap allocations will be [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_hwlat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_hwlat.c - A simple Hardware Latency detector. 20 * Although certain hardware-inducing latencies are necessary (for example, 22 * and remote management) they can wreak havoc upon any OS-level performance 23 * guarantees toward low-latency, especially when the OS is not even made 27 * sampling the built-in CPU timer, looking for discontiguous readings. 31 * environment requiring any kind of low-latency performance 34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> 57 static struct dentry *hwlat_sample_width; /* sample width us */ [all …]
|
| H A D | trace_osnoise.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 8 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> 12 * DE OLIVEIRA, Daniel Bristot, et al. Demystifying the real-time linux 13 * scheduling latency. In: 32nd Euromicro Conference on Real-Time Systems 14 * (ECRTS 2020). Schloss Dagstuhl-Leibniz-Zentrum fur Informatik, 2020. 92 * osnoise_instance_registered - check if a tr is already registered 101 if (inst->tr == tr) in osnoise_instance_registered() 110 * osnoise_register_instance - register a new trace instance 127 return -ENOMEM; in osnoise_register_instance() [all …]
|
| /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: 43 :ref:`VIDIOC_QUERYCAP` ioctl. At least one of the 63 As usual these parameters are *not* reset at :c:func:`open()` 85 actual parameters. When the driver allocates resources at this point, it 91 expect other resource allocation points which may return ``EBUSY``, at the 106 .. flat-table:: struct v4l2_vbi_format 107 :header-rows: 0 108 :stub-columns: 0 111 * - __u32 [all …]
|
| /linux/tools/perf/util/ |
| H A D | cs-etm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2015-2018 Linaro Limited. 12 #include <linux/coresight-pmu.h> 22 #include "cs-etm.h" 23 #include "cs-etm-decoder/cs-etm-decoder.h" 37 #include "thread-stack.h" 40 #include "util/synthetic-events.h" 61 * Per-thread ignores the trace channel ID and instead assumes that 151 #define SINK_UNSET ((u32) -1) 168 inode = intlist__find(etmq->traceid_list, trace_chan_id); in cs_etm__get_magic() [all …]
|
| H A D | annotate.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 139 /* This needs to be at the end. */ 150 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent() 179 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset() 207 /* save data type info keyed by al->offset */ 226 * struct sym_hist - symbol histogram information for an event 229 * @period: Sum of sample periods. 237 * struct cyc_hist - (CPU) cycle histogram for a basic block 248 * @reset: Number of resets due to a different start address. 250 * If sample has branch_stack and cycles info, it can construct basic blocks [all …]
|
| /linux/Documentation/w1/ |
| H A D | w1-generic.rst | 2 Introduction to the 1-wire (w1) subsystem 5 The 1-wire bus is a simple master-slave bus that communicates via a single 18 - DS9490 usb device 19 - W1-over-GPIO 20 - DS2482 (i2c to w1 bridge) 21 - Emulated devices, such as a RS232 converter, parallel port adapter, etc 25 ------------------------------ 29 - sysfs entries for that w1 master are created 30 - the w1 bus is periodically searched for new slave devices 36 in nature, which can contain several (two or one) low-level operations. [all …]
|
| /linux/sound/soc/meson/ |
| H A D | axg-tdm-formatter.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <linux/reset.h> 13 #include "axg-tdm-formatter.h" 24 struct reset_control *reset; member 33 unsigned int ch = ts->channels; in axg_tdm_formatter_set_channel_masks() 53 if ((BIT(i + k) & ts->mask[j]) && ch) { in axg_tdm_formatter_set_channel_masks() 55 ch -= 1; in axg_tdm_formatter_set_channel_masks() 62 * If we still have channel left at the end of the process, it means in axg_tdm_formatter_set_channel_masks() 68 return -EINVAL; in axg_tdm_formatter_set_channel_masks() 82 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_enable() [all …]
|
| /linux/sound/isa/sb/ |
| H A D | emu8000_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de> 17 MODULE_PARM_DESC(emu8000_reset_addr, "reset write address at each time (makes slowdown)"); 30 snd_emux_lock_voice(emu->emu, i); in snd_emu8000_open_dma() 57 snd_emux_unlock_voice(emu->emu, i); in snd_emu8000_close_dma() 80 c = cc << 8; /* convert 8bit -> 16bit */ in read_word() 91 c ^= 0x8000; /* unsigned -> signed */ in read_word() 108 * write sample word data 112 * It mostly does, but during writes of some samples at random it 116 * This is therefore much slower than need be, but is at least [all …]
|
| /linux/samples/rust/ |
| H A D | rust_driver_pci.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Rust PCI driver sample (based on QEMU's `pci-testdev`). 5 //! To make this driver probe, QEMU must be run with `-device pci-testdev`. 47 fn testdev(index: &TestIndex, bar: &Bar0) -> Result<u32> { in testdev() 56 // Note that we need `try_write8`, since `offset` can't be checked at compile-time. in testdev() 68 fn probe(pdev: &pci::Device<Core>, info: &Self::IdInfo) -> impl PinInit<Self, Error> { in probe() 73 "Probe Rust PCI driver sample (PCI ID: {}, 0x{:x}).\n", in probe() 82 bar <- pdev.iomap_region_sized::<{ Regs::END }>(0, c_str!("rust_driver_pci")), in probe() 89 "pci-testdev data-match count: {}\n", in probe() 100 // Reset pci-testdev by writing a new test index. in unbind() [all …]
|
| /linux/Documentation/trace/coresight/ |
| H A D | panic.rst | 2 Using Coresight for Kernel panic and Watchdog reset 6 ------------ 8 debug kernel panic and watchdog reset scenarios. 11 ----------------------------------- 19 b. Support for stopping coresight blocks at the time of panic 23 d. Support for reading trace data captured at the time of panic 27 A new optional device tree property "memory-region" is added to the 43 Disabling coresight blocks at the time of panic 46 kernel panic, it would be desirable to stop the coresight blocks at the 53 Comparator --->External out --->CTI -->External In---->ETR/ETF stop [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | cs4271.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * The data format accepted is I2S or left-justified. 131 * Default CS4271 power-up configuration 132 * Array contains non-existing in hw register at address 0 134 * registers read operations at all 160 /* Current sample rate for de-emphasis control */ 162 /* GPIO driving Reset pin, if any */ 163 struct gpio_desc *reset; member 164 /* enable soft reset workaround */ 175 SND_SOC_DAPM_OUTPUT("AOUTA-"), [all …]
|