Searched refs:speaker_id_desc (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/sound/pci/hda/ |
D | cirrus_scodec.c | 17 struct gpio_desc *speaker_id_desc; in cirrus_scodec_get_speaker_id() local 22 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cirrus_scodec_get_speaker_id() 23 if (IS_ERR(speaker_id_desc)) { in cirrus_scodec_get_speaker_id() 24 speaker_id = PTR_ERR(speaker_id_desc); in cirrus_scodec_get_speaker_id() 27 speaker_id = gpiod_get_value_cansleep(speaker_id_desc); in cirrus_scodec_get_speaker_id() 28 gpiod_put(speaker_id_desc); in cirrus_scodec_get_speaker_id() 48 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cirrus_scodec_get_speaker_id() 50 if (IS_ERR(speaker_id_desc)) { in cirrus_scodec_get_speaker_id() 51 speaker_id = PTR_ERR(speaker_id_desc); in cirrus_scodec_get_speaker_id() 54 tmp = gpiod_get_value_cansleep(speaker_id_desc); in cirrus_scodec_get_speaker_id() [all …]
|
D | cs35l41_hda.c | 1691 struct gpio_desc *speaker_id_desc; in cs35l41_get_speaker_id() local 1696 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id() 1697 if (IS_ERR(speaker_id_desc)) { in cs35l41_get_speaker_id() 1698 speaker_id = PTR_ERR(speaker_id_desc); in cs35l41_get_speaker_id() 1701 speaker_id = gpiod_get_value_cansleep(speaker_id_desc); in cs35l41_get_speaker_id() 1702 gpiod_put(speaker_id_desc); in cs35l41_get_speaker_id() 1723 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id() 1725 if (IS_ERR(speaker_id_desc)) { in cs35l41_get_speaker_id() 1726 speaker_id = PTR_ERR(speaker_id_desc); in cs35l41_get_speaker_id() 1729 tmp = gpiod_get_value_cansleep(speaker_id_desc); in cs35l41_get_speaker_id() [all …]
|