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.c568 u32 num_blocks, address, length; in rsi_sdio_host_intf_write_pkt() local
574 num_blocks = len / block_size; in rsi_sdio_host_intf_write_pkt()
577 num_blocks++; in rsi_sdio_host_intf_write_pkt()
579 address = (num_blocks * block_size | (queueno << 12)); in rsi_sdio_host_intf_write_pkt()
580 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/staging/rtl8723au/core/
Drtw_security.c1139 num_blocks, payload_index; in aes_cipher() local
1200 num_blocks = plen / 16; in aes_cipher()
1212 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1237 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1251 pn_vector, num_blocks + 1); in aes_cipher()
1356 num_blocks, payload_index; in aes_decipher() local
1381 num_blocks = (plen - 8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher()
1423 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1439 pn_vector, num_blocks + 1); in aes_decipher()
1469 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/drivers/mfd/
Dstmpe.c382 .num_blocks = ARRAY_SIZE(stmpe801_blocks),
394 .num_blocks = ARRAY_SIZE(stmpe801_blocks_noirq),
486 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
501 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
650 .num_blocks = ARRAY_SIZE(stmpe1601_blocks),
733 .num_blocks = ARRAY_SIZE(stmpe1801_blocks),
815 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
829 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1085 for (i = 0; i < variant->num_blocks; i++) { in stmpe_devices_init()
Dpm8921-core.c63 unsigned int num_blocks; member
364 chip->num_blocks = DIV_ROUND_UP(chip->num_irqs, 8); in pm8921_probe()
365 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.c1066 num_blocks, payload_index; in aes_cipher() local
1122 num_blocks = plen / 16; in aes_cipher()
1134 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1159 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1169 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); in aes_cipher()
1263 num_blocks, payload_index; in aes_decipher() local
1292 num_blocks = (plen-8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher()
1326 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1338 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); in aes_decipher()
1366 num_blocks = (plen-8) / 16; in aes_decipher()
[all …]
/drivers/bluetooth/
Dbtmrvl_sdio.c624 int ret, num_blocks, blksz; in btmrvl_sdio_card_to_host() local
646 num_blocks = DIV_ROUND_UP(buf_len, blksz); in btmrvl_sdio_card_to_host()
649 || (num_blocks * blksz) > ALLOC_BUF_SIZE) { in btmrvl_sdio_card_to_host()
656 skb = bt_skb_alloc(num_blocks * blksz + BTSDIO_DMA_ALIGN, GFP_ATOMIC); in btmrvl_sdio_card_to_host()
673 num_blocks * blksz); in btmrvl_sdio_card_to_host()
688 if (buf_len > blksz * num_blocks) { in btmrvl_sdio_card_to_host()
690 buf_len, blksz * num_blocks); in btmrvl_sdio_card_to_host()
728 BT_ERR("hex: %*ph", blksz * num_blocks, payload); in btmrvl_sdio_card_to_host()
/drivers/net/wireless/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/target/
Dtarget_core_sbc.c191 u32 num_blocks; in sbc_get_write_same_sectors() local
194 num_blocks = get_unaligned_be16(&cmd->t_task_cdb[7]); in sbc_get_write_same_sectors()
196 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[10]); in sbc_get_write_same_sectors()
198 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[28]); in sbc_get_write_same_sectors()
204 if (num_blocks) in sbc_get_write_same_sectors()
205 return num_blocks; in sbc_get_write_same_sectors()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1382 u32 num_blocks = io_info->numBlocks; in megasas_set_pd_lba() local
1416 cdb[28] = (u8)((num_blocks >> 24) & 0xff); in megasas_set_pd_lba()
1417 cdb[29] = (u8)((num_blocks >> 16) & 0xff); in megasas_set_pd_lba()
1418 cdb[30] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
1419 cdb[31] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
1460 cdb[8] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
1461 cdb[7] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
1496 cdb[13] = (u8)(num_blocks & 0xff); in megasas_set_pd_lba()
1497 cdb[12] = (u8)((num_blocks >> 8) & 0xff); in megasas_set_pd_lba()
1498 cdb[11] = (u8)((num_blocks >> 16) & 0xff); in megasas_set_pd_lba()
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c313 u32 num_blocks = (u32) in cvmx_bootmem_phy_named_block_find() local
319 for (i = 0; i < num_blocks; i++) { in cvmx_bootmem_phy_named_block_find()
/drivers/media/usb/as102/
Das10x_cmd.h390 __le16 num_blocks; member