Home
last modified time | relevance | path

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

/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h504 static inline int ifstate_check(struct lio *lio, int state_flag) in ifstate_check() argument
506 return atomic_read(&lio->ifstate) & state_flag; in ifstate_check()
514 static inline void ifstate_set(struct lio *lio, int state_flag) in ifstate_set() argument
516 atomic_set(&lio->ifstate, (atomic_read(&lio->ifstate) | state_flag)); in ifstate_set()
524 static inline void ifstate_reset(struct lio *lio, int state_flag) in ifstate_reset() argument
526 atomic_set(&lio->ifstate, (atomic_read(&lio->ifstate) & ~(state_flag))); in ifstate_reset()