Home
last modified time | relevance | path

Searched refs:num_blocks (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/ti/wl1251/
Dinit.c219 u32 num_blocks) in wl1251_hw_init_txq_fill() argument
226 (QOS_TX_HIGH_BE_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
228 (QOS_TX_LOW_BE_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
232 (QOS_TX_HIGH_BK_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
234 (QOS_TX_LOW_BK_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
238 (QOS_TX_HIGH_VI_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
240 (QOS_TX_LOW_VI_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
244 (QOS_TX_HIGH_VO_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
246 (QOS_TX_LOW_VO_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
/linux-6.1.9/arch/powerpc/kernel/
Drtas_flash.c108 unsigned long num_blocks; member
172 for (i = 0; i < f->num_blocks; i++) { in flash_list_valid()
200 for (i = 0; i < f->num_blocks; i++) in free_flash_list()
336 next_free = fl->num_blocks; in rtas_flash_write()
359 fl->num_blocks++; in rtas_flash_write()
594 flist->num_blocks = 0; in rtas_flash_firmware()
609 for (i = 0; i < f->num_blocks; i++) { in rtas_flash_firmware()
621 f->num_blocks = (FLASH_BLOCK_LIST_VERSION << 56) | ((f->num_blocks+1)*16); in rtas_flash_firmware()
622 f->num_blocks = cpu_to_be64(f->num_blocks); in rtas_flash_firmware()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c123 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc() local
182 num_blocks, align_mask); in mlx5_dm_sw_icm_alloc()
186 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
203 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
219 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_dealloc() local
262 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
/linux-6.1.9/tools/hv/
Dhv_kvp_daemon.c113 int num_blocks; member
181 int num_blocks = kvp_file_info[pool].num_blocks; in kvp_update_mem_state() local
196 ENTRIES_PER_BLOCK * num_blocks - records_read, in kvp_update_mem_state()
211 num_blocks++; in kvp_update_mem_state()
212 record = realloc(record, alloc_unit * num_blocks); in kvp_update_mem_state()
224 kvp_file_info[pool].num_blocks = num_blocks; in kvp_update_mem_state()
256 kvp_file_info[i].num_blocks = 1; in kvp_file_init()
316 int num_blocks; in kvp_key_add_or_modify() local
329 num_blocks = kvp_file_info[pool].num_blocks; in kvp_key_add_or_modify()
346 if (num_records == (ENTRIES_PER_BLOCK * num_blocks)) { in kvp_key_add_or_modify()
[all …]
/linux-6.1.9/block/partitions/
Dsgi.c28 __be32 num_blocks; /* Size in logical blocks */ member
75 blocks = be32_to_cpu(p->num_blocks); in sgi_partition()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_security.c960 num_blocks, payload_index; in aes_cipher() local
1016 num_blocks = plen / 16; in aes_cipher()
1028 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1053 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1063 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks + 1); in aes_cipher()
1152 num_blocks, payload_index; in aes_decipher() local
1182 num_blocks = (plen - 8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher()
1216 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1228 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks + 1); in aes_decipher()
1256 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/linux-6.1.9/fs/befs/
Dsuper.c36 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb()
Dbefs.h37 befs_off_t num_blocks; member
Dlinuxvfs.c880 if (befs_sb->num_blocks > ~((sector_t)0)) { in befs_fill_super()
883 befs_sb->num_blocks); in befs_fill_super()
960 buf->f_blocks = BEFS_SB(sb)->num_blocks; in befs_statfs()
961 buf->f_bfree = BEFS_SB(sb)->num_blocks - BEFS_SB(sb)->used_blocks; in befs_statfs()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_security.c869 num_blocks, payload_index; in aes_cipher() local
946 num_blocks = plen / 16; in aes_cipher()
958 for (i = 0; i < num_blocks; i++) { in aes_cipher()
984 for (i = 0; i < num_blocks; i++) { in aes_cipher()
998 pn_vector, num_blocks+1, frtype); in aes_cipher()
1081 num_blocks, payload_index; in aes_decipher() local
1110 num_blocks = (plen-8) / 16; /* plen including LLC, payload_length and mic) */ in aes_decipher()
1150 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1167 num_blocks+1, frtype); in aes_decipher()
1200 num_blocks = (plen-8) / 16; in aes_decipher()
[all …]
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_security.c1017 uint num_blocks, payload_index; in aes_cipher() local
1073 num_blocks = plen / 16; in aes_cipher()
1082 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1102 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1113 pframe, pn_vector, num_blocks + 1); in aes_cipher()
1191 uint num_blocks, payload_index; in aes_decipher() local
1215 num_blocks = (plen - 8) / 16; in aes_decipher()
1245 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1256 pframe, pn_vector, num_blocks + 1); in aes_decipher()
1279 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/linux-6.1.9/drivers/mfd/
Dstmpe.c424 .num_blocks = ARRAY_SIZE(stmpe801_blocks),
436 .num_blocks = ARRAY_SIZE(stmpe801_blocks_noirq),
588 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
603 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
659 .num_blocks = ARRAY_SIZE(stmpe1600_blocks),
823 .num_blocks = ARRAY_SIZE(stmpe1601_blocks),
932 .num_blocks = ARRAY_SIZE(stmpe1801_blocks),
1038 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1052 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1308 for (i = 0; i < variant->num_blocks; i++) { in stmpe_devices_init()
Dqcom-pm8xxx.c75 unsigned int num_blocks; member
559 chip->num_blocks = DIV_ROUND_UP(data->num_irqs, 8); in pm8xxx_probe()
560 chip->num_masters = DIV_ROUND_UP(chip->num_blocks, 8); in pm8xxx_probe()
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_sdio.c570 u32 num_blocks, offset, i; in rsi_sdio_load_data_master_write() local
575 num_blocks = instructions_sz / block_size; in rsi_sdio_load_data_master_write()
579 instructions_sz, num_blocks); in rsi_sdio_load_data_master_write()
592 for (offset = 0, i = 0; i < num_blocks; i++, offset += block_size) { in rsi_sdio_load_data_master_write()
768 u32 num_blocks, address, length; in rsi_sdio_host_intf_write_pkt() local
776 num_blocks = len / block_size; in rsi_sdio_host_intf_write_pkt()
779 num_blocks++; in rsi_sdio_host_intf_write_pkt()
781 address = (num_blocks * block_size | (queueno << 12)); in rsi_sdio_host_intf_write_pkt()
782 length = num_blocks * block_size; in rsi_sdio_host_intf_write_pkt()
Drsi_91x_usb.c508 u16 num_blocks; in rsi_usb_load_data_master_write() local
513 num_blocks = instructions_sz / block_size; in rsi_usb_load_data_master_write()
514 rsi_dbg(INFO_ZONE, "num_blocks: %d\n", num_blocks); in rsi_usb_load_data_master_write()
516 for (cur_indx = 0, i = 0; i < num_blocks; i++, cur_indx += block_size) { in rsi_usb_load_data_master_write()
/linux-6.1.9/drivers/net/wireless/st/cw1200/
Dfwio.c53 int ret, block, num_blocks; in cw1200_load_firmware_cw1200() local
173 num_blocks = (firmware->size - 1) / DOWNLOAD_BLOCK_SIZE + 1; in cw1200_load_firmware_cw1200()
180 for (block = 0; block < num_blocks; block++) { in cw1200_load_firmware_cw1200()
/linux-6.1.9/include/uapi/sound/sof/
Dfw.h67 __u32 num_blocks; /* number of blocks */ member
/linux-6.1.9/arch/powerpc/platforms/ps3/
Dplatform.h153 unsigned int dev_index, u64 *num_blocks);
165 u64 *num_blocks, unsigned int *num_regions);
Drepository.c581 unsigned int dev_index, u64 *num_blocks) in ps3_repository_read_stor_dev_num_blocks() argument
587 0, num_blocks, NULL); in ps3_repository_read_stor_dev_num_blocks()
646 u64 *num_blocks, unsigned int *num_regions) in ps3_repository_read_stor_dev_info() argument
660 num_blocks); in ps3_repository_read_stor_dev_info()
1238 u64 port, blk_size, num_blocks; in dump_stor_dev_info() local
1244 repo->dev_index, &port, &blk_size, &num_blocks, &num_regions); in dump_stor_dev_info()
1255 port, blk_size, num_blocks, num_regions); in dump_stor_dev_info()
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.h27 int num_blocks; member
Dd71_dev.c375 d71->num_blocks = value & 0xFF; in d71_enum_resources()
444 while (i < d71->num_blocks) { in d71_enum_resources()
459 i, d71->num_blocks); in d71_enum_resources()
/linux-6.1.9/drivers/bluetooth/
Dbtmrvl_sdio.c704 int ret, num_blocks, blksz; in btmrvl_sdio_card_to_host() local
726 num_blocks = DIV_ROUND_UP(buf_len, blksz); in btmrvl_sdio_card_to_host()
729 || (num_blocks * blksz) > ALLOC_BUF_SIZE) { in btmrvl_sdio_card_to_host()
736 skb = bt_skb_alloc(num_blocks * blksz + BTSDIO_DMA_ALIGN, GFP_KERNEL); in btmrvl_sdio_card_to_host()
753 num_blocks * blksz); in btmrvl_sdio_card_to_host()
768 if (buf_len > blksz * num_blocks) { in btmrvl_sdio_card_to_host()
770 buf_len, blksz * num_blocks); in btmrvl_sdio_card_to_host()
808 BT_ERR("hex: %*ph", blksz * num_blocks, payload); in btmrvl_sdio_card_to_host()
/linux-6.1.9/drivers/target/
Dtarget_core_sbc.c171 u32 num_blocks; in sbc_get_write_same_sectors() local
174 num_blocks = get_unaligned_be16(&cmd->t_task_cdb[7]); in sbc_get_write_same_sectors()
176 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[10]); in sbc_get_write_same_sectors()
178 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[28]); in sbc_get_write_same_sectors()
184 if (num_blocks) in sbc_get_write_same_sectors()
185 return num_blocks; in sbc_get_write_same_sectors()
/linux-6.1.9/sound/soc/sof/
Dipc3-loader.c240 module->size, module->num_blocks, module->type); in sof_ipc3_parse_module_memcpy()
246 for (count = 0; count < module->num_blocks; count++) { in sof_ipc3_parse_module_memcpy()
/linux-6.1.9/fs/ecryptfs/
Dcrypto.c1756 size_t num_blocks; in ecryptfs_encode_for_filename() local
1765 num_blocks = (src_size / 3); in ecryptfs_encode_for_filename()
1769 num_blocks++; in ecryptfs_encode_for_filename()
1781 (*dst_size) = (num_blocks * 4); in ecryptfs_encode_for_filename()
1784 while (block_num < num_blocks) { in ecryptfs_encode_for_filename()
1788 if (block_num == (num_blocks - 1)) in ecryptfs_encode_for_filename()

12