Searched refs:gpiod_get_value_cansleep (Results 1 – 25 of 26) sorted by relevance
12
57 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()59 state1 = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
79 state = !!gpiod_get_value_cansleep(button->gpiod); in gpio_keys_polled_check_state()
365 state = gpiod_get_value_cansleep(bdata->gpiod); in gpio_keys_gpio_report_event()
72 return gpiod_get_value_cansleep(ctx->ro_gpio); in mmc_gpio_get_ro()87 return gpiod_get_value_cansleep(ctx->cd_gpio); in mmc_gpio_get_cd()
146 if (!gpiod_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()162 return gpiod_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
148 if (!gpiod_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()164 return gpiod_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
34 int id = gpiod_get_value_cansleep(data->id_gpiod); in max3355_id_irq()
49 state = gpiod_get_value_cansleep(data->id_gpiod); in gpio_extcon_work()
59 id = gpiod_get_value_cansleep(info->id_gpiod); in usb_extcon_detect_cable()
137 id = gpiod_get_value_cansleep(palmas_usb->id_gpiod); in palmas_gpio_id_detect()
41 val = gpiod_get_value_cansleep(gpios->desc[i]); in gpio_decoder_get_gpios_state()
65 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state()
126 state = gpiod_get_value_cansleep(led_dat->gpiod); in create_gpio_led()
307 ret = gpiod_get_value_cansleep(chip->gpio_detect); in sbs_get_battery_presence_and_health()684 ret = gpiod_get_value_cansleep(chip->gpio_detect); in sbs_irq()
182 return !gpiod_get_value_cansleep(charger->status_gpio); in bq24735_charger_is_present()
332 return gpiod_get_value_cansleep(data->id_det_gpio); in sun4i_usb_phy0_get_id_det()346 return gpiod_get_value_cansleep(data->vbus_det_gpio); in sun4i_usb_phy0_get_vbus_det()
290 } while (ts->attn_gpio && gpiod_get_value_cansleep(ts->attn_gpio)); in sis_ts_irq_handler()
275 gpiod_get_value_cansleep(tsc->xnur_gpio)) { in tsc_irq_fn()
161 if (gpiod_get_value_cansleep(tsdata->gpio_attb)) { in pixcir_ts_isr()
589 } while (gpiod_get_value_cansleep(ts->gpio_int)); in zforce_irq_thread()
147 if (drvdata->enb_gpio && !gpiod_get_value_cansleep(drvdata->enb_gpio)) in pwm_regulator_is_enabled()
115 return !gpiod_get_value_cansleep(nand->busy_gpio); in jz4780_nand_dev_ready()
134 return gpiod_get_value_cansleep(nand->busy_gpio); in jz_nand_dev_ready()
359 val = gpiod_get_value_cansleep(lh->descs[i]); in linehandle_ioctl()669 val = gpiod_get_value_cansleep(le->desc); in lineevent_ioctl()712 level = gpiod_get_value_cansleep(le->desc); in lineevent_irq_thread()2839 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep() function2854 EXPORT_SYMBOL_GPL(gpiod_get_value_cansleep);
108 status = sprintf(buf, "%d\n", gpiod_get_value_cansleep(desc)); in value_show()