Home
last modified time | relevance | path

Searched refs:can_sleep (Results 1 – 25 of 156) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-aggregator.c333 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
353 if (fwd->chip.can_sleep) in gpio_fwd_get_multiple()
374 if (chip->can_sleep) { in gpio_fwd_get_multiple_locked()
391 if (chip->can_sleep) in gpio_fwd_set()
413 if (fwd->chip.can_sleep) in gpio_fwd_set_multiple()
425 if (chip->can_sleep) { in gpio_fwd_set_multiple_locked()
487 chip->can_sleep = true; in gpiochip_fwd_create()
506 if (chip->can_sleep) in gpiochip_fwd_create()
H A Dgpio-lpc32xx.c410 .can_sleep = false,
426 .can_sleep = false,
441 .can_sleep = false,
457 .can_sleep = false,
471 .can_sleep = false,
485 .can_sleep = false,
H A Dgpiolib.c976 if (gc->can_sleep) { in gpiochip_set_cascaded_irqchip()
1551 if (gc->irq.parent_handler && gc->can_sleep) { in gpiochip_add_irqchip()
2133 might_sleep_if(gc->can_sleep); in gpiod_free_commit()
2676 int gpiod_get_array_value_complex(bool raw, bool can_sleep, in gpiod_get_array_value_complex() argument
2692 if (!can_sleep) in gpiod_get_array_value_complex()
2693 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2723 can_sleep ? GFP_KERNEL : GFP_ATOMIC); in gpiod_get_array_value_complex()
2731 if (!can_sleep) in gpiod_get_array_value_complex()
2732 WARN_ON(gc->can_sleep); in gpiod_get_array_value_complex()
2792 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_raw_value()
[all …]
H A Dgpiolib.h85 int gpiod_get_array_value_complex(bool raw, bool can_sleep,
90 int gpiod_set_array_value_complex(bool raw, bool can_sleep,
H A Dgpio-twl6040.c72 .can_sleep = true,
H A Dgpio-altera-a10sr.c73 .can_sleep = true,
H A Dgpio-tps65086.c77 .can_sleep = true,
H A Dgpio-ucb1400.c64 ucb->gc.can_sleep = true; in ucb1400_gpio_probe()
H A Dgpio-mc9s08dz60.c90 mc9s->chip.can_sleep = true; in mc9s08dz60_probe()
H A Dgpio-pca9570.c110 gpio->chip.can_sleep = true; in pca9570_probe()
H A Dgpio-octeon.c103 chip->can_sleep = false; in octeon_gpio_probe()
H A Dgpio-tps6586x.c93 tps6586x_gpio->gpio_chip.can_sleep = true; in tps6586x_gpio_probe()
H A Dgpio-bd9571mwv.c102 .can_sleep = true,
H A Dgpio-tps65912.c95 .can_sleep = true,
H A Dgpio-gw-pld.c83 gw->chip.can_sleep = true; in gw_pld_probe()
H A Dgpio-wcd934x.c102 chip->can_sleep = false; in wcd_gpio_probe()
H A Dgpio-tpic2810.c100 .can_sleep = true,
H A Dgpio-mc33880.c106 mc->chip.can_sleep = true; in mc33880_probe()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Drtlx.c91 int rtlx_open(int index, int can_sleep) in rtlx_open() argument
112 if (can_sleep) { in rtlx_open()
127 if (can_sleep) { in rtlx_open()
192 unsigned int rtlx_read_poll(int index, int can_sleep) in rtlx_read_poll() argument
203 if (can_sleep) { in rtlx_read_poll()
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-ns2.c49 bool can_sleep; member
90 if (!led->can_sleep) { in ns2_led_set_mode()
213 led->can_sleep = gpiod_cansleep(led->cmd) || gpiod_cansleep(led->slow); in ns2_led_register()
214 if (led->can_sleep) in ns2_led_register()
H A Dleds-gpio.c23 u8 can_sleep; member
50 if (led_dat->can_sleep) in gpio_led_set()
82 led_dat->can_sleep = gpiod_cansleep(led_dat->gpiod); in create_gpio_led()
83 if (!led_dat->can_sleep) in create_gpio_led()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Drtlx.h33 int rtlx_open(int index, int can_sleep);
37 unsigned int rtlx_read_poll(int index, int can_sleep);
/OK3568_Linux_fs/kernel/mm/
H A Dz3fold.c875 size_t size, bool can_sleep) in __z3fold_alloc() argument
903 if (can_sleep) in __z3fold_alloc()
917 if (can_sleep) in __z3fold_alloc()
961 if (can_sleep) in __z3fold_alloc()
972 can_sleep ? GFP_NOIO : GFP_ATOMIC); in __z3fold_alloc()
1096 bool can_sleep = gfpflags_allow_blocking(gfp); in z3fold_alloc() local
1108 zhdr = __z3fold_alloc(pool, size, can_sleep); in z3fold_alloc()
1128 if (can_sleep) { in z3fold_alloc()
1163 if (can_sleep) { in z3fold_alloc()
/OK3568_Linux_fs/kernel/drivers/hv/
H A Dconnection.c364 int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) in vmbus_post_msg() argument
415 if (can_sleep && usec > 1000) in vmbus_post_msg()
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-rk805.c371 .can_sleep = true,
385 .can_sleep = true,
399 .can_sleep = true,

1234567