| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_cnt.c | 12 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() 191 stop_index = sub_pool->base_index + sub_pool->size; in mlxsw_sp_counter_alloc() 192 entry_index = sub_pool->base_index; in mlxsw_sp_counter_alloc() 247 u64 base_index; in mlxsw_sp_counter_resources_register() local 276 base_index = 0; in mlxsw_sp_counter_resources_register() 281 if (base_index + sub_pool_size > pool_size) in mlxsw_sp_counter_resources_register() 282 sub_pool_size = pool_size - base_index; in mlxsw_sp_counter_resources_register() [all …]
|
| H A D | spectrum_acl_erp.c | 61 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/hda/codecs/side-codecs/ |
| H A D | cirrus_scodec.c | 30 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 D | cs35l41_hda.c | 1736 int base_index; in cs35l41_get_speaker_id() 1746 base_index = gpios_per_amp * amp_index; in cs35l41_get_speaker_id() 1754 speaker_id_desc = gpiod_get_index(dev, "spk-id", i + base_index, in cs35l41_get_speaker_id() 1741 int base_index; cs35l41_get_speaker_id() local
|
| /linux/fs/erofs/ |
| H A D | xattr.c | 140 unsigned int base_index, name_total, prefix_len, infix_len = 0; in erofs_listxattr_foreach() local 148 base_index = entry.e_name_index; in erofs_listxattr_foreach() 158 base_index = pf->prefix->base_index; in erofs_listxattr_foreach() 161 prefix = erofs_xattr_prefix(base_index, it->dentry); in erofs_listxattr_foreach() 208 if (it->index != pf->prefix->base_index || in erofs_getxattr_foreach() 618 int valuelen, base_index; in erofs_xattr_fill_inode_fingerprint() local 626 base_index = prefix->prefix->base_index; in erofs_xattr_fill_inode_fingerprint() 627 valuelen = erofs_getxattr(inode, base_index, infix, NULL, 0); in erofs_xattr_fill_inode_fingerprint() 634 if (valuelen != erofs_getxattr(inode, base_index, infix, in erofs_xattr_fill_inode_fingerprint()
|
| /linux/drivers/input/misc/ |
| H A D | cs40l50-vibra.c | 53 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/arch/x86/kernel/ |
| H A D | amd_gart_64.c | 94 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/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| H A D | hw_atl2.c | 544 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()
|
| H A D | hw_atl2_utils_fw.c | 610 u8 *base_index, u8 *count) in hw_atl2_utils_get_action_resolve_table_caps() argument 619 *base_index = filter_caps.rslv_tbl_base_index; in hw_atl2_utils_get_action_resolve_table_caps()
|
| H A D | hw_atl2_utils.h | 632 u8 *base_index, u8 *count);
|