Home
last modified time | relevance | path

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

/drivers/net/wireless/rsi/
Drsi_91x_usb_ops.c36 u32 num_blocks) in rsi_copy_to_card() argument
47 for (indx = 0, ii = 0; ii < num_blocks; ii++, indx += block_size) { in rsi_copy_to_card()
139 u32 num_blocks, len; in rsi_load_ta_instructions() local
160 num_blocks = (len / block_size); in rsi_load_ta_instructions()
163 rsi_dbg(INIT_ZONE, "%s: num blocks: %d\n", __func__, num_blocks); in rsi_load_ta_instructions()
165 status = rsi_copy_to_card(common, fw, len, num_blocks); in rsi_load_ta_instructions()
Drsi_91x_sdio_ops.c78 u32 num_blocks) in rsi_copy_to_card() argument
96 for (indx = 0, ii = 0; ii < num_blocks; ii++, indx += block_size) { in rsi_copy_to_card()
174 u32 num_blocks; in rsi_load_ta_instructions() local
215 num_blocks = (len / block_size); in rsi_load_ta_instructions()
218 rsi_dbg(INIT_ZONE, "%s: num blocks: %d\n", __func__, num_blocks); in rsi_load_ta_instructions()
220 status = rsi_copy_to_card(common, fw, len, num_blocks); in rsi_load_ta_instructions()
Drsi_91x_sdio.c570 u32 num_blocks, address, length; in rsi_sdio_host_intf_write_pkt() local
576 num_blocks = len / block_size; in rsi_sdio_host_intf_write_pkt()
579 num_blocks++; in rsi_sdio_host_intf_write_pkt()
581 address = (num_blocks * block_size | (queueno << 12)); in rsi_sdio_host_intf_write_pkt()
582 length = num_blocks * block_size; in rsi_sdio_host_intf_write_pkt()
/drivers/net/wireless/ti/wl1251/
Dinit.c233 u32 num_blocks) in wl1251_hw_init_txq_fill() argument
240 (QOS_TX_HIGH_BE_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
242 (QOS_TX_LOW_BE_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
246 (QOS_TX_HIGH_BK_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
248 (QOS_TX_LOW_BK_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
252 (QOS_TX_HIGH_VI_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
254 (QOS_TX_LOW_VI_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
258 (QOS_TX_HIGH_VO_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
260 (QOS_TX_LOW_VO_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
/drivers/staging/rtl8712/
Drtl871x_security.c1037 uint num_blocks, payload_index; in aes_cipher() local
1093 num_blocks = plen / 16; in aes_cipher()
1102 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1122 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1133 pframe, pn_vector, num_blocks + 1); in aes_cipher()
1212 uint num_blocks, payload_index; in aes_decipher() local
1236 num_blocks = (plen - 8) / 16; in aes_decipher()
1266 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1277 pframe, pn_vector, num_blocks + 1); in aes_decipher()
1300 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/drivers/mfd/
Dstmpe.c428 .num_blocks = ARRAY_SIZE(stmpe801_blocks),
440 .num_blocks = ARRAY_SIZE(stmpe801_blocks_noirq),
534 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
549 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
603 .num_blocks = ARRAY_SIZE(stmpe1600_blocks),
767 .num_blocks = ARRAY_SIZE(stmpe1601_blocks),
876 .num_blocks = ARRAY_SIZE(stmpe1801_blocks),
982 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
996 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1252 for (i = 0; i < variant->num_blocks; i++) { in stmpe_devices_init()
Dpm8921-core.c63 unsigned int num_blocks; member
365 chip->num_blocks = DIV_ROUND_UP(chip->num_irqs, 8); in pm8921_probe()
366 chip->num_masters = DIV_ROUND_UP(chip->num_blocks, 8); in pm8921_probe()
Dstmpe.h71 int num_blocks; member
/drivers/staging/rtl8188eu/core/
Drtw_security.c1060 num_blocks, payload_index; in aes_cipher() local
1116 num_blocks = plen / 16; in aes_cipher()
1128 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1153 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1163 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); in aes_cipher()
1257 num_blocks, payload_index; in aes_decipher() local
1286 num_blocks = (plen-8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher()
1320 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1332 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); in aes_decipher()
1360 num_blocks = (plen-8) / 16; in aes_decipher()
[all …]
/drivers/net/wireless/st/cw1200/
Dfwio.c56 int ret, block, num_blocks; in cw1200_load_firmware_cw1200() local
176 num_blocks = (firmware->size - 1) / DOWNLOAD_BLOCK_SIZE + 1; in cw1200_load_firmware_cw1200()
183 for (block = 0; block < num_blocks; block++) { in cw1200_load_firmware_cw1200()
/drivers/bluetooth/
Dbtmrvl_sdio.c686 int ret, num_blocks, blksz; in btmrvl_sdio_card_to_host() local
708 num_blocks = DIV_ROUND_UP(buf_len, blksz); in btmrvl_sdio_card_to_host()
711 || (num_blocks * blksz) > ALLOC_BUF_SIZE) { in btmrvl_sdio_card_to_host()
718 skb = bt_skb_alloc(num_blocks * blksz + BTSDIO_DMA_ALIGN, GFP_ATOMIC); in btmrvl_sdio_card_to_host()
735 num_blocks * blksz); in btmrvl_sdio_card_to_host()
750 if (buf_len > blksz * num_blocks) { in btmrvl_sdio_card_to_host()
752 buf_len, blksz * num_blocks); in btmrvl_sdio_card_to_host()
790 BT_ERR("hex: %*ph", blksz * num_blocks, payload); in btmrvl_sdio_card_to_host()
/drivers/target/
Dtarget_core_sbc.c199 u32 num_blocks; in sbc_get_write_same_sectors() local
202 num_blocks = get_unaligned_be16(&cmd->t_task_cdb[7]); in sbc_get_write_same_sectors()
204 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[10]); in sbc_get_write_same_sectors()
206 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[28]); in sbc_get_write_same_sectors()
212 if (num_blocks) in sbc_get_write_same_sectors()
213 return num_blocks; in sbc_get_write_same_sectors()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1526 u32 num_blocks = io_info->numBlocks; in megasas_set_pd_lba() local
1560 cdb[28] = (u8)((num_blocks >> 24) & 0xff); in megasas_set_pd_lba()
1561 cdb[29] = (u8)((num_blocks >> 16) & 0xff); in megasas_set_pd_lba()
1562 cdb[30] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
1563 cdb[31] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
1604 cdb[8] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
1605 cdb[7] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
1640 cdb[13] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
1641 cdb[12] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
1642 cdb[11] = (u8)((num_blocks >> 16) & 0xff); in megasas_set_pd_lba()
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c316 u32 num_blocks = (u32) in cvmx_bootmem_phy_named_block_find() local
322 for (i = 0; i < num_blocks; i++) { in cvmx_bootmem_phy_named_block_find()
/drivers/lightnvm/
Dsysfs.c100 static NVM_DEV_ATTR_RO(num_blocks);
/drivers/media/usb/as102/
Das10x_cmd.h390 __le16 num_blocks; member