Searched refs:blksize (Results 1 - 25 of 38) sorted by relevance

12

/drivers/base/regmap/
H A Dregcache-lzo.c134 int ret, i, blksize, blkcount; local
179 blksize = regcache_lzo_get_blksize(map);
183 for (i = 0; i < blkcount; i++, p += blksize) {
185 if (p + blksize > end)
188 lzo_blocks[i]->src_len = blksize;
238 size_t blksize, tmp_dst_len; local
246 blksize = regcache_lzo_get_blksize(map);
278 size_t blksize, tmp_dst_len; local
286 blksize = regcache_lzo_get_blksize(map);
/drivers/s390/block/
H A Ddasd_fba.c87 int blksize, int beg, int nr)
100 data->blk_size = blksize;
265 unsigned int blksize, off; local
275 blksize = block->bp_block;
284 if (bv->bv_len & (blksize - 1))
290 cidaw += bv->bv_len / blksize;
336 for (off = 0; off < bv->bv_len; off += blksize) {
353 if (idal_is_needed(dst, blksize)) {
356 idaws = idal_create_words(idaws, dst, blksize);
362 dst += blksize;
86 define_extent(struct ccw1 * ccw, struct DE_fba_data *data, int rw, int blksize, int beg, int nr) argument
387 unsigned int blksize, off; local
[all...]
H A Ddasd_eckd.c470 unsigned int blksize, unsigned int tlf)
564 dedata->blk_size = blksize;
603 basedev, blksize, tlf);
2038 rpt = recs_per_track(&private->rdc_data, 0, fdata->blksize);
2055 if (dasd_check_blocksize(fdata->blksize) != 0) {
2058 fdata->blksize);
2127 fdata->blksize);
2191 ect->dl = fdata->blksize;
2335 unsigned int blksize)
2365 if (bv->bv_len & (blksize
466 prefix_LRE(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, unsigned int trk, unsigned int totrk, int cmd, struct dasd_device *basedev, struct dasd_device *startdev, unsigned char format, unsigned int rec_on_trk, int count, unsigned int blksize, unsigned int tlf) argument
2324 dasd_eckd_build_cp_cmd_single( struct dasd_device *startdev, struct dasd_block *block, struct request *req, sector_t first_rec, sector_t last_rec, sector_t first_trk, sector_t last_trk, unsigned int first_offs, unsigned int last_offs, unsigned int blk_per_trk, unsigned int blksize) argument
2510 dasd_eckd_build_cp_cmd_track( struct dasd_device *startdev, struct dasd_block *block, struct request *req, sector_t first_rec, sector_t last_rec, sector_t first_trk, sector_t last_trk, unsigned int first_offs, unsigned int last_offs, unsigned int blk_per_trk, unsigned int blksize) argument
2685 prepare_itcw(struct itcw *itcw, unsigned int trk, unsigned int totrk, int cmd, struct dasd_device *basedev, struct dasd_device *startdev, unsigned int rec_on_trk, int count, unsigned int blksize, unsigned int total_data_size, unsigned int tlf, unsigned int blk_per_trk) argument
2816 dasd_eckd_build_cp_tpm_track( struct dasd_device *startdev, struct dasd_block *block, struct request *req, sector_t first_rec, sector_t last_rec, sector_t first_trk, sector_t last_trk, unsigned int first_offs, unsigned int last_offs, unsigned int blk_per_trk, unsigned int blksize) argument
2993 unsigned int blk_per_trk, blksize; local
3194 unsigned int blksize, blk_per_trk, off; local
[all...]
H A Ddasd_diag.c511 unsigned int blksize, off; local
520 blksize = block->bp_block;
528 if (bv->bv_len & (blksize - 1))
549 for (off = 0; off < bv->bv_len; off += blksize) {
555 dst += blksize;
H A Ddasd_ioctl.c168 fdata->stop_unit, fdata->blksize, fdata->intensity);
177 bdev->bd_inode->i_blkbits = blksize_bits(fdata->blksize);
/drivers/mtd/
H A Dmtdblock_ro.c75 .blksize = 512,
H A Dmtd_blkdevs.c102 for (; nsect > 0; nsect--, block++, buf += tr->blksize)
112 for (; nsect > 0; nsect--, block++, buf += tr->blksize)
419 set_capacity(gd, (new->size * tr->blksize) >> 9);
429 blk_queue_logical_block_size(new->rq, tr->blksize);
565 tr->blkshift = ffs(tr->blksize) - 1;
H A Dmtdblock.c380 .blksize = 512,
H A Dssfdc.c433 .blksize = SECTOR_SIZE,
/drivers/scsi/
H A Dsr_ioctl.c486 * blksize: 2048 | 2336 | 2340 | 2352
489 static int sr_read_cd(Scsi_CD *cd, unsigned char *dest, int lba, int format, int blksize) argument
494 printk("%s: sr_read_cd lba=%d format=%d blksize=%d\n",
495 cd->cdi.name, lba, format, blksize);
506 switch (blksize) {
521 cgc.buflen = blksize;
531 static int sr_read_sector(Scsi_CD *cd, int lba, int blksize, unsigned char *dest) argument
538 rc = sr_read_cd(cd, dest, lba, 0, blksize);
546 if (blksize != cd->device->sector_size) {
547 if (0 != (rc = sr_set_blocklength(cd, blksize)))
[all...]
/drivers/media/video/saa7134/
H A Dsaa7134-alsa.c171 if (dev->dmasound.read_count >= dev->dmasound.blksize * (dev->dmasound.blocks-2)) {
181 saa_writel(reg,next_blk * dev->dmasound.blksize);
185 next_blk * dev->dmasound.blksize, dev->dmasound.blocks, dev->dmasound.blksize, dev->dmasound.read_count);
189 dev->dmasound.read_count += dev->dmasound.blksize;
309 BUG_ON(!dev->dmasound.blksize);
314 dev->dmasound.blksize = 0;
480 saa_writeb(SAA7134_NUM_SAMPLES0, ((dev->dmasound.blksize - 1) & 0x0000ff));
481 saa_writeb(SAA7134_NUM_SAMPLES1, ((dev->dmasound.blksize - 1) & 0x00ff00) >> 8);
482 saa_writeb(SAA7134_NUM_SAMPLES2, ((dev->dmasound.blksize
[all...]
/drivers/mtd/nand/
H A Dmpc5121_nfc.c410 uint o, s, sbsize, blksize; local
441 blksize = min(sbsize - o, size);
445 buffer, blksize);
448 prv->regs + NFC_SPARE_AREA(s) + o, blksize);
450 buffer += blksize;
451 offset += blksize;
452 size -= blksize;
/drivers/block/
H A Dnbd.c79 case NBD_SET_BLKSIZE: return "set-blksize";
623 nbd->blksize = arg;
624 nbd->bytesize &= ~(nbd->blksize-1);
626 set_blocksize(bdev, nbd->blksize);
631 nbd->bytesize = arg & ~(nbd->blksize-1);
633 set_blocksize(bdev, nbd->blksize);
642 nbd->bytesize = ((u64) arg) * nbd->blksize;
644 set_blocksize(bdev, nbd->blksize);
816 nbd_dev[i].blksize = 1024;
/drivers/usb/gadget/
H A Dstorage_common.c208 unsigned int blksize; /* logical block size of bound block device */ member in struct:fsg_lun
683 curlun->blksize = 2048;
686 curlun->blksize = bdev_logical_block_size(inode->i_bdev);
687 curlun->blkbits = blksize_bits(curlun->blksize);
689 curlun->blksize = 512;
/drivers/usb/serial/
H A Dcyberjack.c433 int length, blksize, result; local
462 blksize = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3;
465 priv->wrsent >= blksize) {
/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1320 uint32_t blksize; local
1335 blksize = lpfc_cmd_blksize(sc);
1336 numblks = (scsi_bufflen(sc) + blksize - 1) / blksize;
1903 unsigned blksize; local
1911 blksize = lpfc_cmd_blksize(sc);
2036 unsigned blksize; local
2058 blksize = lpfc_cmd_blksize(sc);
2122 protgrp_bytes = protgrp_blks * blksize;
2129 protgrp_bytes = protgrp_blks * blksize;
2254 unsigned blksize; local
2382 unsigned blksize; local
2614 unsigned blksize; local
3033 unsigned blksize; local
[all...]
/drivers/mmc/host/
H A Dwbsd.c543 u16 blksize; local
578 blksize = data->blksz + 2;
580 wbsd_write_index(host, WBSD_IDX_PBSMSB, (blksize >> 4) & 0xF0);
581 wbsd_write_index(host, WBSD_IDX_PBSLSB, blksize & 0xFF);
583 blksize = data->blksz + 2 * 4;
586 ((blksize >> 4) & 0xF0) | WBSD_DATA_WIDTH);
587 wbsd_write_index(host, WBSD_IDX_PBSLSB, blksize & 0xFF);
H A Dsdhci.c298 size_t blksize, len, chunk; local
304 blksize = host->data->blksz;
309 while (blksize) {
313 len = min(host->sg_miter.length, blksize);
315 blksize -= len;
343 size_t blksize, len, chunk; local
349 blksize = host->data->blksz;
355 while (blksize) {
359 len = min(host->sg_miter.length, blksize);
361 blksize
[all...]
/drivers/mmc/core/
H A Dsdio_cis.c154 card->cis.blksize = buf[1] | (buf[2] << 8);
/drivers/net/wireless/bcmdhd/
H A Dbcmsdh_sdmmc.c501 uint blksize = (uint16)int_val; local
515 if (blksize > maxsize) {
519 if (!blksize) {
520 blksize = maxsize;
524 si->client_block_size[func] = blksize;
/drivers/block/drbd/
H A Ddrbd_receiver.c1950 size = be32_to_cpu(p->blksize);
3630 drbd_set_out_of_sync(mdev, be64_to_cpu(p->sector), be32_to_cpu(p->blksize));
4230 int blksize = be32_to_cpu(p->blksize); local
4238 drbd_set_in_sync(mdev, sector, blksize);
4240 mdev->rs_same_csum += (blksize >> BM_BLOCK_SHIFT);
4244 atomic_add(blksize >> 9, &mdev->rs_sect_in);
4304 int blksize = be32_to_cpu(p->blksize); local
4310 drbd_set_in_sync(mdev, sector, blksize);
[all...]
H A Ddrbd_int.h401 u32 blksize; member in struct:p_block_ack
410 u32 blksize; member in struct:p_block_req
535 u32 blksize; member in struct:p_drbd06_param
552 u32 blksize; member in struct:p_block_desc
1253 sector_t sector, int blksize, u64 block_id);
H A Ddrbd_main.c2386 * @blksize: size in byte, needs to be in big endian byte order
2391 u32 blksize,
2399 p.blksize = blksize;
2424 return _drbd_send_ack(mdev, cmd, rp->sector, rp->blksize, rp->block_id);
2445 sector_t sector, int blksize, u64 block_id)
2449 cpu_to_be32(blksize),
2461 p.blksize = cpu_to_be32(size);
2478 p.blksize = cpu_to_be32(size);
2501 p.blksize
2389 _drbd_send_ack(struct drbd_conf *mdev, enum drbd_packets cmd, u64 sector, u32 blksize, u64 block_id) argument
2444 drbd_send_ack_ex(struct drbd_conf *mdev, enum drbd_packets cmd, sector_t sector, int blksize, u64 block_id) argument
[all...]
/drivers/net/wireless/libertas/
H A Dif_usb.c878 uint32_t blksize, offset, len; local
888 blksize = le32_to_cpu(fwh->datalength);
891 offset = sizeof(struct fwheader) + blksize;
/drivers/net/wireless/libertas_tf/
H A Dif_usb.c779 u32 blksize, offset, len; local
789 blksize = le32_to_cpu(fwh->datalength);
792 offset = sizeof(struct fwheader) + blksize;

Completed in 472 milliseconds

12