Searched refs:bank_size (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_cnt.c | 249 u64 bank_size; in mlxsw_sp_counter_resources_register() local 258 bank_size = MLXSW_CORE_RES_GET(mlxsw_core, COUNTER_BANK_SIZE); in mlxsw_sp_counter_resources_register() 261 pool_size, bank_size, in mlxsw_sp_counter_resources_register() 279 sub_pool_size = sub_pool->bank_count * bank_size; in mlxsw_sp_counter_resources_register() 286 sub_pool_size, bank_size, in mlxsw_sp_counter_resources_register() 300 if (WARN_ON(total_bank_config > div64_u64(pool_size, bank_size) + 1)) in mlxsw_sp_counter_resources_register()
|
| H A D | spectrum_acl_bloom_filter.c | 15 unsigned int bank_size; member 424 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get() 520 bf->bank_size = bf_bank_size; in mlxsw_sp_acl_bf_init()
|
| /linux/drivers/i2c/ |
| H A D | i2c-stub.c | 82 u16 bank_size; member 116 (chip->bank_sel - 1) * chip->bank_size + in stub_get_wordp() 328 chip->bank_size = bank_end[i] - bank_start[i] + 1; in i2c_stub_allocate_banks() 337 chip->bank_words = kcalloc(chip->bank_mask * chip->bank_size, in i2c_stub_allocate_banks() 344 chip->bank_mask, chip->bank_size, chip->bank_start, in i2c_stub_allocate_banks()
|
| /linux/arch/x86/boot/ |
| H A D | vesa.h | 46 u8 bank_size; /* 28 */ member
|
| /linux/include/video/ |
| H A D | uvesafb.h | 53 u8 bank_size; member
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | core.c | 1198 static void spi_nor_offset_to_banks(u64 bank_size, loff_t start, size_t len, in spi_nor_offset_to_banks() argument 1202 *first = DIV_ROUND_DOWN_ULL(start, bank_size); in spi_nor_offset_to_banks() 1203 *last = DIV_ROUND_DOWN_ULL(start + len - 1, bank_size); in spi_nor_offset_to_banks() 1312 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_start_pe() 1334 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_end_pe() 1383 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_start_rd() 1406 spi_nor_offset_to_banks(nor->params->bank_size, start, len, &first, &last); in spi_nor_rww_end_rd() 2982 params->bank_size = div_u64(params->size, params->n_banks); in spi_nor_late_init_params() 3050 params->bank_size = params->size; in spi_nor_init_default_params()
|
| /linux/drivers/media/i2c/ |
| H A D | thp7312.c | 1665 unsigned int bank_size; in thp7312_fw_load_to_ram() local 1673 bank_size = min_t(u32, size, THP7312_RAM_BANK_SIZE); in thp7312_fw_load_to_ram() 1674 num_chunks = DIV_ROUND_UP(bank_size, THP7312_FW_DOWNLOAD_UNIT); in thp7312_fw_load_to_ram() 1677 __func__, bank_size, i, num_chunks); in thp7312_fw_load_to_ram()
|