Searched refs:tc_id (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/plat/mediatek/drivers/thermal/src/ |
| H A D | thermal_lvts.c | 23 uint32_t data, unsigned int tc_id) in lvts_write_device_nodelay() argument 27 base = GET_BASE_ADDR(lvts_data, tc_id); in lvts_write_device_nodelay() 33 unsigned int tc_id) in lvts_write_data_check() argument 39 base = GET_BASE_ADDR(lvts_data, tc_id); in lvts_write_data_check() 49 tc_id, data); in lvts_write_data_check() 54 unsigned int tc_id; in lvts_write_all_device() local 57 for (tc_id = 0; tc_id < lvts_data->num_tc; tc_id++) { in lvts_write_all_device() 58 if (tc[tc_id].ctrl_on_off == CTRL_OFF) in lvts_write_all_device() 61 lvts_write_device_nodelay(lvts_data, data, tc_id); in lvts_write_all_device() 64 for (tc_id = 0; tc_id < lvts_data->num_tc; tc_id++) { in lvts_write_all_device() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/thermal/inc/ |
| H A D | thermal_lvts.h | 27 #define GET_BASE_ADDR(lvts_data, tc_id) \ argument 28 (lvts_data->domain[lvts_data->tc[tc_id].domain_index].base \ 29 + lvts_data->tc[tc_id].addr_offset) 276 void set_polling_speed(struct lvts_data *lvts_data, unsigned int tc_id); 277 void set_hw_filter(struct lvts_data *lvts_data, unsigned int tc_id); 280 unsigned int tc_id); 282 unsigned int tc_id); 285 unsigned int tc_id); 287 unsigned int tc_id); 289 unsigned int tc_id); [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/thermal/mt8189/ |
| H A D | soc_temp_lvts.c | 54 unsigned int tc_id) in disable_hw_reboot_interrupt() argument 59 base = GET_BASE_ADDR(lvts_data, tc_id); in disable_hw_reboot_interrupt() 98 unsigned int tc_id) in enable_hw_reboot_interrupt() argument 103 base = GET_BASE_ADDR(lvts_data, tc_id); in enable_hw_reboot_interrupt() 131 unsigned int tc_id) in set_tc_hw_reboot_threshold() argument 140 base = GET_BASE_ADDR(lvts_data, tc_id); in set_tc_hw_reboot_threshold() 141 d_index = get_dominator_index(lvts_data, tc_id); in set_tc_hw_reboot_threshold() 143 disable_hw_reboot_interrupt(lvts_data, tc_id); in set_tc_hw_reboot_threshold() 145 if (tc_id < MT8189_LVTS_CTRL_NUM) { in set_tc_hw_reboot_threshold() 152 for (i = 0; i < tc[tc_id].num_sensor; i++) { in set_tc_hw_reboot_threshold() [all …]
|