Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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 …]
H A 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/sound/pci/hda/
H A 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()
H A 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/drivers/input/misc/
H A 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/drivers/gpu/drm/vc4/
H A 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/fs/erofs/
H A Derofs_fs.h242 __u8 base_index; /* short xattr name prefix index */ member
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A 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()
H A Dhw_atl2_utils.h632 u8 *base_index, u8 *count);
/linux/Documentation/filesystems/
H A Derofs.rst304 represented by 'struct erofs_xattr_long_prefix', where base_index represents the