Searched refs:ctrl1 (Results 1 – 1 of 1) sorted by relevance
146 uint32_t ctrl1; in armada_ap806_thermal_threshold() local150 ctrl1 = mmio_read_32(TSEN_CTRL1); in armada_ap806_thermal_threshold()153 ctrl1 &= ~(TSEN_CTRL1_THRESH_MASK); in armada_ap806_thermal_threshold()154 ctrl1 |= threshold << TSEN_CTRL1_THRESH_SHIFT; in armada_ap806_thermal_threshold()159 ctrl1 &= ~(TSEN_CTRL1_HYST_MASK); in armada_ap806_thermal_threshold()160 ctrl1 |= hysteresis << TSEN_CTRL1_HYST_SHIFT; in armada_ap806_thermal_threshold()163 mmio_write_32(TSEN_CTRL1, ctrl1); in armada_ap806_thermal_threshold()