Home
last modified time | relevance | path

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

1234567

/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()
/linux/drivers/gpio/
H A Dgpio-lpc32xx.c416 .can_sleep = false,
432 .can_sleep = false,
447 .can_sleep = false,
463 .can_sleep = false,
477 .can_sleep = false,
491 .can_sleep = false,
H A Dgpio-aggregator.c299 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
315 if (fwd->chip.can_sleep) in gpio_fwd_get_multiple()
336 if (chip->can_sleep) { in gpio_fwd_get_multiple_locked()
364 if (chip->can_sleep) in gpio_fwd_delay()
375 if (chip->can_sleep) in gpio_fwd_set()
400 if (fwd->chip.can_sleep) in gpio_fwd_set_multiple()
415 if (chip->can_sleep) { in gpio_fwd_set_multiple_locked()
759 chip->can_sleep = true; in gpiochip_fwd_desc_add()
798 chip->can_sleep = true; in gpiochip_fwd_register()
800 if (chip->can_sleep) in gpiochip_fwd_register()
H A Dgpiolib.c1106 gdev->can_sleep = gc->can_sleep; in gpiochip_add_data_with_key()
2103 if (gc->irq.parent_handler && gc->can_sleep) { in gpiochip_add_irqchip()
3364 int gpiod_get_array_value_complex(bool raw, bool can_sleep, in gpiod_get_array_value_complex() argument
3381 if (!can_sleep) in gpiod_get_array_value_complex()
3382 WARN_ON(array_info->gdev->can_sleep); in gpiod_get_array_value_complex()
3420 gfp_t flags = can_sleep ? GFP_KERNEL : GFP_ATOMIC; in gpiod_get_array_value_complex()
3435 if (!can_sleep) in gpiod_get_array_value_complex()
3436 WARN_ON(guard.gc->can_sleep); in gpiod_get_array_value_complex()
3501 WARN_ON(desc->gdev->can_sleep); in gpiod_get_raw_value()
3523 WARN_ON(desc->gdev->can_sleep); in gpiod_get_value()
[all …]
H A Dgpio-tps65219.c209 .can_sleep = true,
222 .can_sleep = true,
H A Dgpiolib-shared.c525 if (shared_desc->can_sleep) in gpio_shared_release()
557 shared_desc->can_sleep = gpiod_cansleep(shared_desc->desc); in gpiod_shared_desc_create()
558 if (shared_desc->can_sleep) in gpiod_shared_desc_create()
H A Dgpio-twl6040.c73 .can_sleep = true,
H A Dgpio-altera-a10sr.c75 .can_sleep = true,
H A Dgpio-tps65086.c75 .can_sleep = true,
H A Dgpio-tpic2810.c87 .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-tps65912.c98 .can_sleep = true,
H A Dgpio-octeon.c106 chip->can_sleep = false; in octeon_gpio_probe()
H A Dgpio-bd71828.c110 bdgpio->gpio.can_sleep = true; in bd71828_probe()
/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.c27 u8 can_sleep; member
54 if (led_dat->can_sleep) in gpio_led_set()
87 led_dat->can_sleep = gpiod_cansleep(led_dat->gpiod); in create_gpio_led()
88 if (!led_dat->can_sleep) in create_gpio_led()
/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);
/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 …]
/linux/drivers/target/iscsi/
H A Discsi_target.h42 extern int iscsit_close_session(struct iscsit_session *, bool can_sleep);
H A Discsi_target_util.h40 extern bool iscsit_check_session_usage_count(struct iscsit_session *sess, bool can_sleep);
/linux/drivers/hv/
H A Dconnection.c440 int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) in vmbus_post_msg() argument
491 if (can_sleep && usec > 1000) in vmbus_post_msg()
/linux/drivers/scsi/
H A DNCR5380.c1248 unsigned char **data, unsigned int can_sleep) in NCR5380_transfer_pio() argument
1270 SR_REQ | SR_BSY, HZ * can_sleep) < 0) in NCR5380_transfer_pio()
1316 STATUS_REG, SR_REQ, 0, 5 * HZ * can_sleep) < 0) in NCR5380_transfer_pio()
1393 static int do_abort(struct Scsi_Host *instance, unsigned int can_sleep) in do_abort() argument
1414 10 * HZ * can_sleep); in do_abort()
1426 3 * HZ * can_sleep); in do_abort()
1436 NCR5380_transfer_pio(instance, &phase, &len, &msgptr, can_sleep); in do_abort()
/linux/drivers/regulator/
H A Drpi-panel-v2-regulator.c35 .can_sleep = true,
/linux/drivers/soc/renesas/
H A Dpwc-rzv2m.c69 .can_sleep = false,

1234567