Lines Matching defs:azx
75 struct azx;
80 int (*disable_msi_reset_irq)(struct azx *);
84 int (*position_check)(struct azx *chip, struct azx_dev *azx_dev);
86 int (*link_power)(struct azx *chip, bool enable);
90 struct azx *chip;
97 typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *);
98 typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int pos);
100 struct azx {
161 #define bus_to_azx(_bus) container_of(_bus, struct azx, bus.core)
163 static inline bool azx_snoop(struct azx *chip)
193 unsigned int azx_get_position(struct azx *chip, struct azx_dev *azx_dev);
194 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev);
195 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev);
198 void azx_stop_all_streams(struct azx *chip);
206 /* Low level azx interface */
207 void azx_init_chip(struct azx *chip, bool full_reset);
208 void azx_stop_chip(struct azx *chip);
214 int azx_bus_init(struct azx *chip, const char *model);
215 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
216 int azx_codec_configure(struct azx *chip);
217 int azx_init_streams(struct azx *chip);
218 void azx_free_streams(struct azx *chip);