Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/persistent-data/
H A Ddm-bitset.c115 value = cpu_to_le64(info->current_bits); in dm_bitset_flush()
140 info->current_bits = le64_to_cpu(value); in read_bits()
176 set_bit(b, (unsigned long *) &info->current_bits); in dm_bitset_set_bit()
193 clear_bit(b, (unsigned long *) &info->current_bits); in dm_bitset_clear_bit()
210 *result = test_bit(b, (unsigned long *) &info->current_bits); in dm_bitset_test_bit()
227 c->current_bits = le64_to_cpu(*value); in cursor_next_array_entry()
251 c->current_bits = le64_to_cpu(*value); in dm_bitset_cursor_begin()
307 c->current_bits = le64_to_cpu(*value); in dm_bitset_cursor_skip()
315 return test_bit(c->bit_index, (unsigned long *) &c->current_bits); in dm_bitset_cursor_get_value()
H A Ddm-bitset.h72 uint64_t current_bits; member
188 uint64_t current_bits; member
/openbmc/linux/drivers/power/supply/
H A Dmax14577_charger.c264 unsigned int current_bits; in max14577_init_eoc() local
273 current_bits = 0x0; in max14577_init_eoc()
276 current_bits = uamp / 5000; in max14577_init_eoc()
279 current_bits = 0xa + uamp / 10000; in max14577_init_eoc()
290 current_bits = uamp / MAX14577_CHARGER_EOC_CURRENT_LIMIT_STEP; in max14577_init_eoc()
294 reg_data = current_bits << CHGCTRL5_EOCS_SHIFT; in max14577_init_eoc()
/openbmc/linux/drivers/regulator/
H A Dad5398.c200 int current_bits; member
239 chip->current_level = 1 << df->current_bits; in ad5398_probe()
/openbmc/linux/drivers/mfd/
H A Dmax14577.c64 unsigned int current_bits; in maxim_charger_calc_reg_current() local
89 current_bits = max_ua / limits->high_step; in maxim_charger_calc_reg_current()
94 *dst |= current_bits << CHGCTRL4_MBCICHWRCH_SHIFT; in maxim_charger_calc_reg_current()
/openbmc/linux/kernel/
H A Dsys.c2386 unsigned long current_bits; in prctl_set_mdwe() local
2405 current_bits = get_current_mdwe(); in prctl_set_mdwe()
2406 if (current_bits && current_bits != bits) in prctl_set_mdwe()