Home
last modified time | relevance | path

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

/linux-6.6.21/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
72 w1_buf[1] = (u8)pageno; in w1_ds2438_get_page()
78 w1_buf[1] = (u8)pageno; in w1_ds2438_get_page()
/linux-6.6.21/drivers/pci/endpoint/
Dpci-epc-mem.c185 int pageno; in pci_epc_mem_alloc_addr() local
195 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
197 if (pageno >= 0) { in pci_epc_mem_alloc_addr()
200 ((phys_addr_t)pageno << page_shift); in pci_epc_mem_alloc_addr()
204 pageno, order); in pci_epc_mem_alloc_addr()
250 int pageno; in pci_epc_mem_free_addr() local
262 pageno = (phys_addr - mem->window.phys_base) >> page_shift; in pci_epc_mem_free_addr()
266 bitmap_release_region(mem->bitmap, pageno, order); in pci_epc_mem_free_addr()
/linux-6.6.21/kernel/dma/
Dcoherent.c147 int pageno; in __dma_alloc_from_coherent() local
155 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
156 if (unlikely(pageno < 0)) in __dma_alloc_from_coherent()
163 ((dma_addr_t)pageno << PAGE_SHIFT); in __dma_alloc_from_coherent()
164 ret = mem->virt_base + ((dma_addr_t)pageno << PAGE_SHIFT); in __dma_alloc_from_coherent()
/linux-6.6.21/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.6.21/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.6.21/fs/jfs/
Djfs_imap.c302 unsigned long pageno; in diRead() local
346 pageno = blkno >> sbi->l2nbperpage; in diRead()
358 pageno += 1; in diRead()
364 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
589 unsigned long pageno; in diWrite() local
618 pageno = blkno >> sbi->l2nbperpage; in diWrite()
630 pageno += 1; in diWrite()
636 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
/linux-6.6.21/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.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1231 unsigned long pageno) in reloc_kmap() argument
1255 page = i915_gem_object_get_page(obj, pageno); in reloc_kmap()
1261 cache->page = pageno; in reloc_kmap()