Home
last modified time | relevance | path

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

/freebsd/sys/dev/sound/pci/hda/
H A Dhdac_reg.h208 #define HDAC_CORBSIZE_CORBSIZE(corbsize) \ argument
209 (((corbsize) & HDAC_CORBSIZE_CORBSIZE_MASK) >> HDAC_CORBSIZE_CORBSIZE_SHIFT)
H A Dhdac.c520 uint8_t corbsize, rirbsize; in hdac_get_capabilities() local
534 corbsize = HDAC_READ_1(&sc->mem, HDAC_CORBSIZE); in hdac_get_capabilities()
535 if ((corbsize & HDAC_CORBSIZE_CORBSZCAP_256) == in hdac_get_capabilities()
538 else if ((corbsize & HDAC_CORBSIZE_CORBSZCAP_16) == in hdac_get_capabilities()
541 else if ((corbsize & HDAC_CORBSIZE_CORBSZCAP_2) == in hdac_get_capabilities()
546 __func__, corbsize); in hdac_get_capabilities()
822 uint8_t corbsize; in hdac_corb_init() local
828 corbsize = HDAC_CORBSIZE_CORBSIZE(HDAC_CORBSIZE_CORBSIZE_256); in hdac_corb_init()
831 corbsize = HDAC_CORBSIZE_CORBSIZE(HDAC_CORBSIZE_CORBSIZE_16); in hdac_corb_init()
834 corbsize = HDAC_CORBSIZE_CORBSIZE(HDAC_CORBSIZE_CORBSIZE_2); in hdac_corb_init()
[all …]
/freebsd/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()