Home
last modified time | relevance | path

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

12345678

/openbmc/linux/drivers/gpio/
H A Dgpio-aggregator.c268 struct mutex mlock; /* protects tmp[] if can_sleep */ in gpio_fwd_get_direction()
269 spinlock_t slock; /* protects tmp[] if !can_sleep */ in gpio_fwd_get_direction()
306 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get_multiple()
322 if (fwd->chip.can_sleep) in gpio_fwd_get_multiple_locked()
343 if (chip->can_sleep) { in gpio_fwd_delay()
371 if (chip->can_sleep) in gpio_fwd_set()
381 if (chip->can_sleep) in gpio_fwd_set_multiple()
402 if (fwd->chip.can_sleep) in gpio_fwd_set_multiple_locked()
414 if (chip->can_sleep) { in gpio_fwd_set_config()
539 chip->can_sleep in gpiochip_fwd_create()
[all...]
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 Dgpio-latch.c166 priv->gc.can_sleep = true; in gpio_latch_probe()
170 priv->gc.can_sleep = false; in gpio_latch_probe()
H A 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,
H A Dgpiolib.c1753 if (gc->irq.parent_handler && gc->can_sleep) { in gpiochip_add_irqchip()
2215 might_sleep_if(gc->can_sleep); in gpiod_free_commit()
2847 int gpiod_get_array_value_complex(bool raw, bool can_sleep, in gpiod_get_array_value_complex() argument
2863 if (!can_sleep) in gpiod_get_array_value_complex()
2864 WARN_ON(array_info->chip->can_sleep); in gpiod_get_array_value_complex()
2894 gfp_t flags = can_sleep ? GFP_KERNEL : GFP_ATOMIC; in gpiod_get_array_value_complex()
2909 if (!can_sleep) in gpiod_get_array_value_complex()
2910 WARN_ON(gc->can_sleep); in gpiod_get_array_value_complex()
2974 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_raw_value()
2995 WARN_ON(desc->gdev->chip->can_sleep); in gpiod_get_value()
[all …]
H A Dgpio-twl6040.c72 .can_sleep = true,
H A Dgpio-altera-a10sr.c75 .can_sleep = true,
H A Dgpio-tps65086.c77 .can_sleep = true,
H A Dgpio-tpic2810.c92 .can_sleep = true,
H A Dgpio-gw-pld.c81 gw->chip.can_sleep = true; in gw_pld_probe()
H A Dgpio-bd9571mwv.c94 .can_sleep = true,
H A Dgpio-tps6586x.c94 tps6586x_gpio->gpio_chip.can_sleep = true; in tps6586x_gpio_probe()
H A Dgpio-bd71815.c93 .can_sleep = true,
H A Dgpio-octeon.c103 chip->can_sleep = false; in octeon_gpio_probe()
H A Dgpio-tps65912.c95 .can_sleep = true,
/openbmc/linux/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()
/openbmc/linux/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.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()
/openbmc/linux/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);
/openbmc/linux/drivers/video/fbdev/omap/
H A 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 …]
/openbmc/linux/mm/
H A 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()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target.h44 extern int iscsit_close_session(struct iscsit_session *, bool can_sleep);
H A Discsi_target_util.h43 extern bool iscsit_check_session_usage_count(struct iscsit_session *sess, bool can_sleep);
/openbmc/linux/drivers/hv/
H A Dconnection.c425 int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) in vmbus_post_msg() argument
476 if (can_sleep && usec > 1000) in vmbus_post_msg()
/openbmc/linux/drivers/scsi/
H A 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()

12345678