Lines Matching defs:hdac_bus
300 struct hdac_bus { struct
302 const struct hdac_bus_ops *ops; argument
303 const struct hdac_io_ops *io_ops;
304 const struct hdac_ext_bus_ops *ext_ops;
307 unsigned long addr;
308 void __iomem *remap_addr;
309 int irq;
311 void __iomem *ppcap;
312 void __iomem *spbcap;
313 void __iomem *mlcap;
314 void __iomem *gtscap;
315 void __iomem *drsmcap;
318 struct list_head codec_list;
319 unsigned int num_codecs;
322 struct hdac_device *caddr_tbl[HDA_MAX_CODEC_ADDRESS + 1];
325 u32 unsol_queue[HDA_UNSOL_QUEUE_SIZE * 2]; /* ring buffer */
326 unsigned int unsol_rp, unsol_wp;
327 struct work_struct unsol_work;
330 unsigned long codec_mask;
333 unsigned long codec_powered;
336 struct hdac_rb corb;
337 struct hdac_rb rirb;
338 unsigned int last_cmd[HDA_MAX_CODECS]; /* last sent command */
341 struct snd_dma_buffer rb;
342 struct snd_dma_buffer posbuf;
345 struct list_head stream_list;
348 bool chip_init:1; /* h/w initialized */
351 bool sync_write:1; /* sync after verb write */
352 bool use_posbuf:1; /* use position buffer */
353 bool snoop:1; /* enable snooping */
354 bool align_bdle_4k:1; /* BDLE align 4K boundary */
355 bool reverse_assign:1; /* assign devices in reverse order */
379 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, argument