Home
last modified time | relevance | path

Searched refs:written_bytes (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/virtio/
H A Dvirtio_pcm_msg.c289 size_t written_bytes) in virtsnd_pcm_msg_complete() argument
304 written_bytes <= sizeof(msg->status)) in virtsnd_pcm_msg_complete()
307 vss->hw_ptr += written_bytes - sizeof(msg->status); in virtsnd_pcm_msg_complete()
340 u32 written_bytes; in virtsnd_pcm_notify_cb() local
346 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
347 virtsnd_pcm_msg_complete(msg, written_bytes); in virtsnd_pcm_notify_cb()
/openbmc/qemu/hw/audio/
H A Dlm4549.c99 uint32_t written_bytes, written_samples; in lm4549_audio_transfer() local
107 written_bytes = AUD_write(s->voice, s->buffer, in lm4549_audio_transfer()
109 written_samples = written_bytes >> 1; in lm4549_audio_transfer()
112 fwrite(s->buffer, sizeof(uint8_t), written_bytes, fp_dac_input); in lm4549_audio_transfer()
/openbmc/linux/tools/perf/tests/
H A Dcode-reading.c136 size_t off, read_bytes, written_bytes; in read_objdump_output() local
166 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
167 memcpy(buf + off, tmp, written_bytes); in read_objdump_output()
168 off_last = off + written_bytes; in read_objdump_output()
/openbmc/qemu/migration/
H A Dvmstate.c380 uint64_t old_offset, written_bytes; in vmstate_save_state_v() local
422 written_bytes = qemu_file_transferred(f) - old_offset; in vmstate_save_state_v()
423 vmsd_desc_field_end(vmsd, vmdesc_loop, field, written_bytes, i); in vmstate_save_state_v()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c1978 int written_bytes = (data_dma_width == 4) ? in cadence_nand_write_buf() local
1982 memcpy(cdns_ctrl->buf, buf + written_bytes, in cadence_nand_write_buf()
1983 len - written_bytes); in cadence_nand_write_buf()