Home
last modified time | relevance | path

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

/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.c52 static int w1_ds2438_get_page(struct w1_slave *sl, int pageno, u8 *buf) in w1_ds2438_get_page() argument
65 w1_buf[1] = (u8)pageno; in w1_ds2438_get_page()
71 w1_buf[1] = (u8)pageno; in w1_ds2438_get_page()
/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()
/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 …]
/drivers/tty/
Dmoxa.c1873 u16 pageno, pageofs, bufhead; in MoxaPortWriteData() local
1903 pageno = spage + (tail >> 13); in MoxaPortWriteData()
1909 writeb(pageno, baseAddr + Control_reg); in MoxaPortWriteData()
1913 if (++pageno == epage) in MoxaPortWriteData()
1914 pageno = spage; in MoxaPortWriteData()
1932 u16 pageno, pageofs, bufhead, head; in MoxaPortReadData() local
1961 pageno = spage + (head >> 13); in MoxaPortReadData()
1964 writew(pageno, baseAddr + Control_reg); in MoxaPortReadData()
1972 if (pageofs == 0 && ++pageno == epage) in MoxaPortReadData()
1973 pageno = spage; in MoxaPortReadData()
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1103 unsigned long pageno) in reloc_kmap() argument
1127 page = i915_gem_object_get_page(obj, pageno); in reloc_kmap()
1133 cache->page = pageno; in reloc_kmap()