Home
last modified time | relevance | path

Searched +full:sample +full:- +full:at +full:- +full:reset (Results 1 – 25 of 434) sorted by relevance

12345678910>>...18

/linux/Documentation/sound/soc/
H A Ddai.rst13 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/sound/isa/wavefront/
H A Dwavefront_synth.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (C) by Paul Barton-Davis 1998-1999
5 * copyright (C) by Hannu Savolainen 1993-1996
13 * including patch, sample and program loading and unloading, conversion
14 * of GUS patches during loading, and full user-level access to all
15 * WaveFront commands. It tries to provide semi-intelligent patch and
16 * sample management as well.
36 loading. if non-zero, then during driver loading, the
37 state of the board is ignored, and we reset the
76 reset for the expected interrupt.
[all …]
/linux/drivers/iio/pressure/
H A Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * trigger consumers upon "sample ready" interrupts.
23 * saving at the cost of lower sampling rate and higher software overhead.
32 * "sample ready" interrupt.
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
37 * hardware FIFO and fetch temperature sample
38 * - when no longer needed, stop sampling process by putting device into
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
[all …]
/linux/Documentation/sound/designs/
H A Dseq-oss.rst15 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/arch/s390/kernel/
H A Dperf_cpum_sf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Performance event support for the System z CPU-measurement Sampling Facility
28 #define PERF_EVENT_CPUM_SF 0xB0000UL /* Event: Basic-sampling */
29 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000UL /* Event: Combined-sampling */
30 #define PERF_CPUM_SF_BASIC_MODE 0x0001 /* Basic-sampling flag */
31 #define PERF_CPUM_SF_DIAG_MODE 0x0002 /* Diagnostic-sampling flag */
34 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config)
35 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
36 #define TEAR_REG(hwc) ((hwc)->last_tag)
37 #define SAMPL_RATE(hwc) ((hwc)->event_base)
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-av-firmware.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include "cx18-driver.h"
10 #include "cx18-io.h"
20 #define FWFILE "v4l-cx23418-dig.fw"
24 struct v4l2_subdev *sd = &cx->av_state.sd; in cx18_av_verifyfw()
31 /* Ensure we put the 8051 in reset and enable firmware upload mode */ in cx18_av_verifyfw()
40 /* Read and auto increment until at address 0x0000 */ in cx18_av_verifyfw()
44 data = fw->data; in cx18_av_verifyfw()
45 size = fw->size; in cx18_av_verifyfw()
52 ret = -EIO; in cx18_av_verifyfw()
[all …]
/linux/net/dccp/
H A Dinput.c
/linux/sound/usb/
H A Dusbaudio.h1 /* 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/net/ipv4/
H A Dtcp_nv.c1 // 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 Dtcp_rate.c1 // 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 Dtcp_bbr.c21 * +---> 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 Dtcp_vegas.c1 // 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 Dtcp_westwood.c1 // 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 Ddice-interface.h1 /* 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/drivers/comedi/drivers/
H A Djr3_pci.h1 /* 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 …]
/linux/Documentation/dev-tools/
H A Dkfence.rst1 .. 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/drivers/clk/mvebu/
H A Dmv98dx3236.c1 // 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/userspace-api/media/v4l/
H A Ddev-raw-vbi.rst1 .. 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/kernel/trace/
H A Dtrace_hwlat.c1 // 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 …]
/linux/tools/perf/util/
H A Dcs-etm.c1 // 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-decode
484 struct perf_sample sample; cs_etm__process_aux_output_hw_id() local
1420 cs_etm__inject_event(union perf_event * event,struct perf_sample * sample,u64 type) cs_etm__inject_event() argument
1508 cs_etm__copy_insn(struct cs_etm_queue * etmq,u64 trace_chan_id,const struct cs_etm_packet * packet,struct perf_sample * sample) cs_etm__copy_insn() argument
1563 struct perf_sample sample = {.ip = 0,}; cs_etm__synth_instruction_sample() local
1613 struct perf_sample sample = {.ip = 0,}; cs_etm__synth_branch_sample() local
2804 cs_etm__process_event(struct perf_session * session,union perf_event * event,struct perf_sample * sample,const struct perf_tool * tool) cs_etm__process_event() argument
3009 cs_etm__queue_aux_fragment(struct perf_session * session,off_t file_offset,size_t sz,struct perf_record_aux * aux_event,struct perf_sample * sample) cs_etm__queue_aux_fragment() argument
3129 struct perf_sample sample; cs_etm__queue_aux_records_cb() local
[all...]
H A Dannotate.h1 /* 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()
214 * struct sym_hist - symbol histogram information for an event
217 * @period: Sum of sample periods.
225 * struct cyc_hist - (CPU) cycle histogram for a basic block
236 * @reset: Number of resets due to a different start address.
238 * If sample has branch_stack and cycles info, it can construct basic blocks
241 * accounted at the end address. If multiple basic blocks end at the same
[all …]
/linux/Documentation/w1/
H A Dw1-generic.rst2 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 Daxg-tdm-formatter.c1 // 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 Demu8000_patch.c1 // 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 Drust_driver_pci.rs1 // 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) -> Result<Pin<KBox<Self>>> { in probe()
71 "Probe Rust PCI driver sample (PCI ID: 0x{:x}, 0x{:x}).\n", in probe()
82 bar <- pdev.iomap_region_sized::<{ Regs::END }>(0, c_str!("rust_driver_pci")), in probe()
91 "pci-testdev data-match count: {}\n", in probe()
100 // Reset pci-testdev by writing a new test index. in unbind()
[all …]

12345678910>>...18