Home
last modified time | relevance | path

Searched +full:freq +full:- +full:domain (Results 1 – 8 of 8) sorted by relevance

/qemu/audio/
H A Daudio_win_int.c1 /* public domain */
5 #define AUDIO_CAP "win-int"
19 wfx->nChannels = as->nchannels; in waveformat_from_audio_settings()
20 wfx->nSamplesPerSec = as->freq; in waveformat_from_audio_settings()
21 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2); in waveformat_from_audio_settings()
22 wfx->nBlockAlign = 1 << (as->nchannels == 2); in waveformat_from_audio_settings()
23 wfx->cbSize = 0; in waveformat_from_audio_settings()
25 switch (as->fmt) { in waveformat_from_audio_settings()
28 wfx->wFormatTag = WAVE_FORMAT_PCM; in waveformat_from_audio_settings()
29 wfx->wBitsPerSample = 8; in waveformat_from_audio_settings()
[all …]
H A Dpaaudio.c1 /* public domain */
80 qpa_logerr(pa_context_errno((c)->context), msg); \
87 if (!(c)->context || !PA_CONTEXT_IS_GOOD (pa_context_get_state((c)->context)) || \
89 if (((c)->context && pa_context_get_state ((c)->context) == PA_CONTEXT_FAILED) || \
91 qpa_logerr(pa_context_errno((c)->context), msg); \
102 PAConnection *c = p->g->conn; in qpa_get_buffer_in()
105 pa_threaded_mainloop_lock(c->mainloop); in qpa_get_buffer_in()
107 CHECK_DEAD_GOTO(c, p->stream, unlock_and_fail, in qpa_get_buffer_in()
110 if (!p->read_length) { in qpa_get_buffer_in()
111 r = pa_stream_peek(p->stream, &p->read_data, &p->read_length); in qpa_get_buffer_in()
[all …]
/qemu/hw/misc/
H A Dnpcm_clk.c21 #include "hw/qdev-clock.h"
23 #include "qemu/error-report.h"
38 #define NPCM7XX_CLK_WDRCR_CA9C BIT(0) /* Cortex-A9 Cores */
131 * All are loaded on power-up reset. CLKENx and SWRSTR should also be loaded on
132 * core domain reset, but this reset type is not yet supported by QEMU.
201 #define TYPE_NPCM7XX_CLOCK_PLL "npcm7xx-clock-pll"
204 #define TYPE_NPCM7XX_CLOCK_SEL "npcm7xx-clock-sel"
207 #define TYPE_NPCM7XX_CLOCK_DIVIDER "npcm7xx-clock-divider"
214 uint32_t con = s->clk->regs[s->reg]; in npcm7xx_clk_update_pll()
215 uint64_t freq; in npcm7xx_clk_update_pll() local
[all …]
/qemu/include/hw/xen/interface/hvm/
H A Dparams.h1 /* SPDX-License-Identifier: MIT */
34 * How should CPU0 event-channel notifications be delivered?
36 * If val == 0 then CPU0 event-channel notifications are not delivered.
49 * Domain = val[47:32], Bus = val[31:16] DevFn = val[15:8], IntX = val[1:0]
62 * val[15:8] is interrupt flag of the PPI used by event-channel:
65 * val[7:0] is a PPI number used by event-channel.
74 * These are not used by Xen. They are here for convenience of HVM-guest
89 …* (See http://download.microsoft.com/download/A/B/4/AB43A34E-BDD0-4FA6-BDEF-79EEF16E880B/Hyperviso…
97 /* Base+Freq viridian feature sets:
99 * - Hypercall MSRs (HV_X64_MSR_GUEST_OS_ID and HV_X64_MSR_HYPERCALL)
[all …]
/qemu/target/i386/hvf/
H A Dhvf.c21 * This file contain code under public domain from the hvdos project:
50 #include "qemu/error-report.h"
59 #include "hvf-i386.h"
76 #include "qemu/main-loop.h"
87 int tpr = cpu_get_apic_tpr(x86_cpu->apic_state) << 4; in vmx_update_tpr()
88 int irr = apic_get_highest_priority_irr(x86_cpu->apic_state); in vmx_update_tpr()
90 wreg(cpu->accel->fd, HV_X86_TPR, tpr); in vmx_update_tpr()
91 if (irr == -1) { in vmx_update_tpr()
92 wvmcs(cpu->accel->fd, VMCS_TPR_THRESHOLD, 0); in vmx_update_tpr()
94 wvmcs(cpu->accel->fd, VMCS_TPR_THRESHOLD, (irr > tpr) ? tpr >> 4 : in vmx_update_tpr()
[all …]
/qemu/linux-user/
H A Dsyscall.c28 #include "exec/page-protection.h"
29 #include "exec/mmap-lock.h"
30 #include "exec/tb-flush.h"
31 #include "exec/translation-block.h"
115 #include <linux/dm-ioctl.h>
136 #include "user-internals.h"
138 #include "signal-common.h"
140 #include "user-mmap.h"
141 #include "user/page-protection.h"
142 #include "user/safe-syscall.h"
[all …]
/qemu/
H A Dhmp-commands.hx27 .help = "commit changes to the disk images (if -snapshot is used) or backing files",
33 Commit changes to the disk images (if -snapshot is used) or backing files.
70 available during the preconfig state (i.e. when the --preconfig command
122 .args_type = "force:-f,device:B",
123 .params = "[-f] device",
124 .help = "stop an active background block operation (use -f"
181 .args_type = "force:-f,device:B",
182 .params = "[-f] device",
183 .help = "eject a removable medium (use -f to force it)",
188 ``eject [-f]`` *device*
[all …]
/qemu/tests/data/qobject/
H A Dqdict.txt1 00-INDEX: 333
55 3.Early-stage: 9993
56 3w-9xxx.c: 77318
57 3w-9xxx.h: 26357
58 3w-xxxx.c: 85227
59 3w-xxxx.h: 16846
71 4level-fixup.h: 1028
110 6xx-suspend.S: 1086
148 8250-platform.c: 1091
161 83xx-512x-pci.txt: 1323
[all …]