Home
last modified time | relevance | path

Searched refs:sys_info (Results 1 – 22 of 22) sorted by relevance

/drivers/gpu/drm/radeon/
Dtrinity_dpm.c595 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid()
968 value |= LT((pi->thermal_auto_throttling + 49 - pi->sys_info.htc_hyst_lmt) * 8); in trinity_program_ttt()
1146 if (pi->sys_info.nb_dpm_enable) { in trinity_setup_nbp_sim()
1268 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in trinity_convert_voltage_index_to_value()
1301 pi->boot_pl.sclk = pi->sys_info.bootup_sclk; in trinity_construct_boot_state()
1302 pi->boot_pl.vddc_index = pi->sys_info.bootup_nb_voltage_index; in trinity_construct_boot_state()
1343 for (i = 0; i < pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries; i++) { in trinity_get_valid_engine_clock()
1344 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in trinity_get_valid_engine_clock()
1345 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in trinity_get_valid_engine_clock()
1348 if (i == pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries) in trinity_get_valid_engine_clock()
[all …]
Dsumo_smc.c79 pi->sys_info.csr_m3_arb_cntl_default[i]); in sumo_initialize_m3_arb()
83 pi->sys_info.csr_m3_arb_cntl_uvd[i % NUMBER_OF_M3ARB_PARAM_SETS]); in sumo_initialize_m3_arb()
87 pi->sys_info.csr_m3_arb_cntl_fs3d[i % NUMBER_OF_M3ARB_PARAM_SETS]); in sumo_initialize_m3_arb()
155 WREG32_RCU(RCU_BOOST_MARGIN, pi->sys_info.sclk_dpm_boost_margin); in sumo_enable_boost_timer()
156 WREG32_RCU(RCU_THROTTLE_MARGIN, pi->sys_info.sclk_dpm_throttle_margin); in sumo_enable_boost_timer()
157 WREG32_RCU(GNB_TDP_LIMIT, pi->sys_info.gnb_tdp_limit); in sumo_enable_boost_timer()
158 WREG32_RCU(RCU_SclkDpmTdpLimitPG, pi->sys_info.sclk_dpm_tdp_limit_pg); in sumo_enable_boost_timer()
Dsumo_dpm.c671 pi->boost_pl.sclk = pi->sys_info.boost_sclk; in sumo_patch_boost_state()
672 pi->boost_pl.vddc_index = pi->sys_info.boost_vid_2bit; in sumo_patch_boost_state()
673 pi->boost_pl.sclk_dpm_tdp_limit = pi->sys_info.sclk_dpm_tdp_limit_boost; in sumo_patch_boost_state()
1034 for (i = 0; i < pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries; i++) { in sumo_get_valid_engine_clock()
1035 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in sumo_get_valid_engine_clock()
1036 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in sumo_get_valid_engine_clock()
1039 …return pi->sys_info.sclk_voltage_mapping_table.entries[pi->sys_info.sclk_voltage_mapping_table.num… in sumo_get_valid_engine_clock()
1047 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in sumo_patch_thermal_state()
1094 u32 min_sclk = pi->sys_info.min_sclk; /* XXX check against disp reqs */ in sumo_apply_state_adjust_rules()
1095 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in sumo_apply_state_adjust_rules()
[all …]
Dkv_dpm.c451 &pi->sys_info.vid_mapping_table, in kv_convert_2bit_index_to_voltage()
574 &pi->sys_info.sclk_voltage_mapping_table; in kv_program_bootup_state()
946 &pi->sys_info.sclk_voltage_mapping_table; in kv_calculate_dfs_bypass_settings()
1559 &pi->sys_info.sclk_voltage_mapping_table; in kv_set_valid_clock_range()
1769 if (pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries > 0) { in kv_construct_max_power_limits_table()
1770 int idx = pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1; in kv_construct_max_power_limits_table()
1772 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
1775 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
1778 table->mclk = pi->sys_info.nbp_memory_clock[0]; in kv_construct_max_power_limits_table()
1827 pi->boot_pl.sclk = pi->sys_info.bootup_sclk; in kv_construct_boot_state()
[all …]
Dtrinity_dpm.h98 struct trinity_sys_info sys_info; member
Dkv_dpm.h109 struct kv_sys_info sys_info; member
Dsumo_dpm.h116 struct sumo_sys_info sys_info; member
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu8_hwmgr.c260 struct smu8_sys_info *sys_info = &data->sys_info; in smu8_construct_max_power_limits_table() local
269 table->mclk = sys_info->nbp_memory_clock[0]; in smu8_construct_max_power_limits_table()
332 data->sys_info.bootup_uma_clock = in smu8_get_system_info_data()
335 data->sys_info.bootup_engine_clock = in smu8_get_system_info_data()
338 data->sys_info.dentist_vco_freq = in smu8_get_system_info_data()
341 data->sys_info.system_config = in smu8_get_system_info_data()
344 data->sys_info.bootup_nb_voltage_index = in smu8_get_system_info_data()
347 data->sys_info.htc_hyst_lmt = in smu8_get_system_info_data()
350 data->sys_info.htc_tmp_lmt = in smu8_get_system_info_data()
353 if (data->sys_info.htc_tmp_lmt <= in smu8_get_system_info_data()
[all …]
Dsmu10_hwmgr.h211 struct smu10_system_info sys_info; member
Dsmu8_hwmgr.h202 struct smu8_sys_info sys_info; member
Dsmu10_hwmgr.c170 smu10_data->sys_info.htc_hyst_lmt = 5; in smu10_get_system_info_data()
171 smu10_data->sys_info.htc_tmp_lmt = 203; in smu10_get_system_info_data()
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c680 &pi->sys_info.vid_mapping_table, in kv_convert_2bit_index_to_voltage()
805 &pi->sys_info.sclk_voltage_mapping_table; in kv_program_bootup_state()
1177 &pi->sys_info.sclk_voltage_mapping_table; in kv_calculate_dfs_bypass_settings()
1796 &pi->sys_info.sclk_voltage_mapping_table; in kv_set_valid_clock_range()
2031 if (pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries > 0) { in kv_construct_max_power_limits_table()
2032 int idx = pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1; in kv_construct_max_power_limits_table()
2034 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
2037 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
2040 table->mclk = pi->sys_info.nbp_memory_clock[0]; in kv_construct_max_power_limits_table()
2089 pi->boot_pl.sclk = pi->sys_info.bootup_sclk; in kv_construct_boot_state()
[all …]
Dkv_dpm.h135 struct kv_sys_info sys_info; member
/drivers/usb/host/
Duhci-pci.c95 const char *sys_info; in uhci_pci_global_suspend_mode_is_broken() local
102 sys_info = dmi_get_system_info(DMI_BOARD_NAME); in uhci_pci_global_suspend_mode_is_broken()
103 if (sys_info && !strcmp(sys_info, bad_Asus_board)) { in uhci_pci_global_suspend_mode_is_broken()
/drivers/scsi/qla4xxx/
Dql4_init.c149 struct flash_sys_info *sys_info; in qla4xxx_get_sys_info() local
153 sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), in qla4xxx_get_sys_info()
155 if (sys_info == NULL) { in qla4xxx_get_sys_info()
164 sizeof(*sys_info)) != QLA_SUCCESS) { in qla4xxx_get_sys_info()
172 memcpy(ha->my_mac, &sys_info->physAddr[0].address[0], in qla4xxx_get_sys_info()
174 sizeof(sys_info->physAddr[0].address))); in qla4xxx_get_sys_info()
175 memcpy(ha->serial_number, &sys_info->acSerialNumber, in qla4xxx_get_sys_info()
177 sizeof(sys_info->acSerialNumber))); in qla4xxx_get_sys_info()
182 dma_free_coherent(&ha->pdev->dev, sizeof(*sys_info), sys_info, in qla4xxx_get_sys_info()
Dql4_nx.c4029 struct mbx_sys_info *sys_info; in qla4_8xxx_get_sys_info() local
4033 sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), in qla4_8xxx_get_sys_info()
4035 if (sys_info == NULL) { in qla4_8xxx_get_sys_info()
4047 mbox_cmd[4] = sizeof(*sys_info); in qla4_8xxx_get_sys_info()
4065 ha->port_num = sys_info->port_num; in qla4_8xxx_get_sys_info()
4066 memcpy(ha->my_mac, &sys_info->mac_addr[0], in qla4_8xxx_get_sys_info()
4067 min(sizeof(ha->my_mac), sizeof(sys_info->mac_addr))); in qla4_8xxx_get_sys_info()
4068 memcpy(ha->serial_number, &sys_info->serial_number, in qla4_8xxx_get_sys_info()
4069 min(sizeof(ha->serial_number), sizeof(sys_info->serial_number))); in qla4_8xxx_get_sys_info()
4070 memcpy(ha->model_name, &sys_info->board_id_str, in qla4_8xxx_get_sys_info()
[all …]
/drivers/clk/baikal-t1/
Dclk-ccu-div.c172 static const struct ccu_div_info sys_info[] = { variable
283 data->divs_num = ARRAY_SIZE(sys_info); in ccu_div_create_data()
284 data->divs_info = sys_info; in ccu_div_create_data()
/drivers/memstick/core/
Dmspro_block.c1107 struct mspro_sys_info *sys_info = NULL; in mspro_block_init_disk() local
1118 sys_info = s_attr->data; in mspro_block_init_disk()
1121 if (!dev_info || !sys_info) in mspro_block_init_disk()
1128 msb->page_size = be16_to_cpu(sys_info->unit_size); in mspro_block_init_disk()
1163 capacity = be16_to_cpu(sys_info->user_block_count); in mspro_block_init_disk()
1164 capacity *= be16_to_cpu(sys_info->block_size); in mspro_block_init_disk()
/drivers/input/touchscreen/
Diqs5xx.c116 u8 sys_info[2]; member
657 if (status.sys_info[0] & IQS5XX_SHOW_RESET) { in iqs5xx_irq()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1092 const char *sys_info; in megasas_ioc_init_fusion() local
1213 sys_info = dmi_get_system_info(DMI_PRODUCT_UUID); in megasas_ioc_init_fusion()
1214 if (instance->system_info_buf && sys_info) { in megasas_ioc_init_fusion()
1215 memcpy(instance->system_info_buf->systemId, sys_info, in megasas_ioc_init_fusion()
1216 strlen(sys_info) > 64 ? 64 : strlen(sys_info)); in megasas_ioc_init_fusion()
1218 strlen(sys_info) > 64 ? 64 : strlen(sys_info); in megasas_ioc_init_fusion()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c312 hdr->sys_info[idx] = value; in qlcnic_82xx_set_sys_info()
367 hdr->sys_info[idx] = value; in qlcnic_83xx_set_sys_info()
Dqlcnic.h416 u32 sys_info[3]; member
433 u32 sys_info[3]; member