| /linux/sound/hda/ |
| A D | hdac_stream.c | 63 azx_dev->bus = bus; in snd_hdac_stream_init() 92 azx_dev->start_wallclk -= azx_dev->period_wallclk; in snd_hdac_stream_start() 137 trace_snd_hdac_stream_stop(azx_dev->bus, azx_dev); in snd_hdac_stream_stop() 216 snd_hdac_stream_writel(azx_dev, SD_CBL, azx_dev->bufsize); in snd_hdac_stream_setup() 220 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup() 223 snd_hdac_stream_writew(azx_dev, SD_LVI, azx_dev->frags - 1); in snd_hdac_stream_setup() 227 snd_hdac_stream_writel(azx_dev, SD_BDLPL, (u32)azx_dev->bdl.addr); in snd_hdac_stream_setup() 306 res = azx_dev; in snd_hdac_stream_assign() 310 res = azx_dev; in snd_hdac_stream_assign() 450 azx_dev, in snd_hdac_stream_setup_periods() [all …]
|
| A D | trace.h | 56 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 58 TP_ARGS(bus, azx_dev), 65 __entry->stream_tag = (azx_dev)->stream_tag; 72 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 73 TP_ARGS(bus, azx_dev) 77 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 78 TP_ARGS(bus, azx_dev)
|
| A D | hdac_controller.c | 471 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() 487 struct hdac_stream *azx_dev; in azx_int_clear() local 490 list_for_each_entry(azx_dev, &bus->stream_list, list) in azx_int_clear() 491 snd_hdac_stream_writeb(azx_dev, SD_STS, SD_INT_MASK); in azx_int_clear() 575 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq() local 580 if (status & azx_dev->sd_int_sta_mask) { in snd_hdac_bus_handle_stream_irq() 581 sd_status = snd_hdac_stream_readb(azx_dev, SD_STS); in snd_hdac_bus_handle_stream_irq() 583 handled |= 1 << azx_dev->index; in snd_hdac_bus_handle_stream_irq() 584 if (!azx_dev->substream || !azx_dev->running || in snd_hdac_bus_handle_stream_irq() [all …]
|
| /linux/sound/pci/hda/ |
| A D | hda_controller.c | 92 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 583 struct azx_dev *azx_dev; in azx_pcm_open() local 962 struct azx_dev *azx_dev; in snd_hda_codec_load_dsp_prepare() local [all …]
|
| A D | hda_controller_trace.h | 12 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 D | hda_controller.h | 56 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); 149 struct azx_dev saved_azx_dev; 182 static inline struct azx_dev *get_azx_dev(struct snd_pcm_substream *substream) in get_azx_dev() 186 unsigned int azx_get_position(struct azx *chip, struct azx_dev *azx_dev); 187 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev); 188 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev);
|
| A D | hda_intel.c | 582 static int azx_get_delay_from_lpib(struct azx *chip, struct azx_dev *azx_dev, in azx_get_delay_from_lpib() argument 613 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev); 616 static int azx_position_check(struct azx *chip, struct azx_dev *azx_dev) in azx_position_check() argument 623 azx_dev->irq_pending = 0; in azx_position_check() 647 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev) in azx_position_ok() argument 687 pos % azx_dev->core.period_bytes > azx_dev->core.period_bytes / 2) in azx_position_ok() 734 struct azx_dev *azx_dev = stream_to_azx_dev(s); in azx_irq_pending_work() local 765 struct azx_dev *azx_dev = stream_to_azx_dev(s); in azx_clear_irq_pending() local 793 struct azx_dev *azx_dev) in azx_via_get_position() argument 847 static unsigned int azx_get_pos_fifo(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_fifo() argument [all …]
|
| /linux/include/sound/ |
| A D | hdaudio.h | 549 void snd_hdac_stream_release(struct hdac_stream *azx_dev); 553 int snd_hdac_stream_setup(struct hdac_stream *azx_dev); 554 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev); 555 int snd_hdac_stream_setup_periods(struct hdac_stream *azx_dev); 556 int snd_hdac_stream_set_params(struct hdac_stream *azx_dev, 559 void snd_hdac_stream_clear(struct hdac_stream *azx_dev); 560 void snd_hdac_stream_stop(struct hdac_stream *azx_dev); 561 void snd_hdac_stream_reset(struct hdac_stream *azx_dev); 564 void snd_hdac_stream_sync(struct hdac_stream *azx_dev, bool start, 566 void snd_hdac_stream_timecounter_init(struct hdac_stream *azx_dev, [all …]
|
| A D | hdaudio_ext.h | 90 void snd_hdac_ext_stream_release(struct hdac_ext_stream *azx_dev, int type); 92 struct hdac_ext_stream *azx_dev, bool decouple); 94 struct hdac_ext_stream *azx_dev, bool decouple);
|