Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/gpio/
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.h85 int gpiod_get_array_value_complex(bool raw, bool can_sleep,
90 int gpiod_set_array_value_complex(bool raw, bool can_sleep,
Dgpio-aggregator.c313 if (chip->can_sleep) { in gpio_fwd_get_multiple_locked()
358 if (chip->can_sleep) { in gpio_fwd_set_multiple_locked()
420 chip->can_sleep = true; in gpiochip_fwd_create()
439 if (chip->can_sleep) in gpiochip_fwd_create()
Dgpiolib.c1496 if (gc->irq.parent_handler && gc->can_sleep) { in gpiochip_add_irqchip()
1970 might_sleep_if(gc->can_sleep); in gpiod_free_commit()
2527 int gpiod_get_array_value_complex(bool raw, bool can_sleep, in gpiod_get_array_value_complex() argument
2543 if (!can_sleep) in gpiod_get_array_value_complex()
2544 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2574 gfp_t flags = can_sleep ? GFP_KERNEL : GFP_ATOMIC; in gpiod_get_array_value_complex()
2589 if (!can_sleep) in gpiod_get_array_value_complex()
2590 WARN_ON(gc->can_sleep); in gpiod_get_array_value_complex()
2654 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_raw_value()
2675 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_value()
[all …]
Dgpio-twl6040.c72 .can_sleep = true,
Dgpio-altera-a10sr.c73 .can_sleep = true,
Dgpio-tps65086.c77 .can_sleep = true,
Dgpio-ucb1400.c64 ucb->gc.can_sleep = true; in ucb1400_gpio_probe()
Dgpio-bd9571mwv.c94 .can_sleep = true,
Dgpio-tps6586x.c92 tps6586x_gpio->gpio_chip.can_sleep = true; in tps6586x_gpio_probe()
Dgpio-pca9570.c110 gpio->chip.can_sleep = true; in pca9570_probe()
Dgpio-tps65912.c95 .can_sleep = true,
Dgpio-wcd934x.c102 chip->can_sleep = false; in wcd_gpio_probe()
Dgpio-bd71815.c93 .can_sleep = true,
Dgpio-bd71828.c113 bdgpio->gpio.can_sleep = true; in bd71828_probe()
/Linux-v5.15/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-v5.15/mm/
Dz3fold.c858 size_t size, bool can_sleep) in __z3fold_alloc() argument
887 if (can_sleep) in __z3fold_alloc()
901 if (can_sleep) in __z3fold_alloc()
945 if (can_sleep) in __z3fold_alloc()
956 can_sleep ? GFP_NOIO : GFP_ATOMIC); in __z3fold_alloc()
1081 bool can_sleep = gfpflags_allow_blocking(gfp); in z3fold_alloc() local
1093 zhdr = __z3fold_alloc(pool, size, can_sleep); in z3fold_alloc()
1113 if (can_sleep) { in z3fold_alloc()
1148 if (can_sleep) { in z3fold_alloc()
/Linux-v5.15/drivers/target/iscsi/
Discsi_target.h44 extern int iscsit_close_session(struct iscsi_session *, bool can_sleep);
Discsi_target_util.h43 extern bool iscsit_check_session_usage_count(struct iscsi_session *sess, bool can_sleep);
/Linux-v5.15/drivers/hv/
Dconnection.c374 int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) in vmbus_post_msg() argument
425 if (can_sleep && usec > 1000) in vmbus_post_msg()
/Linux-v5.15/drivers/scsi/
DNCR5380.c1261 unsigned char **data, unsigned int can_sleep) in NCR5380_transfer_pio() argument
1283 HZ * can_sleep) < 0) in NCR5380_transfer_pio()
1329 STATUS_REG, SR_REQ, 0, 5 * HZ * can_sleep) < 0) in NCR5380_transfer_pio()
1409 static int do_abort(struct Scsi_Host *instance, unsigned int can_sleep) in do_abort() argument
1430 10 * HZ * can_sleep); in do_abort()
1442 3 * HZ * can_sleep); in do_abort()
1452 NCR5380_transfer_pio(instance, &phase, &len, &msgptr, can_sleep); in do_abort()

1234567