Home
last modified time | relevance | path

Searched refs:hdac_device (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/include/sound/
A Dhdaudio.h27 struct hdac_device;
51 struct hdac_device { struct
122 void snd_hdac_device_exit(struct hdac_device *dev);
178 int snd_hdac_power_up(struct hdac_device *codec);
179 int snd_hdac_power_down(struct hdac_device *codec);
180 int snd_hdac_power_up_pm(struct hdac_device *codec);
228 int (*probe)(struct hdac_device *dev);
229 int (*remove)(struct hdac_device *dev);
230 void (*shutdown)(struct hdac_device *dev);
255 int (*hdev_attach)(struct hdac_device *hdev);
[all …]
A Dhda_regmap.h15 int snd_hdac_regmap_init(struct hdac_device *codec);
16 void snd_hdac_regmap_exit(struct hdac_device *codec);
17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec,
19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg,
21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec,
29 void snd_hdac_regmap_sync(struct hdac_device *codec);
79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write()
97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update()
115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read()
136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp()
[all …]
A Dhda_chmap.h40 int (*get_spk_alloc)(struct hdac_device *hdac, int pcm_idx);
42 void (*get_chmap)(struct hdac_device *hdac, int pcm_idx,
44 void (*set_chmap)(struct hdac_device *hdac, int pcm_idx,
46 bool (*is_pcm_attached)(struct hdac_device *hdac, int pcm_idx);
49 int (*pin_get_slot_channel)(struct hdac_device *codec,
51 int (*pin_set_slot_channel)(struct hdac_device *codec,
53 void (*set_channel_count)(struct hdac_device *codec,
60 struct hdac_device *hdac;
63 void snd_hdac_register_chmap_ops(struct hdac_device *hdac,
65 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc,
A Dhda_component.h17 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid,
19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
37 static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec, in snd_hdac_sync_audio_rate()
42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_acomp_get_eld()
A Dhdaudio_ext.h114 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable);
A Dhda_codec.h178 struct hdac_device core;
/linux-6.3-rc2/sound/hda/
A Dhdac_regmap.c26 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock()
31 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock()
41 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg()
68 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg()
117 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg()
157 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp()
243 struct hdac_device *codec = context; in hda_reg_read()
282 struct hdac_device *codec = context; in hda_reg_write()
375 int snd_hdac_regmap_init(struct hdac_device *codec) in snd_hdac_regmap_init()
392 void snd_hdac_regmap_exit(struct hdac_device *codec) in snd_hdac_regmap_exit()
[all …]
A Dhdac_device.c18 static void setup_fg_nodes(struct hdac_device *codec);
19 static int get_codec_vendor_name(struct hdac_device *codec);
127 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit()
142 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register()
374 static void setup_fg_nodes(struct hdac_device *codec) in setup_fg_nodes()
404 int snd_hdac_refresh_widgets(struct hdac_device *codec) in snd_hdac_refresh_widgets()
567 int snd_hdac_power_up(struct hdac_device *codec) in snd_hdac_power_up()
579 int snd_hdac_power_down(struct hdac_device *codec) in snd_hdac_power_down()
599 int snd_hdac_power_up_pm(struct hdac_device *codec) in snd_hdac_power_up_pm()
611 int snd_hdac_keep_power_up(struct hdac_device *codec) in snd_hdac_keep_power_up()
[all …]
A Dhdac_sysfs.c24 struct hdac_device *codec = dev_to_hdac_dev(dev); \
34 struct hdac_device *codec = dev_to_hdac_dev(dev); \
89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid,
91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid,
114 struct hdac_device *codec; in widget_attr_show()
130 struct hdac_device *codec; in widget_attr_store()
320 static void widget_tree_free(struct hdac_device *codec) in widget_tree_free()
363 static int widget_tree_create(struct hdac_device *codec) in widget_tree_create()
401 int hda_widget_sysfs_init(struct hdac_device *codec) in hda_widget_sysfs_init()
418 void hda_widget_sysfs_exit(struct hdac_device *codec) in hda_widget_sysfs_exit()
[all …]
A Dlocal.h31 int hda_widget_sysfs_init(struct hdac_device *codec);
32 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
34 void hda_widget_sysfs_exit(struct hdac_device *codec);
36 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
38 struct hdac_device *codec);
43 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd,
A Dhda_bus_type.c24 hdac_get_device_id(struct hdac_device *hdev, struct hdac_driver *drv) in hdac_get_device_id()
41 static int hdac_codec_match(struct hdac_device *dev, struct hdac_driver *drv) in hdac_codec_match()
51 struct hdac_device *hdev = dev_to_hdac_dev(dev); in hda_bus_match()
A Dhdac_bus.c172 struct hdac_device *codec; in snd_hdac_bus_process_unsol_events()
206 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
227 struct hdac_device *codec) in snd_hdac_bus_remove_device()
269 void snd_hdac_codec_link_up(struct hdac_device *codec) in snd_hdac_codec_link_up()
280 void snd_hdac_codec_link_down(struct hdac_device *codec) in snd_hdac_codec_link_down()
A Dhdmi_chmap.c182 static int hdmi_pin_set_slot_channel(struct hdac_device *codec, in hdmi_pin_set_slot_channel()
190 static int hdmi_pin_get_slot_channel(struct hdac_device *codec, in hdmi_pin_get_slot_channel()
198 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid) in hdmi_get_channel_count()
204 static void hdmi_set_channel_count(struct hdac_device *codec, in hdmi_set_channel_count()
268 static int hdmi_channel_allocation_spk_alloc_blk(struct hdac_device *codec, in hdmi_channel_allocation_spk_alloc_blk()
587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation()
817 void snd_hdac_register_chmap_ops(struct hdac_device *hdac, in snd_hdac_register_chmap_ops()
A DMakefile2 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
A Dhdac_component.c121 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_sync_audio_rate()
162 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, in snd_hdac_acomp_get_eld()
A Dhdac_controller.c655 void snd_hdac_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_bus_link_power()
/linux-6.3-rc2/sound/soc/codecs/
A Dhdac_hdmi.c81 struct hdac_device *hdev;
125 struct hdac_device *hdev;
444 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_set_tdm_slot()
521 struct hdac_device *hdev, in hdac_hdmi_get_port_from_cvt()
587 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_pcm_open()
1248 struct hdac_device *hdev = pin->hdev; in hdac_hdmi_present_sense()
1694 struct hdac_device *hdev = aptr; in hdac_hdmi_eld_notify_cb()
1765 struct hdac_device *hdev) in create_fill_jack_kcontrols()
1811 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_jack_port_init()
1887 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_jack_init()
[all …]
A Dhda.c146 struct hdac_device *hdev = &codec->core; in hda_codec_probe_complete()
174 struct hdac_device *hdev = &codec->core; in hda_codec_probe()
272 struct hdac_device *hdev = &codec->core; in hda_codec_remove()
346 static int hda_hdev_attach(struct hdac_device *hdev) in hda_hdev_attach()
373 static int hda_hdev_detach(struct hdac_device *hdev) in hda_hdev_detach()
A Dhdac_hda.c260 struct hdac_device *hdev; in hdac_hda_dai_prepare()
397 struct hdac_device *hdev = &hda_pvt->codec->core; in hdac_hda_codec_probe()
515 struct hdac_device *hdev = &hda_pvt->codec->core; in hdac_hda_codec_remove()
581 static int hdac_hda_dev_probe(struct hdac_device *hdev) in hdac_hda_dev_probe()
608 static int hdac_hda_dev_remove(struct hdac_device *hdev) in hdac_hda_dev_remove()
/linux-6.3-rc2/sound/hda/ext/
A Dhdac_ext_bus.c70 struct hdac_device *codec, *__codec; in snd_hdac_ext_bus_device_remove()
82 struct hdac_device, dev))
90 static inline struct hdac_device *get_hdev(struct device *dev) in get_hdev()
92 struct hdac_device *hdev = dev_to_hdac_dev(dev); in get_hdev()
A Dhdac_ext_controller.c358 static void hdac_ext_codec_link_up(struct hdac_device *codec) in hdac_ext_codec_link_up()
368 static void hdac_ext_codec_link_down(struct hdac_device *codec) in hdac_ext_codec_link_down()
378 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_ext_bus_link_power()
/linux-6.3-rc2/sound/soc/sof/intel/
A Dhda-bus.c34 static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable) in sof_hda_bus_link_power()
/linux-6.3-rc2/sound/pci/hda/
A Dhda_bind.c22 static int hda_codec_match(struct hdac_device *dev, struct hdac_driver *drv) in hda_codec_match()
43 static void hda_codec_unsol_event(struct hdac_device *dev, unsigned int ev) in hda_codec_unsol_event()
A Dpatch_cs8409.h344 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, unsigned int flags,
/linux-6.3-rc2/sound/soc/intel/avs/
A Dboard_selection.c465 struct hdac_device *hdev = &codec->core; in avs_register_hda_board()
504 struct hdac_device *hdev; in avs_register_hda_boards()

Completed in 36 milliseconds

12