Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Djc42.c50 #define JC42_CFG_HYST_MASK GENMASK(10, 9) macro
280 hyst = jc42_hysteresis[FIELD_GET(JC42_CFG_HYST_MASK, in jc42_read()
291 hyst = jc42_hysteresis[FIELD_GET(JC42_CFG_HYST_MASK, in jc42_read()
372 data->config = (data->config & ~JC42_CFG_HYST_MASK) | in jc42_write()
373 FIELD_PREP(JC42_CFG_HYST_MASK, hyst); in jc42_write()
563 if ((data->config & ~JC42_CFG_HYST_MASK) != in jc42_remove()
564 (data->orig_config & ~JC42_CFG_HYST_MASK)) { in jc42_remove()
567 config = (data->orig_config & ~JC42_CFG_HYST_MASK) in jc42_remove()
568 | (data->config & JC42_CFG_HYST_MASK); in jc42_remove()