Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwmon/
Dbt1-pvt.h28 #define PVT_CTRL_TRIM_MASK GENMASK(8, PVT_CTRL_TRIM_FLD) macro
93 #define PVT_TRIM_MAX (PVT_CTRL_TRIM_MASK >> PVT_CTRL_TRIM_FLD)
Dbt1-pvt.c180 trim = FIELD_PREP(PVT_CTRL_TRIM_MASK, trim); in pvt_set_trim()
183 pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_TRIM_MASK | PVT_CTRL_EN, in pvt_set_trim()
641 *val = FIELD_GET(PVT_CTRL_TRIM_MASK, data) * PVT_TRIM_STEP; in pvt_read_trim()