Searched refs:pg_off (Results 1 – 5 of 5) sorted by relevance
/drivers/acpi/ |
D | osl.c | 282 static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz) in acpi_map() argument 286 pfn = pg_off >> PAGE_SHIFT; in acpi_map() 292 return acpi_os_ioremap(pg_off, pg_sz); in acpi_map() 295 static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr) in acpi_unmap() argument 299 pfn = pg_off >> PAGE_SHIFT; in acpi_unmap() 324 acpi_physical_address pg_off; in acpi_os_map_iomem() local 349 pg_off = round_down(phys, PAGE_SIZE); in acpi_os_map_iomem() 350 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; in acpi_os_map_iomem() 351 virt = acpi_map(pg_off, pg_sz); in acpi_os_map_iomem() 360 map->phys = pg_off; in acpi_os_map_iomem()
|
/drivers/block/rsxx/ |
D | dma.c | 38 unsigned int pg_off; /* Page Offset */ member 456 dma->pg_off, dma->sub_page.cnt << 9, dir); in rsxx_issue_dmas() 632 dma->pg_off = 0; in rsxx_queue_discard() 650 unsigned int pg_off, in rsxx_queue_dma() argument 665 dma->pg_off = pg_off; in rsxx_queue_dma() 672 dma->sub_page.cnt, dma->page, dma->pg_off); in rsxx_queue_dma()
|
/drivers/dma/ |
D | dmatest.c | 579 unsigned pg_off = (unsigned long) buf & ~PAGE_MASK; in dmatest_func() local 581 um->addr[i] = dma_map_page(dev->dev, pg, pg_off, in dmatest_func() 599 unsigned pg_off = (unsigned long) buf & ~PAGE_MASK; in dmatest_func() local 601 dsts[i] = dma_map_page(dev->dev, pg, pg_off, um->len, in dmatest_func()
|
/drivers/mtd/nand/ |
D | nandsim.c | 1544 u_char *pg_off; in prog_page() local 1552 pg_off = ns->file_buf + ns->regs.column + ns->regs.off; in prog_page() 1559 tx = read_file(ns, ns->cfile, pg_off, num, off); in prog_page() 1566 pg_off[i] &= ns->buf.byte[i]; in prog_page() 1576 tx = write_file(ns, ns->cfile, pg_off, num, off); in prog_page() 1602 pg_off = NS_PAGE_BYTE_OFF(ns); in prog_page() 1604 pg_off[i] &= ns->buf.byte[i]; in prog_page()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 1149 int pg_off; in kiblnd_map_rx_descs() local 1153 for (pg_off = ipg = i = 0; i < IBLND_RX_MSGS(conn); i++) { in kiblnd_map_rx_descs() 1158 rx->rx_msg = (struct kib_msg *)(((char *)page_address(pg)) + pg_off); in kiblnd_map_rx_descs() 1170 (__u64)(page_to_phys(pg) + pg_off)); in kiblnd_map_rx_descs() 1172 pg_off += IBLND_MSG_SIZE; in kiblnd_map_rx_descs() 1173 LASSERT(pg_off <= PAGE_SIZE); in kiblnd_map_rx_descs() 1175 if (pg_off == PAGE_SIZE) { in kiblnd_map_rx_descs() 1176 pg_off = 0; in kiblnd_map_rx_descs()
|