FreeBSD kernel sound device code
|
#include <hdac_private.h>
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_stream * | streams |
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] |
Definition at line 165 of file hdac_private.h.
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().
struct { ... } hdac_softc::codecs[HDAC_CODEC_MAX] |
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().
int hdac_softc::corb_size |
Definition at line 186 of file hdac_private.h.
Referenced by hdac_attach(), hdac_corb_init(), hdac_get_capabilities(), and hdac_send_command().
int hdac_softc::corb_wp |
Definition at line 188 of file hdac_private.h.
Referenced by hdac_corb_init(), and hdac_send_command().
device_t hdac_softc::dev |
Definition at line 166 of file hdac_private.h.
Referenced by hdac_attach(), hdac_attach2(), hdac_config_fetch(), hdac_detach(), hdac_dma_alloc(), hdac_get_capabilities(), hdac_irq_alloc(), hdac_irq_free(), hdac_mem_alloc(), hdac_mem_free(), hdac_reset(), hdac_rirb_flush(), hdac_send_command(), and hdac_unsolq_flush().
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().
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().
struct intr_config_hook hdac_softc::intrhook |
Definition at line 169 of file hdac_private.h.
Referenced by hdac_attach(), and hdac_attach2().
struct hdac_irq hdac_softc::irq |
Definition at line 172 of file hdac_private.h.
Referenced by hdac_irq_alloc(), and hdac_irq_free().
struct mtx* hdac_softc::lock |
Definition at line 167 of file hdac_private.h.
Referenced by hdac_attach(), hdac_detach(), and hdac_get_mtx().
struct hdac_mem hdac_softc::mem |
Definition at line 171 of file hdac_private.h.
Referenced by hdac_attach(), hdac_attach2(), hdac_corb_init(), hdac_corb_start(), hdac_get_capabilities(), hdac_intr_handler(), hdac_mem_alloc(), hdac_mem_free(), hdac_one_intr(), hdac_reset(), hdac_resume(), hdac_rirb_flush(), hdac_rirb_init(), hdac_rirb_start(), hdac_send_command(), hdac_stream_getptr(), hdac_stream_reset(), hdac_stream_start(), hdac_stream_stop(), and sysctl_hdac_polling().
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().
int hdac_softc::num_iss |
Definition at line 179 of file hdac_private.h.
Referenced by hdac_find_stream(), hdac_get_capabilities(), hdac_reset(), and hdac_stream_alloc().
int hdac_softc::num_oss |
Definition at line 180 of file hdac_private.h.
Referenced by hdac_find_stream(), hdac_get_capabilities(), hdac_reset(), and hdac_stream_alloc().
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().
int hdac_softc::num_ss |
Definition at line 182 of file hdac_private.h.
Referenced by hdac_attach(), hdac_detach(), hdac_get_capabilities(), hdac_one_intr(), and hdac_poll_reinit().
int hdac_softc::pending |
Definition at line 223 of file hdac_private.h.
Referenced by hdac_rirb_flush(), and hdac_send_command().
struct callout hdac_softc::poll_callout |
Definition at line 201 of file hdac_private.h.
Referenced by hdac_attach(), hdac_poll_callback(), hdac_poll_reinit(), hdac_suspend(), and sysctl_hdac_polling().
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().
int hdac_softc::polling |
Definition at line 199 of file hdac_private.h.
Referenced by hdac_attach(), hdac_attach2(), hdac_poll_callback(), hdac_poll_reinit(), and sysctl_hdac_polling().
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().
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().
uint32_t hdac_softc::quirks_on |
Definition at line 174 of file hdac_private.h.
Referenced by hdac_attach(), and hdac_get_capabilities().
uint32_t hdac_softc::response |
Definition at line 224 of file hdac_private.h.
Referenced by hdac_rirb_flush(), and hdac_send_command().
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().
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().
int hdac_softc::rirb_rp |
Definition at line 192 of file hdac_private.h.
Referenced by hdac_rirb_flush(), and hdac_rirb_init().
int hdac_softc::rirb_size |
Definition at line 190 of file hdac_private.h.
Referenced by hdac_attach(), hdac_get_capabilities(), hdac_rirb_flush(), and hdac_rirb_init().
int hdac_softc::sdi_bw_used |
Definition at line 225 of file hdac_private.h.
Referenced by hdac_stream_alloc(), and hdac_stream_free().
int hdac_softc::sdo_bw_used |
Definition at line 213 of file hdac_private.h.
Referenced by hdac_stream_alloc(), and hdac_stream_free().
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().
struct hdac_stream* hdac_softc::streams |
Definition at line 215 of file hdac_private.h.
Referenced by hdac_attach(), hdac_detach(), hdac_find_stream(), hdac_one_intr(), hdac_poll_reinit(), hdac_stream_alloc(), hdac_stream_free(), hdac_stream_start(), and hdac_stream_stop().
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().
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().
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().
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().
int hdac_softc::unsolq_st |
Definition at line 210 of file hdac_private.h.
Referenced by hdac_unsolq_flush().
struct task hdac_softc::unsolq_task |
Definition at line 204 of file hdac_private.h.
Referenced by hdac_attach(), hdac_detach(), hdac_one_intr(), hdac_send_command(), and hdac_suspend().
int hdac_softc::unsolq_wp |
Definition at line 209 of file hdac_private.h.
Referenced by hdac_one_intr(), hdac_rirb_flush(), hdac_send_command(), and hdac_unsolq_flush().
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().