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

12

/linux-master/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c51 new->current_index = i;
72 u8 current_index, sensor_index; local
80 current_index = req_node->current_index;
90 cli_data->feature_report[current_index]);
92 hid_input_report(cli_data->hid_sensor_hubs[current_index],
93 cli_data->report_type[current_index],
94 cli_data->feature_report[current_index], report_size, 0);
99 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data);
101 hid_input_report(cli_data->hid_sensor_hubs[current_index],
[all...]
H A Damd_sfh_hid.h24 u8 current_index; member in struct:request_list
H A Damd_sfh_common.h78 u8 (*get_in_rep)(u8 current_index, int sensor_idx, int report_id,
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dkey-management.c795 unsigned int current_index, unsigned int rnext_index)
849 unsigned int current_index, unsigned int rnext_index)
855 current_index, rnext_index);
861 unsigned int current_index, unsigned int rnext_index)
868 current_index, rnext_index);
870 for (i = current_index + 1; rotations > 0; i++, rotations--) {
888 unsigned int nr_keys, int current_index, int rnext_index,
897 if (current_index >= 0 || rnext_index >= 0) {
900 if (current_index >= 0)
901 sndid = collection.keys[current_index]
793 start_server(const char *tst_name, unsigned int port, size_t quota, struct tcp_ao_counters *begin, unsigned int current_index, unsigned int rnext_index) argument
848 try_server_run(const char *tst_name, unsigned int port, size_t quota, unsigned int current_index, unsigned int rnext_index) argument
859 server_rotations(const char *tst_name, unsigned int port, size_t quota, unsigned int rotations, unsigned int current_index, unsigned int rnext_index) argument
887 run_client(const char *tst_name, unsigned int port, unsigned int nr_keys, int current_index, int rnext_index, struct tcp_ao_counters *before, const size_t msg_sz, const size_t msg_nr) argument
932 start_client(const char *tst_name, unsigned int port, unsigned int nr_keys, int current_index, int rnext_index, struct tcp_ao_counters *before, const size_t msg_sz, const size_t msg_nr) argument
944 end_client(const char *tst_name, int sk, unsigned int nr_keys, int current_index, int rnext_index, struct tcp_ao_counters *start) argument
1021 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) argument
1043 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) argument
1073 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) argument
1104 try_client_run(const char *tst_name, unsigned int port, unsigned int nr_keys, int current_index, int rnext_index) argument
1117 try_client_match(const char *tst_name, unsigned int port, unsigned int nr_keys, int current_index, int rnext_index) argument
[all...]
/linux-master/drivers/md/persistent-data/
H A Ddm-bitset.h71 uint32_t current_index; member in struct:dm_disk_bitset
H A Ddm-bitset.c118 r = dm_array_set_value(&info->array_info, root, info->current_index,
142 info->current_index = array_index;
155 if (info->current_index == array_index)
/linux-master/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, argument
210 u32 *sensor_virt_addr = in_data->sensor_virt_addr[current_index];
211 u8 *input_report = in_data->input_report[current_index];
/linux-master/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; local
1494 current_index = cdns3_get_dma_pos(priv_dev, priv_ep);
1520 if (doorbell == 1 && current_index == priv_ep->dequeue)
1532 } else if (priv_ep->dequeue < current_index) {
1533 if ((current_index == (priv_ep->num_trbs - 1)) &&
1538 } else if (priv_ep->dequeue > current_index) {
[all...]
/linux-master/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.c855 * CI = current_index - index of processed TRB by DMA.
862 * 1. ring->dequeue never equals to current_index.
869 * Case 1 - ring->dequeue < current_index
873 * Case 2 - ring->dequeue > current_index
884 int current_index = 0; local
889 current_index = cdns2_get_dma_pos(pdev, pep);
897 if (current_index >= TRBS_PER_SEGMENT)
921 if (doorbell == 1 && current_index == ring->dequeue)
933 } else if (ring->dequeue < current_index) {
934 if ((current_index
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dsumo_dpm.c1048 u32 current_index = 0; local
1051 current_vddc = current_ps->levels[current_index].vddc_index;
1052 current_sclk = current_ps->levels[current_index].sclk;
1819 u32 current_index = local
1823 if (current_index == BOOST_DPM_LEVEL) {
1827 current_index, pl->sclk,
1829 } else if (current_index >= ps->num_levels) {
1830 seq_printf(m, "invalid dpm profile %d\n", current_index);
1832 pl = &ps->levels[current_index];
1835 current_index, p
1846 u32 current_index = local
1874 u32 current_index = local
[all...]
H A Drv770_dpm.c2473 u32 current_index = local
2477 if (current_index > 2) {
2478 seq_printf(m, "invalid dpm profile %d\n", current_index);
2480 if (current_index == 0)
2482 else if (current_index == 1)
2484 else /* current_index == 2 */
2489 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci);
2492 current_index, pl->sclk, pl->mclk, pl->vddc);
2502 u32 current_index = local
2506 if (current_index >
2524 u32 current_index = local
[all...]
H A Drv6xx_dpm.c2034 u32 current_index = local
2038 if (current_index > 2) {
2039 seq_printf(m, "invalid dpm profile %d\n", current_index);
2041 if (current_index == 0)
2043 else if (current_index == 1)
2045 else /* current_index == 2 */
2049 current_index, pl->sclk, pl->mclk, pl->vddc);
2059 u32 current_index = local
2063 if (current_index > 2) {
2066 if (current_index
2082 u32 current_index = local
[all...]
H A Dtrinity_dpm.c1358 u32 current_index = 0; local
1361 current_vddc = current_ps->levels[current_index].vddc_index;
1362 current_sclk = current_ps->levels[current_index].sclk;
1990 u32 current_index = local
1994 if (current_index >= ps->num_levels) {
1995 seq_printf(m, "invalid dpm profile %d\n", current_index);
1997 pl = &ps->levels[current_index];
2000 current_index, pl->sclk,
2011 u32 current_index = local
2015 if (current_index >
[all...]
H A Dbtc_dpm.c2712 u32 current_index = local
2716 if (current_index > 2) {
2717 seq_printf(m, "invalid dpm profile %d\n", current_index);
2719 if (current_index == 0)
2721 else if (current_index == 1)
2723 else /* current_index == 2 */
2727 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci);
2737 u32 current_index = local
2741 if (current_index > 2) {
2744 if (current_index
2760 u32 current_index = local
[all...]
H A Dni_dpm.c4311 u32 current_index = local
4315 if (current_index >= ps->performance_level_count) {
4316 seq_printf(m, "invalid dpm profile %d\n", current_index);
4318 pl = &ps->performance_levels[current_index];
4321 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci);
4331 u32 current_index = local
4335 if (current_index >= ps->performance_level_count) {
4338 pl = &ps->performance_levels[current_index];
4349 u32 current_index = local
4353 if (current_index >
[all...]
H A Dkv_dpm.c2601 u32 current_index = local
2607 if (current_index >= SMU__NUM_SCLK_DPM_STATE) {
2608 seq_printf(m, "invalid dpm profile %d\n", current_index);
2610 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency);
2617 current_index, sclk, vddc);
2624 u32 current_index = local
2629 if (current_index >= SMU__NUM_SCLK_DPM_STATE) {
2632 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency);
H A Dsi_dpm.c7035 u32 current_index = local
7039 if (current_index >= ps->performance_level_count) {
7040 seq_printf(m, "invalid dpm profile %d\n", current_index);
7042 pl = &ps->performance_levels[current_index];
7045 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1);
7055 u32 current_index = local
7059 if (current_index >= ps->performance_level_count) {
7062 pl = &ps->performance_levels[current_index];
7073 u32 current_index = local
7077 if (current_index >
[all...]
/linux-master/scripts/kconfig/
H A Dnconf.c1099 int current_index = 0; local
1120 current_index = i;
1128 current_index, &last_top_row); local
1140 if (do_match(res, &match_state, &current_index) == 0) {
1141 if (current_index != -1)
1142 center_item(current_index,
1190 current_index = curses_item_index();
/linux-master/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, argument
180 u8 *input_report = in_data->input_report[current_index];
/linux-master/net/sunrpc/
H A Dcache.c380 static int current_index; variable
435 current_index >= current_detail->hash_size) {
447 current_index = current_detail->hash_size;
449 current_index = 0;
456 current_index < current_detail->hash_size &&
457 hlist_empty(&current_detail->hash_table[current_index]))
458 current_index++;
462 if (current_detail && current_index < current_detail->hash_size) {
472 head = &current_detail->hash_table[current_index];
488 current_index
[all...]
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c2857 u32 current_index = local
2864 if (current_index >= SMU__NUM_SCLK_DPM_STATE) {
2865 seq_printf(m, "invalid dpm profile %d\n", current_index);
2867 sclk = be32_to_cpu(pi->graphics_level[current_index].SclkFrequency);
2875 current_index, sclk, vddc);
/linux-master/fs/nfs/
H A Ddir.c163 loff_t current_index; member in struct:nfs_readdir_descriptor
483 desc->current_index += array->size;
492 desc->current_index = 0;
500 loff_t diff = desc->ctx->pos - desc->current_index;
548 desc->ctx->pos = desc->current_index + i;
/linux-master/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c296 * @current_index: Current index into command queue
306 uint *current_index,
311 ptr = base_addr + *current_index;
314 *current_index = (*current_index + 1) & mask;
305 ibmvscsis_cmd_q_dequeue(uint mask, uint *current_index, struct viosrp_crq *base_addr) argument

Completed in 328 milliseconds

12