/drivers/gpu/drm/nouveau/ |
H A D | nvc0_vram.c | 110 u32 bsize = nv_rd32(dev, 0x10f20c); local 116 NV_DEBUG(dev, "parts 0x%08x bcast_mem_amount 0x%08x\n", parts, bsize); 126 if (psize != bsize) { 127 if (psize < bsize) 128 bsize = psize; 144 ret = nouveau_mm_init(&vram->mm, rsvd_head, (bsize << 8) * parts, 1); 149 offset = (0x0200000000ULL >> 12) + (bsize << 8); 150 length = (dev_priv->vram_size >> 12) - (bsize << 8) - rsvd_tail;
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | cipher.c | 55 const unsigned int bsize = crypto_tfm_alg_blocksize(tfm); local 56 u8 tmp_src[bsize]; 57 u8 tmp_dst[bsize]; 62 if (nbytes % bsize) { 76 src_p = scatterwalk_whichbuf(&walk_in, bsize, tmp_src); 77 dst_p = scatterwalk_whichbuf(&walk_out, bsize, tmp_dst); 81 nbytes -= bsize; 83 scatterwalk_copychunks(src_p, &walk_in, bsize, 0); 89 scatterwalk_copychunks(dst_p, &walk_out, bsize, 1);
|
/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 48 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) argument 52 uint32_t iter = bsize >> 2;
|
/drivers/s390/block/ |
H A D | dasd_diag.c | 323 unsigned int sb, bsize; local 400 for (bsize = 512; bsize <= PAGE_SIZE; bsize <<= 1) { 401 mdsk_init_io(device, bsize, 0, &end_block); 425 if (bsize > PAGE_SIZE) { 436 bsize = (unsigned int) label->block_size; 440 block->bp_block = bsize; 442 for (sb = 512; sb < bsize; sb = sb << 1)
|
H A D | dasd_int.h | 621 * Check if bsize is in { 512, 1024, 2048, 4096 } 624 dasd_check_blocksize(int bsize) argument 626 if (bsize < 512 || bsize > 4096 || !is_power_of_2(bsize))
|
/drivers/mtd/ |
H A D | ftl.c | 791 uint32_t log_addr, bsize; local 802 bsize = 1 << part->header.EraseUnitSize; 813 offset = (part->EUNInfo[log_addr / bsize].Offset 814 + (log_addr % bsize)); 837 uint32_t bsize, blk, le_virt_addr; local 847 bsize = 1 << part->header.EraseUnitSize; 848 eun = log_addr / bsize; 849 blk = (log_addr % bsize) / SECTOR_SIZE; 905 uint32_t bsize, log_addr, virt_addr, old_addr, blk; local 923 bsize 1013 uint32_t bsize = 1 << part->header.EraseUnitSize; local [all...] |
/drivers/media/video/ |
H A D | videobuf-core.c | 329 b->length = vb->bsize; 333 b->length = vb->bsize; 385 unsigned int bcount, unsigned int bsize, 407 q->bufs[i]->bsize = bsize; 410 q->bufs[i]->boff = PAGE_ALIGN(bsize) * i; 422 dprintk(1, "mmap setup: %d buffers, %d bytes each\n", i, bsize); 429 unsigned int bcount, unsigned int bsize, 434 ret = __videobuf_mmap_setup(q, bcount, bsize, memory); 595 if (b->length < buf->bsize) { 384 __videobuf_mmap_setup(struct videobuf_queue *q, unsigned int bcount, unsigned int bsize, enum v4l2_memory memory) argument 428 videobuf_mmap_setup(struct videobuf_queue *q, unsigned int bcount, unsigned int bsize, enum v4l2_memory memory) argument [all...] |
H A D | videobuf-dma-sg.c | 479 vb->baddr, vb->bsize); 490 vb->baddr, vb->bsize); 553 size = PAGE_ALIGN(q->bufs[first]->bsize); 579 size += PAGE_ALIGN(q->bufs[i]->bsize);
|
H A D | videobuf-dma-contig.c | 285 mem->size = PAGE_ALIGN(buf->bsize); 318 (long int)buf->bsize,
|
H A D | mx1_camera.c | 156 vb, vb->baddr, vb->bsize); 181 vb, vb->baddr, vb->bsize); 206 if (0 != vb->baddr && vb->bsize < vb->size) { 262 vb, vb->baddr, vb->bsize); 291 vb, vb->baddr, vb->bsize); 362 vb, vb->baddr, vb->bsize);
|
H A D | mx2_camera.c | 458 vb, vb->baddr, vb->bsize); 532 vb, vb->baddr, vb->bsize); 556 vb, vb->baddr, vb->bsize); 566 memset((void *)vb->baddr, 0xaa, vb->bsize); 581 if (vb->baddr && vb->bsize < vb->size) { 613 vb, vb->baddr, vb->bsize); 692 vb, vb->baddr, vb->bsize); 1224 vb, vb->baddr, vb->bsize); 1374 vb->baddr, vb->bsize);
|
H A D | videobuf-vmalloc.c | 278 (long int)buf->bsize,
|
H A D | pxa_camera.c | 272 &buf->vb, buf->vb.baddr, buf->vb.bsize); 445 vb, vb->baddr, vb->bsize); 455 memset((void *)vb->baddr, 0xaa, vb->bsize); 478 if (0 != vb->baddr && vb->bsize < vb->size) { 644 __func__, vb, vb->baddr, vb->bsize, pcdev->active); 664 vb, vb->baddr, vb->bsize);
|
/drivers/mtd/nand/ |
H A D | mpc5121_nfc.c | 514 uint bsize; local 517 bsize = min(len, 256); 518 mpc5121_nfc_read_buf(mtd, tmp, bsize); 520 if (memcmp(buf, tmp, bsize)) 523 buf += bsize; 524 len -= bsize;
|
/drivers/media/video/au0828/ |
H A D | au0828-vbi.c | 92 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size)
|
/drivers/net/wireless/ |
H A D | at76c50x-usb.c | 375 int bsize = 0; local 429 bsize = min_t(int, size, FW_BLOCK_SIZE); 430 memcpy(block, buf, bsize); 432 "bsize = %4d, blockno = %2d", size, bsize, 435 at76_load_int_fw_block(udev, blockno, block, bsize); 436 buf += bsize; 437 size -= bsize; 440 if (ret != bsize) 1276 int bsize; local [all...] |
/drivers/media/video/em28xx/ |
H A D | em28xx-vbi.c | 99 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size)
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00usb.c | 119 u16 off, len, bsize; local 127 bsize = min_t(u16, CSR_CACHE_SIZE, len); 130 bsize, timeout); 132 tb += bsize; 133 len -= bsize; 134 off += bsize;
|
/drivers/block/ |
H A D | ub.c | 233 unsigned int bsize; /* Linux hardsect_size */ member in struct:ub_capacity 1649 lun->capacity.bsize = 512; 1664 lun->capacity.bsize = 512; 1774 blk_queue_logical_block_size(disk->queue, lun->capacity.bsize); 1891 unsigned int bsize, shift; local 1938 bsize = be32_to_cpu(*(__be32 *)(p + 4)); 1939 switch (bsize) { 1949 ret->bsize = bsize; 2349 blk_queue_logical_block_size(q, lun->capacity.bsize); [all...] |
H A D | loop.c | 320 int bsize; member in struct:lo_read_data 336 if (size > p->bsize) 337 size = p->bsize; 361 struct bio_vec *bvec, int bsize, loff_t pos) 371 cookie.bsize = bsize; 386 lo_receive(struct loop_device *lo, struct bio *bio, int bsize, loff_t pos) argument 393 s = do_lo_receive(lo, bvec, bsize, pos); 360 do_lo_receive(struct loop_device *lo, struct bio_vec *bvec, int bsize, loff_t pos) argument
|
/drivers/crypto/ |
H A D | hifn_795x.c | 2331 unsigned int bsize; member in struct:hifn_alg_template 2340 .name = "cfb(des3_ede)", .drv_name = "cfb-3des", .bsize = 8, 2350 .name = "ofb(des3_ede)", .drv_name = "ofb-3des", .bsize = 8, 2360 .name = "cbc(des3_ede)", .drv_name = "cbc-3des", .bsize = 8, 2371 .name = "ecb(des3_ede)", .drv_name = "ecb-3des", .bsize = 8, 2385 .name = "cfb(des)", .drv_name = "cfb-des", .bsize = 8, 2395 .name = "ofb(des)", .drv_name = "ofb-des", .bsize = 8, 2405 .name = "cbc(des)", .drv_name = "cbc-des", .bsize = 8, 2416 .name = "ecb(des)", .drv_name = "ecb-des", .bsize = 8, 2430 .name = "ecb(aes)", .drv_name = "ecb-aes", .bsize [all...] |
/drivers/media/video/saa7134/ |
H A D | saa7134-vbi.c | 132 if (0 != buf->vb.baddr && buf->vb.bsize < size)
|
/drivers/media/video/gspca/ |
H A D | gspca.c | 766 int n, nurbs, i, psize, npkt, bsize; local 781 bsize = psize * npkt; 783 "isoc %d pkts size %d = bsize:%d", 784 npkt, psize, bsize); 788 bsize = gspca_dev->cam.bulk_size; 789 if (bsize == 0) 790 bsize = psize; 791 PDEBUG(D_STREAM, "bulk bsize:%d", bsize); 806 bsize, [all...] |
/drivers/media/video/cx23885/ |
H A D | cx23885-vbi.c | 212 if (0 != buf->vb.baddr && buf->vb.bsize < size)
|
/drivers/media/video/cx88/ |
H A D | cx88-vbi.c | 167 if (0 != buf->vb.baddr && buf->vb.bsize < size)
|