/drivers/usb/storage/ |
H A D | sddr09.c | 259 int blocksize; /* Size of block in pages */ member in struct:sddr09_card_info 260 int blockshift; /* log2 of blocksize */ 763 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; 780 pages = min(sectors, info->blocksize - page); 900 result = sddr09_read22(us, address>>1, info->blocksize, 906 for (i = 0; i < info->blocksize; i++) { 940 result = sddr09_write_inplace(us, address>>1, info->blocksize, 1004 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; 1020 pages = min(sectors, info->blocksize - page); 1602 info->blocksize [all...] |
/drivers/atm/ |
H A D | solos-pci.c | 634 int blocksize = 0; local 642 blocksize = ATMEL_FPGA_BLOCK; 644 blocksize = SPI_FLASH_BLOCK; 649 blocksize = ATMEL_SOLOS_BLOCK; 651 blocksize = SPI_FLASH_BLOCK; 657 blocksize = ATMEL_FPGA_BLOCK; 659 blocksize = SPI_FLASH_BLOCK; 670 blocksize = ATMEL_SOLOS_BLOCK; 672 blocksize = SPI_FLASH_BLOCK; 691 numblocks = fw->size / blocksize; [all...] |
/drivers/cdrom/ |
H A D | cdrom.c | 2063 int blocksize, int nblocks) 2076 cgc->buflen = blocksize * nblocks; 2934 int blocksize = 0, format = 0, lba; local 2939 blocksize = CD_FRAMESIZE_RAW; 2942 blocksize = CD_FRAMESIZE; 2946 blocksize = CD_FRAMESIZE_RAW0; 2956 cgc->buffer = kzalloc(blocksize, GFP_KERNEL); 2963 ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize); 2972 ret = cdrom_switch_blocksize(cdi, blocksize); 2976 ret = cdrom_read_cd(cdi, cgc, lba, blocksize, 2061 cdrom_read_cd(struct cdrom_device_info *cdi, struct packet_command *cgc, int lba, int blocksize, int nblocks) argument [all...] |
/drivers/crypto/ |
H A D | talitos.c | 1703 unsigned int blocksize = local 1710 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { 1719 /* At least (blocksize + 1) bytes are available to hash */ 1721 to_hash_later = nbytes_to_hash & (blocksize - 1); 1730 nbytes_to_hash -= blocksize; 1731 to_hash_later = blocksize; 1882 unsigned int blocksize = local 1889 if (keylen <= blocksize)
|
/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 98 unsigned blocksize; member in struct:gpu_formats 207 return color_formats_table[format].blocksize; 244 u32 blocksize; member in struct:array_mode_checker 258 u32 tile_bytes = tile_width * tile_height * values->blocksize * values->nsamples; 270 *pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize)); 278 (tile_height * values->blocksize * values->nsamples))); 286 (values->blocksize * values->nsamples * tile_width))); 290 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); 385 array_check.blocksize = r600_fmt_get_blocksize(format); 581 array_check.blocksize 1416 unsigned blocksize; local [all...] |
/drivers/mmc/host/ |
H A D | sh_mmcif.c | 244 size_t blocksize; member in struct:sh_mmcif_host 569 host->sg_blkidx += host->blocksize; 571 /* data->sg->length must be a multiple of host->blocksize? */ 588 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 609 for (i = 0; i < host->blocksize / 4; i++) 627 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 652 for (i = 0; i < host->blocksize / 4; i++) 666 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 687 for (i = 0; i < host->blocksize / 4; i++) 705 host->blocksize [all...] |
/drivers/staging/lustre/lustre/osc/ |
H A D | osc_cache.c | 802 int blocksize = cli->cl_import->imp_obd->obd_osfs.os_bsize ? : 4096; local 826 } else if (blocksize < PAGE_CACHE_SIZE && 832 int count = oap->oap_count + (offset & (blocksize - 1)); 833 int end = (offset + oap->oap_count) & (blocksize - 1); 835 count += blocksize - end; 1396 * 2. blocksize at OST is less than PAGE_CACHE_SIZE and a partial page was 1399 * clients have to calculate lost grant by the blocksize on the OST.
|
/drivers/usb/atm/ |
H A D | ueagle-atm.c | 768 u16 blocksize; local 802 blocksize = get_unaligned_le16(dsp + pp); 806 if (pp + blocksize > len) 809 pp += blocksize; 950 u16 blockaddr, blocksize; local 991 blocksize = get_unaligned_le16(p); 994 bi.wSize = cpu_to_le16(blocksize); 1003 if (uea_idma_write(sc, p, blocksize)) 1006 p += blocksize; 1032 unsigned int blocksize; local 1045 blockno, pageno, blocksize, local [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_sdio.c | 440 uint blocksize; /* Block size of SDIO transfers */ member in struct:brcmf_sdio 1421 (roundup(len, bus->blocksize) != rd->len)) { 1588 (roundup(totlen, bus->blocksize) - totlen); 1589 totlen = roundup(totlen, bus->blocksize); 1816 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { 1817 pad = bus->blocksize - (rdlen % bus->blocksize); 1818 if ((pad <= bus->roundup) && (pad < bus->blocksize) && 1878 /* Pad read to blocksize fo [all...] |