Home
last modified time | relevance | path

Searched refs:bank_size (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c251 u64 bank_size; in mlxsw_sp_counter_resources_register() local
260 bank_size = MLXSW_CORE_RES_GET(mlxsw_core, COUNTER_BANK_SIZE); in mlxsw_sp_counter_resources_register()
263 pool_size, bank_size, in mlxsw_sp_counter_resources_register()
281 sub_pool_size = sub_pool->bank_count * bank_size; in mlxsw_sp_counter_resources_register()
288 sub_pool_size, bank_size, in mlxsw_sp_counter_resources_register()
302 if (WARN_ON(total_bank_config > div64_u64(pool_size, bank_size) + 1)) in mlxsw_sp_counter_resources_register()
Dspectrum_acl_bloom_filter.c15 unsigned int bank_size; member
150 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get()
259 bf->bank_size = bf_bank_size; in mlxsw_sp_acl_bf_init()
/drivers/i2c/
Di2c-stub.c82 u16 bank_size; member
116 (chip->bank_sel - 1) * chip->bank_size + in stub_get_wordp()
323 chip->bank_size = bank_end[i] - bank_start[i] + 1; in i2c_stub_allocate_banks()
332 chip->bank_words = kcalloc(chip->bank_mask * chip->bank_size, in i2c_stub_allocate_banks()
339 chip->bank_mask, chip->bank_size, chip->bank_start, in i2c_stub_allocate_banks()
/drivers/pinctrl/tegra/
Dpinctrl-tegra.c698 size_t bank_size; in tegra_pinctrl_suspend() local
702 bank_size = tegra_pinctrl_get_bank_size(dev, i); in tegra_pinctrl_suspend()
704 for (k = 0; k < bank_size; k++) in tegra_pinctrl_suspend()
716 size_t bank_size; in tegra_pinctrl_resume() local
720 bank_size = tegra_pinctrl_get_bank_size(dev, i); in tegra_pinctrl_resume()
722 for (k = 0; k < bank_size; k++) in tegra_pinctrl_resume()
/drivers/net/can/
Dflexcan.c537 u8 bank_size; in flexcan_get_mb() local
543 bank_size = sizeof(priv->regs->mb[0]) / priv->mb_size; in flexcan_get_mb()
545 bank = mb_index >= bank_size; in flexcan_get_mb()
547 mb_index -= bank_size; in flexcan_get_mb()