Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dtrinity_dpm.c640 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid()
1013 value |= LT((pi->thermal_auto_throttling + 49 - pi->sys_info.htc_hyst_lmt) * 8); in trinity_program_ttt()
1191 if (pi->sys_info.nb_dpm_enable) { in trinity_setup_nbp_sim()
1313 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in trinity_convert_voltage_index_to_value()
1346 pi->boot_pl.sclk = pi->sys_info.bootup_sclk; in trinity_construct_boot_state()
1347 pi->boot_pl.vddc_index = pi->sys_info.bootup_nb_voltage_index; in trinity_construct_boot_state()
1388 for (i = 0; i < pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries; i++) { in trinity_get_valid_engine_clock()
1389 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in trinity_get_valid_engine_clock()
1390 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in trinity_get_valid_engine_clock()
1393 if (i == pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries) in trinity_get_valid_engine_clock()
[all …]
Dsumo_smc.c81 pi->sys_info.csr_m3_arb_cntl_default[i]); in sumo_initialize_m3_arb()
85 pi->sys_info.csr_m3_arb_cntl_uvd[i % NUMBER_OF_M3ARB_PARAM_SETS]); in sumo_initialize_m3_arb()
89 pi->sys_info.csr_m3_arb_cntl_fs3d[i % NUMBER_OF_M3ARB_PARAM_SETS]); in sumo_initialize_m3_arb()
157 WREG32_RCU(RCU_BOOST_MARGIN, pi->sys_info.sclk_dpm_boost_margin); in sumo_enable_boost_timer()
158 WREG32_RCU(RCU_THROTTLE_MARGIN, pi->sys_info.sclk_dpm_throttle_margin); in sumo_enable_boost_timer()
159 WREG32_RCU(GNB_TDP_LIMIT, pi->sys_info.gnb_tdp_limit); in sumo_enable_boost_timer()
160 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.c610 &pi->sys_info.vid_mapping_table, in kv_convert_2bit_index_to_voltage()
733 &pi->sys_info.sclk_voltage_mapping_table; in kv_program_bootup_state()
1105 &pi->sys_info.sclk_voltage_mapping_table; in kv_calculate_dfs_bypass_settings()
1740 &pi->sys_info.sclk_voltage_mapping_table; in kv_set_valid_clock_range()
1973 if (pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries > 0) { in kv_construct_max_power_limits_table()
1974 int idx = pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1; in kv_construct_max_power_limits_table()
1976 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
1979 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
1982 table->mclk = pi->sys_info.nbp_memory_clock[0]; in kv_construct_max_power_limits_table()
2031 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/powerplay/hwmgr/
Dsmu8_hwmgr.c258 struct smu8_sys_info *sys_info = &data->sys_info; in smu8_construct_max_power_limits_table() local
267 table->mclk = sys_info->nbp_memory_clock[0]; in smu8_construct_max_power_limits_table()
330 data->sys_info.bootup_uma_clock = in smu8_get_system_info_data()
333 data->sys_info.bootup_engine_clock = in smu8_get_system_info_data()
336 data->sys_info.dentist_vco_freq = in smu8_get_system_info_data()
339 data->sys_info.system_config = in smu8_get_system_info_data()
342 data->sys_info.bootup_nb_voltage_index = in smu8_get_system_info_data()
345 data->sys_info.htc_hyst_lmt = in smu8_get_system_info_data()
348 data->sys_info.htc_tmp_lmt = in smu8_get_system_info_data()
351 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.c174 smu10_data->sys_info.htc_hyst_lmt = 5; in smu10_get_system_info_data()
175 smu10_data->sys_info.htc_tmp_lmt = 203; in smu10_get_system_info_data()
/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/gpu/drm/amd/amdgpu/
Dkv_dpm.c690 &pi->sys_info.vid_mapping_table, in kv_convert_2bit_index_to_voltage()
815 &pi->sys_info.sclk_voltage_mapping_table; in kv_program_bootup_state()
1187 &pi->sys_info.sclk_voltage_mapping_table; in kv_calculate_dfs_bypass_settings()
1804 &pi->sys_info.sclk_voltage_mapping_table; in kv_set_valid_clock_range()
2039 if (pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries > 0) { in kv_construct_max_power_limits_table()
2040 int idx = pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1; in kv_construct_max_power_limits_table()
2042 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
2045 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
2048 table->mclk = pi->sys_info.nbp_memory_clock[0]; in kv_construct_max_power_limits_table()
2097 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/scsi/qla4xxx/
Dql4_init.c152 struct flash_sys_info *sys_info; in qla4xxx_get_sys_info() local
156 sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), in qla4xxx_get_sys_info()
158 if (sys_info == NULL) { in qla4xxx_get_sys_info()
167 sizeof(*sys_info)) != QLA_SUCCESS) { in qla4xxx_get_sys_info()
175 memcpy(ha->my_mac, &sys_info->physAddr[0].address[0], in qla4xxx_get_sys_info()
177 sizeof(sys_info->physAddr[0].address))); in qla4xxx_get_sys_info()
178 memcpy(ha->serial_number, &sys_info->acSerialNumber, in qla4xxx_get_sys_info()
180 sizeof(sys_info->acSerialNumber))); in qla4xxx_get_sys_info()
185 dma_free_coherent(&ha->pdev->dev, sizeof(*sys_info), sys_info, in qla4xxx_get_sys_info()
Dql4_nx.c4051 struct mbx_sys_info *sys_info; in qla4_8xxx_get_sys_info() local
4055 sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), in qla4_8xxx_get_sys_info()
4057 if (sys_info == NULL) { in qla4_8xxx_get_sys_info()
4069 mbox_cmd[4] = sizeof(*sys_info); in qla4_8xxx_get_sys_info()
4087 ha->port_num = sys_info->port_num; in qla4_8xxx_get_sys_info()
4088 memcpy(ha->my_mac, &sys_info->mac_addr[0], in qla4_8xxx_get_sys_info()
4089 min(sizeof(ha->my_mac), sizeof(sys_info->mac_addr))); in qla4_8xxx_get_sys_info()
4090 memcpy(ha->serial_number, &sys_info->serial_number, in qla4_8xxx_get_sys_info()
4091 min(sizeof(ha->serial_number), sizeof(sys_info->serial_number))); in qla4_8xxx_get_sys_info()
4092 memcpy(ha->model_name, &sys_info->board_id_str, in qla4_8xxx_get_sys_info()
[all …]
/drivers/memstick/core/
Dmspro_block.c1179 struct mspro_sys_info *sys_info = NULL; in mspro_block_init_disk() local
1190 sys_info = s_attr->data; in mspro_block_init_disk()
1193 if (!dev_info || !sys_info) in mspro_block_init_disk()
1200 msb->page_size = be16_to_cpu(sys_info->unit_size); in mspro_block_init_disk()
1240 capacity = be16_to_cpu(sys_info->user_block_count); in mspro_block_init_disk()
1241 capacity *= be16_to_cpu(sys_info->block_size); in mspro_block_init_disk()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1042 const char *sys_info; in megasas_ioc_init_fusion() local
1159 sys_info = dmi_get_system_info(DMI_PRODUCT_UUID); in megasas_ioc_init_fusion()
1160 if (instance->system_info_buf && sys_info) { in megasas_ioc_init_fusion()
1161 memcpy(instance->system_info_buf->systemId, sys_info, in megasas_ioc_init_fusion()
1162 strlen(sys_info) > 64 ? 64 : strlen(sys_info)); in megasas_ioc_init_fusion()
1164 strlen(sys_info) > 64 ? 64 : strlen(sys_info); in megasas_ioc_init_fusion()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c313 hdr->sys_info[idx] = value; in qlcnic_82xx_set_sys_info()
368 hdr->sys_info[idx] = value; in qlcnic_83xx_set_sys_info()
Dqlcnic.h417 u32 sys_info[3]; member
434 u32 sys_info[3]; member