Home
last modified time | relevance | path

Searched full:stream (Results 1 – 25 of 269) sorted by relevance

1234567891011

/qemu/hw/audio/
H A Dvirtio-snd.c36 static void virtio_snd_pcm_flush(VirtIOSoundPCMStream *stream);
123 * Get a specific stream from the virtio sound card device.
127 * @stream_id: stream id
137 * Get params for a specific stream.
140 * @stream_id: stream id
162 VirtIOSoundPCMStream *stream = NULL; in virtio_snd_handle_pcm_info() local
201 stream = virtio_snd_pcm_get_stream(s, stream_id); in virtio_snd_handle_pcm_info()
202 if (!stream) { in virtio_snd_handle_pcm_info()
203 error_report("Invalid stream id: %"PRIu32, stream_id); in virtio_snd_handle_pcm_info()
207 val = stream->info; in virtio_snd_handle_pcm_info()
[all …]
H A Dtrace-events21 hda_audio_running(const char *stream, int nr, bool running) "st %s, nr %d, run %d"
22 hda_audio_format(const char *stream, int chan, const char *fmt, int freq) "st %s, %d x %s @ %d Hz"
23 hda_audio_adjust(const char *stream, int pos) "st %s, pos %d"
24 hda_audio_overrun(const char *stream) "st %s"
49 virtio_snd_handle_pcm_set_params(uint32_t stream) "VIRTIO_SND_PCM_SET_PARAMS called for stream %"PR…
51 virtio_snd_handle_pcm_info(uint32_t stream) "VIRTIO_SND_R_PCM_INFO called for stream %"PRIu32
52 virtio_snd_handle_pcm_start_stop(const char *code, uint32_t stream) "%s called for stream %"PRIu32
53 virtio_snd_handle_pcm_release(uint32_t stream) "VIRTIO_SND_PCM_RELEASE called for stream %"PRIu32
57 virtio_snd_pcm_stream_flush(uint32_t stream) "flushing stream %"PRIu32
/qemu/ui/
H A Dvnc-clipboard.c31 z_stream stream = { in inflate_buffer() local
41 stream.next_out = out + stream.total_out; in inflate_buffer()
42 stream.avail_out = out_len - stream.total_out; in inflate_buffer()
44 ret = inflateInit(&stream); in inflate_buffer()
49 while (stream.avail_in) { in inflate_buffer()
50 ret = inflate(&stream, Z_FINISH); in inflate_buffer()
55 *size = stream.total_out; in inflate_buffer()
56 inflateEnd(&stream); in inflate_buffer()
64 stream.next_out = out + stream.total_out; in inflate_buffer()
65 stream.avail_out = out_len - stream.total_out; in inflate_buffer()
[all …]
H A Dvnc-enc-zlib.c60 z_streamp zstream = &vs->zlib.stream; in vnc_zlib_stop()
69 // initialize the stream in vnc_zlib_stop()
70 // XXX need one stream per session in vnc_zlib_stop()
74 VNC_DEBUG("VNC: initializing zlib stream\n"); in vnc_zlib_stop()
131 // compress the stream in vnc_zlib_send_framebuffer_update()
150 if (vs->zlib.stream.opaque) { in vnc_zlib_clear()
151 deflateEnd(&vs->zlib.stream); in vnc_zlib_clear()
H A Ddbus-display1.xml858 @id: the stream ID.
868 Initializes a PCM playback stream.
884 @id: the stream ID.
886 Finish & close a playback stream.
894 @id: the stream ID.
896 Resume or suspend the playback stream.
905 @id: the stream ID.
906 @mute: whether the stream is muted.
909 Set the stream volume and mute state (volume without unit, 0-255).
921 @id: the stream ID.
[all …]
/qemu/audio/
H A Dpaaudio.c32 pa_stream *stream; member
38 pa_stream *stream; member
85 #define CHECK_DEAD_GOTO(c, stream, label, msg) \ argument
88 !(stream) || !PA_STREAM_IS_GOOD (pa_stream_get_state ((stream)))) { \
90 ((stream) && pa_stream_get_state ((stream)) == PA_STREAM_FAILED)) { \
107 CHECK_DEAD_GOTO(c, p->stream, unlock_and_fail, in qpa_get_buffer_in()
111 r = pa_stream_peek(p->stream, &p->read_data, &p->read_length); in qpa_get_buffer_in()
135 CHECK_DEAD_GOTO(c, p->stream, unlock, in qpa_put_buffer_in()
144 r = pa_stream_drop(p->stream); in qpa_put_buffer_in()
160 CHECK_DEAD_GOTO(c, p->stream, unlock_and_fail, in qpa_read()
[all …]
H A Dpwaudio.c47 struct pw_stream *stream; member
77 v->stream = NULL; in stream_destroy()
91 assert(v->stream); in playback_on_process()
94 b = pw_stream_dequeue_buffer(v->stream); in playback_on_process()
141 pw_stream_queue_buffer(v->stream, b); in playback_on_process()
155 assert(v->stream); in capture_on_process()
158 b = pw_stream_dequeue_buffer(v->stream); in capture_on_process()
192 pw_stream_queue_buffer(v->stream, b); in capture_on_process()
201 trace_pw_state_changed(pw_stream_get_node_id(v->stream), in on_stream_state_changed()
231 if (pw_stream_get_state(v->stream, &error) != PW_STREAM_STATE_STREAMING) { in qpw_read()
[all …]
/qemu/tests/qemu-iotests/
H A D03059 self.vm.cmd('block-stream', device='drive0')
79 self.vm.cmd('block-stream', device='mid', job_id='stream-mid')
81 self.wait_until_completed(drive='stream-mid')
95 self.vm.cmd('block-stream', device='drive0')
128 self.vm.cmd('block-stream', device='drive0', base=mid_img)
142 self.vm.cmd('block-stream', device='drive0', base=backing_img)
155 result = self.vm.qmp('block-stream', device='nonexistent')
160 result = self.vm.qmp('block-stream', device='mid')
180 result = self.vm.qmp('block-stream', job_id='stream',
188 num_ops = 4 # Number of parallel block-stream operations
[all …]
H A D2584 # Very specific tests for adjacent commit/stream block jobs
60 log('=== Commit and stream finish concurrently (letting %s write) ===' % \
61 ('stream' if write_to_stream_node else 'commit'))
65 # finish, it polls and thus makes stream finish concurrently --
67 # is finalized before stream completes or not.
88 # earlier and then pull in stream
95 # And this makes stream finish earlier
127 vm.qmp_log('block-stream',
128 job_id='stream',
134 vm.run_job('stream', auto_finalize=True, auto_dismiss=True)
[all …]
H A D258.out3 === Commit and stream finish concurrently (letting stream write) ===
11 {"execute": "block-stream", "arguments": {"base-node": "commit-filter", "device": "node3", "job-id"…
17 {"data": {"device": "stream", "len": 67108864, "offset": 67108864, "speed": 0, "type": "stream"}, "…
19 === Commit and stream finish concurrently (letting commit write) ===
27 {"execute": "block-stream", "arguments": {"base-node": "commit-filter", "device": "node3", "job-id"…
29 {"data": {"device": "stream", "len": 67108864, "offset": 67108864, "speed": 0, "type": "stream"}, "…
H A D245.out7 {"data": {"id": "stream0", "type": "stream"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microsec…
8 {"data": {"device": "stream0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "stream"}, "e…
11 {"data": {"id": "stream0", "type": "stream"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microsec…
12 {"data": {"device": "stream0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "stream"}, "e…
/qemu/qapi/
H A Daudio.json57 # @in: options of the capture stream
59 # @out: options of the playback stream
73 # @in: options of the capture stream
75 # @out: options of the playback stream
115 # @in: options of the capture stream
117 # @out: options of the playback stream
134 # @in: options of the capture stream
136 # @out: options of the playback stream
171 # @in: options of the capture stream
173 # @out: options of the playback stream
[all …]
/qemu/tests/qtest/
H A Dnetdev-socket.c2 * QTest testcase for netdev stream and dgram
126 "-netdev stream,id=st0,server=true,addr.type=inet," in test_stream_inet_ipv4()
130 EXPECT_STATE(qts0, "st0: index=0,type=stream,listening\r\n", 0); in test_stream_inet_ipv4()
133 "-netdev stream,server=false,id=st0,addr.type=inet," in test_stream_inet_ipv4()
137 expect = g_strdup_printf("st0: index=0,type=stream,tcp:127.0.0.1:%d\r\n", in test_stream_inet_ipv4()
143 EXPECT_STATE(qts0, "st0: index=0,type=stream,tcp:127.0.0.1", ':'); in test_stream_inet_ipv4()
200 "-netdev stream,id=st0,server=true,addr.type=unix," in test_stream_unix_reconnect()
203 EXPECT_STATE(qts0, "st0: index=0,type=stream,listening\r\n", 0); in test_stream_unix_reconnect()
206 "-netdev stream,server=false,id=st0,addr.type=unix," in test_stream_unix_reconnect()
222 "-netdev stream,id=st0,server=true,addr.type=unix," in test_stream_unix_reconnect()
[all …]
/qemu/disas/
H A Dcapstone.c22 * the size of the insn and thus stay in sync with the insn stream.
109 FILE *stream = info->stream; in cap_dump_insn_units() local
115 print(stream, " %08x", ldl_be_p(insn->bytes + i)); in cap_dump_insn_units()
120 print(stream, " %08x", ldl_le_p(insn->bytes + i)); in cap_dump_insn_units()
128 print(stream, " %04x", lduw_be_p(insn->bytes + i)); in cap_dump_insn_units()
132 print(stream, " %04x", lduw_le_p(insn->bytes + i)); in cap_dump_insn_units()
139 print(stream, " %02x", insn->bytes[i]); in cap_dump_insn_units()
148 FILE *stream = info->stream; in cap_dump_insn() local
151 print(stream, "0x%08" PRIx64 ": ", insn->address); in cap_dump_insn()
163 print(stream, "%*s", width, ""); in cap_dump_insn()
[all …]
H A Dxtensa.c50 info->fprintf_func(info->stream, ".byte 0x%02x", buffer[0]); in print_insn_xtensa()
57 info->fprintf_func(info->stream, ".byte 0x%02x", buffer[0]); in print_insn_xtensa()
69 info->fprintf_func(info->stream, "%s 0x%02x", in print_insn_xtensa()
77 info->fprintf_func(info->stream, "{ "); in print_insn_xtensa()
85 info->fprintf_func(info->stream, "; "); in print_insn_xtensa()
90 info->fprintf_func(info->stream, "???"); in print_insn_xtensa()
95 info->fprintf_func(info->stream, "%s", xtensa_opcode_name(isa, opc)); in print_insn_xtensa()
102 info->fprintf_func(info->stream, vopnd ? ", " : "\t"); in print_insn_xtensa()
107 info->fprintf_func(info->stream, "???"); in print_insn_xtensa()
111 info->fprintf_func(info->stream, "%s%d", in print_insn_xtensa()
[all …]
H A Dsh4.c1162 fprintf_function fprintf_fn, void *stream) in print_movxy() argument
1166 fprintf_fn (stream, "%s\t", op->name); in print_movxy()
1176 fprintf_fn (stream, "@r%d", rn); in print_movxy()
1183 fprintf_fn (stream, "@r%d+", rn); in print_movxy()
1187 fprintf_fn (stream, "@r%d+r8", rn); in print_movxy()
1191 fprintf_fn (stream, "@r%d+r9", rn); in print_movxy()
1194 fprintf_fn (stream, "a%c", '0' + rm); in print_movxy()
1197 fprintf_fn (stream, "x%c", '0' + rm); in print_movxy()
1200 fprintf_fn (stream, "y%c", '0' + rm); in print_movxy()
1203 fprintf_fn (stream, "%c%c", in print_movxy()
[all …]
H A Ddisas-common.c25 info->fprintf_func(info->stream, "Unknown error %d\n", status); in perror_memory()
28 info->fprintf_func(info->stream, in perror_memory()
37 info->fprintf_func(info->stream, "0x%" PRIx64, addr); in print_address()
71 int disas_gstring_printf(FILE *stream, const char *fmt, ...) in disas_gstring_printf() argument
74 GString *s = (GString *)stream; in disas_gstring_printf()
H A Dhppa.c1784 #define fputs_filtered(STR,F) (*info->fprintf_func) (info->stream, "%s", STR)
1789 (*info->fprintf_func) (info->stream, "%s", reg ? reg_names[reg] : "r0"); in fput_reg()
1795 (*info->fprintf_func) (info->stream, "%s", reg ? fp_reg_names[reg] : "fr0"); in fput_fp_reg()
1803 (*info->fprintf_func) (info->stream, "fpe%d", reg * 2 + 1); in fput_fp_reg_r()
1805 (*info->fprintf_func) (info->stream, "%sR", fp_reg_names[reg]); in fput_fp_reg_r()
1811 (*info->fprintf_func) (info->stream, "%s", control_reg[reg]); in fput_creg()
1817 (*info->fprintf_func) (info->stream, "dr%d", reg); in fput_dreg()
1826 (*info->fprintf_func) (info->stream, "-%x", - (int) num); in fput_const()
1828 (*info->fprintf_func) (info->stream, "%x", num); in fput_const()
1992 info->fprintf_func(info->stream, " %02x %02x %02x %02x ", in print_insn_hppa()
[all …]
/qemu/util/
H A Dqemu-print.c2 * Print to stream or current monitor
47 * Print to @stream if non-null, else to current monitor.
49 int qemu_vfprintf(FILE *stream, const char *fmt, va_list ap) in qemu_vfprintf() argument
51 if (!stream) { in qemu_vfprintf()
54 return vfprintf(stream, fmt, ap); in qemu_vfprintf()
59 * Print to @stream if non-null, else to current monitor.
61 int qemu_fprintf(FILE *stream, const char *fmt, ...) in qemu_fprintf() argument
67 ret = qemu_vfprintf(stream, fmt, ap); in qemu_fprintf()
/qemu/hw/dma/
H A Dxilinx_axidma.c37 #include "hw/stream.h"
44 #define TYPE_XILINX_AXI_DMA_DATA_STREAM "xilinx-axi-dma-data-stream"
45 #define TYPE_XILINX_AXI_DMA_CONTROL_STREAM "xilinx-axi-dma-control-stream"
107 struct Stream { struct
140 struct Stream streams[2]; argument
160 static inline int stream_resetting(struct Stream *s) in stream_resetting()
165 static inline int stream_running(struct Stream *s) in stream_running()
170 static inline int stream_idle(struct Stream *s) in stream_idle()
175 static inline int stream_halted(struct Stream *s) in stream_halted()
180 static void stream_reset(struct Stream *s) in stream_reset()
[all …]
/qemu/include/hw/audio/
H A Dvirtio-snd.h58 /* PCM stream info structure */
61 /* set PCM stream params */
131 * stream yet.
157 * PCM stream state machine.
163 * A PCM stream has the following command lifecycle:
165 * The driver negotiates the stream parameters (format, transport, etc) with
169 * The device prepares the stream (allocates resources, etc).
173 * The device starts the stream (unmute, putting into running state, etc).
175 * The driver transfers data to/from the stream.
177 * The device stops the stream (mute, putting into non-running state, etc).
[all …]
/qemu/tests/tcg/ppc64/
H A Dvsx_f2i_nan.c134 static inline void print_vsx_float32_vec_elements(FILE *stream, in print_vsx_float32_vec_elements() argument
137 fprintf(stream, "%g, %g, %g, %g", (double)vec[0], (double)vec[1], in print_vsx_float32_vec_elements()
141 static inline void print_vsx_float64_vec_elements(FILE *stream, in print_vsx_float64_vec_elements() argument
144 fprintf(stream, "%.17g, %.17g", vec[0], vec[1]); in print_vsx_float64_vec_elements()
147 static inline void print_vsx_int32_vec_elements(FILE *stream, in print_vsx_int32_vec_elements() argument
150 fprintf(stream, "%d, %d, %d, %d", vec[0], vec[1], vec[2], vec[3]); in print_vsx_int32_vec_elements()
153 static inline void print_vsx_uint32_vec_elements(FILE *stream, in print_vsx_uint32_vec_elements() argument
156 fprintf(stream, "%u, %u, %u, %u", vec[0], vec[1], vec[2], vec[3]); in print_vsx_uint32_vec_elements()
159 static inline void print_vsx_int64_vec_elements(FILE *stream, in print_vsx_int64_vec_elements() argument
162 fprintf(stream, "%lld, %lld", vec[0], vec[1]); in print_vsx_int64_vec_elements()
[all …]
/qemu/tests/qemu-iotests/tests/
H A Dstream-error-on-reset4 # Test what happens when a stream job completes in a blk_drain().
33 # We want to test completing a stream job in a blk_drain().
115 # Launch a stream job, which will take at least a second to
118 self.vm.cmd('block-stream', job_id='stream', device='top')
123 # Once the stream job is running, reset the system, which
125 # the stream job, and making it complete. Completing
/qemu/docs/system/devices/
H A Dvirtio-snd.rst25stream configuration is supported: the first one will always be a playback stream, an optional sec…
/qemu/include/hw/
H A Dstream.h6 #define TYPE_STREAM_SINK "stream-sink"
21 * can push - determine if a stream sink is capable of accepting at least
31 * push - push data to a Stream sink. The number of bytes pushed is
37 * @obj: Stream sink to push to

1234567891011