/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.c | 48 rxpage->pg_off = 0; in aq_get_rxpage() 68 rxbuf->rxdata.pg_off += AQ_CFG_RX_FRAME_MAX; in aq_get_rxpages() 69 if (rxbuf->rxdata.pg_off + AQ_CFG_RX_FRAME_MAX <= in aq_get_rxpages() 81 rxbuf->rxdata.pg_off = 0; in aq_get_rxpages() 345 buff->rxdata.pg_off, in aq_ring_rx_clean() 377 buff->rxdata.pg_off + hdr_len, in aq_ring_rx_clean() 393 buff_->rxdata.pg_off, in aq_ring_rx_clean() 398 buff_->rxdata.pg_off, in aq_ring_rx_clean()
|
D | aq_ring.h | 21 unsigned int pg_off; member 135 return page_to_virt(rxpage->page) + rxpage->pg_off; in aq_buf_vaddr() 140 return rxpage->daddr + rxpage->pg_off; in aq_buf_daddr()
|
/Linux-v5.4/drivers/acpi/ |
D | osl.c | 281 static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz) in acpi_map() argument 285 pfn = pg_off >> PAGE_SHIFT; in acpi_map() 291 return acpi_os_ioremap(pg_off, pg_sz); in acpi_map() 294 static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr) in acpi_unmap() argument 298 pfn = pg_off >> PAGE_SHIFT; in acpi_unmap() 323 acpi_physical_address pg_off; in acpi_os_map_iomem() local 348 pg_off = round_down(phys, PAGE_SIZE); in acpi_os_map_iomem() 349 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; in acpi_os_map_iomem() 350 virt = acpi_map(pg_off, pg_sz); in acpi_os_map_iomem() 359 map->phys = pg_off; in acpi_os_map_iomem()
|
/Linux-v5.4/drivers/block/rsxx/ |
D | dma.c | 24 unsigned int pg_off; /* Page Offset */ member 442 dma->pg_off, dma->sub_page.cnt << 9, dir); in rsxx_issue_dmas() 618 dma->pg_off = 0; in rsxx_queue_discard() 636 unsigned int pg_off, in rsxx_queue_dma() argument 651 dma->pg_off = pg_off; in rsxx_queue_dma() 658 dma->sub_page.cnt, dma->page, dma->pg_off); in rsxx_queue_dma()
|
/Linux-v5.4/fs/gfs2/ |
D | quota.c | 698 unsigned to_write = bytes, pg_off = off; in gfs2_write_buf_to_page() local 713 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page() 742 pg_off += (bsize - boff); in gfs2_write_buf_to_page() 744 boff = pg_off % bsize; in gfs2_write_buf_to_page() 770 unsigned pg_off, nbytes, overflow = 0; in gfs2_write_disk_quota() local 777 pg_off = offset_in_page(loc); in gfs2_write_disk_quota() 780 if ((pg_off + nbytes) > PAGE_SIZE) { in gfs2_write_disk_quota() 782 overflow = (pg_off + nbytes) - PAGE_SIZE; in gfs2_write_disk_quota() 786 error = gfs2_write_buf_to_page(ip, pg_beg, pg_off, ptr, in gfs2_write_disk_quota()
|
/Linux-v5.4/drivers/infiniband/sw/siw/ |
D | siw_qp_rx.c | 36 int pg_off, bytes, rv; in siw_rx_umem() local 51 pg_off = dest_addr & ~PAGE_MASK; in siw_rx_umem() 52 bytes = min(len, (int)PAGE_SIZE - pg_off); in siw_rx_umem() 57 rv = skb_copy_bits(srx->skb, srx->skb_offset, dest + pg_off, in siw_rx_umem() 73 (u8 *)(dest + pg_off), bytes); in siw_rx_umem() 96 pg_off = 0; in siw_rx_umem()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | nandsim.c | 1485 u_char *pg_off; in prog_page() local 1493 pg_off = ns->file_buf + ns->regs.column + ns->regs.off; in prog_page() 1500 tx = read_file(ns, ns->cfile, pg_off, num, off); in prog_page() 1507 pg_off[i] &= ns->buf.byte[i]; in prog_page() 1517 tx = write_file(ns, ns->cfile, pg_off, num, off); in prog_page() 1543 pg_off = NS_PAGE_BYTE_OFF(ns); in prog_page() 1545 pg_off[i] &= ns->buf.byte[i]; in prog_page()
|
/Linux-v5.4/drivers/dma/ |
D | dmatest.c | 730 unsigned long pg_off = offset_in_page(buf); in dmatest_func() local 732 um->addr[i] = dma_map_page(dev->dev, pg, pg_off, in dmatest_func() 748 unsigned long pg_off = offset_in_page(buf); in dmatest_func() local 750 dsts[i] = dma_map_page(dev->dev, pg, pg_off, um->len, in dmatest_func()
|