Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/
H A Dkey-management.c795 unsigned int current_index, unsigned int rnext_index) in start_server() argument
849 unsigned int current_index, unsigned int rnext_index) in try_server_run() argument
855 current_index, rnext_index); in try_server_run()
861 unsigned int current_index, unsigned int rnext_index) in server_rotations() argument
868 current_index, rnext_index); in server_rotations()
870 for (i = current_index + 1; rotations > 0; i++, rotations--) { in server_rotations()
888 unsigned int nr_keys, int current_index, int rnext_index, in run_client() argument
897 if (current_index >= 0 || rnext_index >= 0) { in run_client()
900 if (current_index >= 0) in run_client()
901 sndid = collection.keys[current_index] in run_client()
933 start_client(const char * tst_name,unsigned int port,unsigned int nr_keys,int current_index,int rnext_index,struct tcp_counters * before,const size_t msg_sz,const size_t msg_nr) start_client() argument
945 end_client(const char * tst_name,int sk,unsigned int nr_keys,int current_index,int rnext_index,struct tcp_counters * start) end_client() argument
1026 client_non_matching(const char * tst_name,unsigned int port,unsigned int nr_keys,int current_index,int rnext_index,const size_t msg_sz,const size_t msg_nr) client_non_matching() argument
1048 check_current_back(const char * tst_name,unsigned int port,unsigned int nr_keys,unsigned int current_index,unsigned int rnext_index,unsigned int rotate_to_index) check_current_back() argument
1082 roll_over_keys(const char * tst_name,unsigned int port,unsigned int nr_keys,unsigned int rotations,unsigned int current_index,unsigned int rnext_index) roll_over_keys() argument
1117 try_client_run(const char * tst_name,unsigned int port,unsigned int nr_keys,int current_index,int rnext_index) try_client_run() argument
1131 try_client_match(const char * tst_name,unsigned int port,unsigned int nr_keys,int current_index,int rnext_index) try_client_match() argument
[all...]
/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c51 new->current_index = i; in amd_sfh_get_report()
72 u8 current_index, sensor_index; in amd_sfh_work() local
80 current_index = req_node->current_index; in amd_sfh_work()
90 cli_data->feature_report[current_index]); in amd_sfh_work()
92 hid_input_report(cli_data->hid_sensor_hubs[current_index], in amd_sfh_work()
93 cli_data->report_type[current_index], in amd_sfh_work()
94 cli_data->feature_report[current_index], report_size, 0); in amd_sfh_work()
99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data); in amd_sfh_work()
101 hid_input_report(cli_data->hid_sensor_hubs[current_index], in amd_sfh_work()
[all...]
H A Damd_sfh_hid.h24 u8 current_index; member
H A Damd_sfh_common.h80 u8 (*get_in_rep)(u8 current_index, int sensor_idx, int report_id,
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c206 static u8 get_input_report(u8 current_index, int sensor_idx, int report_id, in get_input_report() argument
210 u32 *sensor_virt_addr = in_data->sensor_virt_addr[current_index]; in get_input_report()
211 u8 *input_report = in_data->input_report[current_index]; in get_input_report()
/linux/drivers/md/persistent-data/
H A Ddm-bitset.c118 r = dm_array_set_value(&info->array_info, root, info->current_index, in dm_bitset_flush()
142 info->current_index = array_index; in read_bits()
155 if (info->current_index == array_index) in get_array_entry()
H A Ddm-bitset.h71 uint32_t current_index; member
/linux/drivers/gpu/drm/radeon/
H A Dbtc_dpm.c2712 u32 current_index = in btc_dpm_debugfs_print_current_performance_level() local
2716 if (current_index > 2) { in btc_dpm_debugfs_print_current_performance_level()
2717 seq_printf(m, "invalid dpm profile %d\n", current_index); in btc_dpm_debugfs_print_current_performance_level()
2719 if (current_index == 0) in btc_dpm_debugfs_print_current_performance_level()
2721 else if (current_index == 1) in btc_dpm_debugfs_print_current_performance_level()
2723 else /* current_index == 2 */ in btc_dpm_debugfs_print_current_performance_level()
2727 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in btc_dpm_debugfs_print_current_performance_level()
2737 u32 current_index = in btc_dpm_get_current_sclk() local
2741 if (current_index > 2) { in btc_dpm_get_current_sclk()
2744 if (current_index in btc_dpm_get_current_sclk()
2760 u32 current_index = btc_dpm_get_current_mclk() local
[all...]
H 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()
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()
2045 else /* current_index == 2 */ 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 in rv6xx_dpm_get_current_sclk()
2082 u32 current_index = rv6xx_dpm_get_current_mclk() local
[all...]
H 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()
2478 seq_printf(m, "invalid dpm profile %d\n", current_index); 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()
2484 else /* current_index == 2 */ in rv770_dpm_debugfs_print_current_performance_level()
2489 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in rv770_dpm_debugfs_print_current_performance_level()
2492 current_index, pl->sclk, pl->mclk, pl->vddc); in rv770_dpm_debugfs_print_current_performance_level()
2502 u32 current_index = in rv770_dpm_get_current_sclk() local
2506 if (current_index > in rv770_dpm_get_current_sclk()
2524 u32 current_index = rv770_dpm_get_current_mclk() local
[all...]
H A Dtrinity_dpm.c1358 u32 current_index = 0; in trinity_patch_thermal_state() local
1361 current_vddc = current_ps->levels[current_index].vddc_index; in trinity_patch_thermal_state()
1362 current_sclk = current_ps->levels[current_index].sclk; in trinity_patch_thermal_state()
1990 u32 current_index = in trinity_dpm_debugfs_print_current_performance_level() local
1994 if (current_index >= ps->num_levels) { in trinity_dpm_debugfs_print_current_performance_level()
1995 seq_printf(m, "invalid dpm profile %d\n", current_index); in trinity_dpm_debugfs_print_current_performance_level()
1997 pl = &ps->levels[current_index]; in trinity_dpm_debugfs_print_current_performance_level()
2000 current_index, pl->sclk, in trinity_dpm_debugfs_print_current_performance_level()
2011 u32 current_index = in trinity_dpm_get_current_sclk() local
2015 if (current_index > in trinity_dpm_get_current_sclk()
[all...]
H A Dkv_dpm.c2601 u32 current_index = in kv_dpm_debugfs_print_current_performance_level() local
2607 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_debugfs_print_current_performance_level()
2608 seq_printf(m, "invalid dpm profile %d\n", current_index); in kv_dpm_debugfs_print_current_performance_level()
2610 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_debugfs_print_current_performance_level()
2617 current_index, sclk, vddc); in kv_dpm_debugfs_print_current_performance_level()
2624 u32 current_index = in kv_dpm_get_current_sclk() local
2629 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_get_current_sclk()
2632 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_get_current_sclk()
H A 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 > in ni_dpm_get_current_mclk()
[all...]
H A Dsi_dpm.c7035 u32 current_index = in si_dpm_debugfs_print_current_performance_level() local
7039 if (current_index >= ps->performance_level_count) { in si_dpm_debugfs_print_current_performance_level()
7040 seq_printf(m, "invalid dpm profile %d\n", current_index); in si_dpm_debugfs_print_current_performance_level()
7042 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7045 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1); in si_dpm_debugfs_print_current_performance_level()
7055 u32 current_index = in si_dpm_get_current_sclk() local
7059 if (current_index >= ps->performance_level_count) { in si_dpm_get_current_sclk()
7062 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7073 u32 current_index = in si_dpm_get_current_mclk() local
7077 if (current_index > in si_dpm_get_current_mclk()
[all...]
/linux/drivers/usb/cdns3/
H A Dcdns3-trace.h511 TP_PROTO(struct cdns3_request *priv_req, int current_index,
513 TP_ARGS(priv_req, current_index, handled),
525 __entry->dma_position = current_index;
543 TP_PROTO(struct cdns3_request *priv_req, int current_index,
545 TP_ARGS(priv_req, current_index, handled)
H A Dcdns3-gadget.c1462 * CI = current_index - index of processed TRB by DMA.
1469 * 1. priv_ep->dequeue never equals to current_index.
1476 * Case 1 - priv_ep->dequeue < current_index
1480 * Case 2 - priv_ep->dequeue > current_index
1490 int current_index = 0; in cdns3_trb_handled() local
1494 current_index = cdns3_get_dma_pos(priv_dev, priv_ep); in cdns3_trb_handled()
1520 if (doorbell == 1 && current_index == priv_ep->dequeue) in cdns3_trb_handled()
1532 } else if (priv_ep->dequeue < current_index) { in cdns3_trb_handled()
1533 if ((current_index == (priv_ep->num_trbs - 1)) && in cdns3_trb_handled()
1538 } else if (priv_ep->dequeue > current_index) { in cdns3_trb_handled()
[all...]
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-trace.h521 TP_PROTO(struct cdns2_request *priv_req, int current_index,
523 TP_ARGS(priv_req, current_index, handled),
535 __entry->dma_position = current_index;
553 TP_PROTO(struct cdns2_request *priv_req, int current_index,
555 TP_ARGS(priv_req, current_index, handled)
H A Dcdns2-gadget.c856 * CI = current_index - index of processed TRB by DMA.
863 * 1. ring->dequeue never equals to current_index.
870 * Case 1 - ring->dequeue < current_index
874 * Case 2 - ring->dequeue > current_index
885 int current_index = 0; in cdns2_trb_handled() local
890 current_index = cdns2_get_dma_pos(pdev, pep); in cdns2_trb_handled()
898 if (current_index >= TRBS_PER_SEGMENT) in cdns2_trb_handled()
922 if (doorbell == 1 && current_index == ring->dequeue) in cdns2_trb_handled()
934 } else if (ring->dequeue < current_index) { in cdns2_trb_handled()
935 if ((current_index in cdns2_trb_handled()
[all...]
/linux/net/sunrpc/
H A Dcache.c393 static int current_index; variable
448 current_index >= current_detail->hash_size) { in cache_clean()
460 current_index = current_detail->hash_size; in cache_clean()
462 current_index = 0; in cache_clean()
470 while (current_index < current_detail->hash_size && in cache_clean()
471 hlist_empty(&current_detail->hash_table[current_index])) in cache_clean()
472 current_index++; in cache_clean()
475 if (current_index < current_detail->hash_size) { in cache_clean()
482 head = &current_detail->hash_table[current_index]; in cache_clean()
498 current_index in cache_clean()
[all...]
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c176 static u8 get_input_rep(u8 current_index, int sensor_idx, int report_id, in get_input_rep() argument
180 u8 *input_report = in_data->input_report[current_index]; in get_input_rep()
/linux/fs/nfs/
H A Ddir.c165 loff_t current_index; member
485 desc->current_index += array->size; in nfs_readdir_seek_next_array()
494 desc->current_index = 0; in nfs_readdir_rewind_search()
502 loff_t diff = desc->ctx->pos - desc->current_index; in nfs_readdir_search_for_pos()
550 desc->ctx->pos = desc->current_index + i; in nfs_readdir_search_for_cookie()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c2859 u32 current_index = in kv_dpm_debugfs_print_current_performance_level() local
2866 if (current_index >= SMU__NUM_SCLK_DPM_STATE) { in kv_dpm_debugfs_print_current_performance_level()
2867 seq_printf(m, "invalid dpm profile %d\n", current_index); in kv_dpm_debugfs_print_current_performance_level()
2869 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency); in kv_dpm_debugfs_print_current_performance_level()
2877 current_index, sclk, vddc); in kv_dpm_debugfs_print_current_performance_level()
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c296 * @current_index: Current index into command queue
306 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/infiniband/hw/bnxt_re/
H A Droce_hsi.h860 __le32 current_index; member
879 __le32 current_index; member
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c2915 u32 current_index = 0, previous_index; in ipw_fw_dma_wait() local
2920 current_index = ipw_fw_dma_command_block_index(priv); in ipw_fw_dma_wait()
2924 while (current_index < priv->sram_desc.last_cb_index) { in ipw_fw_dma_wait()
2926 previous_index = current_index; in ipw_fw_dma_wait()
2927 current_index = ipw_fw_dma_command_block_index(priv); in ipw_fw_dma_wait()
2929 if (previous_index < current_index) { in ipw_fw_dma_wait()