Home
last modified time | relevance | path

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

/sound/hda/core/
A Dstream.c97 azx_dev->bus = bus; in snd_hdac_stream_init()
185 trace_snd_hdac_stream_stop(azx_dev->bus, azx_dev); in snd_hdac_stream_stop()
189 snd_hdac_chip_updatel(azx_dev->bus, INTCTL, 1 << azx_dev->index, 0); in snd_hdac_stream_stop()
280 snd_hdac_stream_writel(azx_dev, SD_CBL, azx_dev->bufsize); in snd_hdac_stream_setup()
284 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
287 snd_hdac_stream_writew(azx_dev, SD_LVI, azx_dev->frags - 1); in snd_hdac_stream_setup()
291 snd_hdac_stream_writel(azx_dev, SD_BDLPL, (u32)azx_dev->bdl.addr); in snd_hdac_stream_setup()
380 res = azx_dev; in snd_hdac_stream_assign()
384 res = azx_dev; in snd_hdac_stream_assign()
487 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 Dcontroller.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()
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
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()
696 handled |= 1 << azx_dev->index; in snd_hdac_bus_handle_stream_irq()
697 if ((!azx_dev->substream && !azx_dev->cstream) || in snd_hdac_bus_handle_stream_irq()
[all …]
/sound/hda/common/
A Dcontroller_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 Dcontroller.c93 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_close() local
111 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_hw_params() local
140 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_hw_free() local
159 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_prepare() local
213 struct azx_dev *azx_dev; in azx_pcm_trigger() local
296 struct azx_dev *azx_dev) in azx_get_position() argument
332 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_pcm_pointer() local
373 struct azx_dev *azx_dev = get_azx_dev(substream); in azx_get_sync_time() local
588 struct azx_dev *azx_dev; in azx_pcm_open() local
967 struct azx_dev *azx_dev; in snd_hda_codec_load_dsp_prepare() local
[all …]
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);
/sound/hda/controllers/
A Dintel.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
691 pos % azx_dev->core.period_bytes > azx_dev->core.period_bytes / 2) in azx_position_ok()
738 struct azx_dev *azx_dev = stream_to_azx_dev(s); in azx_irq_pending_work() local
769 struct azx_dev *azx_dev = stream_to_azx_dev(s); in azx_clear_irq_pending() local
804 struct azx_dev *azx_dev) in azx_via_get_position() argument
858 static unsigned int azx_get_pos_fifo(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_fifo() argument
[all …]

Completed in 31 milliseconds