/drivers/char/agp/ |
H A D | hp-agp.c | 103 hp->io_pages_per_kpage = PAGE_SIZE / hp->io_page_size; 136 if (PAGE_SIZE >= KB(64)) { 139 } else if (PAGE_SIZE >= KB(16)) { 142 } else if (PAGE_SIZE >= KB(8)) { 150 hp->io_pages_per_kpage = PAGE_SIZE / hp->io_page_size;
|
H A D | generic.c | 94 if (size <= 2*PAGE_SIZE) 158 agp_alloc_page_array(PAGE_SIZE * scratch_pages, new); 221 #define ENTRIES_PER_PAGE (PAGE_SIZE / sizeof(unsigned long)) 948 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); 964 (PAGE_SIZE * (1 << page_order))); 1029 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); 1086 num_entries -= agp_memory_reserved/PAGE_SIZE;
|
H A D | intel-gtt.c | 105 sg_set_page(sg, pages[i], PAGE_SIZE, 0); 304 PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); 634 PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); 930 int start = intel_private.base.stolen_size / PAGE_SIZE; 1033 ret = pci_bus_alloc_resource(intel_private.bridge_dev->bus, &intel_private.ifp_resource, PAGE_SIZE, 1034 PAGE_SIZE, PCIBIOS_MIN_MEM, 0, 1055 intel_private.ifp_resource.end = temp + PAGE_SIZE; 1087 intel_private.ifp_resource.end = l64 + PAGE_SIZE; 1116 intel_private.i9xx_flush_page = ioremap_nocache(intel_private.ifp_resource.start, PAGE_SIZE);
|
/drivers/dma/ |
H A D | mxs-dma.c | 105 #define NUM_CCW (int)(PAGE_SIZE / sizeof(struct mxs_dma_ccw)) 282 mxs_chan->ccw = dma_alloc_coherent(mxs_dma->dma_device.dev, PAGE_SIZE, 289 memset(mxs_chan->ccw, 0, PAGE_SIZE); 315 dma_free_coherent(mxs_dma->dma_device.dev, PAGE_SIZE, 330 dma_free_coherent(mxs_dma->dma_device.dev, PAGE_SIZE,
|
/drivers/hid/ |
H A D | hid-roccat-kovaplus.c | 316 return snprintf(buf, PAGE_SIZE, "%d\n", kovaplus->actual_profile); 366 return snprintf(buf, PAGE_SIZE, "%d\n", kovaplus->actual_cpi); 374 return snprintf(buf, PAGE_SIZE, "%d\n", kovaplus->actual_x_sensitivity); 382 return snprintf(buf, PAGE_SIZE, "%d\n", kovaplus->actual_y_sensitivity); 390 return snprintf(buf, PAGE_SIZE, "%d\n", kovaplus->info.firmware_version);
|
H A D | hid-roccat-arvo.c | 48 return snprintf(buf, PAGE_SIZE, "%d\n", temp_buf.state); 96 return snprintf(buf, PAGE_SIZE, "%d\n", temp_buf.key_mask); 148 return snprintf(buf, PAGE_SIZE, "%d\n", arvo->actual_profile);
|
/drivers/media/dvb/ngene/ |
H A D | ngene.h | 487 (RING_SIZE_VIDEO * PAGE_SIZE * 2) + \ 488 (RING_SIZE_AUDIO * PAGE_SIZE * 2) + \ 489 (RING_SIZE_TS * PAGE_SIZE * 4) + \ 490 8 * PAGE_SIZE + OVERFLOW_BUFFER_SIZE + PAGE_SIZE)
|
/drivers/infiniband/hw/nes/ |
H A D | nes.c | 837 return snprintf(buf, PAGE_SIZE, "%x:%x\n", bus_number, devfn); 862 return snprintf(buf, PAGE_SIZE, "0x%x\n", eeprom_cmd); 900 return snprintf(buf, PAGE_SIZE, "0x%x\n", eeprom_data); 938 return snprintf(buf, PAGE_SIZE, "0x%x\n", flash_cmd); 976 return snprintf(buf, PAGE_SIZE, "0x%x\n", flash_data); 1002 return snprintf(buf, PAGE_SIZE, "0x%x\n", sysfs_nonidx_addr); 1030 return snprintf(buf, PAGE_SIZE, "0x%x\n", nonidx_data); 1056 return snprintf(buf, PAGE_SIZE, "0x%x\n", sysfs_idx_addr); 1084 return snprintf(buf, PAGE_SIZE, "0x%x\n", idx_data); 1126 return snprintf(buf, PAGE_SIZE, " [all...] |
/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 1063 if (count >= PAGE_SIZE) 1066 count += scnprintf(buf + count, PAGE_SIZE - count, 1087 if (count >= PAGE_SIZE) 1095 scnprintf(buf + count, PAGE_SIZE - count, 1174 if (count >= PAGE_SIZE) 1177 count += scnprintf(buf + count, PAGE_SIZE - count, 1190 if (count >= PAGE_SIZE) 1193 count += scnprintf(buf + count, PAGE_SIZE - count, 1258 if (count >= PAGE_SIZE) 1266 scnprintf(buf + count, PAGE_SIZE [all...] |
/drivers/scsi/bnx2i/ |
H A D | bnx2i_iscsi.c | 328 mem_size = (mem_size + (PAGE_SIZE - 1)) & PAGE_MASK; 335 mem_size = (mem_size + (PAGE_SIZE - 1)) & PAGE_MASK; 528 hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, PAGE_SIZE, 536 hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, PAGE_SIZE, 540 dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, 551 mp_bdt->buffer_length = PAGE_SIZE; 568 dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, 573 dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, 932 dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, 939 dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 154 kinfo->spi_tid_maxsize = PAGE_SIZE; 337 cnt * PAGE_SIZE)) { 355 for (i = 0; i < cnt; i++, vaddr += PAGE_SIZE) { 376 qib_map_page(dd->pcidev, pagep[i], 0, PAGE_SIZE, 417 pci_unmap_page(dd->pcidev, phys, PAGE_SIZE, 532 pci_unmap_page(dd->pcidev, phys, PAGE_SIZE, 772 sz = dd->flags & QIB_HAS_HDRSUPP ? 2 * PAGE_SIZE : PAGE_SIZE; 923 size = PAGE_SIZE * subctxt_cnt; 931 PAGE_SIZE * subctx [all...] |
H A D | qib_init.c | 219 &dd->pcidev->dev, PAGE_SIZE, &dd->pioavailregs_phys, 252 dd->freezelen = PAGE_SIZE - ret; 792 dma_free_coherent(&dd->pcidev->dev, PAGE_SIZE, 1131 dma_free_coherent(&dd->pcidev->dev, PAGE_SIZE, 1150 PAGE_SIZE, PCI_DMA_FROMDEVICE); 1355 sizeof(u32), PAGE_SIZE); 1370 rcd->user_event_mask = vmalloc_user(PAGE_SIZE); 1377 &dd->pcidev->dev, PAGE_SIZE, &phys_hdrqtail, 1390 memset(rcd->rcvhdrtail_kvaddr, 0, PAGE_SIZE);
|
/drivers/mmc/card/ |
H A D | mmc_test.c | 33 #define BUFFER_SIZE (PAGE_SIZE << BUFFER_ORDER) 322 unsigned long max_page_cnt = DIV_ROUND_UP(max_sz, PAGE_SIZE); 323 unsigned long min_page_cnt = DIV_ROUND_UP(min_sz, PAGE_SIZE); 324 unsigned long max_seg_page_cnt = DIV_ROUND_UP(max_seg_sz, PAGE_SIZE); 408 unsigned long len = PAGE_SIZE << mem->arr[i].order; 462 addr = base + PAGE_SIZE * --cnt; 463 if (last_addr && last_addr + PAGE_SIZE == addr) 466 len = PAGE_SIZE; 1057 size = PAGE_SIZE * 2; 1083 size = PAGE_SIZE * [all...] |
/drivers/block/ |
H A D | umem.c | 123 #define DESC_PER_PAGE ((PAGE_SIZE*2)/sizeof(struct mm_dma_desc)) 903 PAGE_SIZE * 2, 906 PAGE_SIZE * 2, 1034 pci_free_consistent(card->dev, PAGE_SIZE*2, 1038 pci_free_consistent(card->dev, PAGE_SIZE*2, 1059 pci_free_consistent(card->dev, PAGE_SIZE*2, 1063 pci_free_consistent(card->dev, PAGE_SIZE*2,
|
/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 317 #define MLPP(X) ((X) % (PAGE_SIZE/sizeof(long)) 321 #define MLPP(X) ((X) & ((PAGE_SIZE/sizeof(long))-1)) 324 #define LWPP (PAGE_SIZE/sizeof(long)) 661 want = ALIGN(words*sizeof(long), PAGE_SIZE) >> PAGE_SHIFT; 958 * or with PAGE_SIZE > 4k */ 959 len = min_t(unsigned int, PAGE_SIZE, 975 memcpy(dest, src, PAGE_SIZE); 1120 * drbd_bm_write_page: Writes a PAGE_SIZE aligned piece of bitmap 1125 * so we submit PAGE_SIZE aligned pieces. 1126 * Note that on "most" systems, PAGE_SIZE i [all...] |
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | eq.c | 97 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE; 611 PAGE_SIZE); 637 npages = PAGE_ALIGN(eq->nent * MLX4_EQ_ENTRY_SIZE) / PAGE_SIZE; 658 PAGE_SIZE, &t, GFP_KERNEL); 665 memset(eq->page_list[i].buf, 0, PAGE_SIZE); 719 dma_free_coherent(&dev->pdev->dev, PAGE_SIZE, 739 int npages = PAGE_ALIGN(MLX4_EQ_ENTRY_SIZE * eq->nent) / PAGE_SIZE; 763 dma_free_coherent(&dev->pdev->dev, PAGE_SIZE,
|
/drivers/s390/net/ |
H A D | qeth_l3_sys.c | 588 /* String must not be longer than PAGE_SIZE. So we check if 589 * string length gets near PAGE_SIZE. Then we can savely display 591 if ((PAGE_SIZE - i) <= entry_len) 594 i += snprintf(buf + i, PAGE_SIZE - i, 598 i += snprintf(buf + i, PAGE_SIZE - i, "\n"); 828 /* String must not be longer than PAGE_SIZE. So we check if 829 * string length gets near PAGE_SIZE. Then we can savely display 831 if ((PAGE_SIZE - i) <= entry_len) 835 i += snprintf(buf + i, PAGE_SIZE - i, "%s\n", addr_str); 838 i += snprintf(buf + i, PAGE_SIZE [all...] |
/drivers/acpi/ |
H A D | acpi_pad.c | 302 return scnprintf(buf, PAGE_SIZE, "%d\n", round_robin_time); 325 return scnprintf(buf, PAGE_SIZE, "%d\n", idle_pct); 347 n = cpumask_scnprintf(buf, PAGE_SIZE-2, to_cpumask(pad_busy_cpus_bits));
|
H A D | nvs.c | 110 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK);
|
/drivers/gpu/drm/gma500/ |
H A D | gtt.c | 193 int pages = gt->gem.size / PAGE_SIZE; 352 len, start, end, PAGE_SIZE, NULL, NULL); 482 - PAGE_SIZE;
|
/drivers/usb/gadget/ |
H A D | udc-core.c | 435 return snprintf(buf, PAGE_SIZE, "%s\n", \ 448 return snprintf(buf, PAGE_SIZE, "%d\n", 460 return snprintf(buf, PAGE_SIZE, "%d\n", gadget->name); \
|
H A D | uvc_queue.c | 450 start += PAGE_SIZE; 451 addr += PAGE_SIZE; 452 size -= PAGE_SIZE;
|
/drivers/video/omap2/displays/ |
H A D | panel-taal.c | 627 return snprintf(buf, PAGE_SIZE, "%d\n", errors); 657 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x\n", id1, id2, id3); 682 len = snprintf(buf, PAGE_SIZE, "%s\n", mode_str); 684 return len < PAGE_SIZE - 1 ? len : PAGE_SIZE - 1; 741 len < PAGE_SIZE && i < ARRAY_SIZE(cabc_modes); i++) 742 len += snprintf(&buf[len], PAGE_SIZE - len, "%s%s%s", 746 return len < PAGE_SIZE ? len : PAGE_SIZE - 1; 785 return snprintf(buf, PAGE_SIZE, " [all...] |
/drivers/watchdog/ |
H A D | hpwdt.c | 227 bios32_map = ioremap(map_entry, (2 * PAGE_SIZE)); 255 (cru_length + PAGE_SIZE - 1) >> PAGE_SHIFT); 318 map_entry = bios_32_ptr->entry_point & ~(PAGE_SIZE - 1);
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_file_ops.c | 155 kinfo->spi_tid_maxsize = PAGE_SIZE; 207 PAGE_SIZE * subport_fp(fp)); 358 cnt * PAGE_SIZE)) { 384 for (i = 0; i < cnt; i++, vaddr += PAGE_SIZE) { 409 dd->pcidev, pagep[i], 0, PAGE_SIZE, 453 PAGE_SIZE, PCI_DMA_FROMDEVICE); 573 PAGE_SIZE, PCI_DMA_FROMDEVICE); 1034 if ((vma->vm_end - vma->vm_start) > PAGE_SIZE) { 1184 size = PAGE_SIZE * pd->port_subport_cnt; 1192 PAGE_SIZE * subpor [all...] |