/drivers/video/fbdev/omap2/dss/ |
H A D | omapdss-boot-init.c | 46 int l = 0, total = 0; local 49 for (i = 0; total < prop->length; total += l, p += l, i++) 74 size_t total = 0; local 76 while (total < src_len) { 86 total += l;
|
/drivers/devfreq/exynos/ |
H A D | exynos_ppmu.c | 47 unsigned int total; local 50 total = ((__raw_readl(ppmu_base + PMCNT_OFFSET(ch)) << 8) | 53 total = __raw_readl(ppmu_base + PMCNT_OFFSET(ch)); 55 return total;
|
/drivers/md/bcache/ |
H A D | stats.h | 35 struct cache_stats total; member in struct:cache_accounting
|
H A D | stats.c | 98 int ret = kobject_add(&acc->total.kobj, parent, 111 memset(&acc->total.cache_hits, 118 kobject_put(&acc->total.kobj); 159 acc->total.name += t; \ 170 scale_stats(&acc->total, 0); 230 kobject_init(&acc->total.kobj, &bch_stats_ktype);
|
/drivers/edac/ |
H A D | ppc4xx_edac.c | 321 int n, total = 0; local 331 total += n; 343 total += n; 354 total += n; 357 return total; 441 int n, total = 0; local 453 total += n; 466 total += n; 477 total += n; 480 return total; 506 int n, total = 0; local [all...] |
/drivers/gpu/drm/ |
H A D | drm_fops.c | 483 size_t total, size_t max, struct drm_pending_event **out) 497 if (e->event->length + total > max) 515 size_t total; local 523 total = 0; 524 while (drm_dequeue_event(file_priv, total, count, &e)) { 525 if (copy_to_user(buffer + total, 527 total = -EFAULT; 531 total += e->event->length; 535 return total; 482 drm_dequeue_event(struct drm_file *file_priv, size_t total, size_t max, struct drm_pending_event **out) argument
|
H A D | drm_bufs.c | 280 /* This assumes the DRM is in total control of AGP space. 611 int total; local 626 total = PAGE_SIZE << page_order; 637 DRM_DEBUG("total: %d\n", total); 646 (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) { 692 buf->total = alignment; 768 int total; local 803 total = PAGE_SIZE << page_order; 887 offset + size <= total 979 int total; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | pci.c | 122 u32 total, offset; local 128 for (offset = 0x1f, octet = 0, total = 0; offset >= 0x1d; offset--) { 131 total += data; 137 if (!total || total == 3 * 0xffff)
|
/drivers/crypto/nx/ |
H A D | nx-aes-xcbc.c | 162 u32 to_process, leftover, total; local 170 total = sctx->count + len; 172 /* 2 cases for total data len: 176 if (total <= AES_BLOCK_SIZE) { 190 to_process = min_t(u64, total, nx_ctx->ap->databytelen); 194 leftover = total - to_process; 243 total -= to_process;
|
H A D | nx-sha256.c | 58 u64 to_process, leftover, total; local 65 /* 2 cases for total data len: 69 total = sctx->count + len; 70 if (total < SHA256_BLOCK_SIZE) { 86 to_process = min_t(u64, total, nx_ctx->ap->databytelen); 90 leftover = total - to_process; 131 total -= to_process;
|
H A D | nx-sha512.c | 58 u64 to_process, leftover, total, spbc_bits; local 65 /* 2 cases for total data len: 69 total = sctx->count[0] + len; 70 if (total < SHA512_BLOCK_SIZE) { 86 to_process = min_t(u64, total, nx_ctx->ap->databytelen); 90 leftover = total - to_process; 133 total -= to_process;
|
/drivers/tty/ |
H A D | metag_da.c | 471 int total) 493 total = min(total, (int)(SERIAL_XMIT_SIZE - dport->xmit_cnt)); 494 atomic_add(total, &dashtty_xmit_cnt); 495 dport->xmit_cnt += total; 497 for (count = total; count; count -= block) { 511 if (total) { 524 return total; 470 dashtty_write(struct tty_struct *tty, const unsigned char *buf, int total) argument
|
/drivers/crypto/ |
H A D | atmel-aes.c | 120 size_t total; member in struct:atmel_aes_dev 161 unsigned int total = req->nbytes; local 168 total = req->nbytes; 170 while (total) { 171 len = min(sg_list->length, total); 174 total -= len; 178 total = 0; 185 void *buf, size_t buflen, size_t total, int out) 189 while (buflen && total) { 190 count = min((*sg)->length - *offset, total); 184 atmel_aes_sg_copy(struct scatterlist **sg, size_t *offset, void *buf, size_t buflen, size_t total, int out) argument [all...] |
H A D | omap-des.c | 144 * total is used by PIO mode for book keeping so introduce 147 size_t total; member in struct:omap_des_dev 476 dd->pdata->trigger(dd, dd->total); 487 pr_debug("total: %d\n", dd->total); 532 pr_debug("total: %d\n", dd->total); 562 pages = dd->total >> PAGE_SHIFT; 564 if (dd->total & (PAGE_SIZE-1)) 579 sg_copy_buf(buf_in, dd->in_sg, 0, dd->total, [all...] |
H A D | omap-sham.c | 155 unsigned int total; /* total request */ member in struct:omap_sham_reqctx 627 count = min(count, ctx->total); 653 ctx->total -= count; 659 ctx->total = 0; 697 final = (ctx->flags & BIT(FLAGS_FINUP)) && !ctx->total; 702 if (final || (ctx->bufcnt == ctx->buflen && ctx->total)) { 723 if (!ctx->total) 735 if (ctx->total < get_block_size(ctx)) 738 dev_dbg(dd->dev, "fast: digcnt: %d, bufcnt: %u, total [all...] |
H A D | sahara.c | 158 size_t total; member in struct:sahara_dev 206 unsigned int total) 215 while (total) { 216 len = min(sg_list->length, total); 219 total -= len; 223 total = 0; 457 dev->nb_in_sg = sahara_sg_length(dev->in_sg, dev->total); 458 dev->nb_out_sg = sahara_sg_length(dev->out_sg, dev->total); 508 dev->hw_desc[1]->len1 = dev->total; 509 dev->hw_desc[1]->len2 = dev->total; 205 sahara_sg_length(struct scatterlist *sg, unsigned int total) argument [all...] |
H A D | omap-aes.c | 163 * total is used by PIO mode for book keeping so introduce 166 size_t total; member in struct:omap_aes_dev 492 dd->pdata->trigger(dd, dd->total); 503 pr_debug("total: %d\n", dd->total); 547 pr_debug("total: %d\n", dd->total); 574 pages = get_order(dd->total); 586 sg_copy_buf(buf_in, dd->in_sg, 0, dd->total, 0); 589 sg_set_buf(&dd->in_sgl, buf_in, dd->total); [all...] |
/drivers/char/ |
H A D | dtlk.c | 515 int total, i; local 519 for (total = 0, i = 0; i < 50; i++) { 520 buf[total] = dtlk_read_tts(); 521 if (total > 2 && buf[total] == 0x7f) 523 if (total < sizeof(struct dtlk_settings)) 524 total++;
|
/drivers/staging/speakup/ |
H A D | speakup_dtlk.c | 287 int total, i; local 291 for (total = 0, i = 0; i < 50; i++) { 292 buf[total] = synth_read_tts(); 293 if (total > 2 && buf[total] == 0x7f) 295 if (total < sizeof(struct synth_settings)) 296 total++;
|
/drivers/usb/phy/ |
H A D | class-dual-role.c | 346 int total, i; local 353 total = DUAL_ROLE_PROP_MODE_TOTAL; 357 total = DUAL_ROLE_PROP_PR_TOTAL; 361 total = DUAL_ROLE_PROP_DR_TOTAL; 374 for (i = 0; i <= total; i++) { 375 if (i == total) {
|
/drivers/mmc/card/ |
H A D | Kconfig | 26 Number of total MMC minors available is 256, so your number
|
/drivers/misc/sgi-gru/ |
H A D | gruprocfs.c | 130 unsigned long total, count, max; local 138 total = atomic_long_read(&mcs_op_statistics[op].total); 141 count ? total / count : 0, max);
|
/drivers/staging/android/ion/ |
H A D | ion_heap.c | 275 int total = 0; local 277 total = ion_heap_freelist_size(heap) / PAGE_SIZE; 279 total += heap->ops->shrink(heap, sc->gfp_mask, 0); 280 return total;
|
/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 34 u32 total = 0; local 35 while (total < count) { 37 outreg(geo, GDC_GEO_REG_INPUT_FIFO, data[total]); 38 total++;
|
/drivers/staging/unisys/uislib/ |
H A D | uisutils.c | 53 uisutil_add_proc_line_ex(int *total, char **buffer, int *buffer_remaining, argument 64 *total += *buffer_remaining; 71 *total += len;
|