Searched refs:curr_val (Results 1 – 6 of 6) sorted by relevance
130 u8 curr_val = superio_inb(reg); in superio_set_mask() local131 u8 new_val = curr_val | mask; in superio_set_mask()133 if (curr_val != new_val) in superio_set_mask()139 u8 curr_val = superio_inb(reg); in superio_clear_mask() local140 u8 new_val = curr_val & ~mask; in superio_clear_mask()142 if (curr_val != new_val) in superio_clear_mask()
352 u16 curr_val; in fm_tx_get_tune_cap_val() local360 NULL, sizeof(curr_val), &curr_val, &resp_len); in fm_tx_get_tune_cap_val()364 curr_val = be16_to_cpu((__force __be16)curr_val); in fm_tx_get_tune_cap_val()366 return curr_val; in fm_tx_get_tune_cap_val()
132 #define attribute_property_store(curr_val, type) \ argument133 static ssize_t curr_val##_store(struct kobject *kobj, \
1086 int curr_val; in bq25980_hw_init() local1124 curr_val = bq->init_data.bypass_ilim; in bq25980_hw_init()1127 curr_val = bq->init_data.sc_ilim; in bq25980_hw_init()1131 ret = bq25980_set_input_curr_lim(bq, curr_val); in bq25980_hw_init()
177 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_match() local186 curr_val = be32_to_cpu(curr_val_be); in mlx5e_tc_match_to_reg_match()196 curr_val &= ~max_mask; in mlx5e_tc_match_to_reg_match()200 curr_val |= val; in mlx5e_tc_match_to_reg_match()204 curr_val_be = cpu_to_be32(curr_val); in mlx5e_tc_match_to_reg_match()224 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_get_match() local233 curr_val = be32_to_cpu(curr_val_be); in mlx5e_tc_match_to_reg_get_match()236 *val = (curr_val >> moffset) & max_mask; in mlx5e_tc_match_to_reg_get_match()
1921 bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); in mlx5e_modify_rx_cqe_compression_locked() local1928 if (curr_val == new_val) in mlx5e_modify_rx_cqe_compression_locked()