/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa_simple.c | 43 static int kbase_simple_power_model_get_dummy_temp(struct thermal_zone_device *tz, unsigned long *temp) in kbase_simple_power_model_get_dummy_temp() argument 45 *temp = READ_ONCE(dummy_temp); in kbase_simple_power_model_get_dummy_temp() 52 static int kbase_simple_power_model_get_dummy_temp(struct thermal_zone_device *tz, int *temp) in kbase_simple_power_model_get_dummy_temp() argument 54 *temp = READ_ONCE(dummy_temp); in kbase_simple_power_model_get_dummy_temp() 63 #define thermal_zone_get_temp(tz, temp) kbase_simple_power_model_get_dummy_temp(tz, temp) 65 void kbase_simple_power_model_set_dummy_temp(int temp) in kbase_simple_power_model_set_dummy_temp() argument 67 WRITE_ONCE(dummy_temp, temp); in kbase_simple_power_model_set_dummy_temp() 147 unsigned long temp; in poll_temperature() local 149 int temp; in poll_temperature() local 184 int temp; model_static_coeff() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa_simple.c | 53 int *temp) in kbase_simple_power_model_get_dummy_temp() 55 *temp = READ_ONCE(dummy_temp); in kbase_simple_power_model_get_dummy_temp() 63 #define thermal_zone_get_temp(tz, temp) \ 64 kbase_simple_power_model_get_dummy_temp(tz, temp) 66 void kbase_simple_power_model_set_dummy_temp(int temp) in kbase_simple_power_model_set_dummy_temp() argument 68 WRITE_ONCE(dummy_temp, temp); in kbase_simple_power_model_set_dummy_temp() 149 int temp; in poll_temperature() local 159 ret = thermal_zone_get_temp(tz, &temp); in poll_temperature() 163 temp = FALLBACK_STATIC_TEMPERATURE; in poll_temperature() 166 temp in poll_temperature() 51 kbase_simple_power_model_get_dummy_temp( struct thermal_zone_device *tz, int *temp) kbase_simple_power_model_get_dummy_temp() argument 185 int temp; model_static_coeff() local [all...] |
/device/soc/rockchip/common/sdk_linux/include/trace/events/ |
H A D | thermal_ipa_power.h | 12 TP_PROTO(u32 leakage, u32 coefficient, s32 temp, u32 temp_scaling_factor, u32 volt, u32 volt_scaling_factor,
15 TP_ARGS(leakage, coefficient, temp, temp_scaling_factor, volt, volt_scaling_factor, static_power),
17 TP_STRUCT__entry(__field(u32, leakage) __field(u32, coefficient) __field(s32, temp)
21 TP_fast_assign(__entry->leakage = leakage; __entry->coefficient = coefficient; __entry->temp = temp;
25 __entry->temp, __entry->temp_scaling_factor, __entry->volt, __entry->volt_scaling_factor,
|
/device/soc/rockchip/rk3588/kernel/include/trace/events/ |
H A D | thermal_ipa_power.h | 11 TP_PROTO(u32 leakage, u32 coefficient, s32 temp, 15 TP_ARGS(leakage, coefficient, temp, temp_scaling_factor, volt, 21 __field(s32, temp) 31 __entry->temp = temp; 38 __entry->leakage, __entry->coefficient, __entry->temp,
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | thermal_netlink.h | 18 int temp, int hyst); 20 int temp, int hyst); 25 int thermal_genl_sampling_temp(int id, int temp); 68 int temp, int hyst) in thermal_notify_tz_trip_add() 74 int temp, int hyst) in thermal_notify_tz_trip_change() 100 static inline int thermal_genl_sampling_temp(int id, int temp) in thermal_genl_sampling_temp() argument 67 thermal_notify_tz_trip_add(int tz_id, int id, int type, int temp, int hyst) thermal_notify_tz_trip_add() argument 73 thermal_notify_tz_trip_change(int tz_id, int id, int type, int temp, int hyst) thermal_notify_tz_trip_change() argument
|
H A D | rockchip_opp_select.c | 62 int temp; member 77 * temp = temp * 10 78 * conv = exp(-ln(1.2) / 5 * (temp - 23)) * 100 314 if (of_property_read_u32(np, "rockchip,pvtm-ref-temp", &pvtm->ref_temp)) in rockchip_parse_pvtm_config() 316 if (of_property_read_u32_array(np, "rockchip,pvtm-temp-prop", in rockchip_parse_pvtm_config() 416 dev_info(dev, "temp=%d, pvtm=%d (%d + %d)\n", in rockchip_get_pvtm_specific_value() 442 static int temp_to_conversion_rate(int temp) in temp_to_conversion_rate() argument 450 /* No temp available, return max conversion_rate */ in temp_to_conversion_rate() 451 if (temp < in temp_to_conversion_rate() 479 u32 temp; rockchip_adjust_leakage() local [all...] |
H A D | rockchip_ipa.c | 200 int temp; in rockchip_ipa_get_static_power() local 203 ret = data->tz->ops->get_temp(data->tz, &temp); in rockchip_ipa_get_static_power() 205 pr_err("%s:failed to read %s temp\n", in rockchip_ipa_get_static_power() 207 temp = FALLBACK_STATIC_TEMPERATURE; in rockchip_ipa_get_static_power() 210 temp_scaling_factor = calculate_temp_scaling_factor(data->ts, temp); in rockchip_ipa_get_static_power() 220 temp, in rockchip_ipa_get_static_power()
|
H A D | rockchip_system_monitor.c | 421 &table[i].temp); in rockchip_get_temp_freq_table() 580 of_property_read_u32(np, "rockchip,temp-hysteresis", in monitor_device_parse_wide_temp_config() 582 if (of_property_read_u32(np, "rockchip,low-temp", &info->low_temp)) in monitor_device_parse_wide_temp_config() 584 rockchip_get_adjust_volt_table(np, "rockchip,low-temp-adjust-volt", in monitor_device_parse_wide_temp_config() 586 if (!of_property_read_u32(np, "rockchip,low-temp-min-volt", &value)) in monitor_device_parse_wide_temp_config() 588 if (of_property_read_u32(np, "rockchip,high-temp", &info->high_temp)) in monitor_device_parse_wide_temp_config() 590 if (of_property_read_u32(np, "rockchip,high-temp-max-volt", in monitor_device_parse_wide_temp_config() 596 rockchip_get_temp_freq_table(np, "rockchip,temp-freq-table", in monitor_device_parse_wide_temp_config() 599 rockchip_get_temp_freq_table(np, "rockchip,high-temp-limit-table", in monitor_device_parse_wide_temp_config() 602 if (!of_property_read_u32(np, "rockchip,high-temp in monitor_device_parse_wide_temp_config() 897 rockchip_system_monitor_wide_temp_adjust(struct monitor_dev_info *info, int temp) rockchip_system_monitor_wide_temp_adjust() argument 937 int ret, temp; rockchip_system_monitor_wide_temp_init() local 1392 rockchip_system_monitor_temp_cpu_on_off(int temp) rockchip_system_monitor_temp_cpu_on_off() argument 1415 int temp, ret; rockchip_system_monitor_thermal_update() local [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_simple.c | 92 unsigned long temp;
in model_static_coeff() local 94 int temp;
in model_static_coeff() 104 ret = gpu_tz->ops->get_temp(gpu_tz, &temp);
in model_static_coeff() 107 temp = FALLBACK_STATIC_TEMPERATURE;
in model_static_coeff() 110 temp = FALLBACK_STATIC_TEMPERATURE;
in model_static_coeff() 113 temp_scaling_factor = calculate_temp_scaling_factor(model_data->ts, temp);
in model_static_coeff()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_simple.c | 94 unsigned long temp; in model_static_coeff() local 96 int temp; in model_static_coeff() 107 ret = gpu_tz->ops->get_temp(gpu_tz, &temp); in model_static_coeff() 111 temp = FALLBACK_STATIC_TEMPERATURE; in model_static_coeff() 114 temp = FALLBACK_STATIC_TEMPERATURE; in model_static_coeff() 118 temp); in model_static_coeff()
|
/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
H A D | rockchip_thermal.c | 118 * @trim_temp: get trim temp by trim code
137 int (*get_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int *temp);
138 int (*set_alarm_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int temp);
139 int (*set_tshut_temp)(const struct chip_tsadc_table *table, int chn, void __iomem *reg, int temp);
286 * @temp: the temperature
295 int temp;
member 401 static u32 rk_tsadcv2_temp_to_code(const struct chip_tsadc_table *table, int temp)
in rk_tsadcv2_temp_to_code() argument 409 return (((temp / ROCKCHIP_THERMAL_ONETHOUSAND) * table->kNum) / ROCKCHIP_THERMAL_ONETHOUSAND + table->bNum);
in rk_tsadcv2_temp_to_code() 416 /* Return mask code data when the temp is over table range */
in rk_tsadcv2_temp_to_code() 417 if (temp < tabl in rk_tsadcv2_temp_to_code() 457 rk_tsadcv2_code_to_temp(const struct chip_tsadc_table *table, u32 code, int *temp) rk_tsadcv2_code_to_temp() argument 730 rk_tsadcv2_get_temp(const struct chip_tsadc_table *table, int chn, void __iomem *regs, int *temp) rk_tsadcv2_get_temp() argument 739 rk_tsadcv2_alarm_temp(const struct chip_tsadc_table *table, int chn, void __iomem *regs, int temp) rk_tsadcv2_alarm_temp() argument 772 rk_tsadcv2_tshut_temp(const struct chip_tsadc_table *table, int chn, void __iomem *regs, int temp) rk_tsadcv2_tshut_temp() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_edid.c | 531 hi_u32 temp; in edid_timing_param() local 534 temp = dtd->hs_offset_vs_offset & EDID_VSO_MASK; in edid_timing_param() 535 temp <<= 2; /* 2'b, bit[6:5] */ in edid_timing_param() 536 temp |= (dtd->vs_offset_pulse_width & EDID_UPPER_NIBBLE_MASK) >> 4; /* 4'b, bit[4:1] */ in edid_timing_param() 537 pre_timing->vfb = temp; in edid_timing_param() 540 temp = dtd->v_active_blank & EDID_LOWER_NIBBLE_MASK; in edid_timing_param() 541 temp <<= 8; /* 8'b, bit[12:9] */ in edid_timing_param() 542 temp |= dtd->v_blank; in edid_timing_param() 543 pre_timing->vbb = temp - pre_timing->vfb; in edid_timing_param() 546 temp in edid_timing_param() 608 hi_u32 temp; edid_detail_timing() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
H A D | ext_sm4.c | 97 is4 temp; in mix_r() local 109 temp.c[WORD_IDX_3] = sbox_tmp[WORD_IDX_0]; in mix_r() 110 temp.c[WORD_IDX_2] = sbox_tmp[WORD_IDX_1]; in mix_r() 111 temp.c[WORD_IDX_1] = sbox_tmp[WORD_IDX_2]; in mix_r() 112 temp.c[WORD_IDX_0] = sbox_tmp[WORD_IDX_3]; in mix_r() 116 rep_rsl = temp.i ^ \ in mix_r() 117 linearity_replace(temp.i, 13, 19, 0x00001fff) ^ \ /* linearity replace: left shift 13, 19, 0x00001fff. */ in mix_r() 118 linearity_replace(temp.i, 23, 9, 0x007fffff); /* linearity replace: left shift 23, 9, 0x007fffff. */ in mix_r() 120 rep_rsl = temp.i ^ \ in mix_r() 121 linearity_replace(temp in mix_r() 136 hi_u32 temp; sm4_set_encrypt_key() local 169 hi_u32 temp; sm4_encrypt() local 195 hi_u32 temp; sm4_decrypt() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
H A D | hi_uart.c | 465 hi_u16 temp; in hi_uart_lp_restore() local 467 hi_reg_read16(W_CTL_UART_MAC80M_CLKEN_REG, temp); in hi_uart_lp_restore() 468 temp |= (1 << CLKEN_UART2) | (1 << CLKEN_UART2_BUS); in hi_uart_lp_restore() 469 hi_reg_write16(W_CTL_UART_MAC80M_CLKEN_REG, temp); /* enable uart2 clk */ in hi_uart_lp_restore() 488 temp = hi_reg_read_val16(phys_base + UART_CR); in hi_uart_lp_restore() 489 temp &= ~(0x3 << OFFSET_14_BITS); in hi_uart_lp_restore() 490 temp |= g_uart_regs_save[port_num].cr & (0x3 << OFFSET_14_BITS); in hi_uart_lp_restore() 491 hi_reg_write16(phys_base + UART_CR, temp); /* 14 15 bit */ in hi_uart_lp_restore() 494 temp = hi_reg_read_val16(phys_base + UART_CR); in hi_uart_lp_restore() 495 temp | in hi_uart_lp_restore() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_executor.c | 279 struct mali_group *temp; in mali_executor_depopulate() local 297 MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_idle, struct mali_group, executor_list) in mali_executor_depopulate() 302 MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_inactive, struct mali_group, executor_list) in mali_executor_depopulate() 307 MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_disabled, struct mali_group, executor_list) in mali_executor_depopulate() 353 struct mali_group *temp; in mali_executor_suspend() local 355 MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_inactive, struct mali_group, executor_list) in mali_executor_suspend() 418 struct mali_group *temp; in mali_executor_zap_all_active() local 460 MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_working, struct mali_group, executor_list) in mali_executor_zap_all_active() 1092 struct mali_group *temp; in mali_executor_dump_state() local 1116 MALI_OSK_LIST_FOREACHENTRY(group, temp, in mali_executor_dump_state() 1560 struct mali_group *temp; mali_executor_schedule() local 1627 struct mali_group *temp; mali_executor_schedule() local 1919 struct mali_group *temp; mali_executor_change_state_pp_physical() local 2002 struct mali_group *temp; mali_executor_group_is_in_state() local 2295 struct mali_group *temp; mali_executor_core_scale() local 2330 struct mali_group *temp; mali_executor_core_scale() local 2374 struct mali_group *temp; mali_executor_core_scale_in_group_complete() local 2407 struct mali_group *temp; mali_executor_core_scale_in_group_complete() local 2454 struct mali_group *temp; mali_executor_deactivate_list_idle() local 2464 struct mali_group *temp; mali_executor_deactivate_list_idle() local 2487 struct mali_group *temp = NULL; mali_executor_running_status_print() local [all...] |
H A D | mali_group.c | 123 struct mali_group *temp; in mali_group_delete() local 125 MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) in mali_group_delete() 265 struct mali_group *temp; in mali_group_activate() local 271 MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) in mali_group_activate() 347 struct mali_group *temp; in mali_group_set_active() local 349 MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) in mali_group_set_active() 388 struct mali_group *temp; in mali_group_deactivate() local 390 MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) in mali_group_deactivate() 485 struct mali_group *temp; 494 MALI_OSK_LIST_FOREACHENTRY(group, temp, 559 struct mali_group *temp; mali_group_dump_status() local 912 struct mali_group *temp; mali_group_start_pp_job() local 936 struct mali_group *temp; mali_group_start_pp_job() local 1041 struct mali_group *temp; mali_group_reset_mmu() local 1066 struct mali_group *temp; mali_group_reset_pp() local 1105 struct mali_group *temp; mali_group_complete_pp() local 1326 struct mali_group *child, *temp; mali_group_recovery_reset() local 1361 struct mali_group *temp; mali_group_dump_state() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_executor.c | 290 struct mali_group *temp; in mali_executor_depopulate() local 308 _MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_idle, struct mali_group, executor_list) { in mali_executor_depopulate() 312 _MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_inactive, struct mali_group, executor_list) { in mali_executor_depopulate() 316 _MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_disabled, struct mali_group, executor_list) { in mali_executor_depopulate() 363 struct mali_group *temp; in mali_executor_suspend() local 365 _MALI_OSK_LIST_FOREACHENTRY(group, temp, in mali_executor_suspend() 430 struct mali_group *temp; in mali_executor_zap_all_active() local 474 _MALI_OSK_LIST_FOREACHENTRY(group, temp, &group_list_working, in mali_executor_zap_all_active() 1144 struct mali_group *temp; in mali_executor_dump_state() local 1174 _MALI_OSK_LIST_FOREACHENTRY(group, temp, in mali_executor_dump_state() 1647 struct mali_group *temp; mali_executor_schedule() local 1723 struct mali_group *temp; mali_executor_schedule() local 2043 struct mali_group *temp; mali_executor_change_state_pp_physical() local 2129 struct mali_group *temp; mali_executor_group_is_in_state() local 2427 struct mali_group *temp; mali_executor_core_scale() local 2462 struct mali_group *temp; mali_executor_core_scale() local 2505 struct mali_group *temp; mali_executor_core_scale_in_group_complete() local 2538 struct mali_group *temp; mali_executor_core_scale_in_group_complete() local 2591 struct mali_group *temp; mali_executor_deactivate_list_idle() local 2603 struct mali_group *temp; mali_executor_deactivate_list_idle() local 2630 struct mali_group *temp = NULL; mali_executor_running_status_print() local [all...] |
H A D | mali_group.c | 120 struct mali_group *temp; in mali_group_delete() local 122 _MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) { in mali_group_delete() 262 struct mali_group *temp; in mali_group_activate() local 268 _MALI_OSK_LIST_FOREACHENTRY(child, temp, in mali_group_activate() 359 struct mali_group *temp; in mali_group_set_active() local 361 _MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, in mali_group_set_active() 401 struct mali_group *temp; in mali_group_deactivate() local 403 _MALI_OSK_LIST_FOREACHENTRY(child, temp, in mali_group_deactivate() 507 struct mali_group *temp; 516 _MALI_OSK_LIST_FOREACHENTRY(group, temp, 580 struct mali_group *temp; mali_group_dump_status() local 942 struct mali_group *temp; mali_group_start_pp_job() local 965 struct mali_group *temp; mali_group_start_pp_job() local 1071 struct mali_group *temp; mali_group_reset_mmu() local 1095 struct mali_group *temp; mali_group_reset_pp() local 1135 struct mali_group *temp; mali_group_complete_pp() local 1353 struct mali_group *child, *temp; mali_group_recovery_reset() local 1387 struct mali_group *temp; mali_group_dump_state() local [all...] |
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/hi3518ev300/ |
H A D | lowlevel_init_v300.c | 145 unsigned int temp = 0; in get_hpm_value() local 156 temp = readl(HPM_CORE_REG0); in get_hpm_value() 157 core_value[1] += (temp >> 16) & 0x3ff; in get_hpm_value() 158 core_value[0] += temp & 0x3ff; in get_hpm_value() 159 temp = readl(HPM_CORE_REG1); in get_hpm_value() 160 core_value[3] += (temp >> 16) & 0x3ff; in get_hpm_value() 161 core_value[2] += temp & 0x3ff; in get_hpm_value()
|
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/boot/ |
H A D | lowlevel_init_v300.c | 254 unsigned int temp = 0; in get_hpm_value() local 266 temp = readl(HPM_CORE_REG0); in get_hpm_value() 267 core_value[1] += (temp >> 16) & 0x3ff; in get_hpm_value() 268 core_value[0] += temp & 0x3ff; in get_hpm_value() 269 temp = readl(HPM_CORE_REG1); in get_hpm_value() 270 core_value[3] += (temp >> 16) & 0x3ff; in get_hpm_value() 271 core_value[2] += temp & 0x3ff; in get_hpm_value()
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_opp_select.c | 61 int temp;
member 76 * temp = temp * 10
77 * conv = exp(-ln(1.2) / 5 * (temp - 23)) * 100
284 if (of_property_read_u32(np, "rockchip,pvtm-ref-temp", &pvtm->ref_temp)) {
in rockchip_parse_pvtm_config() 287 if (of_property_read_u32_array(np, "rockchip,pvtm-temp-prop", pvtm->temp_prop, 0x02)) {
in rockchip_parse_pvtm_config() 387 dev_info(dev, "temp=%d, pvtm=%d (%d + %d)\n", cur_temp, *target_value, avg_value, diff_value);
in rockchip_get_pvtm_specific_value() 412 static int temp_to_conversion_rate(int temp)
in temp_to_conversion_rate() argument 420 /* No temp available, return max conversion_rate */
in temp_to_conversion_rate() 421 if (temp < in temp_to_conversion_rate() 448 u32 temp; rockchip_adjust_leakage() local [all...] |
H A D | rockchip_ipa.c | 192 int temp;
in rockchip_ipa_get_static_power() local 195 ret = data->tz->ops->get_temp(data->tz, &temp);
in rockchip_ipa_get_static_power() 197 pr_err("%s:failed to read %s temp\n", __func__, data->tz->type);
in rockchip_ipa_get_static_power() 198 temp = FALLBACK_STATIC_TEMPERATURE;
in rockchip_ipa_get_static_power() 201 temp_scaling_factor = calculate_temp_scaling_factor(data->ts, temp);
in rockchip_ipa_get_static_power() 209 trace_thermal_ipa_get_static_power(data->leakage, data->static_coefficient, temp, temp_scaling_factor,
in rockchip_ipa_get_static_power()
|
H A D | rockchip_system_monitor.c | 417 of_property_read_u32_index(np, porp_name, 0x2 * i, &table[i].temp);
in rockchip_get_temp_freq_table() 581 of_property_read_u32(np, "rockchip,temp-hysteresis", &info->temp_hysteresis);
in monitor_device_parse_wide_temp_config() 582 if (of_property_read_u32(np, "rockchip,low-temp", &info->low_temp)) {
in monitor_device_parse_wide_temp_config() 585 rockchip_get_adjust_volt_table(np, "rockchip,low-temp-adjust-volt", &info->low_temp_adjust_table);
in monitor_device_parse_wide_temp_config() 586 if (!of_property_read_u32(np, "rockchip,low-temp-min-volt", &value)) {
in monitor_device_parse_wide_temp_config() 589 if (of_property_read_u32(np, "rockchip,high-temp", &info->high_temp)) {
in monitor_device_parse_wide_temp_config() 592 if (of_property_read_u32(np, "rockchip,high-temp-max-volt", &value)) {
in monitor_device_parse_wide_temp_config() 598 rockchip_get_temp_freq_table(np, "rockchip,temp-freq-table", &info->high_limit_table);
in monitor_device_parse_wide_temp_config() 600 rockchip_get_temp_freq_table(np, "rockchip,high-temp-limit-table", &info->high_limit_table);
in monitor_device_parse_wide_temp_config() 603 if (!of_property_read_u32(np, "rockchip,high-temp in monitor_device_parse_wide_temp_config() 888 rockchip_system_monitor_wide_temp_adjust(struct monitor_dev_info *info, int temp) rockchip_system_monitor_wide_temp_adjust() argument 930 int ret, temp; rockchip_system_monitor_wide_temp_init() local 1377 rockchip_system_monitor_temp_cpu_on_off(int temp) rockchip_system_monitor_temp_cpu_on_off() argument 1402 int temp, ret; rockchip_system_monitor_thermal_update() local [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_util.c | 118 hi_u8 temp; in oal_get_lut_index() local 122 temp = lut_index_table[byte]; in oal_get_lut_index() 124 if (temp == 0xFF) { in oal_get_lut_index() 129 if ((temp & (1 << bit_idx)) != 0) { in oal_get_lut_index()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_customize.c | 364 wal_cfg_params temp = { 92, 64, 25, 15, 10, 64, 8, in init_nvm_param() local 371 if (memcpy_s(¶ms, sizeof(wal_cfg_params), &temp, sizeof(wal_cfg_params)) != EOK) { in init_nvm_param() 382 wal_cfg_base_delta_power temp = { 170, 0, 0, 0, 0 }; in init_nvm_param() local 383 if (memcpy_s(&base_delta_power, sizeof(wal_cfg_base_delta_power), &temp, sizeof(wal_cfg_base_delta_power)) != in init_nvm_param() 395 wal_cfg_calibration temp = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 0x67, 0 }; in init_nvm_param() local 396 if (memcpy_s(&calibration, sizeof(wal_cfg_calibration), &temp, sizeof(wal_cfg_calibration)) != EOK) { in init_nvm_param() 407 wal_cfg_rf_rx_insertion temp = { 0, 0, 0, 0 }; in init_nvm_param() local 408 if (memcpy_s(&rx_insertion, sizeof(wal_cfg_rf_rx_insertion), &temp, sizeof(wal_cfg_rf_rx_insertion)) != EOK) { in init_nvm_param() 419 wal_cfg_sar_txpwr temp = { 0xffffff }; in init_nvm_param() local 420 if (memcpy_s(&sar_txpwr, sizeof(wal_cfg_sar_txpwr), &temp, sizeo in init_nvm_param() 431 wal_cfg_band_txpwr temp = { 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, init_nvm_param() local 444 wal_cfg_rf_reg1 temp = { 0x12081208, 0x12081208, 0x12081208, 0x12081208, 0x12081208, 0x12081208, 0x12081208, init_nvm_param() local 460 wal_cfg_rf_reg2 temp = { 0x12081208, 0x12081208, 0x12081208, 0x12081208, 0x12081208, 0x12081208, 0x12081208, init_nvm_param() local 476 wal_cfg_dpd_calibration temp = { 0X71, 0X11117777, 0X0007DDDD, 0X40404040, 0X40404040, 0X00010F11 }; init_nvm_param() local 488 rf_cfg_xtal_compesation temp = { 110, 105, -20 }; init_nvm_param() local [all...] |