Searched refs:curr_val (Results 1 – 5 of 5) sorted by relevance
131 u8 curr_val = superio_inb(reg); in superio_set_mask() local132 u8 new_val = curr_val | mask; in superio_set_mask()134 if (curr_val != new_val) in superio_set_mask()140 u8 curr_val = superio_inb(reg); in superio_clear_mask() local141 u8 new_val = curr_val & ~mask; in superio_clear_mask()143 if (curr_val != new_val) in superio_clear_mask()
137 #define attribute_property_store(curr_val, type) \ argument138 static ssize_t curr_val##_store(struct kobject *kobj, \
320 #define ATTRIBUTE_PROPERTY_STORE(curr_val, type) \ argument321 static ssize_t curr_val##_store(struct kobject *kobj, \
197 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_match() local206 curr_val = be32_to_cpu(curr_val_be); in mlx5e_tc_match_to_reg_match()216 curr_val &= ~max_mask; in mlx5e_tc_match_to_reg_match()220 curr_val |= val; in mlx5e_tc_match_to_reg_match()224 curr_val_be = cpu_to_be32(curr_val); in mlx5e_tc_match_to_reg_match()244 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_get_match() local253 curr_val = be32_to_cpu(curr_val_be); in mlx5e_tc_match_to_reg_get_match()256 *val = (curr_val >> moffset) & max_mask; in mlx5e_tc_match_to_reg_get_match()
2220 bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); in mlx5e_modify_rx_cqe_compression_locked() 2227 if (curr_val == new_val) in mlx5e_modify_rx_cqe_compression_locked() 2219 bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); mlx5e_modify_rx_cqe_compression_locked() local