/drivers/staging/tidspbridge/rmgr/ |
H A D | disp.c | 216 u32 total; local 249 total = sizeof(struct rms_command) / sizeof(rms_word) + 252 if (total >= max) { 255 "= %d, max = %d\n", __func__, total, max); 292 total = 0; /* Total number of words in buffer so far */ 311 total += sizeof(struct rms_command) / sizeof(rms_word); 313 pmsg_args = (struct rms_msg_args *)(pdw_buf + total); 318 total += sizeof(struct rms_msg_args) / sizeof(rms_word) - 1; 319 memcpy(pdw_buf + total, node_msg_args.pdata, 321 total 536 u32 total = *ptotal; local [all...] |
/drivers/staging/media/easycap/ |
H A D | easycap_testcard.c | 35 int total; local 88 total = 0; 116 total += 4;
|
/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/staging/speakup/ |
H A D | speakup_dtlk.c | 284 int total, i; local 287 for (total = 0, i = 0; i < 50; i++) { 288 buf[total] = synth_read_tts(); 289 if (total > 2 && buf[total] == 0x7f) 291 if (total < sizeof(struct synth_settings)) 292 total++;
|
/drivers/iommu/ |
H A D | omap-iovmm.c | 40 /* return total bytes of sg buffers */ 43 unsigned int i, total = 0; local 66 total += bytes; 69 return total; 83 * calculate the optimal number sg elements from total bytes based on 159 size_t total; local 169 total = sgtable_len(sgt); 170 if (!total) 173 new = __get_vm_area(total, VM_IOREMAP, VMALLOC_START, VMALLOC_END); 196 (unsigned long)(new->addr + total)); 466 size_t total = area->da_end - area->da_start; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | pci.c | 119 u32 total, offset; local 125 for (offset = 0x1f, octet = 0, total = 0; offset >= 0x1d; offset--) { 128 total += data; 134 if (!total || total == 3 * 0xffff)
|
/drivers/staging/usbip/userspace/src/ |
H A D | usbip_network.c | 77 ssize_t total = 0; local 93 total += nbytes; 97 return total;
|
/drivers/net/wireless/bcmdhd/include/ |
H A D | dhdioctl.h | 105 uint total; /* Total packets (or bursts) */ member in struct:dhd_pktgen
|
/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/gpu/drm/ |
H A D | drm_fops.c | 606 size_t total, size_t max, struct drm_pending_event **out) 620 if (e->event->length + total > max) 638 size_t total; local 646 total = 0; 647 while (drm_dequeue_event(file_priv, total, count, &e)) { 648 if (copy_to_user(buffer + total, 650 total = -EFAULT; 654 total += e->event->length; 658 return total; 605 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 | 282 /* This assumes the DRM is in total control of AGP space. 614 int total; local 629 total = PAGE_SIZE << page_order; 640 DRM_DEBUG("total: %d\n", total); 651 (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) { 697 buf->total = alignment; 773 int total; local 810 total = PAGE_SIZE << page_order; 894 offset + size <= total 986 int total; local 1144 int total; local [all...] |
H A D | drm_mm.c | 647 unsigned long total_used = 0, total_free = 0, total = 0; local 675 total = total_free + total_used; 677 printk(KERN_DEBUG "%s total: %lu, used %lu free %lu\n", prefix, total, 686 unsigned long total_used = 0, total_free = 0, total = 0; local 711 total = total_free + total_used; 713 seq_printf(m, "total: %lu, used %lu free %lu\n", total, total_used, total_free);
|
/drivers/crypto/ |
H A D | omap-aes.c | 113 size_t total; member in struct:omap_aes_dev 395 size_t buflen, size_t total, int out) 399 while (buflen && total) { 400 count = min((*sg)->length - *offset, total); 407 * buflen and total are AES_BLOCK_SIZE size aligned, 416 total -= count; 423 total = 0; 481 pr_debug("total: %d\n", dd->total); 492 count = min(dd->total, sg_dma_le 394 sg_copy(struct scatterlist **sg, size_t *offset, void *buf, size_t buflen, size_t total, int out) argument [all...] |
H A D | omap-sham.c | 114 unsigned int total; /* total request */ member in struct:omap_sham_reqctx 355 count = min(count, ctx->total); 375 ctx->total -= count; 381 ctx->total = 0; 413 final = (ctx->flags & BIT(FLAGS_FINUP)) && !ctx->total; 418 if (final || (ctx->bufcnt == ctx->buflen && ctx->total)) { 438 if (!ctx->total) 444 dev_dbg(dd->dev, "fast: digcnt: %d, bufcnt: %u, total: %u\n", 445 ctx->digcnt, ctx->bufcnt, ctx->total); [all...] |
H A D | tegra-aes.c | 173 size_t total; member in struct:tegra_aes_dev 398 int ret = 0, nblocks, total; local 431 dd->total = req->nbytes; 440 total = dd->total; 478 while (total) { 479 dev_dbg(dd->dev, "remain: %d\n", total); 514 total -= count; 517 WARN_ON(((total != 0) && (!in_sg || !out_sg))); 523 dd->total [all...] |
/drivers/mmc/card/ |
H A D | Kconfig | 26 Number of total MMC minors available is 256, so your number
|
/drivers/net/wireless/hostap/ |
H A D | hostap_proc.c | 315 int entry, i, len, total = 0; local 326 if (total + (p - page) <= off) { 327 total += p - page; 330 if (total + (p - page) > off + count) 368 total += (p - page); 369 if (total >= off + count) 372 if (total < off) { 377 len = total - off;
|
/drivers/video/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/bluetooth/ |
H A D | hci_vhci.c | 136 int len, total = 0; local 143 total += len; 161 return total;
|
/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 34 u16 total, current_size; local 39 total = bdb->bdb_size; 42 while (index < total) {
|
/drivers/pci/ |
H A D | iov.c | 109 do_div(size, iov->total); 301 if (initial > iov->total || 302 (!(iov->cap & PCI_SRIOV_CAP_VFM) && (initial != iov->total))) 305 if (nr_virtfn < 0 || nr_virtfn > iov->total || 431 u16 ctrl, total, offset, stride; local 446 pci_read_config_word(dev, pos + PCI_SRIOV_TOTAL_VF, &total); 447 if (!total) 463 if (!offset || (total > 1 && !stride)) 486 res->end = res->start + resource_size(res) * total - 1; 499 iov->total [all...] |
/drivers/video/i810/ |
H A D | i810_dvt.c | 247 u32 total, xres, yres; local 256 total = (std_modes[mode].cr00 | (std_modes[mode].cr35 & 1) << 8) + 3; 257 total <<= 3; 263 var->left_margin = (total - (xres + var->right_margin + 271 total = (std_modes[mode].cr06 | (std_modes[mode].cr30 & 0xF) << 8) + 2; 276 var->upper_margin = total - (yres + var->lower_margin + var->vsync_len);
|
/drivers/input/touchscreen/ |
H A D | penmount.c | 95 int total = 0; local 99 total += packet[i]; 101 return packet[5] == (unsigned char)~(total & 0xff);
|
/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/platform/x86/ |
H A D | hdaps.c | 221 int total, ret = -ENXIO; local 275 for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) {
|