Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Ddev-audio.c117 #define USBAUDIO_PACKET_SIZE(channels) (USBAUDIO_PACKET_SIZE_BASE * channels) macro
228 .wMaxPacketSize = USBAUDIO_PACKET_SIZE(2),
391 .wMaxPacketSize = USBAUDIO_PACKET_SIZE(2),
444 .wMaxPacketSize = USBAUDIO_PACKET_SIZE(6),
497 .wMaxPacketSize = USBAUDIO_PACKET_SIZE(8),
589 buf->size = size - (size % USBAUDIO_PACKET_SIZE(channels)); in streambuf_init()
605 if (free < USBAUDIO_PACKET_SIZE(channels)) { in streambuf_put()
608 if (p->iov.size != USBAUDIO_PACKET_SIZE(channels)) { in streambuf_put()
613 assert(buf->prod % USBAUDIO_PACKET_SIZE(channels) == 0); in streambuf_put()
615 USBAUDIO_PACKET_SIZE(channels)); in streambuf_put()
[all …]