Searched refs:is_valid_mask (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00reg.h | 181 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x)) macro 219 !is_valid_mask(__mask) || \
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | qp.c | 3226 static inline bool is_valid_mask(int mask, int req, int opt) in is_valid_mask() function 3248 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok() 3251 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok() 3255 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok() 3260 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok() 3263 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok() 3265 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok() 3296 if (!is_valid_mask(attr_mask, required, 0)) in mlx5_ib_modify_dct() 3329 if (!is_valid_mask(attr_mask, required, 0)) in mlx5_ib_modify_dct()
|