Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/iio/proximity/ping.c ping_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc r devm_gpiod_get
RX_PATH
TASK_NOT_RUNNING

drivers/leds/leds-gpio.c create_gpio_led() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/leds/leds-ns2.c ns2_led_register() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PARAM_VALUE 0 desc->gdev->owner->refcnt.counter 0-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
DATA_SOURCE 0 desc r devm_fwnode_gpiod_get_index
RX_PATH
TASK_NOT_RUNNING

drivers/leds/leds-ns2.c ns2_led_register() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PARAM_VALUE 0 desc->gdev->owner->refcnt.counter 0-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
DATA_SOURCE 0 desc r devm_fwnode_gpiod_get_index
RX_PATH
TASK_NOT_RUNNING

drivers/input/serio/ps2-gpio.c ps2_gpio_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/input/serio/ps2-gpio.c ps2_gpio_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/clk/clk-gpio.c clk_gated_fixed_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 0,4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc r devm_gpiod_get_optional
RX_PATH
TASK_NOT_RUNNING

drivers/clk/clk-gpio.c clk_hw_register_gpio_gate() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc $2
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/i2c-slave-testunit.c i2c_slave_testunit_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 0,4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc r devm_gpiod_get_index_optional
RX_PATH
TASK_NOT_RUNNING

drivers/pwm/pwm-gpio.c pwm_gpio_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc r devm_gpiod_get
RX_PATH
TASK_NOT_RUNNING

drivers/input/keyboard/gpio_keys.c gpio_keys_setup_key() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-u64max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-latch.c gpio_latch_can_sleep() -> gpiod_cansleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-latch.c gpio_latch_can_sleep() -> gpiod_cansleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/busses/i2c-gpio.c i2c_gpio_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
DATA_SOURCE 0 desc r i2c_gpio_get_desc
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/busses/i2c-gpio.c i2c_gpio_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-aggregator.c gpiochip_fwd_desc_add() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
DATA_SOURCE 0 desc $1
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/core/slot-gpio.c mmc_gpio_get_cd() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/core/slot-gpio.c mmc_gpio_get_ro() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kona_dev->write_lock
HALF_LOCKED2 &pool->lock

drivers/mmc/core/pwrseq_emmc.c mmc_pwrseq_emmc_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc r devm_gpiod_get
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-sloppy-logic-analyzer.c gpio_la_poll_probe() -> gpiod_cansleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/iio/proximity/srf04.c srf04_probe() -> gpiod_cansleep()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
CAPPED_DATA 0 desc 1
DATA_SOURCE 0 desc r devm_gpiod_get
RX_PATH
TASK_NOT_RUNNING