Searched refs:bsize (Results 1 - 25 of 61) sorted by relevance

123

/drivers/gpu/drm/nouveau/
H A Dnvc0_vram.c110 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 Dcipher.c55 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 Dqla_inline.h48 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) argument
52 uint32_t iter = bsize >> 2;
/drivers/s390/block/
H A Ddasd_diag.c323 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 Ddasd_int.h621 * 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 Dftl.c791 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 Dvideobuf-core.c329 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 Dvideobuf-dma-sg.c479 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 Dvideobuf-dma-contig.c285 mem->size = PAGE_ALIGN(buf->bsize);
318 (long int)buf->bsize,
H A Dmx1_camera.c156 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 Dmx2_camera.c458 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 Dvideobuf-vmalloc.c278 (long int)buf->bsize,
H A Dpxa_camera.c272 &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 Dmpc5121_nfc.c514 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 Dau0828-vbi.c92 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size)
/drivers/net/wireless/
H A Dat76c50x-usb.c375 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 Dem28xx-vbi.c99 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size)
/drivers/net/wireless/rt2x00/
H A Drt2x00usb.c119 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 Dub.c233 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 Dloop.c320 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 Dhifn_795x.c2331 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 Dsaa7134-vbi.c132 if (0 != buf->vb.baddr && buf->vb.bsize < size)
/drivers/media/video/gspca/
H A Dgspca.c766 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 Dcx23885-vbi.c212 if (0 != buf->vb.baddr && buf->vb.bsize < size)
/drivers/media/video/cx88/
H A Dcx88-vbi.c167 if (0 != buf->vb.baddr && buf->vb.bsize < size)

Completed in 275 milliseconds

123