Home
last modified time | relevance | path

Searched refs:azx_dev (Results 1 – 6 of 6) sorted by relevance

/linux/sound/pci/hda/
H A Dhda_controller_trace.h12 struct azx_dev;
16 TP_PROTO(struct azx *chip, struct azx_dev *dev, int cmd),
37 TP_PROTO(struct azx *chip, struct azx_dev *dev, unsigned int pos, unsigned int delay),
59 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
61 TP_ARGS(chip, azx_dev),
68 __entry->stream_tag = (azx_dev)->core.stream_tag;
75 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
76 TP_ARGS(chip, azx_dev)
80 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
81 TP_ARGS(chip, azx_dev)
[all …]
H A Dhda_controller.h57 struct azx_dev { struct
70 #define stream_to_azx_dev(s) container_of(s, struct azx_dev, core) argument
79 int (*position_check)(struct azx *chip, struct azx_dev *azx_dev);
92 typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *);
93 typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int pos);
151 struct azx_dev saved_azx_dev;
184 static inline struct azx_dev *get_azx_dev(struct snd_pcm_substream *substream) in get_azx_dev()
188 unsigned int azx_get_position(struct azx *chip, struct azx_dev *azx_dev);
189 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev);
190 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev);
H A Dhda_intel.c577 static int azx_get_delay_from_lpib(struct azx *chip, struct azx_dev *azx_dev, in azx_get_delay_from_lpib() argument
580 struct snd_pcm_substream *substream = azx_dev->core.substream; in azx_get_delay_from_lpib()
582 unsigned int lpib_pos = azx_get_pos_lpib(chip, azx_dev); in azx_get_delay_from_lpib()
590 if (delay >= azx_dev->core.delay_negative_threshold) in azx_get_delay_from_lpib()
593 delay += azx_dev->core.bufsize; in azx_get_delay_from_lpib()
596 if (delay >= azx_dev->core.period_bytes) { in azx_get_delay_from_lpib()
599 delay, azx_dev->core.period_bytes); in azx_get_delay_from_lpib()
608 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev);
611 static int azx_position_check(struct azx *chip, struct azx_dev *azx_dev) in azx_position_check() argument
616 ok = azx_position_ok(chip, azx_dev); in azx_position_check()
[all …]
/linux/sound/hda/
H A Dtrace.h67 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
69 TP_ARGS(bus, azx_dev),
76 __entry->stream_tag = (azx_dev)->stream_tag;
83 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
84 TP_ARGS(bus, azx_dev)
88 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
89 TP_ARGS(bus, azx_dev)
H A Dhdac_controller.c587 struct hdac_stream *azx_dev; in azx_int_disable() local
590 list_for_each_entry(azx_dev, &bus->stream_list, list) in azx_int_disable()
591 snd_hdac_stream_updateb(azx_dev, SD_CTL, SD_INT_MASK, 0); in azx_int_disable()
600 struct hdac_stream *azx_dev; in azx_int_clear() local
603 list_for_each_entry(azx_dev, &bus->stream_list, list) in azx_int_clear()
604 snd_hdac_stream_writeb(azx_dev, SD_STS, SD_INT_MASK); in azx_int_clear()
688 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq() local
692 list_for_each_entry(azx_dev, &bus->stream_list, list) { in snd_hdac_bus_handle_stream_irq()
693 if (status & azx_dev->sd_int_sta_mask) { in snd_hdac_bus_handle_stream_irq()
694 sd_status = snd_hdac_stream_readb(azx_dev, SD_STS); in snd_hdac_bus_handle_stream_irq()
[all …]
/linux/include/sound/
H A Dhdaudio_ext.h86 struct hdac_ext_stream *azx_dev, bool decouple);