Home
last modified time | relevance | path

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

12

/linux/drivers/hid/amd-sfh-hid/
A Damd_sfh_client.c28 u8 current_index; member
62 new->current_index = i; in amd_sfh_get_report()
82 u8 current_index, sensor_index; in amd_sfh_work() local
88 current_index = req_node->current_index; in amd_sfh_work()
96 cli_data->feature_report[current_index]); in amd_sfh_work()
99 cli_data->report_type[current_index], in amd_sfh_work()
108 cli_data->report_type[current_index], in amd_sfh_work()
109 in_data->input_report[current_index], report_size, 0); in amd_sfh_work()
113 cli_data->cur_hid_dev = current_index; in amd_sfh_work()
114 cli_data->sensor_requested_cnt[current_index] = 0; in amd_sfh_work()
[all …]
A Damd_sfh_hid.h73 u8 get_input_report(u8 current_index, int sensor_idx, int report_id,
/linux/drivers/gpu/drm/radeon/
A Dsumo_dpm.c1050 u32 current_index = 0; in sumo_patch_thermal_state() local
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()
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()
1846 u32 current_index = in sumo_dpm_get_current_sclk() local
1850 if (current_index == BOOST_DPM_LEVEL) { in sumo_dpm_get_current_sclk()
1856 pl = &ps->levels[current_index]; in sumo_dpm_get_current_sclk()
1874 u32 current_index = in sumo_dpm_get_current_vddc() local
[all …]
A Dbtc_dpm.c2740 u32 current_index = in btc_dpm_debugfs_print_current_performance_level() local
2744 if (current_index > 2) { in btc_dpm_debugfs_print_current_performance_level()
2747 if (current_index == 0) in btc_dpm_debugfs_print_current_performance_level()
2749 else if (current_index == 1) in btc_dpm_debugfs_print_current_performance_level()
2765 u32 current_index = in btc_dpm_get_current_sclk() local
2769 if (current_index > 2) { in btc_dpm_get_current_sclk()
2772 if (current_index == 0) in btc_dpm_get_current_sclk()
2774 else if (current_index == 1) in btc_dpm_get_current_sclk()
2788 u32 current_index = in btc_dpm_get_current_mclk() local
2792 if (current_index > 2) { in btc_dpm_get_current_mclk()
[all …]
A 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()
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()
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()
2082 u32 current_index = in rv6xx_dpm_get_current_mclk() local
2086 if (current_index > 2) { in rv6xx_dpm_get_current_mclk()
[all …]
A Drv770_dpm.c2473 u32 current_index = in rv770_dpm_debugfs_print_current_performance_level() local
2477 if (current_index > 2) { in rv770_dpm_debugfs_print_current_performance_level()
2480 if (current_index == 0) in rv770_dpm_debugfs_print_current_performance_level()
2482 else if (current_index == 1) in rv770_dpm_debugfs_print_current_performance_level()
2502 u32 current_index = in rv770_dpm_get_current_sclk() local
2506 if (current_index > 2) { in rv770_dpm_get_current_sclk()
2509 if (current_index == 0) in rv770_dpm_get_current_sclk()
2511 else if (current_index == 1) in rv770_dpm_get_current_sclk()
2524 u32 current_index = in rv770_dpm_get_current_mclk() local
2528 if (current_index > 2) { in rv770_dpm_get_current_mclk()
[all …]
A Dtrinity_dpm.c1362 u32 current_index = 0; in trinity_patch_thermal_state() local
1365 current_vddc = current_ps->levels[current_index].vddc_index; in trinity_patch_thermal_state()
1366 current_sclk = current_ps->levels[current_index].sclk; in trinity_patch_thermal_state()
1992 u32 current_index = in trinity_dpm_debugfs_print_current_performance_level() local
1996 if (current_index >= ps->num_levels) { in trinity_dpm_debugfs_print_current_performance_level()
1997 seq_printf(m, "invalid dpm profile %d\n", current_index); in trinity_dpm_debugfs_print_current_performance_level()
1999 pl = &ps->levels[current_index]; in trinity_dpm_debugfs_print_current_performance_level()
2002 current_index, pl->sclk, in trinity_dpm_debugfs_print_current_performance_level()
2013 u32 current_index = in trinity_dpm_get_current_sclk() local
2017 if (current_index >= ps->num_levels) { in trinity_dpm_get_current_sclk()
[all …]
A Dkv_dpm.c2602 u32 current_index = in kv_dpm_debugfs_print_current_performance_level() local
2608 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_debugfs_print_current_performance_level()
2609 seq_printf(m, "invalid dpm profile %d\n", current_index); in kv_dpm_debugfs_print_current_performance_level()
2611 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_debugfs_print_current_performance_level()
2618 current_index, sclk, vddc); in kv_dpm_debugfs_print_current_performance_level()
2625 u32 current_index = in kv_dpm_get_current_sclk() local
2630 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_get_current_sclk()
2633 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_get_current_sclk()
A Dni_dpm.c4312 u32 current_index = in ni_dpm_debugfs_print_current_performance_level() local
4316 if (current_index >= ps->performance_level_count) { in ni_dpm_debugfs_print_current_performance_level()
4317 seq_printf(m, "invalid dpm profile %d\n", current_index); in ni_dpm_debugfs_print_current_performance_level()
4319 pl = &ps->performance_levels[current_index]; in ni_dpm_debugfs_print_current_performance_level()
4322 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in ni_dpm_debugfs_print_current_performance_level()
4332 u32 current_index = in ni_dpm_get_current_sclk() local
4336 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_sclk()
4339 pl = &ps->performance_levels[current_index]; in ni_dpm_get_current_sclk()
4350 u32 current_index = in ni_dpm_get_current_mclk() local
4354 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_mclk()
[all …]
A Dsi_dpm.c7079 u32 current_index = in si_dpm_debugfs_print_current_performance_level() local
7083 if (current_index >= ps->performance_level_count) { in si_dpm_debugfs_print_current_performance_level()
7084 seq_printf(m, "invalid dpm profile %d\n", current_index); in si_dpm_debugfs_print_current_performance_level()
7086 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7089 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1); in si_dpm_debugfs_print_current_performance_level()
7099 u32 current_index = in si_dpm_get_current_sclk() local
7103 if (current_index >= ps->performance_level_count) { in si_dpm_get_current_sclk()
7106 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7117 u32 current_index = in si_dpm_get_current_mclk() local
7121 if (current_index >= ps->performance_level_count) { in si_dpm_get_current_mclk()
[all …]
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
A Damd_sfh_hid_desc.c202 u8 get_input_report(u8 current_index, int sensor_idx, int report_id, struct amd_input_data *in_data) in get_input_report() argument
205 u32 *sensor_virt_addr = in_data->sensor_virt_addr[current_index]; in get_input_report()
206 u8 *input_report = in_data->input_report[current_index]; in get_input_report()
/linux/drivers/md/persistent-data/
A 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()
A Ddm-bitset.h70 uint32_t current_index; member
/linux/drivers/usb/cdns3/
A Dcdns3-trace.h521 TP_PROTO(struct cdns3_request *priv_req, int current_index,
523 TP_ARGS(priv_req, current_index, handled),
535 __entry->dma_position = current_index;
553 TP_PROTO(struct cdns3_request *priv_req, int current_index,
555 TP_ARGS(priv_req, current_index, handled)
A Dcdns3-gadget.c1434 int current_index = 0; in cdns3_trb_handled() local
1438 current_index = cdns3_get_dma_pos(priv_dev, priv_ep); in cdns3_trb_handled()
1464 if (doorbell == 1 && current_index == priv_ep->dequeue) in cdns3_trb_handled()
1476 } else if (priv_ep->dequeue < current_index) { in cdns3_trb_handled()
1477 if ((current_index == (priv_ep->num_trbs - 1)) && in cdns3_trb_handled()
1482 } else if (priv_ep->dequeue > current_index) { in cdns3_trb_handled()
1487 trace_cdns3_request_handled(priv_req, current_index, handled); in cdns3_trb_handled()
/linux/scripts/kconfig/
A Dnconf.c1069 int current_index = 0; in conf() local
1085 current_index, &last_top_row); in conf()
1097 if (do_match(res, &match_state, &current_index) == 0) { in conf()
1098 if (current_index != -1) in conf()
1099 center_item(current_index, in conf()
1145 current_index = curses_item_index(); in conf()
/linux/net/sunrpc/
A Dcache.c378 static int current_index; variable
433 current_index >= current_detail->hash_size) { in cache_clean()
445 current_index = current_detail->hash_size; in cache_clean()
447 current_index = 0; in cache_clean()
454 current_index < current_detail->hash_size && in cache_clean()
455 hlist_empty(&current_detail->hash_table[current_index])) in cache_clean()
456 current_index++; in cache_clean()
460 if (current_detail && current_index < current_detail->hash_size) { in cache_clean()
470 head = &current_detail->hash_table[current_index]; in cache_clean()
486 current_index ++; in cache_clean()
/linux/fs/nfs/
A Ddir.c159 loff_t current_index; member
393 loff_t diff = desc->ctx->pos - desc->current_index; in nfs_readdir_search_for_pos()
450 new_pos = desc->current_index + i; in nfs_readdir_search_for_cookie()
503 desc->current_index += array->size; in nfs_readdir_search_array()
964 desc->current_index = 0; in readdir_search_pagecache()
/linux/drivers/gpu/drm/amd/pm/powerplay/
A Dkv_dpm.c2867 u32 current_index = in kv_dpm_debugfs_print_current_performance_level() local
2874 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_debugfs_print_current_performance_level()
2875 seq_printf(m, "invalid dpm profile %d\n", current_index); in kv_dpm_debugfs_print_current_performance_level()
2877 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_debugfs_print_current_performance_level()
2885 current_index, sclk, vddc); in kv_dpm_debugfs_print_current_performance_level()
A Dsi_dpm.c7487 u32 current_index = in si_dpm_debugfs_print_current_performance_level() local
7491 if (current_index >= ps->performance_level_count) { in si_dpm_debugfs_print_current_performance_level()
7492 seq_printf(m, "invalid dpm profile %d\n", current_index); in si_dpm_debugfs_print_current_performance_level()
7494 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7497 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1); in si_dpm_debugfs_print_current_performance_level()
/linux/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.c306 uint *current_index, in ibmvscsis_cmd_q_dequeue() argument
311 ptr = base_addr + *current_index; in ibmvscsis_cmd_q_dequeue()
314 *current_index = (*current_index + 1) & mask; in ibmvscsis_cmd_q_dequeue()
/linux/drivers/net/wireless/cisco/
A Dairo.c6363 int current_index; in airo_set_encode() local
6370 current_index = get_wep_tx_idx(local); in airo_set_encode()
6371 if (current_index < 0) in airo_set_encode()
6372 current_index = 0; in airo_set_encode()
6376 index = current_index; in airo_set_encode()
6401 if ((index == current_index) && (key.len > 0) && in airo_set_encode()
/linux/drivers/net/wireless/atmel/
A Datmel.c1720 int current_index = priv->default_key; in atmel_set_encode() local
1727 index = current_index; in atmel_set_encode()
1749 if (index == current_index && in atmel_set_encode()
/linux/drivers/net/wireless/intel/ipw2x00/
A 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()
/linux/
A DSystem.map163809 ffff80001215f4c0 b current_index

Completed in 309 milliseconds

12