Home
last modified time | relevance | path

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

123

/linux/sound/hda/codecs/side-codecs/
H A Dcirrus_scodec.c27 speaker_id = gpiod_get_value_cansleep(speaker_id_desc); in cirrus_scodec_get_speaker_id()
54 tmp = gpiod_get_value_cansleep(speaker_id_desc); in cirrus_scodec_get_speaker_id()
/linux/drivers/input/keyboard/
H A Dclps711x-keypad.c53 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
55 state1 = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
/linux/sound/soc/codecs/
H A Dmax9768.c45 int val = gpiod_get_value_cansleep(max9768->mute); in max9768_get_gpio()
60 if (val != gpiod_get_value_cansleep(max9768->mute)) in max9768_set_gpio()
H A Duda1334.c63 ret = gpiod_get_value_cansleep(uda1334->deemph); in uda1334_get_deemph()
/linux/drivers/extcon/
H A Dextcon-usb-gpio.c68 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_extcon_detect_cable()
70 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_extcon_detect_cable()
H A Dextcon-gpio.c52 state = gpiod_get_value_cansleep(data->gpiod); in gpio_extcon_work()
H A Dextcon-max3355.c30 int id = gpiod_get_value_cansleep(data->id_gpiod); in max3355_id_irq()
H A Dextcon-intel-int3496.c84 int id = gpiod_get_value_cansleep(data->gpio_usb_id); in int3496_do_usb_id()
/linux/drivers/mmc/core/
H A Dslot-gpio.c85 gpiod_get_value_cansleep(ctx->ro_gpio) : in mmc_gpio_get_ro()
100 gpiod_get_value_cansleep(ctx->cd_gpio) : in mmc_gpio_get_cd()
/linux/drivers/input/touchscreen/
H A Deeti_ts.c102 !gpiod_get_value_cansleep(eeti->attn_gpio)) { in eeti_ts_isr()
127 if (eeti->attn_gpio && gpiod_get_value_cansleep(eeti->attn_gpio)) in eeti_ts_start()
/linux/drivers/leds/
H A 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()
/linux/drivers/clk/
H A Dclk-gpio.c102 return gpiod_get_value_cansleep(clk->gpiod); in clk_sleeping_gpio_gate_is_prepared()
123 return gpiod_get_value_cansleep(clk->gpiod); in clk_gpio_mux_get_parent()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dencoder-tpd12s015.c145 if (!gpiod_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()
161 return gpiod_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
H A Dconnector-hdmi.c160 return gpiod_get_value_cansleep(ddata->hpd_gpio); in hdmic_detect()
/linux/drivers/reset/
H A Dreset-gpio.c39 return gpiod_get_value_cansleep(priv->reset); in reset_gpio_status()
/linux/drivers/usb/common/
H A Dusb-conn-gpio.c81 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable()
83 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_conn_detect_cable()
/linux/drivers/video/backlight/
H A Dgpio_backlight.c85 else if (gpiod_get_value_cansleep(gbl->gpiod) == 0) in gpio_backlight_probe()
/linux/drivers/spi/
H A Dspi-gpio.c76 return !!gpiod_get_value_cansleep(spi_gpio->mosi); in getmiso()
78 return !!gpiod_get_value_cansleep(spi_gpio->miso); in getmiso()
/linux/drivers/siox/
H A Dsiox-bus-gpio.c52 if (gpiod_get_value_cansleep(ddata->din)) in siox_gpio_pushpull()
/linux/drivers/gnss/
H A Dsirf.c194 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_wakeup_handler()
464 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_probe()
/linux/drivers/usb/host/
H A Dohci-da8xx.c130 return gpiod_get_value_cansleep(da8xx_ohci->oc_gpio); in ohci_da8xx_get_oci()
188 if (gpiod_get_value_cansleep(da8xx_ohci->oc_gpio) && in ohci_da8xx_oc_thread()
/linux/drivers/i2c/busses/
H A Di2c-gpio.c80 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
87 return gpiod_get_value_cansleep(priv->scl->gpio); in i2c_gpio_getscl()
/linux/drivers/input/misc/
H A Drotary_encoder.c62 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state()
/linux/drivers/gpio/
H A Dgpio-shared-proxy.c226 return gpiod_get_value_cansleep(proxy->shared_desc->desc); in gpio_shared_proxy_get_cansleep()
/linux/drivers/input/joystick/
H A Das5011.c117 int val = gpiod_get_value_cansleep(as5011->button_gpiod); in as5011_button_interrupt()

123