Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h170 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x)) macro
208 !is_valid_mask(__mask) || \
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dqp.c4438 static inline bool is_valid_mask(int mask, int req, int opt) in is_valid_mask() function
4459 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4462 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4465 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4469 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4474 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4477 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4479 return is_valid_mask(attr_mask, req, opt); in modify_dci_qp_is_ok()
4522 if (!is_valid_mask(attr_mask, required, 0)) in mlx5_ib_modify_dct()
4570 if (!is_valid_mask(attr_mask, required, 0)) in mlx5_ib_modify_dct()