Lines Matching refs:value
273 u32 value; in lvts_get_temp() local
287 rc = readl_poll_timeout(msr, value, value & BIT(16), in lvts_get_temp()
304 *temp = lvts_raw_to_temp(value & 0xFFFF); in lvts_get_temp()
317 u32 value = 0; in lvts_update_irq_mask() local
320 value = readl(LVTS_MONINT(lvts_ctrl->base)); in lvts_update_irq_mask()
325 value |= masks[i]; in lvts_update_irq_mask()
327 value &= ~masks[i]; in lvts_update_irq_mask()
330 writel(value, LVTS_MONINT(lvts_ctrl->base)); in lvts_update_irq_mask()
402 u32 value; in lvts_ctrl_irq_handler() local
473 value = readl(LVTS_MONINTSTS(lvts_ctrl->base)); in lvts_ctrl_irq_handler()
484 if (!(value & masks[i])) in lvts_ctrl_irq_handler()
495 writel(value, LVTS_MONINTSTS(lvts_ctrl->base)); in lvts_ctrl_irq_handler()
697 static int lvts_golden_temp_init(struct device *dev, u32 *value) in lvts_golden_temp_init() argument
701 gt = (*value) >> 24; in lvts_golden_temp_init()
935 u32 value; in lvts_ctrl_configure() local
947 value = LVTS_TSSEL_CONF; in lvts_ctrl_configure()
948 writel(value, LVTS_TSSEL(lvts_ctrl->base)); in lvts_ctrl_configure()
953 value = 0x300; in lvts_ctrl_configure()
954 value = LVTS_CALSCALE_CONF; in lvts_ctrl_configure()
975 value = LVTS_HW_FILTER << 9 | LVTS_HW_FILTER << 6 | in lvts_ctrl_configure()
977 writel(value, LVTS_MSRCTL0(lvts_ctrl->base)); in lvts_ctrl_configure()
1019 value = LVTS_GROUP_INTERVAL << 20 | LVTS_PERIOD_UNIT; in lvts_ctrl_configure()
1020 writel(value, LVTS_MONCTL1(lvts_ctrl->base)); in lvts_ctrl_configure()
1032 value = LVTS_FILTER_INTERVAL << 16 | LVTS_SENSOR_INTERVAL; in lvts_ctrl_configure()
1033 writel(value, LVTS_MONCTL2(lvts_ctrl->base)); in lvts_ctrl_configure()