Lines Matching refs:cdc
6954 struct hda_codec *cdc = data; in comp_acpi_device_notify() local
6955 struct alc_spec *spec = cdc->spec; in comp_acpi_device_notify()
6957 codec_info(cdc, "ACPI Notification %d\n", event); in comp_acpi_device_notify()
6964 struct hda_codec *cdc = dev_to_hda_codec(dev); in comp_bind() local
6965 struct alc_spec *spec = cdc->spec; in comp_bind()
6968 ret = hda_component_manager_bind(cdc, &spec->comps); in comp_bind()
6972 return hda_component_manager_bind_acpi_notifications(cdc, in comp_bind()
6974 comp_acpi_device_notify, cdc); in comp_bind()
6979 struct hda_codec *cdc = dev_to_hda_codec(dev); in comp_unbind() local
6980 struct alc_spec *spec = cdc->spec; in comp_unbind()
6982 hda_component_manager_unbind_acpi_notifications(cdc, &spec->comps, comp_acpi_device_notify); in comp_unbind()
6983 hda_component_manager_unbind(cdc, &spec->comps); in comp_unbind()
6991 static void comp_generic_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *cdc, in comp_generic_playback_hook() argument
6994 struct alc_spec *spec = cdc->spec; in comp_generic_playback_hook()
6999 static void comp_generic_fixup(struct hda_codec *cdc, int action, const char *bus, in comp_generic_fixup() argument
7002 struct alc_spec *spec = cdc->spec; in comp_generic_fixup()
7007 ret = hda_component_manager_init(cdc, &spec->comps, count, bus, hid, in comp_generic_fixup()
7020 static void find_cirrus_companion_amps(struct hda_codec *cdc) in find_cirrus_companion_amps() argument
7022 struct device *dev = hda_codec_dev(cdc); in find_cirrus_companion_amps()
7041 codec_dbg(cdc, "Did not find ACPI entry for a Cirrus Amp\n"); in find_cirrus_companion_amps()
7058 codec_err(cdc, "Did not find any buses for %s\n", acpi_ids[i].hid); in find_cirrus_companion_amps()
7063 codec_err(cdc, "Could not get fwnode for %s\n", acpi_ids[i].hid); in find_cirrus_companion_amps()
7080 codec_info(cdc, "Found %d %s on %s (%s)\n", count, acpi_ids[i].hid, bus, match); in find_cirrus_companion_amps()
7081 comp_generic_fixup(cdc, HDA_FIXUP_ACT_PRE_PROBE, bus, acpi_ids[i].hid, match, count); in find_cirrus_companion_amps()
7084 static void cs35l41_fixup_i2c_two(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in cs35l41_fixup_i2c_two() argument
7086 comp_generic_fixup(cdc, action, "i2c", "CSC3551", "-%s:00-cs35l41-hda.%d", 2); in cs35l41_fixup_i2c_two()
7089 static void cs35l41_fixup_i2c_four(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in cs35l41_fixup_i2c_four() argument
7091 comp_generic_fixup(cdc, action, "i2c", "CSC3551", "-%s:00-cs35l41-hda.%d", 4); in cs35l41_fixup_i2c_four()
7104 static void alc287_fixup_legion_16achg6_speakers(struct hda_codec *cdc, const struct hda_fixup *fix, in alc287_fixup_legion_16achg6_speakers() argument
7107 comp_generic_fixup(cdc, action, "i2c", "CLSA0100", "-%s:00-cs35l41-hda.%d", 2); in alc287_fixup_legion_16achg6_speakers()
7110 static void alc287_fixup_legion_16ithg6_speakers(struct hda_codec *cdc, const struct hda_fixup *fix, in alc287_fixup_legion_16ithg6_speakers() argument
7113 comp_generic_fixup(cdc, action, "i2c", "CLSA0101", "-%s:00-cs35l41-hda.%d", 2); in alc287_fixup_legion_16ithg6_speakers()
7116 static void alc285_fixup_asus_ga403u(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in alc285_fixup_asus_ga403u() argument
7122 if (cdc->core.vendor_id != 0x10ec0285) in alc285_fixup_asus_ga403u()
7123 alc_fixup_inv_dmic(cdc, fix, action); in alc285_fixup_asus_ga403u()
7126 static void tas2781_fixup_i2c(struct hda_codec *cdc, in tas2781_fixup_i2c() argument
7129 comp_generic_fixup(cdc, action, "i2c", "TIAS2781", "-%s:00", 1); in tas2781_fixup_i2c()
7132 static void yoga7_14arb7_fixup_i2c(struct hda_codec *cdc, in yoga7_14arb7_fixup_i2c() argument
7135 comp_generic_fixup(cdc, action, "i2c", "INT8866", "-%s:00", 1); in yoga7_14arb7_fixup_i2c()