/drivers/mtd/ |
D | ftl.c | 786 uint32_t log_addr, bsize; in ftl_read() local 797 bsize = 1 << part->header.EraseUnitSize; in ftl_read() 808 offset = (part->EUNInfo[log_addr / bsize].Offset in ftl_read() 809 + (log_addr % bsize)); in ftl_read() 832 uint32_t bsize, blk, le_virt_addr; in set_bam_entry() local 842 bsize = 1 << part->header.EraseUnitSize; in set_bam_entry() 843 eun = log_addr / bsize; in set_bam_entry() 844 blk = (log_addr % bsize) / SECTOR_SIZE; in set_bam_entry() 900 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local 918 bsize = 1 << part->header.EraseUnitSize; in ftl_write() [all …]
|
/drivers/s390/block/ |
D | dasd_diag.c | 323 unsigned int sb, bsize; in dasd_diag_check_device() local 401 for (bsize = 512; bsize <= PAGE_SIZE; bsize <<= 1) { in dasd_diag_check_device() 402 mdsk_init_io(device, bsize, 0, &end_block); in dasd_diag_check_device() 426 if (bsize > PAGE_SIZE) { in dasd_diag_check_device() 436 bsize = (unsigned int) label->block_size; in dasd_diag_check_device() 440 block->bp_block = bsize; in dasd_diag_check_device() 442 for (sb = 512; sb < bsize; sb = sb << 1) in dasd_diag_check_device()
|
D | dasd_int.h | 713 dasd_check_blocksize(int bsize) in dasd_check_blocksize() argument 715 if (bsize < 512 || bsize > 4096 || !is_power_of_2(bsize)) in dasd_check_blocksize()
|
/drivers/firmware/meson/ |
D | meson_sm.c | 142 int meson_sm_call_read(void *buffer, unsigned int bsize, unsigned int cmd_index, in meson_sm_call_read() argument 154 if (bsize > fw.chip->shmem_size) in meson_sm_call_read() 160 if (size > bsize) in meson_sm_call_read() 166 size = bsize; in meson_sm_call_read()
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-i2c.c | 89 if (msg[0].len > i2c->bsize) in ddb_i2c_master_xfer() 112 if (msg[1].len > i2c->bsize) in ddb_i2c_master_xfer() 166 i2c->bsize = regmap->i2c_buf->size; in ddb_i2c_add() 168 (regmap->i2c_buf->base + i2c->bsize * i); in ddb_i2c_add()
|
D | ddbridge.h | 232 u32 bsize; member
|
/drivers/media/v4l2-core/ |
D | videobuf-core.c | 333 b->length = vb->bsize; in videobuf_status() 337 b->length = vb->bsize; in videobuf_status() 387 unsigned int bcount, unsigned int bsize, in __videobuf_mmap_setup() argument 408 q->bufs[i]->bsize = bsize; in __videobuf_mmap_setup() 411 q->bufs[i]->boff = PAGE_ALIGN(bsize) * i; in __videobuf_mmap_setup() 424 dprintk(1, "mmap setup: %d buffers, %d bytes each\n", i, bsize); in __videobuf_mmap_setup() 431 unsigned int bcount, unsigned int bsize, in videobuf_mmap_setup() argument 436 ret = __videobuf_mmap_setup(q, bcount, bsize, memory); in videobuf_mmap_setup() 588 if (b->length < buf->bsize) { in videobuf_qbuf() 805 q->read_buf->bsize = count; in videobuf_read_zerocopy() [all …]
|
D | videobuf-dma-sg.c | 536 vb->baddr, vb->bsize); in __videobuf_iolock() 547 vb->baddr, vb->bsize); in __videobuf_iolock() 610 size = PAGE_ALIGN(q->bufs[first]->bsize); in __videobuf_mmap_mapper() 636 size += PAGE_ALIGN(q->bufs[i]->bsize); in __videobuf_mmap_mapper()
|
D | videobuf-dma-contig.c | 301 if (__videobuf_dc_alloc(q->dev, mem, PAGE_ALIGN(buf->bsize), in __videobuf_mmap_mapper() 332 (long int)buf->bsize, vma->vm_pgoff, buf->i); in __videobuf_mmap_mapper()
|
D | videobuf-vmalloc.c | 278 (long int)buf->bsize, in __videobuf_mmap_mapper()
|
/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 71 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) in host_to_fcp_swap() argument 75 uint32_t iter = bsize >> 2; in host_to_fcp_swap() 84 host_to_adap(uint8_t *src, uint8_t *dst, uint32_t bsize) in host_to_adap() argument 88 uint32_t iter = bsize >> 2; in host_to_adap()
|
/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 372 int bsize = 0; in at76_usbdfu_download() local 444 bsize = min_t(int, size, FW_BLOCK_SIZE); in at76_usbdfu_download() 445 memcpy(block, buf, bsize); in at76_usbdfu_download() 447 "bsize = %4d, blockno = %2d", size, bsize, in at76_usbdfu_download() 450 at76_load_int_fw_block(udev, blockno, block, bsize); in at76_usbdfu_download() 451 buf += bsize; in at76_usbdfu_download() 452 size -= bsize; in at76_usbdfu_download() 455 if (ret != bsize) in at76_usbdfu_download() 1264 int bsize; in at76_load_external_fw() local 1288 bsize = min_t(int, size, FW_BLOCK_SIZE); in at76_load_external_fw() [all …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00usb.c | 113 u16 off, len, bsize; in rt2x00usb_vendor_request_buff() local 121 bsize = min_t(u16, CSR_CACHE_SIZE, len); in rt2x00usb_vendor_request_buff() 124 bsize, REGISTER_TIMEOUT); in rt2x00usb_vendor_request_buff() 126 tb += bsize; in rt2x00usb_vendor_request_buff() 127 len -= bsize; in rt2x00usb_vendor_request_buff() 128 off += bsize; in rt2x00usb_vendor_request_buff()
|
/drivers/crypto/ |
D | hifn_795x.c | 2229 unsigned int bsize; member 2238 .name = "cfb(des3_ede)", .drv_name = "cfb-3des", .bsize = 8, 2248 .name = "ofb(des3_ede)", .drv_name = "ofb-3des", .bsize = 8, 2258 .name = "cbc(des3_ede)", .drv_name = "cbc-3des", .bsize = 8, 2269 .name = "ecb(des3_ede)", .drv_name = "ecb-3des", .bsize = 8, 2283 .name = "cfb(des)", .drv_name = "cfb-des", .bsize = 8, 2293 .name = "ofb(des)", .drv_name = "ofb-des", .bsize = 8, 2303 .name = "cbc(des)", .drv_name = "cbc-des", .bsize = 8, 2314 .name = "ecb(des)", .drv_name = "ecb-des", .bsize = 8, 2328 .name = "ecb(aes)", .drv_name = "ecb-aes", .bsize = 16, [all …]
|
/drivers/media/usb/gspca/ |
D | gspca.c | 759 int n, nurbs, i, psize, npkt, bsize; in create_urbs() local 774 bsize = psize * npkt; in create_urbs() 777 npkt, psize, bsize); in create_urbs() 781 bsize = gspca_dev->cam.bulk_size; in create_urbs() 782 if (bsize == 0) in create_urbs() 783 bsize = psize; in create_urbs() 784 PDEBUG(D_STREAM, "bulk bsize:%d", bsize); in create_urbs() 797 bsize, in create_urbs() 807 urb->transfer_buffer_length = bsize; in create_urbs()
|
/drivers/net/wireless/ath/ath9k/ |
D | init.c | 233 int i, bsize, desc_len; in ath_descdma_setup() local 287 bsize = sizeof(struct ath_buf) * nbuf; in ath_descdma_setup() 288 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); in ath_descdma_setup() 318 bsize = sizeof(struct ath_rxbuf) * nbuf; in ath_descdma_setup() 319 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); in ath_descdma_setup()
|
/drivers/block/ |
D | nbd.c | 1807 u64 bsize = in nbd_genl_connect() local 1809 if (!bsize) in nbd_genl_connect() 1810 bsize = NBD_DEF_BLKSIZE; in nbd_genl_connect() 1811 if (!nbd_is_valid_blksize(bsize)) { in nbd_genl_connect() 1815 nbd_size_set(nbd, bsize, div64_u64(config->bytesize, bsize)); in nbd_genl_connect()
|
/drivers/infiniband/hw/hfi1/ |
D | chip.c | 5338 static char *is_misc_err_name(char *buf, size_t bsize, unsigned int source) in is_misc_err_name() argument 5341 strncpy(buf, cce_misc_names[source], bsize); in is_misc_err_name() 5343 snprintf(buf, bsize, "Reserved%u", in is_misc_err_name() 5352 static char *is_sdma_eng_err_name(char *buf, size_t bsize, unsigned int source) in is_sdma_eng_err_name() argument 5354 snprintf(buf, bsize, "SDmaEngErrInt%u", source); in is_sdma_eng_err_name() 5361 static char *is_sendctxt_err_name(char *buf, size_t bsize, unsigned int source) in is_sendctxt_err_name() argument 5363 snprintf(buf, bsize, "SendCtxtErrInt%u", source); in is_sendctxt_err_name() 5378 static char *is_various_name(char *buf, size_t bsize, unsigned int source) in is_various_name() argument 5381 strncpy(buf, various_names[source], bsize); in is_various_name() 5383 snprintf(buf, bsize, "Reserved%u", source + IS_VARIOUS_START); in is_various_name() [all …]
|
/drivers/media/pci/cx18/ |
D | cx18-streams.c | 129 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer() 152 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer()
|
/drivers/staging/lustre/lnet/libcfs/ |
D | hash.c | 1879 int bsize; in cfs_hash_rehash_worker() local 1960 bsize = cfs_hash_bkt_size(hs); in cfs_hash_rehash_worker() 1964 cfs_hash_buckets_free(bkts, bsize, new_size, old_size); in cfs_hash_rehash_worker()
|
/drivers/media/common/saa7146/ |
D | saa7146_vbi.c | 235 if (0 != buf->vb.baddr && buf->vb.bsize < size) { in buffer_prepare()
|
/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 116 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 230 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()
|
/drivers/mmc/host/ |
D | s3cmci.c | 157 u32 con, pre, cmdarg, cmdcon, cmdsta, r0, r1, r2, r3, timer, bsize; in dbg_dumpregs() local 170 bsize = readl(host->base + S3C2410_SDIBSIZE); in dbg_dumpregs()
|
/drivers/gpu/drm/radeon/ |
D | evergreen_cs.c | 452 unsigned long tmp, nby, bsize, size, min = 0; in evergreen_cs_track_validate_cb() local 458 bsize = radeon_bo_size(track->cb_color_bo[id]); in evergreen_cs_track_validate_cb() 462 if ((tmp + size * mslice) <= bsize) { in evergreen_cs_track_validate_cb() 472 if (tmp <= bsize) { in evergreen_cs_track_validate_cb()
|