Searched refs:lock_flag (Results 1 – 2 of 2) sorted by relevance
276 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local280 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()289 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()306 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()308 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
667 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function688 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()690 if (class->usage_mask & lock_flag(bit)) in get_usage_char()692 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char()2754 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()2758 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()4057 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()4069 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()4092 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()4104 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()