Home
last modified time | relevance | path

Searched refs:base_index (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c12 unsigned int base_index; member
57 unsigned int base_index = 0; in mlxsw_sp_counter_sub_pools_init() local
81 sub_pool->base_index = base_index; in mlxsw_sp_counter_sub_pools_init()
82 base_index += sub_pool->size; in mlxsw_sp_counter_sub_pools_init()
193 stop_index = sub_pool->base_index + sub_pool->size; in mlxsw_sp_counter_alloc()
194 entry_index = sub_pool->base_index; in mlxsw_sp_counter_alloc()
249 u64 base_index; in mlxsw_sp_counter_resources_register() local
278 base_index = 0; in mlxsw_sp_counter_resources_register()
283 if (base_index + sub_pool_size > pool_size) in mlxsw_sp_counter_resources_register()
284 sub_pool_size = pool_size - base_index; in mlxsw_sp_counter_resources_register()
[all …]
Dspectrum_acl_erp.c61 unsigned long base_index; member
328 unsigned long base_index; in mlxsw_sp_acl_erp_table_free() local
333 base_index = index + MLXSW_SP_ACL_ERP_GENALLOC_OFFSET; in mlxsw_sp_acl_erp_table_free()
335 gen_pool_free(erp_core->erp_tables, base_index, size); in mlxsw_sp_acl_erp_table_free()
381 *p_erpt_index = erp_table->base_index + row * entry_size; in mlxsw_sp_acl_erp_table_locate()
396 0, erp_table->base_index, erp->index, in mlxsw_sp_acl_erp_table_erp_add()
416 0, erp_table->base_index, erp->index, empty_mask); in mlxsw_sp_acl_erp_table_erp_del()
432 erp_table->base_index, 0); in mlxsw_sp_acl_erp_table_enable()
483 unsigned long old_base_index = erp_table->base_index; in mlxsw_sp_acl_erp_table_expand()
496 &erp_table->base_index); in mlxsw_sp_acl_erp_table_expand()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dsh_css_mmu.c48 sh_css_mmu_set_page_table_base_index(hrt_data base_index) in sh_css_mmu_set_page_table_base_index() argument
52 IA_CSS_ENTER_PRIVATE("base_index=0x%08x\n", base_index); in sh_css_mmu_set_page_table_base_index()
56 mmu_set_page_table_base_index(mmu_id, base_index); in sh_css_mmu_set_page_table_base_index()
Dia_css_mmu_private.h28 sh_css_mmu_set_page_table_base_index(hrt_data base_index);
/linux-6.12.1/sound/pci/hda/
Dcirrus_scodec.c30 int base_index; in cirrus_scodec_get_speaker_id() local
40 base_index = gpios_per_amp * amp_index; in cirrus_scodec_get_speaker_id()
48 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cirrus_scodec_get_speaker_id()
Dcs35l41_hda.c1705 int base_index; in cs35l41_get_speaker_id() local
1715 base_index = gpios_per_amp * amp_index; in cs35l41_get_speaker_id()
1723 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id()
/linux-6.12.1/drivers/input/misc/
Dcs40l50-vibra.c53 u32 base_index; member
101 .base_index = CS40L50_RAM_INDEX_START,
106 .base_index = CS40L50_ROM_INDEX_START,
111 .base_index = CS40L50_RTH_INDEX_START,
162 u32 base_index, max_index; in cs40l50_effect_index_set() local
164 base_index = vib->dsp.banks[effect->type].base_index; in cs40l50_effect_index_set()
167 effect->index = base_index; in cs40l50_effect_index_set()
184 if (effect->index > max_index || effect->index < base_index) { in cs40l50_effect_index_set()
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dmmu.c21 const hrt_data base_index) in mmu_set_page_table_base_index() argument
23 mmu_reg_store(ID, _HRT_MMU_PAGE_TABLE_BASE_ADDRESS_REG_IDX, base_index); in mmu_set_page_table_base_index()
/linux-6.12.1/fs/erofs/
Dxattr.c203 unsigned int base_index, name_total, prefix_len, infix_len = 0; in erofs_listxattr_foreach() local
211 base_index = entry.e_name_index; in erofs_listxattr_foreach()
221 base_index = pf->prefix->base_index; in erofs_listxattr_foreach()
224 prefix = erofs_xattr_prefix(base_index, it->dentry); in erofs_listxattr_foreach()
271 if (it->index != pf->prefix->base_index || in erofs_getxattr_foreach()
Derofs_fs.h241 __u8 base_index; /* short xattr name prefix index */ member
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dmmu_public.h32 const hrt_data base_index);
/linux-6.12.1/arch/x86/kernel/
Damd_gart_64.c94 unsigned long base_index; in alloc_iommu() local
96 base_index = ALIGN(iommu_bus_base & dma_get_seg_boundary(dev), in alloc_iommu()
102 size, base_index, boundary_size, align_mask); in alloc_iommu()
106 size, base_index, boundary_size, in alloc_iommu()
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c544 u8 base_index, count; in hw_atl2_hw_init() local
547 err = hw_atl2_utils_get_action_resolve_table_caps(self, &base_index, in hw_atl2_hw_init()
552 priv->art_base_index = 8 * base_index; in hw_atl2_hw_init()
Dhw_atl2_utils_fw.c572 u8 *base_index, u8 *count) in hw_atl2_utils_get_action_resolve_table_caps() argument
581 *base_index = filter_caps.rslv_tbl_base_index; in hw_atl2_utils_get_action_resolve_table_caps()
Dhw_atl2_utils.h632 u8 *base_index, u8 *count);
/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_validate.c306 uint32_t base_index = *(uint32_t *)(untrusted + 5); in validate_gl_array_primitive() local
317 if (length + base_index < length) { in validate_gl_array_primitive()
321 max_index = length + base_index - 1; in validate_gl_array_primitive()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c2193 int base_index, offset; in hns_dsaf_get_inode_prio_reg() local
2196 base_index = (index + 1) / DSAF_REG_PER_ZONE; in hns_dsaf_get_inode_prio_reg()
2199 return base_addr + DSAF_INODE_IN_PRIO_PAUSE_BASE_OFFSET * base_index + in hns_dsaf_get_inode_prio_reg()
/linux-6.12.1/Documentation/filesystems/
Derofs.rst304 represented by 'struct erofs_xattr_long_prefix', where base_index represents the