Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dbtc_dpm.c2743 u32 current_index = in btc_dpm_debugfs_print_current_performance_level() local
2747 if (current_index > 2) { in btc_dpm_debugfs_print_current_performance_level()
2748 seq_printf(m, "invalid dpm profile %d\n", current_index); in btc_dpm_debugfs_print_current_performance_level()
2750 if (current_index == 0) in btc_dpm_debugfs_print_current_performance_level()
2752 else if (current_index == 1) in btc_dpm_debugfs_print_current_performance_level()
2758 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in btc_dpm_debugfs_print_current_performance_level()
2768 u32 current_index = in btc_dpm_get_current_sclk() local
2772 if (current_index > 2) { in btc_dpm_get_current_sclk()
2775 if (current_index == 0) in btc_dpm_get_current_sclk()
2777 else if (current_index == 1) in btc_dpm_get_current_sclk()
[all …]
Dsumo_dpm.c1050 u32 current_index = 0; in sumo_patch_thermal_state() local
1053 current_vddc = current_ps->levels[current_index].vddc_index; in sumo_patch_thermal_state()
1054 current_sclk = current_ps->levels[current_index].sclk; in sumo_patch_thermal_state()
1819 u32 current_index = in sumo_dpm_debugfs_print_current_performance_level() local
1823 if (current_index == BOOST_DPM_LEVEL) { in sumo_dpm_debugfs_print_current_performance_level()
1827 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
1829 } else if (current_index >= ps->num_levels) { in sumo_dpm_debugfs_print_current_performance_level()
1830 seq_printf(m, "invalid dpm profile %d\n", current_index); in sumo_dpm_debugfs_print_current_performance_level()
1832 pl = &ps->levels[current_index]; in sumo_dpm_debugfs_print_current_performance_level()
1835 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
[all …]
Drv6xx_dpm.c2034 u32 current_index = in rv6xx_dpm_debugfs_print_current_performance_level() local
2038 if (current_index > 2) { in rv6xx_dpm_debugfs_print_current_performance_level()
2039 seq_printf(m, "invalid dpm profile %d\n", current_index); in rv6xx_dpm_debugfs_print_current_performance_level()
2041 if (current_index == 0) in rv6xx_dpm_debugfs_print_current_performance_level()
2043 else if (current_index == 1) in rv6xx_dpm_debugfs_print_current_performance_level()
2049 current_index, pl->sclk, pl->mclk, pl->vddc); in rv6xx_dpm_debugfs_print_current_performance_level()
2059 u32 current_index = in rv6xx_dpm_get_current_sclk() local
2063 if (current_index > 2) { in rv6xx_dpm_get_current_sclk()
2066 if (current_index == 0) in rv6xx_dpm_get_current_sclk()
2068 else if (current_index == 1) in rv6xx_dpm_get_current_sclk()
[all …]
Drv770_dpm.c2471 u32 current_index = in rv770_dpm_debugfs_print_current_performance_level() local
2475 if (current_index > 2) { in rv770_dpm_debugfs_print_current_performance_level()
2476 seq_printf(m, "invalid dpm profile %d\n", current_index); in rv770_dpm_debugfs_print_current_performance_level()
2478 if (current_index == 0) in rv770_dpm_debugfs_print_current_performance_level()
2480 else if (current_index == 1) in rv770_dpm_debugfs_print_current_performance_level()
2487 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in rv770_dpm_debugfs_print_current_performance_level()
2490 current_index, pl->sclk, pl->mclk, pl->vddc); in rv770_dpm_debugfs_print_current_performance_level()
2500 u32 current_index = in rv770_dpm_get_current_sclk() local
2504 if (current_index > 2) { in rv770_dpm_get_current_sclk()
2507 if (current_index == 0) in rv770_dpm_get_current_sclk()
[all …]
Dtrinity_dpm.c1407 u32 current_index = 0; in trinity_patch_thermal_state() local
1410 current_vddc = current_ps->levels[current_index].vddc_index; in trinity_patch_thermal_state()
1411 current_sclk = current_ps->levels[current_index].sclk; in trinity_patch_thermal_state()
2037 u32 current_index = in trinity_dpm_debugfs_print_current_performance_level() local
2041 if (current_index >= ps->num_levels) { in trinity_dpm_debugfs_print_current_performance_level()
2042 seq_printf(m, "invalid dpm profile %d\n", current_index); in trinity_dpm_debugfs_print_current_performance_level()
2044 pl = &ps->levels[current_index]; in trinity_dpm_debugfs_print_current_performance_level()
2047 current_index, pl->sclk, in trinity_dpm_debugfs_print_current_performance_level()
2058 u32 current_index = in trinity_dpm_get_current_sclk() local
2062 if (current_index >= ps->num_levels) { in trinity_dpm_get_current_sclk()
[all …]
Dkv_dpm.c2806 u32 current_index = in kv_dpm_debugfs_print_current_performance_level() local
2812 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_debugfs_print_current_performance_level()
2813 seq_printf(m, "invalid dpm profile %d\n", current_index); in kv_dpm_debugfs_print_current_performance_level()
2815 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_debugfs_print_current_performance_level()
2822 current_index, sclk, vddc); in kv_dpm_debugfs_print_current_performance_level()
2829 u32 current_index = in kv_dpm_get_current_sclk() local
2834 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_get_current_sclk()
2837 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_get_current_sclk()
Dni_dpm.c4311 u32 current_index = in ni_dpm_debugfs_print_current_performance_level() local
4315 if (current_index >= ps->performance_level_count) { in ni_dpm_debugfs_print_current_performance_level()
4316 seq_printf(m, "invalid dpm profile %d\n", current_index); in ni_dpm_debugfs_print_current_performance_level()
4318 pl = &ps->performance_levels[current_index]; in ni_dpm_debugfs_print_current_performance_level()
4321 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in ni_dpm_debugfs_print_current_performance_level()
4331 u32 current_index = in ni_dpm_get_current_sclk() local
4335 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_sclk()
4338 pl = &ps->performance_levels[current_index]; in ni_dpm_get_current_sclk()
4349 u32 current_index = in ni_dpm_get_current_mclk() local
4353 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_mclk()
[all …]
Dsi_dpm.c7099 u32 current_index = in si_dpm_debugfs_print_current_performance_level() local
7103 if (current_index >= ps->performance_level_count) { in si_dpm_debugfs_print_current_performance_level()
7104 seq_printf(m, "invalid dpm profile %d\n", current_index); in si_dpm_debugfs_print_current_performance_level()
7106 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7109 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1); in si_dpm_debugfs_print_current_performance_level()
7119 u32 current_index = in si_dpm_get_current_sclk() local
7123 if (current_index >= ps->performance_level_count) { in si_dpm_get_current_sclk()
7126 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7137 u32 current_index = in si_dpm_get_current_mclk() local
7141 if (current_index >= ps->performance_level_count) { in si_dpm_get_current_mclk()
[all …]
/drivers/md/persistent-data/
Ddm-bitset.c116 r = dm_array_set_value(&info->array_info, root, info->current_index, in dm_bitset_flush()
140 info->current_index = array_index; in read_bits()
153 if (info->current_index == array_index) in get_array_entry()
Ddm-bitset.h70 uint32_t current_index; member
/drivers/usb/cdns3/
Dtrace.h447 TP_PROTO(struct cdns3_request *priv_req, int current_index,
449 TP_ARGS(priv_req, current_index, handled),
461 __entry->dma_position = current_index;
479 TP_PROTO(struct cdns3_request *priv_req, int current_index,
481 TP_ARGS(priv_req, current_index, handled)
Dgadget.c1093 int current_index = 0; in cdns3_request_handled() local
1097 current_index = cdns3_get_dma_pos(priv_dev, priv_ep); in cdns3_request_handled()
1105 if (doorbell == 1 && current_index == priv_ep->dequeue) in cdns3_request_handled()
1117 } else if (priv_ep->dequeue < current_index) { in cdns3_request_handled()
1118 if ((current_index == (priv_ep->num_trbs - 1)) && in cdns3_request_handled()
1123 priv_req->end_trb < current_index) in cdns3_request_handled()
1125 } else if (priv_ep->dequeue > current_index) { in cdns3_request_handled()
1126 if (priv_req->end_trb < current_index || in cdns3_request_handled()
1132 trace_cdns3_request_handled(priv_req, current_index, handled); in cdns3_request_handled()
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c2869 u32 current_index = in kv_dpm_debugfs_print_current_performance_level() local
2876 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_debugfs_print_current_performance_level()
2877 seq_printf(m, "invalid dpm profile %d\n", current_index); in kv_dpm_debugfs_print_current_performance_level()
2879 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_debugfs_print_current_performance_level()
2887 current_index, sclk, vddc); in kv_dpm_debugfs_print_current_performance_level()
Dsi_dpm.c7490 u32 current_index = in si_dpm_debugfs_print_current_performance_level() local
7494 if (current_index >= ps->performance_level_count) { in si_dpm_debugfs_print_current_performance_level()
7495 seq_printf(m, "invalid dpm profile %d\n", current_index); in si_dpm_debugfs_print_current_performance_level()
7497 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7500 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1); in si_dpm_debugfs_print_current_performance_level()
/drivers/net/wireless/intersil/prism54/
Disl_ioctl.c1071 int current_index; in prism54_set_encode() local
1076 current_index = r.u; in prism54_set_encode()
1099 index = current_index; in prism54_set_encode()
1111 if ((index == current_index) && (key.length > 0)) in prism54_set_encode()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c305 uint *current_index, in ibmvscsis_cmd_q_dequeue() argument
310 ptr = base_addr + *current_index; in ibmvscsis_cmd_q_dequeue()
313 *current_index = (*current_index + 1) & mask; in ibmvscsis_cmd_q_dequeue()
/drivers/net/wireless/cisco/
Dairo.c6319 int current_index; in airo_set_encode() local
6326 current_index = get_wep_tx_idx(local); in airo_set_encode()
6327 if (current_index < 0) in airo_set_encode()
6328 current_index = 0; in airo_set_encode()
6332 index = current_index; in airo_set_encode()
6357 if((index == current_index) && (key.len > 0) && in airo_set_encode()
/drivers/net/wireless/atmel/
Datmel.c1722 int current_index = priv->default_key; in atmel_set_encode() local
1729 index = current_index; in atmel_set_encode()
1751 if (index == current_index && in atmel_set_encode()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c2947 u32 current_index = 0, previous_index; in ipw_fw_dma_wait() local
2952 current_index = ipw_fw_dma_command_block_index(priv); in ipw_fw_dma_wait()
2956 while (current_index < priv->sram_desc.last_cb_index) { in ipw_fw_dma_wait()
2958 previous_index = current_index; in ipw_fw_dma_wait()
2959 current_index = ipw_fw_dma_command_block_index(priv); in ipw_fw_dma_wait()
2961 if (previous_index < current_index) { in ipw_fw_dma_wait()