Searched refs:micd_pol_gpio (Results 1 – 4 of 4) sorted by relevance
181 gpiod_set_value_cansleep(info->micd_pol_gpio, in arizona_extcon_set_mode()1322 if (pdata->micd_pol_gpio > 0) { in arizona_jack_codec_dev_probe()1328 ret = devm_gpio_request_one(dev, pdata->micd_pol_gpio, in arizona_jack_codec_dev_probe()1332 pdata->micd_pol_gpio, ret); in arizona_jack_codec_dev_probe()1336 info->micd_pol_gpio = gpio_to_desc(pdata->micd_pol_gpio); in arizona_jack_codec_dev_probe()1348 info->micd_pol_gpio = gpiod_get_optional(arizona->dev, in arizona_jack_codec_dev_probe()1351 if (IS_ERR(info->micd_pol_gpio)) { in arizona_jack_codec_dev_probe()1352 ret = PTR_ERR(info->micd_pol_gpio); in arizona_jack_codec_dev_probe()1365 gpiod_put(info->micd_pol_gpio); in arizona_jack_codec_dev_probe()1376 gpiod_put(info->micd_pol_gpio); in arizona_jack_codec_dev_remove()
102 struct gpio_desc *micd_pol_gpio; member
133 int micd_pol_gpio; member
218 .micd_pol_gpio = CODEC_GPIO_BASE + 4,251 .micd_pol_gpio = CODEC_GPIO_BASE + 2,