Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/drivers/gpio/
Dgpio-aggregator.c292 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
308 if (fwd->chip.can_sleep) in gpio_fwd_get_multiple()
329 if (chip->can_sleep) { in gpio_fwd_get_multiple_locked()
357 if (chip->can_sleep) in gpio_fwd_delay()
367 if (chip->can_sleep) in gpio_fwd_set()
388 if (fwd->chip.can_sleep) in gpio_fwd_set_multiple()
400 if (chip->can_sleep) { in gpio_fwd_set_multiple_locked()
525 chip->can_sleep = true; in gpiochip_fwd_create()
545 if (chip->can_sleep) in gpiochip_fwd_create()
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,
Dgpio-latch.c166 priv->gc.can_sleep = true; in gpio_latch_probe()
170 priv->gc.can_sleep = false; in gpio_latch_probe()
Dgpiolib.h126 int gpiod_get_array_value_complex(bool raw, bool can_sleep,
131 int gpiod_set_array_value_complex(bool raw, bool can_sleep,
Dgpiolib.c1752 if (gc->irq.parent_handler && gc->can_sleep) { in gpiochip_add_irqchip()
2214 might_sleep_if(gc->can_sleep); in gpiod_free_commit()
2846 int gpiod_get_array_value_complex(bool raw, bool can_sleep, in gpiod_get_array_value_complex() argument
2862 if (!can_sleep) in gpiod_get_array_value_complex()
2863 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2893 gfp_t flags = can_sleep ? GFP_KERNEL : GFP_ATOMIC; in gpiod_get_array_value_complex()
2908 if (!can_sleep) in gpiod_get_array_value_complex()
2909 WARN_ON(gc->can_sleep); in gpiod_get_array_value_complex()
2973 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_raw_value()
2994 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_value()
[all …]
Dgpio-twl6040.c72 .can_sleep = true,
Dgpio-altera-a10sr.c75 .can_sleep = true,
Dgpio-tps65086.c77 .can_sleep = true,
Dgpio-bd9571mwv.c94 .can_sleep = true,
Dgpio-gw-pld.c81 gw->chip.can_sleep = true; in gw_pld_probe()
Dgpio-tpic2810.c92 .can_sleep = true,
Dgpio-tps6586x.c94 tps6586x_gpio->gpio_chip.can_sleep = true; in tps6586x_gpio_probe()
Dgpio-bd71815.c93 .can_sleep = true,
Dgpio-bd71828.c113 bdgpio->gpio.can_sleep = true; in bd71828_probe()
/linux-6.6.21/arch/mips/kernel/
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()
/linux-6.6.21/arch/mips/include/asm/
Drtlx.h33 int rtlx_open(int index, int can_sleep);
37 unsigned int rtlx_read_poll(int index, int can_sleep);
/linux-6.6.21/drivers/leds/
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()
Dleds-gpio.c25 u8 can_sleep; member
52 if (led_dat->can_sleep) in gpio_led_set()
85 led_dat->can_sleep = gpiod_cansleep(led_dat->gpiod); in create_gpio_led()
86 if (!led_dat->can_sleep) in create_gpio_led()
/linux-6.6.21/drivers/video/fbdev/omap/
Dhwa742.c235 static inline struct hwa742_request *alloc_req(bool can_sleep) in alloc_req() argument
241 if (can_sleep) in alloc_req()
410 #define ADD_PREQ(_x, _y, _w, _h, can_sleep) do {\ argument
411 req = alloc_req(can_sleep); \
425 bool can_sleep) in create_req_list() argument
439 ADD_PREQ(x, y, 1, height, can_sleep); in create_req_list()
451 ADD_PREQ(x, ystart, xspan, yspan, can_sleep); in create_req_list()
457 ADD_PREQ(x, ystart, xspan, yspan, can_sleep); in create_req_list()
463 ADD_PREQ(x, y, 1, height, can_sleep); in create_req_list()
473 static void __hwa742_update_window_auto(bool can_sleep) in __hwa742_update_window_auto() argument
[all …]
/linux-6.6.21/drivers/target/iscsi/
Discsi_target.h44 extern int iscsit_close_session(struct iscsit_session *, bool can_sleep);
Discsi_target_util.h43 extern bool iscsit_check_session_usage_count(struct iscsit_session *sess, bool can_sleep);
/linux-6.6.21/mm/
Dz3fold.c786 size_t size, bool can_sleep) in __z3fold_alloc() argument
814 if (can_sleep) in __z3fold_alloc()
828 if (can_sleep) in __z3fold_alloc()
872 if (can_sleep) in __z3fold_alloc()
1007 bool can_sleep = gfpflags_allow_blocking(gfp); in z3fold_alloc() local
1019 zhdr = __z3fold_alloc(pool, size, can_sleep); in z3fold_alloc()
1050 if (can_sleep) { in z3fold_alloc()
/linux-6.6.21/drivers/hv/
Dconnection.c410 int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) in vmbus_post_msg() argument
461 if (can_sleep && usec > 1000) in vmbus_post_msg()
/linux-6.6.21/drivers/scsi/
DNCR5380.c1259 unsigned char **data, unsigned int can_sleep) in NCR5380_transfer_pio() argument
1281 HZ * can_sleep) < 0) in NCR5380_transfer_pio()
1327 STATUS_REG, SR_REQ, 0, 5 * HZ * can_sleep) < 0) in NCR5380_transfer_pio()
1407 static int do_abort(struct Scsi_Host *instance, unsigned int can_sleep) in do_abort() argument
1428 10 * HZ * can_sleep); in do_abort()
1440 3 * HZ * can_sleep); in do_abort()
1450 NCR5380_transfer_pio(instance, &phase, &len, &msgptr, can_sleep); in do_abort()
/linux-6.6.21/drivers/soc/renesas/
Dpwc-rzv2m.c67 .can_sleep = false,

12345678