Home
last modified time | relevance | path

Searched refs:block_num (Results 1 – 13 of 13) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dalias_GUID.c60 int block_num; member
67 u8 block_num; member
75 void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, int block_num, in mlx4_ib_update_cache_on_guid_change() argument
88 all_rec_per_port[block_num].guid_indexes); in mlx4_ib_update_cache_on_guid_change()
95 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_update_cache_on_guid_change()
107 " was not updated\n", i, block_num); in mlx4_ib_update_cache_on_guid_change()
187 int block_num, u32 port_num, in mlx4_ib_notify_slaves_on_guid_change() argument
205 all_rec_per_port[block_num]; in mlx4_ib_notify_slaves_on_guid_change()
208 all_rec_per_port[block_num].guid_indexes); in mlx4_ib_notify_slaves_on_guid_change()
217 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_notify_slaves_on_guid_change()
[all …]
Dmlx4_ib.h885 int block_num,
889 int block_num, u32 port_num,
/drivers/crypto/hisilicon/
Dsgl.c41 u32 block_num; member
59 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local
77 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool()
80 if ((!remain_sgl && block_num > HISI_ACC_MEM_BLOCK_NR) || in hisi_acc_create_sgl_pool()
81 (remain_sgl > 0 && block_num > HISI_ACC_MEM_BLOCK_NR - 1)) in hisi_acc_create_sgl_pool()
89 for (i = 0; i < block_num; i++) { in hisi_acc_create_sgl_pool()
114 pool->block_num = remain_sgl ? block_num + 1 : block_num; in hisi_acc_create_sgl_pool()
148 for (i = 0; i < pool->block_num; i++) in hisi_acc_free_sgl_pool()
/drivers/mtd/parsers/
Dsharpslpart.c168 unsigned int block_num, phymax; in sharpsl_nand_init_ftl() local
194 for (block_num = 0; block_num < phymax; block_num++) { in sharpsl_nand_init_ftl()
195 block_adr = (loff_t)block_num * mtd->erasesize; in sharpsl_nand_init_ftl()
209 ftl->log2phy[log_num] = block_num; in sharpsl_nand_init_ftl()
234 unsigned int block_num; in sharpsl_nand_read_laddr() local
246 block_num = ftl->log2phy[log_num]; in sharpsl_nand_read_laddr()
247 block_adr = (loff_t)block_num * mtd->erasesize; in sharpsl_nand_read_laddr()
/drivers/net/wireless/mediatek/mt76/mt7915/
Deeprom.c36 u32 block_num, i; in mt7915_eeprom_load() local
38 block_num = DIV_ROUND_UP(MT7915_EEPROM_SIZE, in mt7915_eeprom_load()
40 for (i = 0; i < block_num; i++) in mt7915_eeprom_load()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dpaging.h25 __le32 block_num; member
/drivers/mtd/
Dsm_ftl.c937 int block_num; in sm_cache_flush() local
947 block_num = zone->lba_to_phys_table[ftl->cache_block]; in sm_cache_flush()
955 zone_num, block_num, sector_num * SM_SECTOR_SIZE, in sm_cache_flush()
985 if (block_num > 0) in sm_cache_flush()
986 sm_erase_block(ftl, zone_num, block_num, 1); in sm_cache_flush()
/drivers/crypto/cavium/nitrox/
Dnitrox_main.c72 u64 *ucode_data, int block_num) in write_to_ucd_unit() argument
95 nitrox_write_csr(ndev, offset, block_num); in write_to_ucd_unit()
/drivers/net/wireless/intel/iwlwifi/fw/
Dpaging.c241 .block_num = cpu_to_le32(fwrt->num_of_paging_blk), in iwl_send_paging_cmd()
/drivers/input/mouse/
Dcyapa_gen3.c123 __be16 block_num; member
659 put_unaligned_be16(block, &write_block_cmd.block_num); in cyapa_gen3_write_fw_block()
/drivers/infiniband/core/
Dsa_query.c667 { GUIDINFO_REC_FIELD(block_num),
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1325 block->block_num = cpu_to_be32(n - i - 1); in mlx5_alloc_cmd_msg()
/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h3047 mlxsw_reg_perar_hw_regions_needed(unsigned int block_num) in mlxsw_reg_perar_hw_regions_needed() argument
3049 return DIV_ROUND_UP(block_num, 4); in mlxsw_reg_perar_hw_regions_needed()