Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A 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()
/openbmc/linux/arch/powerpc/kernel/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
/openbmc/linux/tools/hv/
H A 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()
349 ENTRIES_PER_BLOCK * (num_blocks + 1)); in kvp_key_add_or_modify()
[all …]
/openbmc/linux/block/partitions/
H A Dsgi.c28 __be32 num_blocks; /* Size in logical blocks */ member
75 blocks = be32_to_cpu(p->num_blocks); in sgi_partition()
/openbmc/linux/fs/ceph/
H A Dcrypto.c539 int i, num_blocks; in ceph_fscrypt_decrypt_pages() local
547 num_blocks = ceph_fscrypt_blocks(off, len & CEPH_FSCRYPT_BLOCK_MASK); in ceph_fscrypt_decrypt_pages()
550 for (i = 0; i < num_blocks; ++i) { in ceph_fscrypt_decrypt_pages()
643 int i, num_blocks; in ceph_fscrypt_encrypt_pages() local
651 num_blocks = ceph_fscrypt_blocks(off, len & CEPH_FSCRYPT_BLOCK_MASK); in ceph_fscrypt_encrypt_pages()
654 for (i = 0; i < num_blocks; ++i) { in ceph_fscrypt_encrypt_pages()
/openbmc/linux/fs/befs/
H A Dsuper.c36 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb()
H A Dbefs.h37 befs_off_t num_blocks; member
/openbmc/linux/drivers/staging/rtl8712/
H A 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()
1279 num_blocks = (plen - 8) / 16; in aes_decipher()
1288 for (i = 0; i < num_blocks; i++) { in aes_decipher()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A 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()
1081 num_blocks, payload_index; in aes_decipher() local
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()
1212 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1238 for (i = 0; i < num_blocks; i++) { in aes_decipher()
[all …]
/openbmc/linux/drivers/mfd/
H A 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()
H A Dqcom-pm8xxx.c75 unsigned int num_blocks; member
557 chip->num_blocks = DIV_ROUND_UP(data->num_irqs, 8); in pm8xxx_probe()
558 chip->num_masters = DIV_ROUND_UP(chip->num_blocks, 8); in pm8xxx_probe()
/openbmc/linux/include/uapi/sound/sof/
H A Dfw.h67 __u32 num_blocks; /* number of blocks */ member
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c562 u32 num_blocks, offset, i; in rsi_sdio_load_data_master_write() local
567 num_blocks = instructions_sz / block_size; in rsi_sdio_load_data_master_write()
571 instructions_sz, num_blocks); in rsi_sdio_load_data_master_write()
584 for (offset = 0, i = 0; i < num_blocks; i++, offset += block_size) { in rsi_sdio_load_data_master_write()
759 u32 num_blocks, address, length; in rsi_sdio_host_intf_write_pkt() local
767 num_blocks = len / block_size; in rsi_sdio_host_intf_write_pkt()
770 num_blocks++; in rsi_sdio_host_intf_write_pkt()
772 address = (num_blocks * block_size | (queueno << 12)); in rsi_sdio_host_intf_write_pkt()
773 length = num_blocks * block_size; in rsi_sdio_host_intf_write_pkt()
H A 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()
/openbmc/linux/sound/core/
H A Dump.c383 if (blk >= ump->info.num_blocks) in snd_ump_block_new()
384 ump->info.num_blocks = blk + 1; in snd_ump_block_new()
500 snd_iprintf(buffer, "Num Blocks: %d\n\n", ump->info.num_blocks); in snd_ump_proc_read()
611 ump->info.num_blocks = buf->ep_info.num_function_blocks; in ump_handle_ep_info_msg()
612 if (ump->info.num_blocks > SNDRV_UMP_MAX_BLOCKS) { in ump_handle_ep_info_msg()
614 ump->info.num_blocks); in ump_handle_ep_info_msg()
615 ump->info.num_blocks = 1; in ump_handle_ep_info_msg()
625 ump->info.version, ump->info.num_blocks, ump->info.protocol_caps); in ump_handle_ep_info_msg()
992 for (blk = 0; blk < ump->info.num_blocks; blk++) { in snd_ump_parse_endpoint()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_dev.h27 int num_blocks; member
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A 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()
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dplatform.h153 unsigned int dev_index, u64 *num_blocks);
165 u64 *num_blocks, unsigned int *num_regions);
H A 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()
/openbmc/u-boot/arch/x86/include/asm/fsp/
H A Dfsp_fv.h67 u32 num_blocks; member
/openbmc/linux/drivers/bluetooth/
H A Dbtmrvl_sdio.c703 int ret, num_blocks, blksz; in btmrvl_sdio_card_to_host() local
725 num_blocks = DIV_ROUND_UP(buf_len, blksz); in btmrvl_sdio_card_to_host()
728 || (num_blocks * blksz) > ALLOC_BUF_SIZE) { in btmrvl_sdio_card_to_host()
735 skb = bt_skb_alloc(num_blocks * blksz + BTSDIO_DMA_ALIGN, GFP_KERNEL); in btmrvl_sdio_card_to_host()
752 num_blocks * blksz); in btmrvl_sdio_card_to_host()
767 if (buf_len > blksz * num_blocks) { in btmrvl_sdio_card_to_host()
769 buf_len, blksz * num_blocks); in btmrvl_sdio_card_to_host()
807 BT_ERR("hex: %*ph", blksz * num_blocks, payload); in btmrvl_sdio_card_to_host()
/openbmc/linux/drivers/target/
H A 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()
/openbmc/qemu/block/
H A Discsi.c72 uint64_t num_blocks; member
469 DIV_ROUND_UP(iscsilun->num_blocks * iscsilun->block_size, in iscsi_allocmap_init()
726 max_bytes = (iscsilun->num_blocks - lba) * iscsilun->block_size; in iscsi_co_block_status()
770 *pnum = MIN((int64_t) lbasd->num_blocks * iscsilun->block_size, max_bytes); in iscsi_co_block_status()
1137 len = iscsilun->num_blocks; in iscsi_co_getlength()
1452 iscsilun->num_blocks = rc16->returned_lba + 1; in iscsi_readcapacity_sync()
1474 iscsilun->num_blocks = 0; in iscsi_readcapacity_sync()
1476 iscsilun->num_blocks = rc10->lba + 1; in iscsi_readcapacity_sync()
1943 bs->total_sectors = sector_lun2qemu(iscsilun->num_blocks, iscsilun); in iscsi_open()
2306 uint16_t num_blocks) in iscsi_xcopy_data() argument
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dsecurity.c731 u32 major, minor, sub_minor, blk_idx, num_blocks; in hl_iterate_special_blocks() local
739 num_blocks = hdev->asic_prop.num_of_special_blocks; in hl_iterate_special_blocks()
741 for (blk_idx = 0 ; blk_idx < num_blocks ; blk_idx++, block_info_arr++) { in hl_iterate_special_blocks()

123