Searched refs:octdev (Results 1 – 1 of 1) sorted by relevance
898 static inline u32 lio_get_priv_flag(struct octeon_device *octdev, u32 flag) in lio_get_priv_flag() argument900 return !!(octdev->priv_flags & (0x1 << flag)); in lio_get_priv_flag()903 static inline void lio_set_priv_flag(struct octeon_device *octdev, in lio_set_priv_flag() argument907 octdev->priv_flags |= (0x1 << flag); in lio_set_priv_flag()909 octdev->priv_flags &= ~(0x1 << flag); in lio_set_priv_flag()