Home
last modified time | relevance | path

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

/Linux-v5.10/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()
196 stop_index = sub_pool->base_index + sub_pool->size; in mlxsw_sp_counter_alloc()
197 entry_index = sub_pool->base_index; in mlxsw_sp_counter_alloc()
252 u64 base_index; in mlxsw_sp_counter_resources_register() local
281 base_index = 0; in mlxsw_sp_counter_resources_register()
286 if (base_index + sub_pool_size > pool_size) in mlxsw_sp_counter_resources_register()
287 sub_pool_size = pool_size - base_index; in mlxsw_sp_counter_resources_register()
[all …]
Dspectrum_acl_erp.c61 unsigned long base_index; member
326 unsigned long base_index; in mlxsw_sp_acl_erp_table_free() local
331 base_index = index + MLXSW_SP_ACL_ERP_GENALLOC_OFFSET; in mlxsw_sp_acl_erp_table_free()
333 gen_pool_free(erp_core->erp_tables, base_index, size); in mlxsw_sp_acl_erp_table_free()
379 *p_erpt_index = erp_table->base_index + row * entry_size; in mlxsw_sp_acl_erp_table_locate()
394 0, erp_table->base_index, erp->index, in mlxsw_sp_acl_erp_table_erp_add()
414 0, erp_table->base_index, erp->index, empty_mask); in mlxsw_sp_acl_erp_table_erp_del()
430 erp_table->base_index, 0); in mlxsw_sp_acl_erp_table_enable()
481 unsigned long old_base_index = erp_table->base_index; in mlxsw_sp_acl_erp_table_expand()
494 &erp_table->base_index); in mlxsw_sp_acl_erp_table_expand()
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dmmu_public.h32 const hrt_data base_index);
/Linux-v5.10/arch/x86/kernel/
Damd_gart_64.c96 unsigned long base_index; in alloc_iommu() local
98 base_index = ALIGN(iommu_bus_base & dma_get_seg_boundary(dev), in alloc_iommu()
104 size, base_index, boundary_size, align_mask); in alloc_iommu()
108 size, base_index, boundary_size, in alloc_iommu()
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c530 u8 base_index, count; in hw_atl2_hw_init() local
533 err = hw_atl2_utils_get_action_resolve_table_caps(self, &base_index, in hw_atl2_hw_init()
538 priv->art_base_index = 8 * base_index; in hw_atl2_hw_init()
Dhw_atl2_utils_fw.c508 u8 *base_index, u8 *count) in hw_atl2_utils_get_action_resolve_table_caps() argument
517 *base_index = filter_caps.rslv_tbl_base_index; in hw_atl2_utils_get_action_resolve_table_caps()
Dhw_atl2_utils.h602 u8 *base_index, u8 *count);
/Linux-v5.10/drivers/gpu/drm/vc4/
Dvc4_validate.c298 uint32_t base_index = *(uint32_t *)(untrusted + 5); in validate_gl_array_primitive() local
309 if (length + base_index < length) { in validate_gl_array_primitive()
313 max_index = length + base_index - 1; in validate_gl_array_primitive()
/Linux-v5.10/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()