Home
last modified time | relevance | path

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

1234567

/linux-5.19.10/drivers/gpio/
Dgpio-aggregator.c281 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
297 if (fwd->chip.can_sleep) in gpio_fwd_get_multiple()
318 if (chip->can_sleep) { in gpio_fwd_get_multiple_locked()
335 if (chip->can_sleep) in gpio_fwd_set()
353 if (fwd->chip.can_sleep) in gpio_fwd_set_multiple()
365 if (chip->can_sleep) { in gpio_fwd_set_multiple_locked()
435 chip->can_sleep = true; in gpiochip_fwd_create()
455 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,
Dgpiolib.h112 int gpiod_get_array_value_complex(bool raw, bool can_sleep,
117 int gpiod_set_array_value_complex(bool raw, bool can_sleep,
Dgpiolib.c1543 if (gc->irq.parent_handler && gc->can_sleep) { in gpiochip_add_irqchip()
2031 might_sleep_if(gc->can_sleep); in gpiod_free_commit()
2658 int gpiod_get_array_value_complex(bool raw, bool can_sleep, in gpiod_get_array_value_complex() argument
2674 if (!can_sleep) in gpiod_get_array_value_complex()
2675 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2705 gfp_t flags = can_sleep ? GFP_KERNEL : GFP_ATOMIC; in gpiod_get_array_value_complex()
2720 if (!can_sleep) in gpiod_get_array_value_complex()
2721 WARN_ON(gc->can_sleep); in gpiod_get_array_value_complex()
2785 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_raw_value()
2806 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_value()
[all …]
Dgpio-twl6040.c72 .can_sleep = true,
Dgpio-altera-a10sr.c74 .can_sleep = true,
Dgpio-tps65086.c77 .can_sleep = true,
Dgpio-bd9571mwv.c94 .can_sleep = true,
Dgpio-tps6586x.c94 tps6586x_gpio->gpio_chip.can_sleep = true; in tps6586x_gpio_probe()
Dgpio-ucb1400.c64 ucb->gc.can_sleep = true; in ucb1400_gpio_probe()
Dgpio-gw-pld.c82 gw->chip.can_sleep = true; in gw_pld_probe()
Dgpio-bd71815.c93 .can_sleep = true,
Dgpio-bd71828.c113 bdgpio->gpio.can_sleep = true; in bd71828_probe()
Dgpio-tpic2810.c100 .can_sleep = true,
Dgpio-tps65912.c95 .can_sleep = true,
/linux-5.19.10/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-5.19.10/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-5.19.10/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.c24 u8 can_sleep; member
51 if (led_dat->can_sleep) in gpio_led_set()
83 led_dat->can_sleep = gpiod_cansleep(led_dat->gpiod); in create_gpio_led()
84 if (!led_dat->can_sleep) in create_gpio_led()
/linux-5.19.10/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-5.19.10/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-5.19.10/mm/
Dz3fold.c846 size_t size, bool can_sleep) in __z3fold_alloc() argument
874 if (can_sleep) in __z3fold_alloc()
888 if (can_sleep) in __z3fold_alloc()
932 if (can_sleep) in __z3fold_alloc()
1074 bool can_sleep = gfpflags_allow_blocking(gfp); in z3fold_alloc() local
1086 zhdr = __z3fold_alloc(pool, size, can_sleep); in z3fold_alloc()
1118 if (can_sleep) { in z3fold_alloc()
/linux-5.19.10/drivers/hv/
Dconnection.c457 int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) in vmbus_post_msg() argument
508 if (can_sleep && usec > 1000) in vmbus_post_msg()
/linux-5.19.10/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()

1234567