Home
last modified time | relevance | path

Searched refs:index (Results 11801 - 11825 of 17096) sorted by relevance

1...<<471472473474475476477478479480>>...684

/kernel/linux/linux-6.6/kernel/bpf/
H A Dcore.c1982 u32 index = BPF_R3; in ___bpf_prog_run() local
1984 if (unlikely(index >= array->map.max_entries)) in ___bpf_prog_run()
1992 prog = READ_ONCE(array->ptrs[index]); in ___bpf_prog_run()
2528 * index into the program array with
2531 * @index: the index of the program to replace
2538 * * -EINVAL - Invalid index value. Must be a non-negative integer.
2541 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index) in bpf_prog_array_delete_safe_at() argument
2543 return bpf_prog_array_update_at(array, index, &dummy_bpf_prog.prog); in bpf_prog_array_delete_safe_at()
2547 * bpf_prog_array_update_at() - Updates the program at the given index
2561 bpf_prog_array_update_at(struct bpf_prog_array *array, int index, struct bpf_prog *prog) bpf_prog_array_update_at() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/team/
H A Dteam.c834 if (port->index < cur->index) in team_queue_override_port_has_gt_prio_than()
932 * port->index (Might be racy so reader could see incorrect ifindex when
941 port->index = team->en_port_count++; in team_port_enable()
943 team_port_index_hash(team, port->index)); in team_port_enable()
961 port->index--; in __reconstruct_port_hlist()
963 team_port_index_hash(team, port->index)); in __reconstruct_port_hlist()
975 __reconstruct_port_hlist(team, port->index); in team_port_disable()
976 port->index = -1; in team_port_disable()
1285 port->index in team_port_add()
[all...]
/kernel/linux/linux-6.6/drivers/phy/cadence/
H A Dphy-cadence-sierra.c701 int index; in cdns_sierra_pll_mux_get_parent() local
706 index = clk_mux_val_to_index(hw, cdns_sierra_pll_mux_table[CMN_PLLLC1], 0, val); in cdns_sierra_pll_mux_get_parent()
707 if (index == 1) { in cdns_sierra_pll_mux_get_parent()
712 index = clk_mux_val_to_index(hw, cdns_sierra_pll_mux_table[CMN_PLLLC], 0, val); in cdns_sierra_pll_mux_get_parent()
715 return index; in cdns_sierra_pll_mux_get_parent()
718 static int cdns_sierra_pll_mux_set_parent(struct clk_hw *hw, u8 index) in cdns_sierra_pll_mux_set_parent() argument
728 if (index == 1) { in cdns_sierra_pll_mux_set_parent()
734 val = cdns_sierra_pll_mux_table[CMN_PLLLC1][index]; in cdns_sierra_pll_mux_set_parent()
736 val = cdns_sierra_pll_mux_table[CMN_PLLLC][index]; in cdns_sierra_pll_mux_set_parent()
/kernel/linux/linux-6.6/drivers/gpu/drm/ast/
H A Dast_post.c47 u8 i, index, reg; in ast_set_def_ext_reg() local
59 index = 0xa0; in ast_set_def_ext_reg()
61 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, index, 0x00, *ext_reg_info); in ast_set_def_ext_reg()
62 index++; in ast_set_def_ext_reg()
279 while (dram_reg_info->index != 0xffff) { in ast_init_dram_reg()
280 if (dram_reg_info->index == 0xff00) {/* delay fn */ in ast_init_dram_reg()
283 } else if (dram_reg_info->index == 0x4 && !IS_AST_GEN1(ast)) { in ast_init_dram_reg()
293 ast_write32(ast, 0x10000 + dram_reg_info->index, data | temp); in ast_init_dram_reg()
295 ast_write32(ast, 0x10000 + dram_reg_info->index, dram_reg_info->data); in ast_init_dram_reg()
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc3-topology.c231 * as it increments the index while parsing the array of pdm tokens
332 * @index: ID of the pipeline the component belongs to
337 int index) in sof_comp_alloc()
355 comp->pipeline_id = index; in sof_comp_alloc()
1512 dev_dbg(scomp->dev, "dai %s: type %d index %d\n", in sof_ipc3_widget_setup_comp_dai()
1679 cdata->index = scontrol->index; in sof_ipc3_control_load_bytes()
1728 cdata->index = scontrol->index; in sof_ipc3_control_load_volume()
1759 cdata->index in sof_ipc3_control_load_enum()
336 sof_comp_alloc(struct snd_sof_widget *swidget, size_t *ipc_size, int index) sof_comp_alloc() argument
2440 sof_ipc3_parse_manifest(struct snd_soc_component *scomp, int index, struct snd_soc_tplg_manifest *man) sof_ipc3_parse_manifest() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp166 for (uint32_t index = 0; index < length; index++) { in ParseGradientColorStops()
167 auto item = panda::ArrayRef::GetValueAt(vm, array, index); in ParseGradientColorStops()
249 for (uint32_t index = offset; index < end; index++) { in ParseCalcDimensions()
250 auto arg = runtimeCallInfo->GetCallArgRef(index); in ParseCalcDimensions()
272 for (uint32_t index = offset; index < en in ParseCalcDimensionsNG()
732 int64_t index = BinarySearchFindIndex(creatorMap, ArraySize(creatorMap), type.c_str()); ParseChainedTransition() local
1513 SetBorderWidthArray(const EcmaVM* vm, const Local<JSValueRef>& args, ArkUI_Float32 values[], int units[], int index) SetBorderWidthArray() argument
1543 SetBorderWidthArrayByDimen(CalcDimension& borderDimension, ArkUI_Float32 values[], int units[], int index) SetBorderWidthArrayByDimen() argument
4830 int32_t index = secondArg->Int32Value(vm); SetTabIndex() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dtonga_smumgr.c395 uint8_t index = 0; in tonga_populate_cac_tables() local
412 index = phm_get_voltage_index(vddc_lookup_table, in tonga_populate_cac_tables()
415 convert_to_vid(vddc_lookup_table->entries[index].us_cac_low); in tonga_populate_cac_tables()
417 convert_to_vid(vddc_lookup_table->entries[index].us_cac_mid); in tonga_populate_cac_tables()
419 convert_to_vid(vddc_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
425 index = phm_get_voltage_index(vddgfx_lookup_table, in tonga_populate_cac_tables()
426 convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_mid)); in tonga_populate_cac_tables()
428 convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
432 index = phm_get_voltage_index(vddc_lookup_table, in tonga_populate_cac_tables()
435 convert_to_vid(vddc_lookup_table->entries[index] in tonga_populate_cac_tables()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c116 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats()
130 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats()
181 tqp->index); in hclgevf_tqps_get_strings()
189 tqp->index); in hclgevf_tqps_get_strings()
400 tqp->index = i; in hclgevf_alloc_tqps()
712 u8 index; in hclgevf_get_rss_hash_key() local
718 for (index = 0; index < msg_num; index++) { in hclgevf_get_rss_hash_key()
719 send_msg.data[0] = index; in hclgevf_get_rss_hash_key()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c184 int index; in hisi_sas_slot_index_alloc() local
191 index = find_next_zero_bit(bitmap, hisi_hba->slot_index_count, in hisi_sas_slot_index_alloc()
193 if (index >= hisi_hba->slot_index_count) { in hisi_sas_slot_index_alloc()
194 index = find_next_zero_bit(bitmap, in hisi_sas_slot_index_alloc()
197 if (index >= hisi_hba->slot_index_count) { in hisi_sas_slot_index_alloc()
202 hisi_sas_slot_index_set(hisi_hba, index); in hisi_sas_slot_index_alloc()
203 hisi_hba->last_slot_index = index; in hisi_sas_slot_index_alloc()
206 return index; in hisi_sas_slot_index_alloc()
2975 static void hisi_sas_show_row_64(struct seq_file *s, int index, in hisi_sas_show_row_64() argument
2981 seq_printf(s, "index in hisi_sas_show_row_64()
2991 hisi_sas_show_row_32(struct seq_file *s, int index, int sz, __le32 *ptr) hisi_sas_show_row_32() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dnetdevice.h695 * a hardware filter index.
741 unsigned int index = hash & table->mask; in rps_record_sock_flow() local
750 if (READ_ONCE(table->ents[index]) != val) in rps_record_sock_flow()
751 WRITE_ONCE(table->ents[index], val); in rps_record_sock_flow()
1165 * Set hardware filter for RFS. rxq_index is the target queue index;
1677 * @ifindex: interface index
1793 * @index_hlist: Device index hash chain
2269 unsigned int index) in netdev_get_tx_queue()
2271 return &dev->_tx[index]; in netdev_get_tx_queue()
3583 * @queue_index: given tx queue index
2268 netdev_get_tx_queue(const struct net_device *dev, unsigned int index) netdev_get_tx_queue() argument
3770 netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, u16 index) netif_set_xps_queue() argument
3777 __netif_set_xps_queue(struct net_device *dev, const unsigned long *mask, u16 index, bool is_rxqs_map) __netif_set_xps_queue() argument
3820 int index = queue - dev->_rx; get_netdev_rx_queue_index() local
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Ddir.c149 * Link an unindexed block with a dir trailer structure into the index free
261 * XXX: Is this really necessary, if the index is never looked in ocfs2_dx_dir_name_hash()
583 "Checksum failed for dir index root block %llu\n", in ocfs2_validate_dx_root()
626 "Checksum failed for dir index leaf block %llu\n", in ocfs2_validate_dx_leaf()
682 int ra_ptr = 0; /* Current index into readahead in ocfs2_find_entry_el()
835 * Returns the block index, from the start of the cluster which this
1220 int index) in ocfs2_dx_list_remove_entry()
1224 if (num_used == 1 || index == (num_used - 1)) in ocfs2_dx_list_remove_entry()
1227 memmove(&entry_list->de_entries[index], in ocfs2_dx_list_remove_entry()
1228 &entry_list->de_entries[index in ocfs2_dx_list_remove_entry()
1219 ocfs2_dx_list_remove_entry(struct ocfs2_dx_entry_list *entry_list, int index) ocfs2_dx_list_remove_entry() argument
1240 int ret, index, max_rec_len, add_to_free_list = 0; ocfs2_delete_entry_dx() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c3071 int index = mlxsw_core_lag_mapping_index(mlxsw_core, in mlxsw_core_lag_mapping_set() local
3074 mlxsw_core->lag.mapping[index] = local_port; in mlxsw_core_lag_mapping_set()
3081 int index = mlxsw_core_lag_mapping_index(mlxsw_core, in mlxsw_core_lag_mapping_get() local
3084 return mlxsw_core->lag.mapping[index]; in mlxsw_core_lag_mapping_get()
3094 int index = mlxsw_core_lag_mapping_index(mlxsw_core, in mlxsw_core_lag_mapping_clear() local
3097 if (mlxsw_core->lag.mapping[index] == local_port) in mlxsw_core_lag_mapping_clear()
3098 mlxsw_core->lag.mapping[index] = 0; in mlxsw_core_lag_mapping_clear()
3379 int index, i; in mlxsw_core_resources_query() local
3386 for (index = 0; index < MLXSW_CMD_QUERY_RESOURCES_MAX_QUERIE in mlxsw_core_resources_query()
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Ddir.c147 * Link an unindexed block with a dir trailer structure into the index free
259 * XXX: Is this really necessary, if the index is never looked in ocfs2_dx_dir_name_hash()
575 "Checksum failed for dir index root block %llu\n", in ocfs2_validate_dx_root()
618 "Checksum failed for dir index leaf block %llu\n", in ocfs2_validate_dx_leaf()
674 int ra_ptr = 0; /* Current index into readahead in ocfs2_find_entry_el()
827 * Returns the block index, from the start of the cluster which this
1212 int index) in ocfs2_dx_list_remove_entry()
1216 if (num_used == 1 || index == (num_used - 1)) in ocfs2_dx_list_remove_entry()
1219 memmove(&entry_list->de_entries[index], in ocfs2_dx_list_remove_entry()
1220 &entry_list->de_entries[index in ocfs2_dx_list_remove_entry()
1211 ocfs2_dx_list_remove_entry(struct ocfs2_dx_entry_list *entry_list, int index) ocfs2_dx_list_remove_entry() argument
1232 int ret, index, max_rec_len, add_to_free_list = 0; ocfs2_delete_entry_dx() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dtonga_smumgr.c395 uint8_t index = 0; in tonga_populate_cac_tables() local
412 index = phm_get_voltage_index(vddc_lookup_table, in tonga_populate_cac_tables()
415 convert_to_vid(vddc_lookup_table->entries[index].us_cac_low); in tonga_populate_cac_tables()
417 convert_to_vid(vddc_lookup_table->entries[index].us_cac_mid); in tonga_populate_cac_tables()
419 convert_to_vid(vddc_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
425 index = phm_get_voltage_index(vddgfx_lookup_table, in tonga_populate_cac_tables()
426 convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_mid)); in tonga_populate_cac_tables()
428 convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_high); in tonga_populate_cac_tables()
432 index = phm_get_voltage_index(vddc_lookup_table, in tonga_populate_cac_tables()
435 convert_to_vid(vddc_lookup_table->entries[index] in tonga_populate_cac_tables()
[all...]
/applications/standard/calendardata/calendarmanager/napi/src/
H A Dcalendar_manager_napi.cpp194 int index = 0; in GetAllCalendars()
199 ctxt->status = napi_set_element(env, result, index++, value); in GetAllCalendars()
/applications/standard/calendardata/calendarmanager/napi/include/
H A Dnapi_util.h199 int index = 0; in SetValueArray() local
203 status = napi_set_element(env, out, index++, element); in SetValueArray()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
H A Dhi_osal.h219 extern int osal_register_gic_handle(unsigned int index, unsigned int irq, osal_gic_handle_t handle, const char *name,
221 extern int osal_unregister_gic_handle(unsigned int index, unsigned int irq, void *dev);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_chan_mgmt.c60 mac_freq_channel_map_stru get_ast_freq_map_2g_elem(hi_u32 index) in get_ast_freq_map_2g_elem() argument
62 return g_ast_freq_map_2g[index]; in get_ast_freq_map_2g_elem()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_osal.h216 extern int osal_register_gic_handle(unsigned int index, unsigned int irq, osal_gic_handle_t handle, const char *name,
218 extern int osal_unregister_gic_handle(unsigned int index, unsigned int irq, void *dev);
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
H A Dhi_gv_msg.h44 #define HIGV_KEY_CAT(type, index) ((HIGV_KEYTYPE_##type) | (index))
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dnetifapi.h170 u8_t index; member
196 u8_t index; member
H A Dstats.h547 void stats_display_memp(struct stats_mem *mem, int index);
559 #define stats_display_memp(mem, index)
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_debugfs.c97 priv->minor->index, drm_is_current_master(priv) ? 'y' : 'n', priv->authenticated ? 'y' : 'n', in drm_clients_info()
442 name = kasprintf(GFP_KERNEL, "crtc-%d", crtc->index); in drm_debugfs_crtc_add()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_hwcnt_types.h499 * kbase_hwcnt_metadata_block_avail_bit() - Get the bit index into the avail
505 * Return: The bit index into the avail mask for the block.
1199 * kbase_hwcnt_clk_enable_map_enabled() - Check if the given index is enabled
1202 * @index: Index of the enable map for clock domain.
1204 * Return: true if the index of the clock domain is enabled, else false.
1207 const u64 clk_enable_map, const size_t index) in kbase_hwcnt_clk_enable_map_enabled()
1209 if (clk_enable_map & (1ull << index)) in kbase_hwcnt_clk_enable_map_enabled()
1206 kbase_hwcnt_clk_enable_map_enabled( const u64 clk_enable_map, const size_t index) kbase_hwcnt_clk_enable_map_enabled() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_mmu_page_directory.c179 static u32 mali_page_directory_get_phys_address(struct mali_page_directory *pagedir, u32 index) in mali_page_directory_get_phys_address() argument
182 index * sizeof(u32)) & ~MALI_MMU_FLAGS_MASK); in mali_page_directory_get_phys_address()

Completed in 71 milliseconds

1...<<471472473474475476477478479480>>...684