Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/pmbus/
H A Dzl6100.c85 static u16 zl6100_d2l(long val) in zl6100_d2l() function
185 ret = zl6100_d2l(DIV_ROUND_CLOSEST(zl6100_l2d(ret) * 9, 10)); in zl6100_read_word_data()
188 ret = zl6100_d2l(DIV_ROUND_CLOSEST(zl6100_l2d(ret) * 11, 10)); in zl6100_read_word_data()
245 word = zl6100_d2l(DIV_ROUND_CLOSEST(zl6100_l2d(word) * 10, 9)); in zl6100_write_word_data()
254 word = zl6100_d2l(DIV_ROUND_CLOSEST(zl6100_l2d(word) * 10, 11)); in zl6100_write_word_data()