Home
last modified time | relevance | path

Searched refs:gpiod_get_value_cansleep (Results 1 – 25 of 26) sorted by relevance

12

/drivers/input/keyboard/
Dclps711x-keypad.c57 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
59 state1 = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
Dgpio_keys_polled.c79 state = !!gpiod_get_value_cansleep(button->gpiod); in gpio_keys_polled_check_state()
Dgpio_keys.c365 state = gpiod_get_value_cansleep(bdata->gpiod); in gpio_keys_gpio_report_event()
/drivers/mmc/core/
Dslot-gpio.c72 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()
/drivers/gpu/drm/omapdrm/displays/
Dencoder-tpd12s015.c146 if (!gpiod_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()
162 return gpiod_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
/drivers/video/fbdev/omap2/omapfb/displays/
Dencoder-tpd12s015.c148 if (!gpiod_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()
164 return gpiod_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
/drivers/extcon/
Dextcon-max3355.c34 int id = gpiod_get_value_cansleep(data->id_gpiod); in max3355_id_irq()
Dextcon-gpio.c49 state = gpiod_get_value_cansleep(data->id_gpiod); in gpio_extcon_work()
Dextcon-usb-gpio.c59 id = gpiod_get_value_cansleep(info->id_gpiod); in usb_extcon_detect_cable()
Dextcon-palmas.c137 id = gpiod_get_value_cansleep(palmas_usb->id_gpiod); in palmas_gpio_id_detect()
/drivers/input/misc/
Dgpio_decoder.c41 val = gpiod_get_value_cansleep(gpios->desc[i]); in gpio_decoder_get_gpios_state()
Drotary_encoder.c65 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state()
/drivers/leds/
Dleds-gpio.c126 state = gpiod_get_value_cansleep(led_dat->gpiod); in create_gpio_led()
/drivers/power/supply/
Dsbs-battery.c307 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()
Dbq24735-charger.c182 return !gpiod_get_value_cansleep(charger->status_gpio); in bq24735_charger_is_present()
/drivers/phy/
Dphy-sun4i-usb.c332 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()
/drivers/input/touchscreen/
Dsis_i2c.c290 } while (ts->attn_gpio && gpiod_get_value_cansleep(ts->attn_gpio)); in sis_ts_irq_handler()
Dimx6ul_tsc.c275 gpiod_get_value_cansleep(tsc->xnur_gpio)) { in tsc_irq_fn()
Dpixcir_i2c_ts.c161 if (gpiod_get_value_cansleep(tsdata->gpio_attb)) { in pixcir_ts_isr()
Dzforce_ts.c589 } while (gpiod_get_value_cansleep(ts->gpio_int)); in zforce_irq_thread()
/drivers/regulator/
Dpwm-regulator.c147 if (drvdata->enb_gpio && !gpiod_get_value_cansleep(drvdata->enb_gpio)) in pwm_regulator_is_enabled()
/drivers/mtd/nand/
Djz4780_nand.c115 return !gpiod_get_value_cansleep(nand->busy_gpio); in jz4780_nand_dev_ready()
Djz4740_nand.c134 return gpiod_get_value_cansleep(nand->busy_gpio); in jz_nand_dev_ready()
/drivers/gpio/
Dgpiolib.c359 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() function
2854 EXPORT_SYMBOL_GPL(gpiod_get_value_cansleep);
Dgpiolib-sysfs.c108 status = sprintf(buf, "%d\n", gpiod_get_value_cansleep(desc)); in value_show()

12