Searched refs:bank_size (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_cnt.c | 251 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()
|
D | spectrum_acl_bloom_filter.c | 15 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/ |
D | i2c-stub.c | 82 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/ |
D | pinctrl-tegra.c | 698 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/ |
D | flexcan.c | 537 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()
|