Searched refs:REG_SET_MASK (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/thermal/tegra/ |
H A D | soctherm.c | 199 #define REG_SET_MASK(r, m, v) (((r) & ~(m)) | \ macro 488 r = REG_SET_MASK(r, sg->thermtrip_threshold_mask, temp); in thermtrip_program() 489 r = REG_SET_MASK(r, sg->thermtrip_enable_mask, 1); in thermtrip_program() 490 r = REG_SET_MASK(r, sg->thermtrip_any_en_mask, 0); in thermtrip_program() 545 r = REG_SET_MASK(r, sg->thermctl_lvl0_up_thresh_mask, temp); in throttrip_program() 546 r = REG_SET_MASK(r, sg->thermctl_lvl0_dn_thresh_mask, temp); in throttrip_program() 547 r = REG_SET_MASK(r, THERMCTL_LVL0_CPU0_CPU_THROT_MASK, cpu_throt); in throttrip_program() 548 r = REG_SET_MASK(r, THERMCTL_LVL0_CPU0_GPU_THROT_MASK, gpu_throt); in throttrip_program() 549 r = REG_SET_MASK(r, THERMCTL_LVL0_CPU0_EN_MASK, 1); in throttrip_program() 637 r = REG_SET_MASK(r, zn->sg->thermctl_isr_mask, TH_INTR_UP_DN_EN); in thermal_irq_enable() [all …]
|
/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 1140 #define REG_SET_MASK 0xFFFF macro
|