FreeBSD kernel sound device code
hdac_softc Struct Reference

#include <hdac_private.h>

Collaboration diagram for hdac_softc:

Data Fields

device_t dev
 
struct mtx * lock
 
struct intr_config_hook intrhook
 
struct hdac_mem mem
 
struct hdac_irq irq
 
uint32_t quirks_on
 
uint32_t quirks_off
 
uint32_t flags
 
int num_iss
 
int num_oss
 
int num_bss
 
int num_ss
 
int num_sdo
 
int support_64bit
 
int corb_size
 
struct hdac_dma corb_dma
 
int corb_wp
 
int rirb_size
 
struct hdac_dma rirb_dma
 
int rirb_rp
 
struct hdac_dma pos_dma
 
bus_dma_tag_t chan_dmat
 
int polling
 
int poll_ival
 
struct callout poll_callout
 
int unsol_registered
 
struct task unsolq_task
 
int unsolq_rp
 
int unsolq_wp
 
int unsolq_st
 
uint32_t unsolq [HDAC_UNSOLQ_MAX]
 
int sdo_bw_used
 
struct hdac_streamstreams
 
struct {
   device_t   dev
 
   uint16_t   vendor_id
 
   uint16_t   device_id
 
   uint8_t   revision_id
 
   uint8_t   stepping_id
 
   int   pending
 
   uint32_t   response
 
   int   sdi_bw_used
 
codecs [HDAC_CODEC_MAX]
 

Detailed Description

Definition at line 165 of file hdac_private.h.

Field Documentation

◆ chan_dmat

bus_dma_tag_t hdac_softc::chan_dmat

Definition at line 196 of file hdac_private.h.

Referenced by hdac_attach(), hdac_detach(), and hdac_get_dma_tag().

◆ 

◆ corb_dma

struct hdac_dma hdac_softc::corb_dma

Definition at line 187 of file hdac_private.h.

Referenced by hdac_attach(), hdac_corb_init(), hdac_detach(), and hdac_send_command().

◆ corb_size

int hdac_softc::corb_size

◆ corb_wp

int hdac_softc::corb_wp

Definition at line 188 of file hdac_private.h.

Referenced by hdac_corb_init(), and hdac_send_command().

◆ dev

◆ device_id

uint16_t hdac_softc::device_id

Definition at line 220 of file hdac_private.h.

Referenced by hdac_attach2(), hdac_child_pnpinfo_method(), and hdac_read_ivar().

◆ flags

uint32_t hdac_softc::flags

Definition at line 176 of file hdac_private.h.

Referenced by hdac_attach(), hdac_dma_alloc(), and hdac_read_ivar().

◆ intrhook

struct intr_config_hook hdac_softc::intrhook

Definition at line 169 of file hdac_private.h.

Referenced by hdac_attach(), and hdac_attach2().

◆ irq

struct hdac_irq hdac_softc::irq

Definition at line 172 of file hdac_private.h.

Referenced by hdac_irq_alloc(), and hdac_irq_free().

◆ lock

struct mtx* hdac_softc::lock

Definition at line 167 of file hdac_private.h.

Referenced by hdac_attach(), hdac_detach(), and hdac_get_mtx().

◆ mem

◆ num_bss

int hdac_softc::num_bss

Definition at line 181 of file hdac_private.h.

Referenced by hdac_find_stream(), hdac_get_capabilities(), and hdac_reset().

◆ num_iss

int hdac_softc::num_iss

◆ num_oss

int hdac_softc::num_oss

◆ num_sdo

int hdac_softc::num_sdo

Definition at line 183 of file hdac_private.h.

Referenced by hdac_get_capabilities(), hdac_read_ivar(), and hdac_stream_alloc().

◆ num_ss

int hdac_softc::num_ss

◆ pending

int hdac_softc::pending

Definition at line 223 of file hdac_private.h.

Referenced by hdac_rirb_flush(), and hdac_send_command().

◆ poll_callout

struct callout hdac_softc::poll_callout

◆ poll_ival

int hdac_softc::poll_ival

Definition at line 200 of file hdac_private.h.

Referenced by hdac_attach(), hdac_poll_callback(), and hdac_poll_reinit().

◆ polling

int hdac_softc::polling

◆ pos_dma

struct hdac_dma hdac_softc::pos_dma

Definition at line 194 of file hdac_private.h.

Referenced by hdac_attach(), hdac_detach(), and hdac_stream_alloc().

◆ quirks_off

uint32_t hdac_softc::quirks_off

Definition at line 175 of file hdac_private.h.

Referenced by hdac_attach(), hdac_get_capabilities(), and hdac_irq_alloc().

◆ quirks_on

uint32_t hdac_softc::quirks_on

Definition at line 174 of file hdac_private.h.

Referenced by hdac_attach(), and hdac_get_capabilities().

◆ response

uint32_t hdac_softc::response

Definition at line 224 of file hdac_private.h.

Referenced by hdac_rirb_flush(), and hdac_send_command().

◆ revision_id

uint8_t hdac_softc::revision_id

Definition at line 221 of file hdac_private.h.

Referenced by hdac_attach2(), hdac_child_pnpinfo_method(), and hdac_read_ivar().

◆ rirb_dma

struct hdac_dma hdac_softc::rirb_dma

Definition at line 191 of file hdac_private.h.

Referenced by hdac_attach(), hdac_detach(), hdac_rirb_flush(), and hdac_rirb_init().

◆ rirb_rp

int hdac_softc::rirb_rp

Definition at line 192 of file hdac_private.h.

Referenced by hdac_rirb_flush(), and hdac_rirb_init().

◆ rirb_size

int hdac_softc::rirb_size

◆ sdi_bw_used

int hdac_softc::sdi_bw_used

Definition at line 225 of file hdac_private.h.

Referenced by hdac_stream_alloc(), and hdac_stream_free().

◆ sdo_bw_used

int hdac_softc::sdo_bw_used

Definition at line 213 of file hdac_private.h.

Referenced by hdac_stream_alloc(), and hdac_stream_free().

◆ stepping_id

uint8_t hdac_softc::stepping_id

Definition at line 222 of file hdac_private.h.

Referenced by hdac_attach2(), hdac_child_pnpinfo_method(), and hdac_read_ivar().

◆ streams

◆ support_64bit

int hdac_softc::support_64bit

Definition at line 184 of file hdac_private.h.

Referenced by hdac_attach(), hdac_dma_alloc(), and hdac_get_capabilities().

◆ unsol_registered

int hdac_softc::unsol_registered

Definition at line 203 of file hdac_private.h.

Referenced by hdac_poll_reinit(), hdac_unsol_alloc(), and hdac_unsol_free().

◆ unsolq

uint32_t hdac_softc::unsolq[HDAC_UNSOLQ_MAX]

Definition at line 211 of file hdac_private.h.

Referenced by hdac_rirb_flush(), and hdac_unsolq_flush().

◆ unsolq_rp

int hdac_softc::unsolq_rp

Definition at line 208 of file hdac_private.h.

Referenced by hdac_one_intr(), hdac_send_command(), and hdac_unsolq_flush().

◆ unsolq_st

int hdac_softc::unsolq_st

Definition at line 210 of file hdac_private.h.

Referenced by hdac_unsolq_flush().

◆ unsolq_task

struct task hdac_softc::unsolq_task

◆ unsolq_wp

int hdac_softc::unsolq_wp

◆ vendor_id

uint16_t hdac_softc::vendor_id

Definition at line 219 of file hdac_private.h.

Referenced by hdac_attach2(), hdac_child_pnpinfo_method(), and hdac_read_ivar().


The documentation for this struct was generated from the following file: