Home
last modified time | relevance | path

Searched refs:flags_old (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_utils.h16 unsigned long flags_old, flags_new; in aq_utils_obj_set() local
19 flags_old = atomic_read(flags); in aq_utils_obj_set()
20 flags_new = flags_old | (mask); in aq_utils_obj_set()
21 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old); in aq_utils_obj_set()
26 unsigned long flags_old, flags_new; in aq_utils_obj_clear() local
29 flags_old = atomic_read(flags); in aq_utils_obj_clear()
30 flags_new = flags_old & ~(mask); in aq_utils_obj_clear()
31 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old); in aq_utils_obj_clear()