/linux/sound/pci/hda/ |
H A D | cirrus_scodec.c | 27 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/bus/ |
H A D | ts-nbus.c | 134 ret = gpiod_get_value_cansleep(gpios->desc[i]); in ts_nbus_read_byte() 221 ret = gpiod_get_value_cansleep(ts_nbus->rdy); in ts_nbus_read() 256 while (gpiod_get_value_cansleep(ts_nbus->rdy) != 0) { in ts_nbus_write()
|
/linux/drivers/input/keyboard/ |
H A D | clps711x-keypad.c | 54 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll() 56 state1 = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
|
/linux/drivers/clk/ |
H A D | clk-gpio.c | 100 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()
|
/linux/drivers/misc/mei/ |
H A D | vsc-tp.c | 131 return read_poll_timeout(gpiod_get_value_cansleep, ret, ret, in vsc_tp_wakeup_request() 325 ret = read_poll_timeout(gpiod_get_value_cansleep, ret, in vsc_tp_rom_xfer() 381 if (!gpiod_get_value_cansleep(tp->wakeuphost)) in vsc_tp_need_read() 383 if (!gpiod_get_value_cansleep(tp->wakeupfw)) in vsc_tp_need_read()
|
/linux/drivers/platform/x86/siemens/ |
H A D | simatic-ipc-batt.c | 52 if (gpiod_get_value_cansleep(priv.gpios[0])) in simatic_ipc_batt_read_gpio() 54 else if (gpiod_get_value_cansleep(priv.gpios[1])) in simatic_ipc_batt_read_gpio()
|
/linux/drivers/mmc/core/ |
H A D | slot-gpio.c | 85 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 D | eeti_ts.c | 102 !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()
|
/linux/drivers/leds/ |
H A D | leds-ns2.c | 62 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/hwmon/ |
H A D | gpio-fan.c | 75 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show() 121 value = gpiod_get_value_cansleep(fan_data->gpios[i]); in __get_fan_ctrl() 348 gpiod_get_value_cansleep(gpios[i])); in fan_ctrl_init()
|
/linux/drivers/usb/common/ |
H A D | usb-conn-gpio.c | 76 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable() 78 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_conn_detect_cable()
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | encoder-tpd12s015.c | 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()
|
/linux/drivers/power/supply/ |
H A D | gpio-charger.c | 92 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()
|
/linux/drivers/reset/ |
H A D | reset-gpio.c | 44 return gpiod_get_value_cansleep(priv->reset); in reset_gpio_status()
|
/linux/drivers/extcon/ |
H A D | extcon-gpio.c | 52 state = gpiod_get_value_cansleep(data->gpiod); in gpio_extcon_work()
|
/linux/drivers/input/misc/ |
H A D | gpio_decoder.c | 31 val = gpiod_get_value_cansleep(gpios->desc[i]); in gpio_decoder_get_gpios_state()
|
/linux/drivers/video/backlight/ |
H A D | gpio_backlight.c | 85 else if (gpiod_get_value_cansleep(gbl->gpiod) == 0) in gpio_backlight_probe()
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-gpio.c | 30 tmp = gpiod_get_value_cansleep(gpio_data->gpiod); in gpio_trig_irq()
|
/linux/drivers/regulator/ |
H A D | sy7636a-regulator.c | 47 ret = gpiod_get_value_cansleep(data->pgood_gpio); in sy7636a_get_status()
|
/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-ns2-usbdrd.c | 237 id = gpiod_get_value_cansleep(driver->id_gpiod); in extcon_work() 238 vbus = gpiod_get_value_cansleep(driver->vbus_gpiod); in extcon_work()
|
/linux/drivers/spi/ |
H A D | spi-gpio.c | 105 return !!gpiod_get_value_cansleep(spi_gpio->mosi); in getmiso() 107 return !!gpiod_get_value_cansleep(spi_gpio->miso); in getmiso()
|
/linux/drivers/siox/ |
H A D | siox-bus-gpio.c | 53 if (gpiod_get_value_cansleep(ddata->din)) in siox_gpio_pushpull()
|
/linux/drivers/gnss/ |
H A D | sirf.c | 194 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_wakeup_handler() 464 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_probe()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-gpio.c | 63 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda() 70 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl()
|
/linux/drivers/usb/host/ |
H A D | ohci-da8xx.c | 131 return gpiod_get_value_cansleep(da8xx_ohci->oc_gpio); in ohci_da8xx_get_oci() 200 if (gpiod_get_value_cansleep(da8xx_ohci->oc_gpio) && in ohci_da8xx_oc_thread()
|