/linux-6.1.9/drivers/crypto/hisilicon/ |
D | sgl.c | 42 u32 block_num; member 60 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local 79 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool() 82 if ((!remain_sgl && block_num > HISI_ACC_MEM_BLOCK_NR) || in hisi_acc_create_sgl_pool() 83 (remain_sgl > 0 && block_num > HISI_ACC_MEM_BLOCK_NR - 1)) in hisi_acc_create_sgl_pool() 91 for (i = 0; i < block_num; i++) { in hisi_acc_create_sgl_pool() 116 pool->block_num = remain_sgl ? block_num + 1 : block_num; in hisi_acc_create_sgl_pool() 151 for (i = 0; i < pool->block_num; i++) in hisi_acc_free_sgl_pool()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 59 int block_num; member 66 u8 block_num; member 74 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 87 all_rec_per_port[block_num].guid_indexes); in mlx4_ib_update_cache_on_guid_change() 94 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_update_cache_on_guid_change() 106 " was not updated\n", i, block_num); in mlx4_ib_update_cache_on_guid_change() 186 int block_num, u32 port_num, in mlx4_ib_notify_slaves_on_guid_change() argument 204 all_rec_per_port[block_num]; in mlx4_ib_notify_slaves_on_guid_change() 207 all_rec_per_port[block_num].guid_indexes); in mlx4_ib_notify_slaves_on_guid_change() 216 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_notify_slaves_on_guid_change() [all …]
|
D | mlx4_ib.h | 885 int block_num, 889 int block_num, u32 port_num,
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | security.c | 79 int block_num; in hl_unsecure_register() local 81 block_num = hl_get_pb_block(hdev, mm_reg_addr + offset, pb_blocks, in hl_unsecure_register() 83 if (block_num < 0) in hl_unsecure_register() 84 return block_num; in hl_unsecure_register() 86 reg_offset = (mm_reg_addr + offset) - pb_blocks[block_num]; in hl_unsecure_register() 88 return hl_unset_pb_in_block(hdev, reg_offset, &sgs_array[block_num]); in hl_unsecure_register() 109 int i, block_num, rc = 0; in hl_unsecure_register_range() local 111 block_num = hl_get_pb_block(hdev, in hl_unsecure_register_range() 114 if (block_num < 0) in hl_unsecure_register_range() 115 return block_num; in hl_unsecure_register_range() [all …]
|
/linux-6.1.9/drivers/mtd/parsers/ |
D | sharpslpart.c | 168 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()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | psock_tpacket.c | 523 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) in __v3_test_block_len() argument 527 "len:%u != actual len:%u\n", block_num, in __v3_test_block_len() 533 static void __v3_test_block_header(struct block_desc *pbd, const int block_num) in __v3_test_block_header() argument 536 fprintf(stderr, "\nblock %u: not in TP_STATUS_USER\n", block_num); in __v3_test_block_header() 543 static void __v3_walk_block(struct block_desc *pbd, const int block_num) in __v3_walk_block() argument 549 __v3_test_block_header(pbd, block_num); in __v3_walk_block() 571 __v3_test_block_len(pbd, bytes_with_padding, block_num); in __v3_walk_block() 583 unsigned int block_num = 0; in walk_v3_rx() local 600 pbd = (struct block_desc *) ring->rd[block_num].iov_base; in walk_v3_rx() 605 __v3_walk_block(pbd, block_num); in walk_v3_rx() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | paging.h | 25 __le32 block_num; member
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | eeprom.c | 112 u32 block_num, i; in mt7915_eeprom_load() local 120 block_num = DIV_ROUND_UP(eeprom_size, in mt7915_eeprom_load() 122 for (i = 0; i < block_num; i++) in mt7915_eeprom_load()
|
D | mt7915.h | 482 int mt7915_mcu_get_eeprom_free_block(struct mt7915_dev *dev, u8 *block_num);
|
D | mcu.c | 2759 int mt7915_mcu_get_eeprom_free_block(struct mt7915_dev *dev, u8 *block_num) in mt7915_mcu_get_eeprom_free_block() argument 2777 *block_num = *(u8 *)skb->data; in mt7915_mcu_get_eeprom_free_block()
|
/linux-6.1.9/fs/afs/ |
D | dir_edit.c | 175 union afs_xdr_dir_block *block, int block_num) in afs_edit_init_block() argument 182 if (block_num == 0) { in afs_edit_init_block() 192 if (block_num < AFS_DIR_BLOCKS_WITH_CTR) in afs_edit_init_block() 193 meta->meta.alloc_ctrs[block_num] = in afs_edit_init_block()
|
/linux-6.1.9/block/partitions/ |
D | sgi.c | 24 __be32 block_num; /* Logical block number */ member
|
/linux-6.1.9/drivers/mtd/ |
D | sm_ftl.c | 937 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()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_edid.c | 1905 int block_num) in edid_block_status_print() argument 1911 pr_debug("EDID block %d read failed\n", block_num); in edid_block_status_print() 1914 pr_debug("EDID block %d pointer is NULL\n", block_num); in edid_block_status_print() 1917 pr_notice("EDID block %d is all zeroes\n", block_num); in edid_block_status_print() 1931 block_num, edid_block_tag(block), in edid_block_status_print() 1935 block_num, edid_block_tag(block), in edid_block_status_print() 1945 block_num, status); in edid_block_status_print() 1950 static void edid_block_dump(const char *level, const void *block, int block_num) in edid_block_dump() argument 1955 status = edid_block_check(block, block_num == 0); in edid_block_dump() 1957 sprintf(prefix, "\t[%02x] ZERO ", block_num); in edid_block_dump() [all …]
|
/linux-6.1.9/drivers/crypto/cavium/nitrox/ |
D | nitrox_main.c | 72 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()
|
/linux-6.1.9/fs/ecryptfs/ |
D | crypto.c | 1757 size_t block_num = 0; in ecryptfs_encode_for_filename() local 1784 while (block_num < num_blocks) { in ecryptfs_encode_for_filename() 1788 if (block_num == (num_blocks - 1)) in ecryptfs_encode_for_filename() 1791 src_block = &src[block_num * 3]; in ecryptfs_encode_for_filename() 1802 block_num++; in ecryptfs_encode_for_filename()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/ |
D | paging.c | 243 .block_num = cpu_to_le32(fwrt->num_of_paging_blk), in iwl_send_paging_cmd()
|
/linux-6.1.9/Documentation/networking/ |
D | packet_mmap.rst | 917 static void walk_block(struct block_desc *pbd, const int block_num) 955 unsigned int block_num = 0, blocks = 64; 976 pbd = (struct block_desc *) ring.rd[block_num].iov_base; 983 walk_block(pbd, block_num); 985 block_num = (block_num + 1) % blocks;
|
/linux-6.1.9/drivers/input/mouse/ |
D | cyapa_gen3.c | 123 __be16 block_num; member 659 put_unaligned_be16(block, &write_block_cmd.block_num); in cyapa_gen3_write_fw_block()
|
/linux-6.1.9/include/rdma/ |
D | ib_sa.h | 385 u8 block_num; member
|
/linux-6.1.9/include/linux/mlx5/ |
D | device.h | 766 __be32 block_num; member
|
/linux-6.1.9/drivers/infiniband/core/ |
D | sa_query.c | 675 { GUIDINFO_REC_FIELD(block_num),
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 1388 block->block_num = cpu_to_be32(n - i - 1); in mlx5_alloc_cmd_msg()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 3207 mlxsw_reg_perar_hw_regions_needed(unsigned int block_num) in mlxsw_reg_perar_hw_regions_needed() argument 3209 return DIV_ROUND_UP(block_num, 4); in mlxsw_reg_perar_hw_regions_needed()
|