Home
last modified time | relevance | path

Searched refs:speaker_id_desc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda.c1364 struct gpio_desc *speaker_id_desc; in cs35l41_get_speaker_id() local
1369 speaker_id_desc = gpiod_get_index(dev, NULL, fixed_gpio_id, GPIOD_IN); in cs35l41_get_speaker_id()
1370 if (IS_ERR(speaker_id_desc)) { in cs35l41_get_speaker_id()
1371 speaker_id = PTR_ERR(speaker_id_desc); in cs35l41_get_speaker_id()
1374 speaker_id = gpiod_get_value_cansleep(speaker_id_desc); in cs35l41_get_speaker_id()
1375 gpiod_put(speaker_id_desc); in cs35l41_get_speaker_id()
1396 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id()
1398 if (IS_ERR(speaker_id_desc)) { in cs35l41_get_speaker_id()
1399 speaker_id = PTR_ERR(speaker_id_desc); in cs35l41_get_speaker_id()
1402 tmp = gpiod_get_value_cansleep(speaker_id_desc); in cs35l41_get_speaker_id()
[all …]