Lines Matching refs:can_sleep
301 struct mutex mlock; /* protects tmp[] if can_sleep */
302 spinlock_t slock; /* protects tmp[] if !can_sleep */
333 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset])
353 if (fwd->chip.can_sleep)
374 if (chip->can_sleep) {
391 if (chip->can_sleep)
413 if (fwd->chip.can_sleep)
425 if (chip->can_sleep) {
487 chip->can_sleep = true;
506 if (chip->can_sleep)