Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dtrinity_dpm.c638 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid); in trinity_set_vid()
1011 value |= LT((pi->thermal_auto_throttling + 49 - pi->sys_info.htc_hyst_lmt) * 8); in trinity_program_ttt()
1189 if (pi->sys_info.nb_dpm_enable) { in trinity_setup_nbp_sim()
1311 u32 vid_7bit = sumo_convert_vid2_to_vid7(rdev, &pi->sys_info.vid_mapping_table, vid_2bit); in trinity_convert_voltage_index_to_value()
1344 pi->boot_pl.sclk = pi->sys_info.bootup_sclk; in trinity_construct_boot_state()
1345 pi->boot_pl.vddc_index = pi->sys_info.bootup_nb_voltage_index; in trinity_construct_boot_state()
1386 for (i = 0; i < pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries; i++) { in trinity_get_valid_engine_clock()
1387 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in trinity_get_valid_engine_clock()
1388 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in trinity_get_valid_engine_clock()
1391 if (i == pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries) in trinity_get_valid_engine_clock()
[all …]
Dsumo_smc.c82 pi->sys_info.csr_m3_arb_cntl_default[i]); in sumo_initialize_m3_arb()
86 pi->sys_info.csr_m3_arb_cntl_uvd[i % NUMBER_OF_M3ARB_PARAM_SETS]); in sumo_initialize_m3_arb()
90 pi->sys_info.csr_m3_arb_cntl_fs3d[i % NUMBER_OF_M3ARB_PARAM_SETS]); in sumo_initialize_m3_arb()
158 WREG32_RCU(RCU_BOOST_MARGIN, pi->sys_info.sclk_dpm_boost_margin); in sumo_enable_boost_timer()
159 WREG32_RCU(RCU_THROTTLE_MARGIN, pi->sys_info.sclk_dpm_throttle_margin); in sumo_enable_boost_timer()
160 WREG32_RCU(GNB_TDP_LIMIT, pi->sys_info.gnb_tdp_limit); in sumo_enable_boost_timer()
161 WREG32_RCU(RCU_SclkDpmTdpLimitPG, pi->sys_info.sclk_dpm_tdp_limit_pg); in sumo_enable_boost_timer()
Dsumo_dpm.c672 pi->boost_pl.sclk = pi->sys_info.boost_sclk; in sumo_patch_boost_state()
673 pi->boost_pl.vddc_index = pi->sys_info.boost_vid_2bit; in sumo_patch_boost_state()
674 pi->boost_pl.sclk_dpm_tdp_limit = pi->sys_info.sclk_dpm_tdp_limit_boost; in sumo_patch_boost_state()
1035 for (i = 0; i < pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries; i++) { in sumo_get_valid_engine_clock()
1036 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in sumo_get_valid_engine_clock()
1037 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in sumo_get_valid_engine_clock()
1040 …return pi->sys_info.sclk_voltage_mapping_table.entries[pi->sys_info.sclk_voltage_mapping_table.num… in sumo_get_valid_engine_clock()
1048 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in sumo_patch_thermal_state()
1095 u32 min_sclk = pi->sys_info.min_sclk; /* XXX check against disp reqs */ in sumo_apply_state_adjust_rules()
1096 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in sumo_apply_state_adjust_rules()
[all …]
Dkv_dpm.c608 &pi->sys_info.vid_mapping_table, in kv_convert_2bit_index_to_voltage()
731 &pi->sys_info.sclk_voltage_mapping_table; in kv_program_bootup_state()
1103 &pi->sys_info.sclk_voltage_mapping_table; in kv_calculate_dfs_bypass_settings()
1738 &pi->sys_info.sclk_voltage_mapping_table; in kv_set_valid_clock_range()
1971 if (pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries > 0) { in kv_construct_max_power_limits_table()
1972 int idx = pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1; in kv_construct_max_power_limits_table()
1974 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
1977 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
1980 table->mclk = pi->sys_info.nbp_memory_clock[0]; in kv_construct_max_power_limits_table()
2029 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.h115 struct sumo_sys_info sys_info; member
/drivers/s390/char/
Dzcore.c47 struct sys_info { struct
61 static struct sys_info sys_info; variable
160 if (memcpy_hsa_kernel(&sa_ext->sa, sys_info.sa_base, in init_cpu_info()
161 sys_info.sa_size) < 0) { in init_cpu_info()
229 char *lc_mask = (char*)&sys_info.lc_mask; in copy_lc()
264 sa_start = prefix + sys_info.sa_base; in zcore_add_lc()
265 sa_end = prefix + sys_info.sa_base + sys_info.sa_size; in zcore_add_lc()
309 if (*ppos > (sys_info.mem_size + HEADER_SIZE)) { in zcore_read()
314 count = min(count, (size_t) (sys_info.mem_size + HEADER_SIZE - *ppos)); in zcore_read()
547 sys_info.sa_base = SAVE_AREA_BASE; in sys_info_init()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Dcz_dpm.c83 table->mclk = pi->sys_info.nbp_memory_clock[0]; in cz_construct_max_power_limits_table()
113 pi->sys_info.bootup_sclk = in cz_parse_sys_info_table()
115 pi->sys_info.bootup_uma_clk = in cz_parse_sys_info_table()
117 pi->sys_info.dentist_vco_freq = in cz_parse_sys_info_table()
119 pi->sys_info.bootup_nb_voltage_index = in cz_parse_sys_info_table()
123 pi->sys_info.htc_tmp_lmt = 203; in cz_parse_sys_info_table()
125 pi->sys_info.htc_tmp_lmt = igp_info->info_9.ucHtcTmpLmt; in cz_parse_sys_info_table()
128 pi->sys_info.htc_hyst_lmt = 5; in cz_parse_sys_info_table()
130 pi->sys_info.htc_hyst_lmt = igp_info->info_9.ucHtcHystLmt; in cz_parse_sys_info_table()
132 if (pi->sys_info.htc_tmp_lmt <= pi->sys_info.htc_hyst_lmt) { in cz_parse_sys_info_table()
[all …]
Dkv_dpm.c695 &pi->sys_info.vid_mapping_table, in kv_convert_2bit_index_to_voltage()
820 &pi->sys_info.sclk_voltage_mapping_table; in kv_program_bootup_state()
1192 &pi->sys_info.sclk_voltage_mapping_table; in kv_calculate_dfs_bypass_settings()
1834 &pi->sys_info.sclk_voltage_mapping_table; in kv_set_valid_clock_range()
2065 if (pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries > 0) { in kv_construct_max_power_limits_table()
2066 int idx = pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1; in kv_construct_max_power_limits_table()
2068 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
2071 pi->sys_info.sclk_voltage_mapping_table.entries[idx].vid_2bit); in kv_construct_max_power_limits_table()
2074 table->mclk = pi->sys_info.nbp_memory_clock[0]; in kv_construct_max_power_limits_table()
2123 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
Dcz_dpm.h132 struct cz_sys_info sys_info; member
/drivers/usb/host/
Duhci-pci.c94 const char *sys_info; in uhci_pci_global_suspend_mode_is_broken() local
101 sys_info = dmi_get_system_info(DMI_BOARD_NAME); in uhci_pci_global_suspend_mode_is_broken()
102 if (sys_info && !strcmp(sys_info, bad_Asus_board)) { in uhci_pci_global_suspend_mode_is_broken()
/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()
164 memset(sys_info, 0, sizeof(*sys_info)); in qla4xxx_get_sys_info()
168 sizeof(*sys_info)) != QLA_SUCCESS) { in qla4xxx_get_sys_info()
176 memcpy(ha->my_mac, &sys_info->physAddr[0].address[0], in qla4xxx_get_sys_info()
178 sizeof(sys_info->physAddr[0].address))); in qla4xxx_get_sys_info()
179 memcpy(ha->serial_number, &sys_info->acSerialNumber, in qla4xxx_get_sys_info()
181 sizeof(sys_info->acSerialNumber))); in qla4xxx_get_sys_info()
186 dma_free_coherent(&ha->pdev->dev, sizeof(*sys_info), sys_info, in qla4xxx_get_sys_info()
Dql4_nx.c4049 struct mbx_sys_info *sys_info; in qla4_8xxx_get_sys_info() local
4053 sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), in qla4_8xxx_get_sys_info()
4055 if (sys_info == NULL) { in qla4_8xxx_get_sys_info()
4061 memset(sys_info, 0, sizeof(*sys_info)); in qla4_8xxx_get_sys_info()
4068 mbox_cmd[4] = sizeof(*sys_info); in qla4_8xxx_get_sys_info()
4086 ha->port_num = sys_info->port_num; in qla4_8xxx_get_sys_info()
4087 memcpy(ha->my_mac, &sys_info->mac_addr[0], in qla4_8xxx_get_sys_info()
4088 min(sizeof(ha->my_mac), sizeof(sys_info->mac_addr))); in qla4_8xxx_get_sys_info()
4089 memcpy(ha->serial_number, &sys_info->serial_number, in qla4_8xxx_get_sys_info()
4090 min(sizeof(ha->serial_number), sizeof(sys_info->serial_number))); in qla4_8xxx_get_sys_info()
[all …]
/drivers/memstick/core/
Dmspro_block.c1187 struct mspro_sys_info *sys_info = NULL; in mspro_block_init_disk() local
1202 sys_info = s_attr->data; in mspro_block_init_disk()
1205 if (!dev_info || !sys_info) in mspro_block_init_disk()
1212 msb->page_size = be16_to_cpu(sys_info->unit_size); in mspro_block_init_disk()
1253 capacity = be16_to_cpu(sys_info->user_block_count); in mspro_block_init_disk()
1254 capacity *= be16_to_cpu(sys_info->block_size); in mspro_block_init_disk()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c605 const char *sys_info; in megasas_ioc_init_fusion() local
672 sys_info = dmi_get_system_info(DMI_PRODUCT_UUID); in megasas_ioc_init_fusion()
673 if (instance->system_info_buf && sys_info) { in megasas_ioc_init_fusion()
674 memcpy(instance->system_info_buf->systemId, sys_info, in megasas_ioc_init_fusion()
675 strlen(sys_info) > 64 ? 64 : strlen(sys_info)); in megasas_ioc_init_fusion()
677 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