Lines Matching refs:cdc
7054 struct hda_codec *cdc = data; in comp_acpi_device_notify() local
7055 struct alc_spec *spec = cdc->spec; in comp_acpi_device_notify()
7057 codec_info(cdc, "ACPI Notification %d\n", event); in comp_acpi_device_notify()
7064 struct hda_codec *cdc = dev_to_hda_codec(dev); in comp_bind() local
7065 struct alc_spec *spec = cdc->spec; in comp_bind()
7068 ret = hda_component_manager_bind(cdc, &spec->comps); in comp_bind()
7072 return hda_component_manager_bind_acpi_notifications(cdc, in comp_bind()
7074 comp_acpi_device_notify, cdc); in comp_bind()
7079 struct hda_codec *cdc = dev_to_hda_codec(dev); in comp_unbind() local
7080 struct alc_spec *spec = cdc->spec; in comp_unbind()
7082 hda_component_manager_unbind_acpi_notifications(cdc, &spec->comps, comp_acpi_device_notify); in comp_unbind()
7083 hda_component_manager_unbind(cdc, &spec->comps); in comp_unbind()
7091 static void comp_generic_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *cdc, in comp_generic_playback_hook() argument
7094 struct alc_spec *spec = cdc->spec; in comp_generic_playback_hook()
7099 static void comp_generic_fixup(struct hda_codec *cdc, int action, const char *bus, in comp_generic_fixup() argument
7102 struct alc_spec *spec = cdc->spec; in comp_generic_fixup()
7107 ret = hda_component_manager_init(cdc, &spec->comps, count, bus, hid, in comp_generic_fixup()
7120 static void find_cirrus_companion_amps(struct hda_codec *cdc) in find_cirrus_companion_amps() argument
7122 struct device *dev = hda_codec_dev(cdc); in find_cirrus_companion_amps()
7141 codec_dbg(cdc, "Did not find ACPI entry for a Cirrus Amp\n"); in find_cirrus_companion_amps()
7158 codec_err(cdc, "Did not find any buses for %s\n", acpi_ids[i].hid); in find_cirrus_companion_amps()
7163 codec_err(cdc, "Could not get fwnode for %s\n", acpi_ids[i].hid); in find_cirrus_companion_amps()
7180 codec_info(cdc, "Found %d %s on %s (%s)\n", count, acpi_ids[i].hid, bus, match); in find_cirrus_companion_amps()
7181 comp_generic_fixup(cdc, HDA_FIXUP_ACT_PRE_PROBE, bus, acpi_ids[i].hid, match, count); in find_cirrus_companion_amps()
7184 static void cs35l41_fixup_i2c_two(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in cs35l41_fixup_i2c_two() argument
7186 comp_generic_fixup(cdc, action, "i2c", "CSC3551", "-%s:00-cs35l41-hda.%d", 2); in cs35l41_fixup_i2c_two()
7189 static void cs35l41_fixup_i2c_four(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in cs35l41_fixup_i2c_four() argument
7191 comp_generic_fixup(cdc, action, "i2c", "CSC3551", "-%s:00-cs35l41-hda.%d", 4); in cs35l41_fixup_i2c_four()
7204 static void alc287_fixup_legion_16achg6_speakers(struct hda_codec *cdc, const struct hda_fixup *fix, in alc287_fixup_legion_16achg6_speakers() argument
7207 comp_generic_fixup(cdc, action, "i2c", "CLSA0100", "-%s:00-cs35l41-hda.%d", 2); in alc287_fixup_legion_16achg6_speakers()
7210 static void alc287_fixup_legion_16ithg6_speakers(struct hda_codec *cdc, const struct hda_fixup *fix, in alc287_fixup_legion_16ithg6_speakers() argument
7213 comp_generic_fixup(cdc, action, "i2c", "CLSA0101", "-%s:00-cs35l41-hda.%d", 2); in alc287_fixup_legion_16ithg6_speakers()
7216 static void alc285_fixup_asus_ga403u(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in alc285_fixup_asus_ga403u() argument
7222 if (cdc->core.vendor_id != 0x10ec0285) in alc285_fixup_asus_ga403u()
7223 alc_fixup_inv_dmic(cdc, fix, action); in alc285_fixup_asus_ga403u()
7226 static void tas2781_fixup_i2c(struct hda_codec *cdc, in tas2781_fixup_i2c() argument
7229 comp_generic_fixup(cdc, action, "i2c", "TIAS2781", "-%s:00", 1); in tas2781_fixup_i2c()
7232 static void tas2781_fixup_spi(struct hda_codec *cdc, const struct hda_fixup *fix, int action) in tas2781_fixup_spi() argument
7234 comp_generic_fixup(cdc, action, "spi", "TXNW2781", "-%s:00-tas2781-hda.%d", 2); in tas2781_fixup_spi()
7237 static void yoga7_14arb7_fixup_i2c(struct hda_codec *cdc, in yoga7_14arb7_fixup_i2c() argument
7240 comp_generic_fixup(cdc, action, "i2c", "INT8866", "-%s:00", 1); in yoga7_14arb7_fixup_i2c()