Searched refs:lock_flag (Results 1 – 3 of 3) 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()
639 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function660 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()662 if (class->usage_mask & lock_flag(bit)) in get_usage_char()664 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char()2708 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()2712 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()4015 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()4027 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()4050 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()4062 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()
2768 bool lock_flag = 0; in handle_hpd_rx_irq() local2810 lock_flag = 1; in handle_hpd_rx_irq()2818 if (!amdgpu_in_reset(adev) && lock_flag) in handle_hpd_rx_irq()