Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/fpga/
Daltera-ps-spi.c92 if (gpiod_get_value_cansleep(conf->status)) in altera_ps_state()
126 if (!gpiod_get_value_cansleep(conf->status)) { in altera_ps_write_init()
142 if (!gpiod_get_value_cansleep(conf->status)) { in altera_ps_write_init()
208 if (gpiod_get_value_cansleep(conf->status)) { in altera_ps_write_complete()
/kernel/linux/linux-5.10/drivers/bus/
Dts-nbus.c143 ret = gpiod_get_value_cansleep(gpios->desc[i]); in ts_nbus_read_byte()
230 ret = gpiod_get_value_cansleep(ts_nbus->rdy); in ts_nbus_read()
265 while (gpiod_get_value_cansleep(ts_nbus->rdy) != 0) { in ts_nbus_write()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dclps711x-keypad.c52 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
54 state1 = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-gpio.c100 return gpiod_get_value_cansleep(clk->gpiod); in clk_sleeping_gpio_gate_is_prepared()
121 return gpiod_get_value_cansleep(clk->gpiod); in clk_gpio_mux_get_parent()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dslot-gpio.c69 return gpiod_get_value_cansleep(ctx->ro_gpio); in mmc_gpio_get_ro()
83 gpiod_get_value_cansleep(ctx->cd_gpio) : in mmc_gpio_get_cd()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Deeti_ts.c102 !gpiod_get_value_cansleep(eeti->attn_gpio)) { in eeti_ts_isr()
128 if (eeti->attn_gpio && gpiod_get_value_cansleep(eeti->attn_gpio)) in eeti_ts_start()
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-usb-gpio.c70 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_extcon_detect_cable()
72 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_extcon_detect_cable()
Dextcon-max3355.c32 int id = gpiod_get_value_cansleep(data->id_gpiod); in max3355_id_irq()
Dextcon-gpio.c51 state = gpiod_get_value_cansleep(data->gpiod); in gpio_extcon_work()
Dextcon-intel-int3496.c59 int id = gpiod_get_value_cansleep(data->gpio_usb_id); in int3496_do_usb_id()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-ns2.c62 cmd_level = gpiod_get_value_cansleep(led->cmd); in ns2_led_get_mode()
63 slow_level = gpiod_get_value_cansleep(led->slow); in ns2_led_get_mode()
/kernel/linux/linux-5.10/drivers/hwmon/
Dgpio-fan.c76 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show()
122 value = gpiod_get_value_cansleep(fan_data->gpios[i]); in __get_fan_ctrl()
349 gpiod_get_value_cansleep(gpios[i])); in fan_ctrl_init()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/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()
/kernel/linux/linux-5.10/drivers/usb/common/
Dusb-conn-gpio.c75 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable()
77 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_conn_detect_cable()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-gpio.c106 return !!gpiod_get_value_cansleep(spi_gpio->mosi); in getmiso()
108 return !!gpiod_get_value_cansleep(spi_gpio->miso); in getmiso()
/kernel/linux/linux-5.10/drivers/power/supply/
Dgpio-charger.c92 val->intval = gpiod_get_value_cansleep(gpio_charger->gpiod); in gpio_charger_get_property()
95 if (gpiod_get_value_cansleep(gpio_charger->charge_status)) in gpio_charger_get_property()
/kernel/linux/linux-5.10/drivers/input/misc/
Dgpio_decoder.c39 val = gpiod_get_value_cansleep(gpios->desc[i]); in gpio_decoder_get_gpios_state()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dgpio_backlight.c91 gpiod_get_value_cansleep(gbl->gpiod) == 0) in gpio_backlight_probe()
/kernel/linux/linux-5.10/drivers/siox/
Dsiox-bus-gpio.c53 if (gpiod_get_value_cansleep(ddata->din)) in siox_gpio_pushpull()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c247 id = gpiod_get_value_cansleep(driver->id_gpiod); in extcon_work()
248 vbus = gpiod_get_value_cansleep(driver->vbus_gpiod); in extcon_work()
/kernel/linux/linux-5.10/drivers/gnss/
Dsirf.c194 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_wakeup_handler()
464 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_probe()
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-da8xx.c130 return gpiod_get_value_cansleep(da8xx_ohci->oc_gpio); in ohci_da8xx_get_oci()
199 if (gpiod_get_value_cansleep(da8xx_ohci->oc_gpio) && in ohci_da8xx_oc_thread()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-gpio.c64 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
71 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dti-tpd12s015.c73 if (gpiod_get_value_cansleep(tpd->hpd_gpio)) in tpd12s015_detect()
/kernel/linux/linux-5.10/drivers/net/mdio/
Dmdio-gpio.c79 return gpiod_get_value_cansleep(bitbang->mdio); in mdio_get()

123