Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/hda/
A Dhdac_stream.c97 azx_dev->bus = bus; in snd_hdac_stream_init()
181 trace_snd_hdac_stream_stop(azx_dev->bus, azx_dev); in snd_hdac_stream_stop()
185 snd_hdac_chip_updatel(azx_dev->bus, INTCTL, 1 << azx_dev->index, 0); in snd_hdac_stream_stop()
273 snd_hdac_stream_writel(azx_dev, SD_CBL, azx_dev->bufsize); in snd_hdac_stream_setup()
277 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
280 snd_hdac_stream_writew(azx_dev, SD_LVI, azx_dev->frags - 1); in snd_hdac_stream_setup()
284 snd_hdac_stream_writel(azx_dev, SD_BDLPL, (u32)azx_dev->bdl.addr); in snd_hdac_stream_setup()
363 res = azx_dev; in snd_hdac_stream_assign()
367 res = azx_dev; in snd_hdac_stream_assign()
470 azx_dev->frags++; in setup_bdle()
[all …]
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)
A Dhdac_controller.c471 struct hdac_stream *azx_dev; in azx_int_disable() local
474 list_for_each_entry(azx_dev, &bus->stream_list, list) in azx_int_disable()
484 struct hdac_stream *azx_dev; in azx_int_clear() local
487 list_for_each_entry(azx_dev, &bus->stream_list, list) in azx_int_clear()
488 snd_hdac_stream_writeb(azx_dev, SD_STS, SD_INT_MASK); in azx_int_clear()
572 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq() local
577 if (status & azx_dev->sd_int_sta_mask) { in snd_hdac_bus_handle_stream_irq()
578 sd_status = snd_hdac_stream_readb(azx_dev, SD_STS); in snd_hdac_bus_handle_stream_irq()
580 handled |= 1 << azx_dev->index; in snd_hdac_bus_handle_stream_irq()
581 if ((!azx_dev->substream && !azx_dev->cstream) || in snd_hdac_bus_handle_stream_irq()
[all …]
/linux-6.3-rc2/sound/pci/hda/
A Dhda_controller_trace.h12 struct azx_dev;
59 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
61 TP_ARGS(chip, azx_dev),
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)
85 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
86 TP_ARGS(chip, azx_dev)
90 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
[all …]
A Dhda_controller.c92 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_close() local
110 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_hw_params() local
132 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_hw_free() local
151 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_prepare() local
207 struct azx_dev *azx_dev; in azx_pcm_trigger() local
291 struct azx_dev *azx_dev) in azx_get_position() argument
327 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_pointer() local
368 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_get_sync_time() local
582 struct azx_dev *azx_dev; in azx_pcm_open() local
961 struct azx_dev *azx_dev; in snd_hda_codec_load_dsp_prepare() local
[all …]
A Dhda_controller.h56 struct azx_dev { struct
69 #define stream_to_azx_dev(s) container_of(s, struct azx_dev, core) argument
78 int (*position_check)(struct azx *chip, struct azx_dev *azx_dev);
91 typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *);
92 typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int pos);
150 struct azx_dev saved_azx_dev;
183 static inline struct azx_dev *get_azx_dev(struct snd_pcm_substream *substream) in get_azx_dev()
187 unsigned int azx_get_position(struct azx *chip, struct azx_dev *azx_dev);
188 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev);
189 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev);
A Dhda_intel.c579 static int azx_get_delay_from_lpib(struct azx *chip, struct azx_dev *azx_dev, in azx_get_delay_from_lpib() argument
610 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev);
613 static int azx_position_check(struct azx *chip, struct azx_dev *azx_dev) in azx_position_check() argument
620 azx_dev->irq_pending = 0; in azx_position_check()
644 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev) in azx_position_ok() argument
684 pos % azx_dev->core.period_bytes > azx_dev->core.period_bytes / 2) in azx_position_ok()
731 struct azx_dev *azx_dev = stream_to_azx_dev(s); in azx_irq_pending_work() local
762 struct azx_dev *azx_dev = stream_to_azx_dev(s); in azx_clear_irq_pending() local
790 struct azx_dev *azx_dev) in azx_via_get_position() argument
844 static unsigned int azx_get_pos_fifo(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_fifo() argument
[all …]
/linux-6.3-rc2/include/sound/
A Dhdaudio.h569 void snd_hdac_stream_release(struct hdac_stream *azx_dev);
573 int snd_hdac_stream_setup(struct hdac_stream *azx_dev);
574 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev);
576 int snd_hdac_stream_set_params(struct hdac_stream *azx_dev,
578 void snd_hdac_stream_start(struct hdac_stream *azx_dev);
579 void snd_hdac_stream_stop(struct hdac_stream *azx_dev);
582 void snd_hdac_stream_reset(struct hdac_stream *azx_dev);
595 struct hdac_stream *azx_dev, u32 value);
597 struct hdac_stream *azx_dev);
602 struct hdac_stream *azx_dev, u32 value);
[all …]
A Dhdaudio_ext.h83 struct hdac_ext_stream *azx_dev, bool decouple);

Completed in 29 milliseconds