Searched defs:blocksize (Results 1 - 25 of 34) sorted by relevance

12

/drivers/bcma/
H A Ddriver_chipcommon_sflash.c29 u32 blocksize; member in struct:bcma_sflash_tbl_e
149 sflash->blocksize = e->blocksize;
151 sflash->size = sflash->blocksize * sflash->numblocks;
154 bcma_info(bus, "Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n",
155 e->name, sflash->size / 1024, sflash->blocksize,
/drivers/ssb/
H A Ddriver_chipcommon_sflash.c28 u32 blocksize; member in struct:ssb_sflash_tbl_e
149 sflash->blocksize = e->blocksize;
151 sflash->size = sflash->blocksize * sflash->numblocks;
154 pr_info("Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n",
155 e->name, sflash->size / 1024, e->blocksize, e->numblocks);
/drivers/crypto/ccp/
H A Dccp-crypto-aes.c265 unsigned int blocksize; member in struct:ccp_aes_def
275 .blocksize = AES_BLOCK_SIZE,
283 .blocksize = AES_BLOCK_SIZE,
291 .blocksize = AES_BLOCK_SIZE,
299 .blocksize = 1,
307 .blocksize = 1,
315 .blocksize = 1,
342 alg->cra_blocksize = def->blocksize;
/drivers/crypto/qce/
H A Dablkcipher.c265 unsigned int blocksize; member in struct:qce_ablkcipher_def
276 .blocksize = AES_BLOCK_SIZE,
285 .blocksize = AES_BLOCK_SIZE,
294 .blocksize = AES_BLOCK_SIZE,
303 .blocksize = AES_BLOCK_SIZE,
312 .blocksize = DES_BLOCK_SIZE,
321 .blocksize = DES_BLOCK_SIZE,
330 .blocksize = DES3_EDE_BLOCK_SIZE,
339 .blocksize = DES3_EDE_BLOCK_SIZE,
363 alg->cra_blocksize = def->blocksize;
[all...]
H A Dcommon.c239 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); local
246 if (!rctx->last_blk && req->nbytes % blocksize)
H A Dsha.c152 unsigned int blocksize = local
161 memcpy(out_state->buffer, rctx->buf, blocksize);
168 memcpy(out_state->buf, rctx->buf, blocksize);
182 unsigned int blocksize; local
185 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash));
187 memcpy(rctx->buf, buffer, blocksize);
189 if (in_count <= blocksize) {
206 rctx->buflen = (unsigned int)(in_count & (blocksize - 1));
243 unsigned int blocksize; local
245 blocksize
375 unsigned int blocksize; local
455 unsigned int blocksize; member in struct:qce_ahash_def
[all...]
/drivers/mtd/
H A Dbcm47xxpart.c66 uint32_t blocksize = master->erasesize; local
72 if (blocksize <= 0x10000)
73 blocksize = 0x10000;
88 for (offset = 0; offset <= master->size - blocksize;
89 offset += blocksize) {
191 offset = rounddown(offset + trx->length, blocksize);
206 if (offset != master->size - blocksize &&
247 master->size - blocksize, 0);
/drivers/mtd/devices/
H A Dbcm47xxsflash.h69 u32 blocksize; member in struct:bcm47xxsflash
H A Dmtd_dataflash.c154 unsigned blocksize = priv->page_size << 3; local
185 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize;
211 instr->addr += blocksize;
212 instr->len -= blocksize;
/drivers/net/wireless/rtlwifi/rtl8723com/
H A Dfw_common.c60 u32 blocksize = sizeof(u32); local
65 blockcount = size / blocksize;
66 remainsize = size % blocksize;
69 offset = i * blocksize;
74 offset = blockcount * blocksize;
/drivers/mmc/host/
H A Dcb710-mmc.c212 size_t count, size_t blocksize)
216 ((count - 1) << 16)|(blocksize - 1));
219 count, count == 1 ? "" : "s", blocksize);
211 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) argument
/drivers/s390/block/
H A Ddasd_diag.c92 /* Initialize block I/O to DIAG device using the specified blocksize and
97 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, argument
109 iib->block_size = blocksize;
389 /* figure out blocksize of device */
435 /* get formatted blocksize from label block */
/drivers/usb/storage/
H A Dsddr55.c99 int blocksize; /* Size of block in pages */ member in struct:sddr55_card_info
100 int blockshift; /* log2 of blocksize */
216 len = min((unsigned int) sectors, (unsigned int) info->blocksize >>
235 info->blocksize - page);
343 len = min((unsigned int) sectors, (unsigned int) info->blocksize >>
362 info->blocksize - page);
585 info->blocksize = 16;
616 info->blocksize = 32;
622 info->blocksize = 32;
628 info->blocksize
[all...]
H A Dalauda.c97 unsigned int blocksize; /* number of pages per block */ member in struct:alauda_media_info
435 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift;
439 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1;
774 * (pagesize+64)*blocksize bytes in length.
793 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize,
815 unsigned int blocksize = MEDIA_INFO(us).blocksize; local
841 blocksize, blockbuffer);
845 memset(blockbuffer, 0, blocksize * (pagesize + 64));
853 for (i = 0; i < blocksize;
916 unsigned int blocksize = MEDIA_INFO(us).blocksize; local
1010 unsigned int blocksize = MEDIA_INFO(us).blocksize; local
[all...]
/drivers/message/i2o/
H A Di2o_block.c1034 u32 blocksize; local
1092 if (!i2o_parm_field_get(i2o_dev, 0x0004, 1, &blocksize, 4) ||
1093 !i2o_parm_field_get(i2o_dev, 0x0000, 3, &blocksize, 4)) {
1094 blk_queue_logical_block_size(queue, le32_to_cpu(blocksize));
1096 osm_warn("unable to get blocksize of %s\n", gd->disk_name);
/drivers/net/wireless/p54/
H A Deeprom.c952 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; local
967 blocksize = min(eeprom_size, maxblocksize);
969 offset, blocksize);
973 offset += blocksize;
974 eeprom_size -= blocksize;
/drivers/net/wireless/rtlwifi/rtl8188ee/
H A Dfw.c60 u32 blocksize = sizeof(u32); local
65 blockcount = size / blocksize;
66 remainsize = size % blocksize;
69 offset = i * blocksize;
75 offset = blockcount * blocksize;
/drivers/net/wireless/rtlwifi/rtl8192c/
H A Dfw_common.c75 u32 blocksize = sizeof(u32); local
80 blockcount = size / blocksize;
81 remainsize = size % blocksize;
84 offset = i * blocksize;
90 offset = blockcount * blocksize;
/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dfw.c70 u32 blocksize = sizeof(u32); local
75 blockCount = size / blocksize;
76 remainSize = size % blocksize;
78 offset = i * blocksize;
83 offset = blockCount * blocksize;
/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Dfw.c55 u32 blocksize = sizeof(u32); local
60 blockcount = size / blocksize;
61 remainsize = size % blocksize;
64 offset = i * blocksize;
70 offset = blockcount * blocksize;
/drivers/target/
H A Dtarget_core_pscsi.c343 * For TYPE_TAPE, attempt to determine blocksize with MODE_SENSE.
665 * Hack to correctly obtain the initiator requested blocksize for
676 u32 blocksize; local
693 blocksize = (buf[9] << 16) | (buf[10] << 8) |
696 blocksize = (buf[13] << 16) | (buf[14] << 8) |
699 sd->sector_size = blocksize;
/drivers/crypto/caam/
H A Dcaamalg.c1822 unsigned int blocksize; member in struct:caam_alg_template
1842 .blocksize = NULL_BLOCK_SIZE,
1861 .blocksize = NULL_BLOCK_SIZE,
1880 .blocksize = NULL_BLOCK_SIZE,
1900 .blocksize = NULL_BLOCK_SIZE,
1920 .blocksize = NULL_BLOCK_SIZE,
1940 .blocksize = NULL_BLOCK_SIZE,
1960 .blocksize = AES_BLOCK_SIZE,
1979 .blocksize = AES_BLOCK_SIZE,
1998 .blocksize
[all...]
H A Dcaamhash.c519 int blocksize = crypto_tfm_alg_blocksize(&ahash->base); local
528 if (keylen > blocksize) {
1600 unsigned int blocksize; member in struct:caam_hash_template
1613 .blocksize = SHA1_BLOCK_SIZE,
1634 .blocksize = SHA224_BLOCK_SIZE,
1655 .blocksize = SHA256_BLOCK_SIZE,
1676 .blocksize = SHA384_BLOCK_SIZE,
1697 .blocksize = SHA512_BLOCK_SIZE,
1718 .blocksize = MD5_BLOCK_WORDS * 4,
1867 alg->cra_blocksize = template->blocksize;
[all...]
/drivers/crypto/ux500/cryp/
H A Dcryp_core.c69 * @blocksize: Size of blocks.
83 u32 blocksize; member in struct:cryp_ctx
217 if (ctx->outlen / ctx->blocksize > 0) {
218 count = ctx->blocksize / 4;
231 if (ctx->datalen / ctx->blocksize > 0) {
232 count = ctx->blocksize / 4;
284 int num_of_regs = ctx->blocksize / 8;
291 * someone provides an incorrect blocksize which would force calling
295 dev_err(device_data->dev, "[%s] Incorrect blocksize %d",
296 __func__, ctx->blocksize);
[all...]
/drivers/net/wireless/rtlwifi/rtl8821ae/
H A Dfw.c58 u32 blocksize = sizeof(u32); local
63 blockcount = size / blocksize;
64 remainsize = size % blocksize;
67 offset = i * blocksize;
73 offset = blockcount * blocksize;

Completed in 509 milliseconds

12