Home
last modified time | relevance | path

Searched refs:curr_val (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpio/
Dgpio-it87.c130 u8 curr_val = superio_inb(reg); in superio_set_mask() local
131 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() local
140 u8 new_val = curr_val & ~mask; in superio_clear_mask()
142 if (curr_val != new_val) in superio_clear_mask()
/linux-6.1.9/drivers/media/radio/wl128x/
Dfmdrv_tx.c352 u16 curr_val; in fm_tx_get_tune_cap_val() local
360 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()
/linux-6.1.9/drivers/platform/x86/dell/dell-wmi-sysman/
Ddell-wmi-sysman.h132 #define attribute_property_store(curr_val, type) \ argument
133 static ssize_t curr_val##_store(struct kobject *kobj, \
/linux-6.1.9/drivers/power/supply/
Dbq25980_charger.c1086 int curr_val; in bq25980_hw_init() local
1124 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c177 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_match() local
186 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() local
233 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()
Den_ethtool.c1921 bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); in mlx5e_modify_rx_cqe_compression_locked() local
1928 if (curr_val == new_val) in mlx5e_modify_rx_cqe_compression_locked()