Home
last modified time | relevance | path

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

/linux-4.1.27/sound/pci/hda/
Dhda_codec.h37 struct hda_bus;
46 int (*command)(struct hda_bus *bus, unsigned int cmd);
48 unsigned int (*get_response)(struct hda_bus *bus, unsigned int addr);
50 void (*private_free)(struct hda_bus *);
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,
75 struct hda_bus { struct
[all …]
Dhda_sysfs.c539 static void parse_codec_mode(char *buf, struct hda_bus *bus, in parse_codec_mode()
562 static void parse_pincfg_mode(char *buf, struct hda_bus *bus, in parse_pincfg_mode()
568 static void parse_verb_mode(char *buf, struct hda_bus *bus, in parse_verb_mode()
574 static void parse_hint_mode(char *buf, struct hda_bus *bus, in parse_hint_mode()
580 static void parse_model_mode(char *buf, struct hda_bus *bus, in parse_model_mode()
587 static void parse_chip_name_mode(char *buf, struct hda_bus *bus, in parse_chip_name_mode()
595 static void parse_##name##_mode(char *buf, struct hda_bus *bus, \
611 void (*parser)(char *buf, struct hda_bus *bus, struct hda_codec **retc);
657 static int parse_line_mode(char *buf, struct hda_bus *bus) in parse_line_mode()
715 int snd_hda_load_patch(struct hda_bus *bus, size_t fw_size, const void *fw_buf) in snd_hda_load_patch()
Dhda_controller.c931 static int azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec, in azx_attach_pcm_stream()
1078 static int azx_corb_send_cmd(struct hda_bus *bus, u32 val) in azx_corb_send_cmd()
1159 static unsigned int azx_rirb_get_response(struct hda_bus *bus, in azx_rirb_get_response()
1288 static int azx_single_send_cmd(struct hda_bus *bus, u32 val) in azx_single_send_cmd()
1316 static unsigned int azx_single_get_response(struct hda_bus *bus, in azx_single_get_response()
1331 static int azx_send_cmd(struct hda_bus *bus, unsigned int val) in azx_send_cmd()
1345 static unsigned int azx_get_response(struct hda_bus *bus, in azx_get_response()
1369 static int azx_load_dsp_prepare(struct hda_bus *bus, unsigned int format, in azx_load_dsp_prepare()
1430 static void azx_load_dsp_trigger(struct hda_bus *bus, bool start) in azx_load_dsp_trigger()
1442 static void azx_load_dsp_cleanup(struct hda_bus *bus, in azx_load_dsp_cleanup()
[all …]
Dhda_codec.c133 struct hda_bus *bus = codec->bus; in codec_exec_verb()
489 static void snd_hda_bus_free(struct hda_bus *bus) in snd_hda_bus_free()
507 struct hda_bus *bus = device->device_data; in snd_hda_bus_dev_disconnect()
515 struct hda_bus *bus = container_of(_bus, struct hda_bus, core); in _hda_bus_command()
522 struct hda_bus *bus = container_of(_bus, struct hda_bus, core); in _hda_bus_get_response()
540 struct hda_bus **busp) in snd_hda_bus_new()
542 struct hda_bus *bus; in snd_hda_bus_new()
1004 int snd_hda_codec_new(struct hda_bus *bus, struct snd_card *card, in snd_hda_codec_new()
1825 int snd_hda_lock_devices(struct hda_bus *bus) in snd_hda_lock_devices()
1862 void snd_hda_unlock_devices(struct hda_bus *bus) in snd_hda_unlock_devices()
[all …]
Dhda_controller.h333 struct hda_bus *bus;
Dhda_intel.c913 struct hda_bus *bus; in azx_runtime_resume()
/linux-4.1.27/Documentation/sound/alsa/
Dhda_codec.txt26 The card driver has to create struct hda_bus at first. The template
51 void (*private_free)(struct hda_bus *);
77 struct hda_bus **busp);
89 int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr,