/linux-6.6.21/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 407 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get() 504 bf->bank_size = bf_bank_size; in mlxsw_sp_acl_bf_init()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/remoteproc/ |
D | xlnx_r5_remoteproc.c | 572 size_t bank_size; in add_tcm_carveout_split_mode() local 587 bank_size = r5_core->tcm_banks[i]->size; in add_tcm_carveout_split_mode() 599 bank_name, bank_addr, bank_size); in add_tcm_carveout_split_mode() 602 bank_size, bank_addr, in add_tcm_carveout_split_mode() 639 size_t bank_size = 0; in add_tcm_carveout_lockstep_mode() local 660 bank_size += r5_core->tcm_banks[i]->size; in add_tcm_carveout_lockstep_mode() 674 bank_name, bank_addr, bank_size); in add_tcm_carveout_lockstep_mode() 678 bank_size, bank_addr, in add_tcm_carveout_lockstep_mode()
|
/linux-6.6.21/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 715 size_t bank_size; in tegra_pinctrl_suspend() local 719 bank_size = tegra_pinctrl_get_bank_size(dev, i); in tegra_pinctrl_suspend() 721 for (k = 0; k < bank_size; k++) in tegra_pinctrl_suspend() 733 size_t bank_size; in tegra_pinctrl_resume() local 737 bank_size = tegra_pinctrl_get_bank_size(dev, i); in tegra_pinctrl_resume() 739 for (k = 0; k < bank_size; k++) in tegra_pinctrl_resume()
|
/linux-6.6.21/arch/x86/boot/ |
D | vesa.h | 46 u8 bank_size; /* 28 */ member
|
/linux-6.6.21/include/video/ |
D | uvesafb.h | 53 u8 bank_size; member
|
/linux-6.6.21/drivers/mtd/spi-nor/ |
D | core.c | 1191 static void spi_nor_offset_to_banks(u64 bank_size, loff_t start, size_t len, in spi_nor_offset_to_banks() argument 1195 *first = DIV_ROUND_DOWN_ULL(start, bank_size); in spi_nor_offset_to_banks() 1196 *last = DIV_ROUND_DOWN_ULL(start + len - 1, bank_size); in spi_nor_offset_to_banks() 1316 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_start_pe() 1341 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_end_pe() 1393 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_start_rd() 1419 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_end_rd() 2937 params->bank_size = div64_u64(params->size, nor->info->n_banks); in spi_nor_late_init_params() 3005 params->bank_size = params->size; in spi_nor_init_default_params()
|
D | core.h | 384 u64 bank_size; member
|
/linux-6.6.21/drivers/net/can/flexcan/ |
D | flexcan-core.c | 453 u8 bank_size; in flexcan_get_mb() local 459 bank_size = sizeof(priv->regs->mb[0]) / priv->mb_size; in flexcan_get_mb() 461 bank = mb_index >= bank_size; in flexcan_get_mb() 463 mb_index -= bank_size; in flexcan_get_mb()
|