/openbmc/linux/drivers/hid/amd-sfh-hid/ |
H A D | amd_sfh_client.c | 51 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() 102 cli_data->report_type[current_index], in amd_sfh_work() 103 in_data->input_report[current_index], report_size, 0); in amd_sfh_work() 107 cli_data->cur_hid_dev = current_index; in amd_sfh_work() 108 cli_data->sensor_requested_cnt[current_index] = 0; in amd_sfh_work() [all …]
|
H A D | amd_sfh_hid.h | 24 u8 current_index; member
|
H A D | amd_sfh_common.h | 66 u8 (*get_in_rep)(u8 current_index, int sensor_idx, int report_id,
|
/openbmc/qemu/migration/ |
H A D | rdma.c | 316 int current_index; member 458 reg->current_index = htonl(reg->current_index); in register_to_network() 465 reg->current_index = ntohl(reg->current_index); in network_to_register() 1369 RDMARegister reg = { .current_index = index }; in qemu_rdma_unregister_waiting() 2107 reg.current_index = current_index; in qemu_rdma_write_one() 2172 current_index, chunk); in qemu_rdma_write_one() 2264 if (rdma->current_index < 0) { in qemu_rdma_buffer_mergeable() 2317 uint64_t index = rdma->current_index; in qemu_rdma_write() 2330 rdma->current_index = index; in qemu_rdma_write() 2732 rdma->current_index = -1; in qemu_rdma_data_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | sumo_dpm.c | 1050 u32 current_index = 0; in sumo_patch_thermal_state() local 1823 u32 current_index = in sumo_dpm_debugfs_print_current_performance_level() local 1827 if (current_index == BOOST_DPM_LEVEL) { in sumo_dpm_debugfs_print_current_performance_level() 1831 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level() 1836 pl = &ps->levels[current_index]; in sumo_dpm_debugfs_print_current_performance_level() 1839 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level() 1850 u32 current_index = in sumo_dpm_get_current_sclk() local 1854 if (current_index == BOOST_DPM_LEVEL) { in sumo_dpm_get_current_sclk() 1860 pl = &ps->levels[current_index]; in sumo_dpm_get_current_sclk() 1878 u32 current_index = in sumo_dpm_get_current_vddc() local [all …]
|
H A D | btc_dpm.c | 2740 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 …]
|
H A D | rv6xx_dpm.c | 2034 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 …]
|
H A D | rv770_dpm.c | 2473 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 …]
|
H A D | trinity_dpm.c | 1362 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() 1994 u32 current_index = in trinity_dpm_debugfs_print_current_performance_level() local 1998 if (current_index >= ps->num_levels) { in trinity_dpm_debugfs_print_current_performance_level() 1999 seq_printf(m, "invalid dpm profile %d\n", current_index); in trinity_dpm_debugfs_print_current_performance_level() 2001 pl = &ps->levels[current_index]; in trinity_dpm_debugfs_print_current_performance_level() 2004 current_index, pl->sclk, in trinity_dpm_debugfs_print_current_performance_level() 2015 u32 current_index = in trinity_dpm_get_current_sclk() local 2019 if (current_index >= ps->num_levels) { in trinity_dpm_get_current_sclk() [all …]
|
H A D | kv_dpm.c | 2602 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()
|
H A D | ni_dpm.c | 4314 u32 current_index = in ni_dpm_debugfs_print_current_performance_level() local 4318 if (current_index >= ps->performance_level_count) { in ni_dpm_debugfs_print_current_performance_level() 4319 seq_printf(m, "invalid dpm profile %d\n", current_index); in ni_dpm_debugfs_print_current_performance_level() 4321 pl = &ps->performance_levels[current_index]; in ni_dpm_debugfs_print_current_performance_level() 4324 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in ni_dpm_debugfs_print_current_performance_level() 4334 u32 current_index = in ni_dpm_get_current_sclk() local 4338 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_sclk() 4341 pl = &ps->performance_levels[current_index]; in ni_dpm_get_current_sclk() 4352 u32 current_index = in ni_dpm_get_current_mclk() local 4356 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_mclk() [all …]
|
H A D | si_dpm.c | 7079 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 …]
|
/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_desc.c | 206 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()
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-bitset.c | 118 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 D | dm-bitset.h | 71 uint32_t current_index; member
|
/openbmc/linux/scripts/kconfig/ |
H A D | nconf.c | 1149 int current_index = 0; in selected_conf() local 1170 current_index = i; in selected_conf() 1178 current_index, &last_top_row); in selected_conf() 1190 if (do_match(res, &match_state, ¤t_index) == 0) { in selected_conf() 1191 if (current_index != -1) in selected_conf() 1192 center_item(current_index, in selected_conf() 1240 current_index = curses_item_index(); in selected_conf()
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-trace.h | 521 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 D | cdns2-gadget.c | 884 int current_index = 0; in cdns2_trb_handled() local 889 current_index = cdns2_get_dma_pos(pdev, pep); in cdns2_trb_handled() 897 if (current_index >= TRBS_PER_SEGMENT) in cdns2_trb_handled() 921 if (doorbell == 1 && current_index == ring->dequeue) in cdns2_trb_handled() 933 } else if (ring->dequeue < current_index) { in cdns2_trb_handled() 934 if ((current_index == (TRBS_PER_SEGMENT - 1)) && in cdns2_trb_handled() 939 } else if (ring->dequeue > current_index) { in cdns2_trb_handled() 944 trace_cdns2_request_handled(preq, current_index, handled); in cdns2_trb_handled()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-trace.h | 511 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 D | cdns3-gadget.c | 1489 int current_index = 0; in cdns3_trb_handled() local 1493 current_index = cdns3_get_dma_pos(priv_dev, priv_ep); in cdns3_trb_handled() 1519 if (doorbell == 1 && current_index == priv_ep->dequeue) in cdns3_trb_handled() 1531 } else if (priv_ep->dequeue < current_index) { in cdns3_trb_handled() 1532 if ((current_index == (priv_ep->num_trbs - 1)) && in cdns3_trb_handled() 1537 } else if (priv_ep->dequeue > current_index) { in cdns3_trb_handled() 1542 trace_cdns3_request_handled(priv_req, current_index, handled); in cdns3_trb_handled()
|
/openbmc/linux/net/sunrpc/ |
H A D | cache.c | 380 static int current_index; variable 435 current_index >= current_detail->hash_size) { in cache_clean() 447 current_index = current_detail->hash_size; in cache_clean() 449 current_index = 0; in cache_clean() 456 current_index < current_detail->hash_size && in cache_clean() 457 hlist_empty(¤t_detail->hash_table[current_index])) in cache_clean() 458 current_index++; in cache_clean() 462 if (current_detail && current_index < current_detail->hash_size) { in cache_clean() 472 head = ¤t_detail->hash_table[current_index]; in cache_clean() 488 current_index ++; in cache_clean()
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | nconf.c | 1074 int current_index = 0; in conf() local 1091 current_index, &last_top_row); in conf() 1103 if (do_match(res, &match_state, ¤t_index) == 0) { in conf() 1104 if (current_index != -1) in conf() 1105 center_item(current_index, in conf() 1151 current_index = curses_item_index(); in conf()
|
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/ |
H A D | amd_sfh_desc.c | 176 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()
|
/openbmc/linux/fs/nfs/ |
H A D | dir.c | 163 loff_t current_index; member 483 desc->current_index += array->size; in nfs_readdir_seek_next_array() 492 desc->current_index = 0; in nfs_readdir_rewind_search() 500 loff_t diff = desc->ctx->pos - desc->current_index; in nfs_readdir_search_for_pos() 548 desc->ctx->pos = desc->current_index + i; in nfs_readdir_search_for_cookie()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | kv_dpm.c | 2859 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()
|