Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Df_uac2.c212 struct uac2_rtd_params *prm = ur->pp; in agdev_iso_complete() local
213 struct snd_uac2_chip *uac2 = prm_to_uac2(prm); in agdev_iso_complete()
216 if (!prm->ep_enabled) in agdev_iso_complete()
227 substream = prm->ss; in agdev_iso_complete()
233 spin_lock_irqsave(&prm->lock, flags); in agdev_iso_complete()
236 src = prm->dma_area + prm->hw_ptr; in agdev_iso_complete()
240 dst = prm->dma_area + prm->hw_ptr; in agdev_iso_complete()
244 pending = prm->hw_ptr % prm->period_size; in agdev_iso_complete()
246 if (pending >= prm->period_size) in agdev_iso_complete()
249 prm->hw_ptr = (prm->hw_ptr + req->actual) % prm->dma_bytes; in agdev_iso_complete()
[all …]
/drivers/atm/
Dsolos-pci.c187 struct solos_param prm; in solos_param_show() local
211 prm.pid = current->pid; in solos_param_show()
212 prm.response = NULL; in solos_param_show()
213 prm.port = SOLOS_CHAN(atmdev); in solos_param_show()
216 list_add(&prm.list, &card->param_queue); in solos_param_show()
219 fpga_queue(card, prm.port, skb, NULL); in solos_param_show()
221 wait_event_timeout(card->param_wq, prm.response, 5 * HZ); in solos_param_show()
224 list_del(&prm.list); in solos_param_show()
227 if (!prm.response) in solos_param_show()
230 buflen = prm.response->len; in solos_param_show()
[all …]
/drivers/scsi/
Dosst.c2689 osst_tape_paramtr_page_t * prm; in osst_configure_onstream() local
2835 prm = (osst_tape_paramtr_page_t *) ((STp->buffer)->b_data + in osst_configure_onstream()
2838 STp->density = prm->density; in osst_configure_onstream()
2839 STp->capacity = ntohs(prm->segtrk) * ntohs(prm->trks); in osst_configure_onstream()