Lines Matching refs:speaker_id_desc
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()
1730 gpiod_put(speaker_id_desc); in cs35l41_get_speaker_id()