Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/function/
H A Du_audio.c51 unsigned int max_psize; /* MaxPacketSize of endpoint */ member
348 memset(prm->rbuf, 0, prm->max_psize * params->req_number); in uac_pcm_trigger()
415 runtime->hw.period_bytes_min = 2 * prm->max_psize in uac_pcm_open()
1209 prm->max_psize = g_audio->out_ep_maxpsize; in g_audio_setup()
1220 prm->rbuf = kcalloc(params->req_number, prm->max_psize, in g_audio_setup()
1223 prm->max_psize = 0; in g_audio_setup()
1234 prm->max_psize = g_audio->in_ep_maxpsize; in g_audio_setup()
1245 prm->rbuf = kcalloc(params->req_number, prm->max_psize, in g_audio_setup()
1248 prm->max_psize = 0; in g_audio_setup()
/openbmc/qemu/hw/usb/
H A Dhcd-xhci.c282 unsigned int max_psize; member
1107 epctx->max_psize = ctx[1]>>16; in xhci_init_epctx()
1108 epctx->max_psize *= 1+((ctx[1]>>8)&0xff); in xhci_init_epctx()
1142 "size is %d\n", epid/2, epid%2, epctx->type, epctx->max_psize); in xhci_enable_ep()