Searched refs:blocksize (Results 1 - 25 of 154) sorted by path

1234567

/linux-master/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,
/linux-master/drivers/mtd/devices/
H A Dbcm47xxsflash.h74 u32 blocksize; member in struct:bcm47xxsflash
/linux-master/drivers/net/wireless/intersil/p54/
H A Deeprom.c951 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; local
966 blocksize = min(eeprom_size, maxblocksize);
968 offset, blocksize);
972 offset += blocksize;
973 eeprom_size -= blocksize;
/linux-master/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);
/linux-master/include/linux/ssb/
H A Dssb_driver_mips.h28 u32 blocksize; member in struct:ssb_sflash
/linux-master/arch/m68k/emu/
H A Dnfblock.c41 u32 *blocksize)
44 virt_to_phys(blocks), virt_to_phys(blocksize));
40 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, u32 *blocksize) argument
/linux-master/block/partitions/
H A Dibm.c108 int blocksize,
132 testsect[0] = info->label_block * (blocksize >> 9);
136 testsect[1] = (blocksize >> 9);
137 testsect[2] = 2 * (blocksize >> 9);
170 int blocksize,
189 secperblk = blocksize >> 9;
232 int blocksize,
245 secperblk = blocksize >> 9;
279 int blocksize,
291 blocksize
105 find_label(struct parsed_partitions *state, dasd_information2_t *info, struct hd_geometry *geo, int blocksize, sector_t *labelsect, char name[], char type[], union label_t *label) argument
168 find_vol1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label) argument
230 find_lnx1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect, sector_t nr_sectors, dasd_information2_t *info) argument
277 find_cms1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect) argument
330 int blocksize, res; local
[all...]
/linux-master/crypto/
H A Daead.c189 raead.blocksize = alg->cra_blocksize;
205 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
H A Dahash.c556 rhash.blocksize = alg->cra_blocksize;
569 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
H A Dcrypto_user_base.c80 rcipher.blocksize = alg->cra_blocksize;
H A Dlskcipher.c295 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
314 rblkcipher.blocksize = alg->cra_blocksize;
535 * that for the underlying cipher. The {min,max}_keysize, ivsize, blocksize,
H A Dshash.c251 rhash.blocksize = alg->cra_blocksize;
264 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
H A Dskcipher.c371 bsize = min(walk->stride, max(n, walk->blocksize));
376 if (unlikely(walk->total < walk->blocksize))
487 walk->blocksize = crypto_skcipher_blocksize(tfm);
556 walk->blocksize = crypto_aead_blocksize(tfm);
820 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
840 rblkcipher.blocksize = alg->cra_blocksize;
1092 * that for the underlying cipher. The {min,max}_keysize, ivsize, blocksize,
H A Dtestmgr.c1738 const unsigned int blocksize = crypto_ahash_blocksize(tfm); local
1805 if (blocksize != crypto_shash_blocksize(generic_tfm)) {
1806 pr_err("alg: hash: blocksize for %s (%u) doesn't match generic impl (%u)\n",
1807 driver, blocksize, crypto_shash_blocksize(generic_tfm));
2545 pr_err("alg: aead: blocksize for %s (%u) doesn't match generic impl (%u)\n",
3080 const unsigned int blocksize = crypto_skcipher_blocksize(tfm); local
3165 if (blocksize != crypto_skcipher_blocksize(generic_tfm)) {
3166 pr_err("alg: skcipher: blocksize for %s (%u) doesn't match generic impl (%u)\n",
3167 driver, blocksize,
/linux-master/drivers/atm/
H A Dsolos-pci.c628 int blocksize = 0; local
636 blocksize = ATMEL_FPGA_BLOCK;
638 blocksize = SPI_FLASH_BLOCK;
643 blocksize = ATMEL_SOLOS_BLOCK;
645 blocksize = SPI_FLASH_BLOCK;
651 blocksize = ATMEL_FPGA_BLOCK;
653 blocksize = SPI_FLASH_BLOCK;
664 blocksize = ATMEL_SOLOS_BLOCK;
666 blocksize = SPI_FLASH_BLOCK;
685 numblocks = fw->size / blocksize;
[all...]
/linux-master/drivers/block/null_blk/
H A Dmain.c422 NULLB_DEVICE_ATTR(blocksize, uint, NULL);
667 "badblocks,blocking,blocksize,cache_size,"
738 dev->blocksize = g_bs;
997 i += (nullb->dev->blocksize >> SECTOR_SHIFT)) {
1001 nullb->dev->blocksize);
1077 temp = min_t(size_t, nullb->dev->blocksize, n - count);
1109 temp = min_t(size_t, nullb->dev->blocksize, n - count);
1142 temp = min_t(size_t, n, dev->blocksize);
1797 dev->blocksize = round_down(dev->blocksize, 51
[all...]
H A Dnull_blk.h91 unsigned int blocksize; /* block size */ member in struct:nullb_device
/linux-master/drivers/cdrom/
H A Dcdrom.c2050 int blocksize, int nblocks)
2063 cgc->buflen = blocksize * nblocks;
2933 int blocksize = 0, format = 0, lba; local
2938 blocksize = CD_FRAMESIZE_RAW;
2941 blocksize = CD_FRAMESIZE;
2945 blocksize = CD_FRAMESIZE_RAW0;
2955 cgc->buffer = kzalloc(blocksize, GFP_KERNEL);
2962 ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize);
2970 if (blocksize != CD_FRAMESIZE) {
2971 ret = cdrom_switch_blocksize(cdi, blocksize);
2048 cdrom_read_cd(struct cdrom_device_info *cdi, struct packet_command *cgc, int lba, int blocksize, int nblocks) argument
[all...]
/linux-master/drivers/crypto/axis/
H A Dartpec6_crypto.c1314 size_t blocksize = crypto_tfm_alg_blocksize( local
1340 blocksize - ctx->hmac_key_length);
1349 req_ctx->key_buffer, blocksize,
1402 size_t ready_bytes = round_down(total_bytes, blocksize);
1479 digest_bits = 8 * (req_ctx->digcnt + blocksize);
2233 size_t blocksize; local
2244 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
2246 if (keylen > blocksize) {
2247 tfm_ctx->hmac_key_length = blocksize;
/linux-master/drivers/crypto/bcm/
H A Dcipher.c659 unsigned int blocksize = crypto_tfm_alg_blocksize(tfm); local
740 rem = chunksize % blocksize; /* remainder */
742 /* chunksize not a multiple of blocksize */
790 blocksize);
900 unsigned int blocksize = local
906 rc = do_shash("md5", req->result, ctx->opad, blocksize,
910 rc = do_shash("sha1", req->result, ctx->opad, blocksize,
914 rc = do_shash("sha224", req->result, ctx->opad, blocksize,
918 rc = do_shash("sha256", req->result, ctx->opad, blocksize,
922 rc = do_shash("sha384", req->result, ctx->opad, blocksize,
999 unsigned int blocksize = local
2319 unsigned int blocksize = local
2421 unsigned int blocksize = local
2471 unsigned int blocksize = local
4092 unsigned int blocksize = crypto_tfm_alg_blocksize(tfm); local
[all...]
H A Dcipher.h360 unsigned int blocksize);
H A Dspu.c322 * @blocksize: The size of a block of data for this algo
324 * The max payload must be a multiple of the blocksize so that if a request is
326 * max_payload sized chunks. Each chunk must be a multiple of blocksize.
332 unsigned int blocksize)
341 excess = max_payload % blocksize;
351 * @blocksize: The size of a block of data for this algo
353 * The max payload must be a multiple of the blocksize so that if a request is
355 * max_payload sized chunks. Each chunk must be a multiple of blocksize.
361 unsigned int blocksize)
370 excess = max_payload % blocksize;
330 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
359 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
[all...]
H A Dspu.h223 unsigned int blocksize);
226 unsigned int blocksize);
H A Dspu2.c774 * @blocksize: The size of a block of data for this algo
785 unsigned int blocksize)
789 u32 excess = SPU2_MAX_PAYLOAD % blocksize;
783 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
H A Dspu2.h177 unsigned int blocksize);

Completed in 522 milliseconds

1234567