Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dpci_hda.c124 struct hda_codec_cmd_ctl rirb; member
819 struct hda_codec_cmd_ctl *rirb = &sc->rirb; in hda_rirb_start() local
825 rirb->name = "RIRB"; in hda_rirb_start()
829 rirb->size = hda_rirb_sizes[rirbsize]; in hda_rirb_start()
831 if (!rirb->size) { in hda_rirb_start()
842 rirb->dma_vaddr = hda_dma_get_vaddr(sc, rirbpaddr, in hda_rirb_start()
843 HDA_RIRB_ENTRY_LEN * rirb->size); in hda_rirb_start()
844 if (!rirb->dma_vaddr) { in hda_rirb_start()
849 rirb->wp = hda_get_reg_by_offset(sc, HDAC_RIRBWP); in hda_rirb_start()
850 rirb->rp = 0x0000; in hda_rirb_start()
[all …]
/freebsd/sys/dev/sound/pci/hda/
H A Dhdac.c955 struct hdac_rirb *rirb_base, *rirb; in hdac_rirb_flush() local
970 rirb = &rirb_base[sc->rirb_rp]; in hdac_rirb_flush()
971 resp = le32toh(rirb->response); in hdac_rirb_flush()
972 resp_ex = le32toh(rirb->response_ex); in hdac_rirb_flush()