Home
last modified time | relevance | path

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

/src/sys/dev/sound/pci/hda/
H A Dhdac.c523 uint8_t corbsize, rirbsize; in hdac_get_capabilities() local
537 corbsize = HDAC_READ_1(&sc->mem, HDAC_CORBSIZE); in hdac_get_capabilities()
538 if ((corbsize & HDAC_CORBSIZE_CORBSZCAP_256) == in hdac_get_capabilities()
541 else if ((corbsize & HDAC_CORBSIZE_CORBSZCAP_16) == in hdac_get_capabilities()
544 else if ((corbsize & HDAC_CORBSIZE_CORBSZCAP_2) == in hdac_get_capabilities()
550 __func__, corbsize); in hdac_get_capabilities()
552 corbsize = HDAC_CORBSIZE_CORBSIZE(HDAC_CORBSIZE_CORBSIZE_256); in hdac_get_capabilities()
553 HDAC_WRITE_1(&sc->mem, HDAC_CORBSIZE, corbsize); in hdac_get_capabilities()
831 uint8_t corbsize; in hdac_corb_init() local
837 corbsize = HDAC_CORBSIZE_CORBSIZE(HDAC_CORBSIZE_CORBSIZE_256); in hdac_corb_init()
[all …]
H A Dhdac_reg.h208 #define HDAC_CORBSIZE_CORBSIZE(corbsize) \ argument
209 (((corbsize) & HDAC_CORBSIZE_CORBSIZE_MASK) >> HDAC_CORBSIZE_CORBSIZE_SHIFT)
/src/usr.sbin/bhyve/
H A Dhdac_reg.h209 #define HDAC_CORBSIZE_CORBSIZE(corbsize) \ argument
210 (((corbsize) & HDAC_CORBSIZE_CORBSIZE_MASK) >> HDAC_CORBSIZE_CORBSIZE_SHIFT)
H A Dpci_hda.c744 uint8_t corbsize = 0; in hda_corb_start() local
751 corbsize = hda_get_reg_by_offset(sc, HDAC_CORBSIZE) & \ in hda_corb_start()
753 corb->size = hda_corb_sizes[corbsize]; in hda_corb_start()