Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c96 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc() local
148 num_blocks, align_mask); in mlx5_dm_sw_icm_alloc()
152 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
169 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
185 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_dealloc() local
223 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
/drivers/staging/r8188eu/core/
Drtw_security.c1027 num_blocks, payload_index; in aes_cipher() local
1083 num_blocks = plen / 16; in aes_cipher()
1095 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1120 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1130 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks + 1); in aes_cipher()
1221 num_blocks, payload_index; in aes_decipher() local
1251 num_blocks = (plen - 8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher()
1285 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1297 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks + 1); in aes_decipher()
1325 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/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 …]
/drivers/staging/rtl8712/
Drtl871x_security.c1018 uint num_blocks, payload_index; in aes_cipher() local
1074 num_blocks = plen / 16; in aes_cipher()
1083 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1103 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1114 pframe, pn_vector, num_blocks + 1); in aes_cipher()
1192 uint num_blocks, payload_index; in aes_decipher() local
1216 num_blocks = (plen - 8) / 16; in aes_decipher()
1246 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1257 pframe, pn_vector, num_blocks + 1); in aes_decipher()
1280 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/drivers/mfd/
Dstmpe.c430 .num_blocks = ARRAY_SIZE(stmpe801_blocks),
442 .num_blocks = ARRAY_SIZE(stmpe801_blocks_noirq),
594 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
609 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
665 .num_blocks = ARRAY_SIZE(stmpe1600_blocks),
829 .num_blocks = ARRAY_SIZE(stmpe1601_blocks),
938 .num_blocks = ARRAY_SIZE(stmpe1801_blocks),
1044 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1058 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1314 for (i = 0; i < variant->num_blocks; i++) { in stmpe_devices_init()
Dqcom-pm8xxx.c75 unsigned int num_blocks; member
565 chip->num_blocks = DIV_ROUND_UP(data->num_irqs, 8); in pm8xxx_probe()
566 chip->num_masters = DIV_ROUND_UP(chip->num_blocks, 8); in pm8xxx_probe()
Dstmpe.h71 int num_blocks; member
/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()
/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()
/drivers/bluetooth/
Dbtmrvl_sdio.c717 int ret, num_blocks, blksz; in btmrvl_sdio_card_to_host() local
739 num_blocks = DIV_ROUND_UP(buf_len, blksz); in btmrvl_sdio_card_to_host()
742 || (num_blocks * blksz) > ALLOC_BUF_SIZE) { in btmrvl_sdio_card_to_host()
749 skb = bt_skb_alloc(num_blocks * blksz + BTSDIO_DMA_ALIGN, GFP_KERNEL); in btmrvl_sdio_card_to_host()
766 num_blocks * blksz); in btmrvl_sdio_card_to_host()
781 if (buf_len > blksz * num_blocks) { in btmrvl_sdio_card_to_host()
783 buf_len, blksz * num_blocks); in btmrvl_sdio_card_to_host()
821 BT_ERR("hex: %*ph", blksz * num_blocks, payload); in btmrvl_sdio_card_to_host()
/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()
/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()
/drivers/scsi/ufs/
Dufshpb.h91 int num_blocks; member
Dufshpb.c1596 hpb->rgns_per_lu = DIV_ROUND_UP(hpb_lu_info->num_blocks, in ufshpb_lu_parameter_init()
1598 hpb->srgns_per_lu = DIV_ROUND_UP(hpb_lu_info->num_blocks, in ufshpb_lu_parameter_init()
1600 hpb->last_srgn_entries = hpb_lu_info->num_blocks in ufshpb_lu_parameter_init()
2391 hpb_lu_info->num_blocks = get_unaligned_be64( in ufshpb_get_lu_info()
/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c273 u32 num_blocks = (u32)__cvmx_bootmem_desc_get( in cvmx_bootmem_phy_named_block_find() local
289 for (i = 0; i < num_blocks; i++) { in cvmx_bootmem_phy_named_block_find()
/drivers/media/usb/as102/
Das10x_cmd.h381 __le16 num_blocks; member
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c2392 u32 num_blocks = io_info->numBlocks; in megasas_set_pd_lba() local
2426 cdb[28] = (u8)((num_blocks >> 24) & 0xff); in megasas_set_pd_lba()
2427 cdb[29] = (u8)((num_blocks >> 16) & 0xff); in megasas_set_pd_lba()
2428 cdb[30] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
2429 cdb[31] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
2471 cdb[8] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
2472 cdb[7] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
2507 cdb[13] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
2508 cdb[12] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
2509 cdb[11] = (u8)((num_blocks >> 16) & 0xff); in megasas_set_pd_lba()
[all …]
/drivers/gpu/drm/
Ddrm_edid.c1834 u8 *edid, int num_blocks) in connector_bad_edid() argument
1848 if (last_block < num_blocks) in connector_bad_edid()
1856 for (i = 0; i < num_blocks; i++) { in connector_bad_edid()
/drivers/scsi/
Dscsi_debug.c4082 u32 num_blocks; in resp_sync_cache() local
4087 num_blocks = get_unaligned_be16(cmd + 7); in resp_sync_cache()
4090 num_blocks = get_unaligned_be32(cmd + 10); in resp_sync_cache()
4092 if (lba + num_blocks > sdebug_capacity) { in resp_sync_cache()
/drivers/media/platform/allegro-dvt/
Dallegro-core.c491 unsigned int num_blocks = DIV_ROUND_UP(width, SIZE_MACROBLOCK) * in estimate_stream_size() local
496 return round_up(offset + num_blocks * pcm_size + partition_table, 32); in estimate_stream_size()