/drivers/mmc/host/ |
H A D | cb710-mmc.c | 212 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
|
H A D | sh_mmcif.c | 228 size_t blocksize; member in struct:sh_mmcif_host 525 host->sg_blkidx += host->blocksize; 527 /* data->sg->length must be a multiple of host->blocksize? */ 547 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 568 for (i = 0; i < host->blocksize / 4; i++) 586 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 610 for (i = 0; i < host->blocksize / 4; i++) 625 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 646 for (i = 0; i < host->blocksize / 4; i++) 664 host->blocksize [all...] |
/drivers/s390/block/ |
H A D | dasd_diag.c | 93 /* Initialize block I/O to DIAG device using the specified blocksize and 98 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, argument 110 iib->block_size = blocksize; 389 /* figure out blocksize of device */ 435 /* get formatted blocksize from label block */
|
/drivers/usb/storage/ |
H A D | sddr55.c | 99 int blocksize; /* Size of block in pages */ member in struct:sddr55_card_info 100 int blockshift; /* log2 of blocksize */ 217 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> 236 info->blocksize - page); 345 len = min((unsigned int) sectors, (unsigned int) info->blocksize >> 364 info->blocksize - page); 588 info->blocksize = 16; 619 info->blocksize = 32; 625 info->blocksize = 32; 631 info->blocksize [all...] |
H A D | alauda.c | 97 unsigned int blocksize; /* number of pages per block */ member in struct:alauda_media_info 443 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; 447 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1; 785 * (pagesize+64)*blocksize bytes in length. 804 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, 826 unsigned int blocksize = MEDIA_INFO(us).blocksize; local 852 blocksize, blockbuffer); 856 memset(blockbuffer, 0, blocksize * (pagesize + 64)); 864 for (i = 0; i < blocksize; 928 unsigned int blocksize = MEDIA_INFO(us).blocksize; local 1023 unsigned int blocksize = MEDIA_INFO(us).blocksize; local [all...] |
H A D | sddr09.c | 265 int blocksize; /* Size of block in pages */ member in struct:sddr09_card_info 266 int blockshift; /* log2 of blocksize */ 770 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; 787 pages = min(sectors, info->blocksize - page); 908 result = sddr09_read22(us, address>>1, info->blocksize, 914 for (i = 0; i < info->blocksize; i++) { 948 result = sddr09_write_inplace(us, address>>1, info->blocksize, 1013 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; 1029 pages = min(sectors, info->blocksize - page); 1613 info->blocksize [all...] |
/drivers/message/i2o/ |
H A D | i2o_block.c | 1038 u32 blocksize; local 1096 if (!i2o_parm_field_get(i2o_dev, 0x0004, 1, &blocksize, 4) || 1097 !i2o_parm_field_get(i2o_dev, 0x0000, 3, &blocksize, 4)) { 1098 blk_queue_logical_block_size(queue, le32_to_cpu(blocksize)); 1100 osm_warn("unable to get blocksize of %s\n", gd->disk_name);
|
/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 159 unsigned blocksize = priv->page_size << 3; local 190 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; 216 instr->addr += blocksize; 217 instr->len -= blocksize;
|
/drivers/net/wireless/p54/ |
H A D | eeprom.c | 892 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; local 907 blocksize = min(eeprom_size, maxblocksize); 909 offset, blocksize); 913 offset += blocksize; 914 eeprom_size -= blocksize;
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | fw.c | 70 u32 blocksize = sizeof(u32); local 75 blockCount = size / blocksize; 76 remainSize = size % blocksize; 78 offset = i * blocksize; 83 offset = blockCount * blocksize;
|
/drivers/target/ |
H A D | target_core_pscsi.c | 374 * For TYPE_TAPE, attempt to determine blocksize with MODE_SENSE. 715 * Hack to correctly obtain the initiator requested blocksize for 727 u32 blocksize; local 744 blocksize = (buf[9] << 16) | (buf[10] << 8) | 747 blocksize = (buf[13] << 16) | (buf[14] << 8) | 750 sd->sector_size = blocksize;
|
/drivers/atm/ |
H A D | solos-pci.c | 530 int blocksize = 0; local 537 blocksize = FPGA_BLOCK; 541 blocksize = SOLOS_BLOCK; 546 blocksize = FPGA_BLOCK; 556 blocksize = SOLOS_BLOCK; 572 numblocks = fw->size / blocksize; 591 for (offset = 0; offset < fw->size; offset += blocksize) { 602 for(i = 0; i < blocksize; i += 4) { 611 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK);
|
/drivers/cdrom/ |
H A D | cdrom.c | 2044 int blocksize, int nblocks) 2057 cgc->buflen = blocksize * nblocks; 2864 int blocksize = 0, format = 0, lba; local 2869 blocksize = CD_FRAMESIZE_RAW; 2872 blocksize = CD_FRAMESIZE; 2876 blocksize = CD_FRAMESIZE_RAW0; 2885 cgc->buffer = kmalloc(blocksize, GFP_KERNEL); 2892 ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize); 2901 ret = cdrom_switch_blocksize(cdi, blocksize); 2905 ret = cdrom_read_cd(cdi, cgc, lba, blocksize, 2042 cdrom_read_cd(struct cdrom_device_info *cdi, struct packet_command *cgc, int lba, int blocksize, int nblocks) argument [all...] |
/drivers/crypto/caam/ |
H A D | caamalg.c | 1791 unsigned int blocksize; member in struct:caam_alg_template 1811 .blocksize = AES_BLOCK_SIZE, 1830 .blocksize = AES_BLOCK_SIZE, 1849 .blocksize = AES_BLOCK_SIZE, 1868 .blocksize = AES_BLOCK_SIZE, 1888 .blocksize = AES_BLOCK_SIZE, 1908 .blocksize = AES_BLOCK_SIZE, 1928 .blocksize = DES3_EDE_BLOCK_SIZE, 1947 .blocksize = DES3_EDE_BLOCK_SIZE, 1966 .blocksize [all...] |
/drivers/crypto/ |
H A D | talitos.c | 1798 unsigned int blocksize = local 1805 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { 1814 /* At least (blocksize + 1) bytes are available to hash */ 1816 to_hash_later = nbytes_to_hash & (blocksize - 1); 1825 nbytes_to_hash -= blocksize; 1826 to_hash_later = blocksize; 1977 unsigned int blocksize = local 1984 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); 379 array_check.blocksize = r600_fmt_get_blocksize(format); 529 array_check.blocksize 1499 unsigned blocksize; local [all...] |
/drivers/usb/atm/ |
H A D | ueagle-atm.c | 741 u16 blocksize; local 775 blocksize = get_unaligned_le16(dsp + pp); 779 if (pp + blocksize > len) 782 pp += blocksize; 923 u16 blockaddr, blocksize; local 964 blocksize = get_unaligned_le16(p); 967 bi.wSize = cpu_to_le16(blocksize); 976 if (uea_idma_write(sc, p, blocksize)) 979 p += blocksize; 1005 unsigned int blocksize; local 1018 blockno, pageno, blocksize, local [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_sdio.c | 222 uint blocksize; /* Block size of SDIO transfers */ member in struct:dhd_bus 1557 if (bus->roundup && bus->blocksize && 1558 ((bus->glom_total_len + len) > bus->blocksize)) { 1559 uint16 pad2 = bus->blocksize - 1560 ((bus->glom_total_len + len) % bus->blocksize); 1561 if ((pad2 <= bus->roundup) && (pad2 < bus->blocksize)) { 1617 if (bus->roundup && bus->blocksize && (len > bus->blocksize)) { 1618 uint16 pad2 = bus->blocksize - (len % bus->blocksize); [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_sdio.c | 471 uint blocksize; /* Block size of SDIO transfers */ member in struct:brcmf_sdio 1189 (roundup(totlen, bus->blocksize) - totlen); 1190 totlen = roundup(totlen, bus->blocksize); 1312 } else if (roundup(sublen, bus->blocksize) != dlen) { 1314 sublen, roundup(sublen, bus->blocksize), 1525 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { 1526 pad = bus->blocksize - (rdlen % bus->blocksize); 1527 if ((pad <= bus->roundup) && (pad < bus->blocksize) [all...] |