Home
last modified time | relevance | path

Searched refs:pageno (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/w1/slaves/
Dw1_ds250x.c40 int (*read)(struct w1_slave *sl, int pageno);
46 static int w1_ds2502_read_page(struct w1_slave *sl, int pageno) in w1_ds2502_read_page() argument
49 int pgoff = pageno * W1_PAGE_SIZE; in w1_ds2502_read_page()
54 if (test_bit(pageno, data->page_present)) in w1_ds2502_read_page()
77 set_bit(pageno, data->page_present); /* mark page present */ in w1_ds2502_read_page()
84 static int w1_ds2505_read_page(struct w1_slave *sl, int pageno) in w1_ds2505_read_page() argument
94 if (test_bit(pageno, data->page_present)) in w1_ds2505_read_page()
97 epoff = pgoff = pageno * W1_PAGE_SIZE; in w1_ds2505_read_page()
133 set_bit(pageno, data->page_present); in w1_ds2505_read_page()
Dw1_ds2438.c61 static int w1_ds2438_get_page(struct w1_slave *sl, int pageno, u8 *buf) in w1_ds2438_get_page() argument
74 w1_buf[1] = (u8)pageno; in w1_ds2438_get_page()
80 w1_buf[1] = (u8)pageno; in w1_ds2438_get_page()
/linux-6.1.9/drivers/pci/endpoint/
Dpci-epc-mem.c175 int pageno; in pci_epc_mem_alloc_addr() local
185 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
187 if (pageno >= 0) { in pci_epc_mem_alloc_addr()
190 ((phys_addr_t)pageno << page_shift); in pci_epc_mem_alloc_addr()
194 pageno, order); in pci_epc_mem_alloc_addr()
240 int pageno; in pci_epc_mem_free_addr() local
252 pageno = (phys_addr - mem->window.phys_base) >> page_shift; in pci_epc_mem_free_addr()
256 bitmap_release_region(mem->bitmap, pageno, order); in pci_epc_mem_free_addr()
/linux-6.1.9/kernel/dma/
Dcoherent.c145 int pageno; in __dma_alloc_from_coherent() local
153 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
154 if (unlikely(pageno < 0)) in __dma_alloc_from_coherent()
161 ((dma_addr_t)pageno << PAGE_SHIFT); in __dma_alloc_from_coherent()
162 ret = mem->virt_base + ((dma_addr_t)pageno << PAGE_SHIFT); in __dma_alloc_from_coherent()
/linux-6.1.9/drivers/usb/atm/
Dueagle-atm.c127 u16 pageno; member
901 u16 pageno = sc->pageno; in uea_load_page_e1() local
912 if (ovl == 0 && pageno == 0) { in uea_load_page_e1()
924 if (pageno >= pagecount) in uea_load_page_e1()
927 p += 4 * pageno; in uea_load_page_e1()
938 "sending %u blocks for DSP page %u\n", blockcount, pageno); in uea_load_page_e1()
972 uea_err(INS_TO_USBDEV(sc), "invalid DSP page %u requested\n", pageno); in uea_load_page_e1()
975 static void __uea_load_page_e4(struct uea_softc *sc, u8 pageno, int boot) in __uea_load_page_e4() argument
980 u8 blockno = p->page_number_to_block_index[pageno]; in __uea_load_page_e4()
984 bi.bPageNumber = pageno; in __uea_load_page_e4()
[all …]
/linux-6.1.9/drivers/tty/
Dmoxa.c2172 u16 pageno, pageofs, bufhead; in MoxaPortWriteData() local
2202 pageno = spage + (tail >> 13); in MoxaPortWriteData()
2208 writeb(pageno, baseAddr + Control_reg); in MoxaPortWriteData()
2212 if (++pageno == epage) in MoxaPortWriteData()
2213 pageno = spage; in MoxaPortWriteData()
2231 u16 pageno, pageofs, bufhead, head; in MoxaPortReadData() local
2260 pageno = spage + (head >> 13); in MoxaPortReadData()
2263 writew(pageno, baseAddr + Control_reg); in MoxaPortReadData()
2271 if (pageofs == 0 && ++pageno == epage) in MoxaPortReadData()
2272 pageno = spage; in MoxaPortReadData()
/linux-6.1.9/fs/jfs/
Djfs_imap.c301 unsigned long pageno; in diRead() local
345 pageno = blkno >> sbi->l2nbperpage; in diRead()
357 pageno += 1; in diRead()
363 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
588 unsigned long pageno; in diWrite() local
617 pageno = blkno >> sbi->l2nbperpage; in diWrite()
629 pageno += 1; in diWrite()
635 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
/linux-6.1.9/include/trace/events/
Drpcrdma.h1884 unsigned int pageno
1887 TP_ARGS(rdma, rqst, pageno),
1890 __field(unsigned int, pageno)
1897 __entry->pageno = pageno;
1904 __get_str(device), __entry->xid, __entry->pageno
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1222 unsigned long pageno) in reloc_kmap() argument
1246 page = i915_gem_object_get_page(obj, pageno); in reloc_kmap()
1252 cache->page = pageno; in reloc_kmap()