Searched refs:speaker_id (Results 1 – 8 of 8) sorted by relevance
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | cirrus_scodec.c | 18 int speaker_id = -ENOENT; in cirrus_scodec_get_speaker_id() local 24 speaker_id = PTR_ERR(speaker_id_desc); in cirrus_scodec_get_speaker_id() 25 return speaker_id; in cirrus_scodec_get_speaker_id() 27 speaker_id = gpiod_get_value_cansleep(speaker_id_desc); in cirrus_scodec_get_speaker_id() 38 speaker_id = 0; in cirrus_scodec_get_speaker_id() 51 speaker_id = PTR_ERR(speaker_id_desc); in cirrus_scodec_get_speaker_id() 57 speaker_id = tmp; in cirrus_scodec_get_speaker_id() 60 speaker_id |= tmp << i; in cirrus_scodec_get_speaker_id() 65 dev_dbg(dev, "Speaker ID = %d\n", speaker_id); in cirrus_scodec_get_speaker_id() 67 return speaker_id; in cirrus_scodec_get_speaker_id()
|
| H A D | tas2781_hda_i2c.c | 90 struct gpio_desc *speaker_id; in tas2781_read_acpi() local 127 p->speaker_id = -1; in tas2781_read_acpi() 131 speaker_id = fwnode_gpiod_get_index(acpi_fwnode_handle(adev), in tas2781_read_acpi() 133 if (!IS_ERR(speaker_id)) { in tas2781_read_acpi() 134 p->speaker_id = gpiod_get_value_cansleep(speaker_id); in tas2781_read_acpi() 136 p->speaker_id); in tas2781_read_acpi() 137 gpiod_put(speaker_id); in tas2781_read_acpi() 139 p->speaker_id = -1; in tas2781_read_acpi() 140 ret = PTR_ERR(speaker_id); in tas2781_read_acpi() 147 p->speaker_id = -1; in tas2781_read_acpi() [all …]
|
| H A D | cs35l41_hda.c | 232 cs35l41->speaker_id, "wmfw"); in cs35l41_request_firmware_files_spkid() 237 cs35l41->speaker_id, "bin"); in cs35l41_request_firmware_files_spkid() 252 cs35l41->speaker_id, "bin"); in cs35l41_request_firmware_files_spkid() 262 NULL, cs35l41->speaker_id, "wmfw"); in cs35l41_request_firmware_files_spkid() 267 cs35l41->amp_name, cs35l41->speaker_id, "bin"); in cs35l41_request_firmware_files_spkid() 273 cs35l41->speaker_id, "bin"); in cs35l41_request_firmware_files_spkid() 288 cs35l41->speaker_id, "bin"); in cs35l41_request_firmware_files_spkid() 294 cs35l41->speaker_id, "bin"); in cs35l41_request_firmware_files_spkid() 346 if (cs35l41->speaker_id > -1) { in cs35l41_request_firmware_files() 1509 cs35l41->cs_dsp.running, cs35l41->speaker_id); in cs35l41_hda_bind() [all …]
|
| H A D | cs35l41_hda_property.c | 335 cs35l41->speaker_id = cs35l41_get_speaker_id(physdev, cs35l41->index, cfg->num_amps, -1); in generic_dsd_config() 385 cs35l41->speaker_id = cs35l41_get_speaker_id(physdev, 0, 0, 1); in hp_i2c_int_2amp_dual_spkid() 387 cs35l41->speaker_id = cs35l41_get_speaker_id(physdev, 0, 0, 2); in hp_i2c_int_2amp_dual_spkid() 419 cs35l41->speaker_id = cs35l41_get_speaker_id(physdev, 0, 0, 2); in lenovo_legion_no_acpi()
|
| H A D | cs35l41_hda.h | 75 int speaker_id; member
|
| /linux/sound/soc/codecs/ |
| H A D | cs35l56.h | 47 int speaker_id; 46 int speaker_id; global() member
|
| H A D | cs35l56.c | 1151 if (cs35l56->speaker_id >= 0) { in cs35l56_system_resume_early() 1156 cs35l56->speaker_id); in cs35l56_system_resume() 1503 if (cs35l56->speaker_id >= 0) in cs35l56_init() 1505 prop, cs35l56->speaker_id); in cs35l56_init() 1621 cs35l56->speaker_id = -ENOENT; 1665 cs35l56->speaker_id = ret;
|
| /linux/include/sound/ |
| H A D | tas2781.h | 223 int speaker_id; member
|