Searched refs:curr_val (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-it87.c | 130 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.12.1/drivers/media/radio/wl128x/ |
D | fmdrv_tx.c | 352 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.12.1/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | dell-wmi-sysman.h | 132 #define attribute_property_store(curr_val, type) \ argument 133 static ssize_t curr_val##_store(struct kobject *kobj, \
|
/linux-6.12.1/drivers/platform/x86/hp/hp-bioscfg/ |
D | bioscfg.h | 315 #define ATTRIBUTE_PROPERTY_STORE(curr_val, type) \ argument 316 static ssize_t curr_val##_store(struct kobject *kobj, \
|
/linux-6.12.1/drivers/power/supply/ |
D | bq25980_charger.c | 1086 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.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 195 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_match() local 204 curr_val = be32_to_cpu(curr_val_be); in mlx5e_tc_match_to_reg_match() 214 curr_val &= ~max_mask; in mlx5e_tc_match_to_reg_match() 218 curr_val |= val; in mlx5e_tc_match_to_reg_match() 222 curr_val_be = cpu_to_be32(curr_val); in mlx5e_tc_match_to_reg_match() 242 u32 curr_mask, curr_val; in mlx5e_tc_match_to_reg_get_match() local 251 curr_val = be32_to_cpu(curr_val_be); in mlx5e_tc_match_to_reg_get_match() 254 *val = (curr_val >> moffset) & max_mask; in mlx5e_tc_match_to_reg_get_match()
|
D | en_ethtool.c | 2114 bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); in mlx5e_modify_rx_cqe_compression_locked() local 2121 if (curr_val == new_val) in mlx5e_modify_rx_cqe_compression_locked()
|