Lines Matching refs:bus
46 int (*command)(struct hda_bus *bus, unsigned int cmd);
48 unsigned int (*get_response)(struct hda_bus *bus, unsigned int addr);
52 int (*attach_pcm)(struct hda_bus *bus, struct hda_codec *codec,
55 void (*bus_reset)(struct hda_bus *bus);
58 int (*load_dsp_prepare)(struct hda_bus *bus, unsigned int format,
62 void (*load_dsp_trigger)(struct hda_bus *bus, bool start);
64 void (*load_dsp_cleanup)(struct hda_bus *bus,
210 struct hda_bus *bus; member
322 #define list_for_each_codec(c, bus) \ argument
323 list_for_each_entry(c, &(bus)->core.codec_list, core.list)
332 int snd_hda_codec_new(struct hda_bus *bus, struct snd_card *card,
384 snd_hda_queue_unsol_event(struct hda_bus *bus, u32 res, u32 res_ex) in snd_hda_queue_unsol_event() argument
386 snd_hdac_bus_queue_event(&bus->core, res, res_ex); in snd_hda_queue_unsol_event()
481 int snd_hda_lock_devices(struct hda_bus *bus);
482 void snd_hda_unlock_devices(struct hda_bus *bus);
483 void snd_hda_bus_reset(struct hda_bus *bus);
515 void snd_hda_set_power_save(struct hda_bus *bus, int delay);
518 static inline void snd_hda_set_power_save(struct hda_bus *bus, int delay) {} in snd_hda_set_power_save() argument
525 int snd_hda_load_patch(struct hda_bus *bus, size_t size, const void *buf);
534 return codec->bus->ops.load_dsp_prepare(codec->bus, format, size, bufp); in snd_hda_codec_load_dsp_prepare()
539 return codec->bus->ops.load_dsp_trigger(codec->bus, start); in snd_hda_codec_load_dsp_trigger()
545 return codec->bus->ops.load_dsp_cleanup(codec->bus, dmab); in snd_hda_codec_load_dsp_cleanup()