Searched refs:t_hot (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c214 u32 t_hot = 0, t_cold = 0, ctrl; ti_bandgap_talert_irq_handler() local
222 /* Read the status of t_hot */ ti_bandgap_talert_irq_handler()
223 t_hot = ctrl & tsr->status_hot_mask; ti_bandgap_talert_irq_handler()
228 if (!t_cold && !t_hot) ti_bandgap_talert_irq_handler()
234 * If the interrupt is due to t_hot then mask t_hot and ti_bandgap_talert_irq_handler()
235 * and unmask t_cold else mask t_cold and unmask t_hot ti_bandgap_talert_irq_handler()
237 if (t_hot) { ti_bandgap_talert_irq_handler()
250 t_hot, t_cold); ti_bandgap_talert_irq_handler()
397 * @t_hot: hot temperature value to trigger alert signal
400 * Checks the requested t_hot and t_cold values and configures the IRQ event
404 u32 t_hot, u32 t_cold) ti_bandgap_unmask_interrupts()
415 if (temp < t_hot) ti_bandgap_unmask_interrupts()
436 * This function can be used to update t_hot or t_cold, depending on @hot value.
437 * It checks the resulting t_hot and t_cold values, based on the new passed @val
438 * and configures the thresholds so that t_hot is always greater than t_cold.
448 u32 thresh_val, reg_val, t_hot, t_cold, ctrl; ti_bandgap_update_alert_threshold() local
457 t_hot = (thresh_val & tsr->threshold_thot_mask) >> ti_bandgap_update_alert_threshold()
460 t_hot = val; ti_bandgap_update_alert_threshold()
464 if (t_cold > t_hot) { ti_bandgap_update_alert_threshold()
466 err = ti_bandgap_add_hyst(bgp, t_hot, ti_bandgap_update_alert_threshold()
472 &t_hot); ti_bandgap_update_alert_threshold()
478 reg_val |= (t_hot << __ffs(tsr->threshold_thot_mask)) | ti_bandgap_update_alert_threshold()
496 /* Mask t_hot and t_cold events at the IP Level */ ti_bandgap_update_alert_threshold()
511 /* Unmask t_hot and t_cold events at the IP Level */ ti_bandgap_update_alert_threshold()
527 ti_bandgap_unmask_interrupts(bgp, id, t_hot, t_cold); ti_bandgap_update_alert_threshold()
564 * _ti_bandgap_write_threshold() - helper to update TALERT t_cold or t_hot
572 * This function can be used to update t_hot or t_cold, depending on @hot value.
621 * _ti_bandgap_read_threshold() - helper to read TALERT t_cold or t_hot
629 * This function can be used to read t_hot or t_cold, depending on @hot value.
1362 threshold_thot_mask, ts_data->t_hot); ti_bandgap_probe()
403 ti_bandgap_unmask_interrupts(struct ti_bandgap *bgp, int id, u32 t_hot, u32 t_cold) ti_bandgap_unmask_interrupts() argument
H A Ddra752-thermal-data.c216 .t_hot = DRA752_MPU_T_HOT,
231 .t_hot = DRA752_GPU_T_HOT,
246 .t_hot = DRA752_CORE_T_HOT,
261 .t_hot = DRA752_DSPEVE_T_HOT,
276 .t_hot = DRA752_IVA_T_HOT,
H A Domap5-thermal-data.c170 .t_hot = OMAP5430_MPU_T_HOT,
185 .t_hot = OMAP5430_GPU_T_HOT,
200 .t_hot = OMAP5430_CORE_T_HOT,
H A Domap4-thermal-data.c138 .t_hot = OMAP4460_T_HOT,
H A Dti-bandgap.h171 * @t_hot: temperature to trigger a thermal alert (high initial value)
188 u32 t_hot; member in struct:temp_sensor_data

Completed in 182 milliseconds