Searched refs:corb (Results 1 – 2 of 2) sorted by relevance
124 struct hda_codec_cmd_ctl corb; member744 struct hda_codec_cmd_ctl *corb = &sc->corb; in hda_corb_start() local750 corb->name = "CORB"; in hda_corb_start()754 corb->size = hda_corb_sizes[corbsize]; in hda_corb_start()756 if (!corb->size) { in hda_corb_start()767 corb->dma_vaddr = hda_dma_get_vaddr(sc, corbpaddr, in hda_corb_start()768 HDA_CORB_ENTRY_LEN * corb->size); in hda_corb_start()769 if (!corb->dma_vaddr) { in hda_corb_start()774 corb->wp = hda_get_reg_by_offset(sc, HDAC_CORBWP); in hda_corb_start()775 corb->rp = hda_get_reg_by_offset(sc, HDAC_CORBRP); in hda_corb_start()[all …]
12 bhyve: validate corb->wp to avoid infinite loop