| /OK3568_Linux_fs/kernel/drivers/net/ethernet/8390/ |
| H A D | hydra.c | 67 const unsigned char *buf, int start_page); 118 int start_page, stop_page; in hydra_init() local 136 start_page = NESM_START_PG; in hydra_init() 150 ei_status.tx_start_page = start_page; in hydra_init() 155 ei_status.rx_start_page = start_page + TX_PAGES; in hydra_init() 239 const unsigned char *buf, int start_page) in hydra_block_output() argument 247 z_memcpy_toio(mem_base+((start_page - NESM_START_PG)<<8), buf, count); in hydra_block_output()
|
| H A D | apne.c | 87 const unsigned char *buf, const int start_page); 210 int start_page, stop_page; in apne_probe1() local 281 start_page = NESM_START_PG; in apne_probe1() 284 start_page = NE1SM_START_PG; in apne_probe1() 296 start_page = 0x01; in apne_probe1() 308 start_page = NESM_START_PG; in apne_probe1() 336 ei_status.tx_start_page = start_page; in apne_probe1() 340 ei_status.rx_start_page = start_page + TX_PAGES; in apne_probe1() 477 const unsigned char *buf, const int start_page) in apne_block_output() argument 508 outb(start_page, nic_base + NE_EN0_RSARHI); in apne_block_output()
|
| H A D | ne.c | 184 const unsigned char *buf, const int start_page); 297 int start_page, stop_page; in ne_probe1() local 403 start_page = NESM_START_PG; in ne_probe1() 418 start_page = NE1SM_START_PG; in ne_probe1() 433 start_page = 0x01; in ne_probe1() 510 ei_status.tx_start_page = start_page; in ne_probe1() 516 ei_status.rx_start_page = start_page + TX_PAGES; in ne_probe1() 681 const unsigned char *buf, const int start_page) in ne_block_output() argument 734 outb_p(start_page, nic_base + EN0_RSARHI); in ne_block_output() 757 if ((start_page << 8) + count == addr) in ne_block_output() [all …]
|
| H A D | mac8390.c | 140 const unsigned char *buf, const int start_page); 154 const unsigned char *buf, int start_page); 162 const unsigned char *buf, int start_page); 744 const unsigned char *buf, int start_page) in sane_block_output() argument 746 long shmem = (start_page - WD_START_PG)<<8; in sane_block_output() 786 int start_page) in dayna_block_output() argument 788 long shmem = (start_page - WD_START_PG)<<8; in dayna_block_output() 825 const unsigned char *buf, int start_page) in slow_sane_block_output() argument 827 long shmem = (start_page - WD_START_PG)<<8; in slow_sane_block_output()
|
| H A D | zorro8390.c | 190 const int start_page) in zorro8390_block_output() argument 222 z_writeb(start_page, nic_base + NE_EN0_RSARHI); in zorro8390_block_output() 296 int start_page, stop_page; in zorro8390_init() local 355 start_page = NESM_START_PG; in zorro8390_init() 373 ei_status.tx_start_page = start_page; in zorro8390_init() 377 ei_status.rx_start_page = start_page + TX_PAGES; in zorro8390_init()
|
| H A D | mcf8390.c | 257 const int start_page) in mcf8390_block_output() argument 282 ei_outb(start_page, addr + NE_EN0_RSARHI); in mcf8390_block_output() 324 int start_page, stop_page; in mcf8390_init() local 369 start_page = NESM_START_PG; in mcf8390_init() 383 ei_local->tx_start_page = start_page; in mcf8390_init() 386 ei_local->rx_start_page = start_page + TX_PAGES; in mcf8390_init()
|
| H A D | ne2k-pci.c | 184 const int start_page); 231 int start_page, stop_page; in ne2k_pci_init_one() local 359 start_page = NESM_START_PG; in ne2k_pci_init_one() 369 ei_status.tx_start_page = start_page; in ne2k_pci_init_one() 378 ei_status.rx_start_page = start_page + TX_PAGES; in ne2k_pci_init_one() 587 const unsigned char *buf, const int start_page) in ne2k_pci_block_output() argument 631 outb(start_page, nic_base + EN0_RSARHI); in ne2k_pci_block_output()
|
| H A D | smc-ultra.c | 94 const unsigned char *buf, const int start_page); 100 const unsigned char *buf, const int start_page); 484 int start_page) in ultra_block_output() argument 486 void __iomem *shmem = ei_status.mem + ((start_page - START_PG)<<8); in ultra_block_output() 527 const unsigned char *buf, const int start_page) in ultra_pio_output() argument 531 outb(start_page, ioaddr + IOPA); in ultra_pio_output()
|
| H A D | ax88796.c | 261 const unsigned char *buf, const int start_page) in ax_block_output() argument 294 ei_outb(start_page, nic_base + EN0_RSARHI); in ax_block_output() 679 unsigned int start_page; in ax_init_dev() local 735 start_page = NESM_START_PG; in ax_init_dev() 738 start_page = NE1SM_START_PG; in ax_init_dev() 764 ei_local->tx_start_page = start_page; in ax_init_dev() 767 ei_local->rx_start_page = start_page + TX_PAGES; in ax_init_dev()
|
| H A D | wd.c | 60 const unsigned char *buf, int start_page); 462 int start_page) in wd_block_output() argument 465 void __iomem *shmem = ei_status.mem + ((start_page - WD_START_PG)<<8); in wd_block_output()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | ne2000_base.c | 215 dp83902a_start_xmit(int start_page, int len) in dp83902a_start_xmit() argument 223 printf("Tx pkt %d len %d\n", start_page, len); in dp83902a_start_xmit() 232 DP_OUT(base, DP_TPSR, start_page); in dp83902a_start_xmit() 247 int len, start_page, pkt_len, i, isr; in dp83902a_send() local 258 start_page = dp->tx_next; in dp83902a_send() 260 dp->tx1 = start_page; in dp83902a_send() 265 dp->tx2 = start_page; in dp83902a_send() 272 printf("TX prep page %d len %d\n", start_page, pkt_len); in dp83902a_send() 287 DP_OUT(base, DP_RSAH, (start_page - 1) & 0xff); in dp83902a_send() 304 DP_OUT(base, DP_RSAH, start_page); in dp83902a_send() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rts5208/ |
| H A D | xd.c | 25 u8 start_page, u8 end_page); 1045 u16 logoff, u8 start_page, u8 end_page) in xd_init_page() argument 1054 if (start_page > end_page) in xd_init_page() 1067 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page() 1075 0xFF, (end_page - start_page)); in xd_init_page() 1099 u8 start_page, u8 end_page) in xd_copy_page() argument 1109 if (start_page > end_page) in xd_copy_page() 1115 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1116 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1125 for (i = start_page; i < end_page; i++) { in xd_copy_page() [all …]
|
| H A D | ms.c | 1595 u8 start_page, u8 end_page) argument 1607 for (i = start_page; i < end_page; i++) { 1623 u16 log_blk, u8 start_page, u8 end_page) argument 1633 start_page, end_page); 1662 for (i = start_page; i < end_page; i++) { 2955 u16 log_blk, u8 start_page, u8 end_page, argument 2964 retval = ms_read_extra_data(chip, phy_blk, start_page, 2987 data[5] = start_page; 3006 for (page_addr = start_page; page_addr < end_page; page_addr++) { 3124 u16 new_blk, u16 log_blk, u8 start_page, argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_memory_os_alloc.c | 128 …os_resize_pages(mali_mem_os_mem *mem_from, mali_mem_os_mem *mem_to, u32 start_page, u32 page_count) in mali_mem_os_resize_pages() argument 136 if (mem_from->count < start_page + page_count) { in mali_mem_os_resize_pages() 141 if (i >= start_page && i < start_page + page_count) { in mali_mem_os_resize_pages() 281 …_mem_os_mem *os_mem, struct mali_session_data *session, u32 vaddr, u32 start_page, u32 mapping_pga… in mali_mem_os_mali_map() argument 291 MALI_DEBUG_ASSERT(start_page <= os_mem->count); in mali_mem_os_mali_map() 292 MALI_DEBUG_ASSERT((start_page + mapping_pgae_num) <= os_mem->count); in mali_mem_os_mali_map() 294 if ((start_page + mapping_pgae_num) == os_mem->count) { in mali_mem_os_mali_map() 296 virt = vaddr + MALI_MMU_PAGE_SIZE * (start_page + mapping_pgae_num); in mali_mem_os_mali_map() 321 if (i >= start_page) { in mali_mem_os_mali_map()
|
| H A D | mali_memory_os_alloc.h | 44 …s_resize_pages(mali_mem_os_mem *mem_from, mali_mem_os_mem *mem_to, u32 start_page, u32 page_count); 46 …_mem_os_mem *os_mem, struct mali_session_data *session, u32 vaddr, u32 start_page, u32 mapping_pga…
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo_util.c | 436 unsigned long start_page, in ttm_bo_kmap_ttm() argument 462 map->page = ttm->pages[start_page]; in ttm_bo_kmap_ttm() 471 map->virtual = vmap(ttm->pages + start_page, num_pages, in ttm_bo_kmap_ttm() 478 unsigned long start_page, unsigned long num_pages, in ttm_bo_kmap() argument 488 if (start_page > bo->num_pages) in ttm_bo_kmap() 495 return ttm_bo_kmap_ttm(bo, start_page, num_pages, map); in ttm_bo_kmap() 497 offset = start_page << PAGE_SHIFT; in ttm_bo_kmap()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_flash_88xx.c | 296 u32 start_page; in check_flash_88xx() local 305 start_page = ((pg_addr << 7) >> 12) + 0x780; in check_flash_88xx() 317 HALMAC_REG_W16(REG_PKTBUF_DBG_CTRL, (u16)(start_page)); in check_flash_88xx() 332 start_page++; in check_flash_88xx()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_flash_88xx.c | 296 u32 start_page; in check_flash_88xx() local 305 start_page = ((pg_addr << 7) >> 12) + 0x780; in check_flash_88xx() 317 HALMAC_REG_W16(REG_PKTBUF_DBG_CTRL, (u16)(start_page)); in check_flash_88xx() 332 start_page++; in check_flash_88xx()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/halmac_88xx/ |
| H A D | halmac_flash_88xx.c | 296 u32 start_page; in check_flash_88xx() local 305 start_page = ((pg_addr << 7) >> 12) + 0x780; in check_flash_88xx() 317 HALMAC_REG_W16(REG_PKTBUF_DBG_CTRL, (u16)(start_page)); in check_flash_88xx() 332 start_page++; in check_flash_88xx()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_flash_88xx.c | 297 u32 start_page; in check_flash_88xx() local 306 start_page = ((pg_addr << 7) >> 12) + 0x780; in check_flash_88xx() 318 HALMAC_REG_W16(REG_PKTBUF_DBG_CTRL, (u16)(start_page)); in check_flash_88xx() 333 start_page++; in check_flash_88xx()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/ |
| H A D | qib_user_pages.c | 94 int qib_get_user_pages(unsigned long start_page, size_t num_pages, in qib_get_user_pages() argument 111 ret = pin_user_pages(start_page + got * PAGE_SIZE, in qib_get_user_pages()
|
| /OK3568_Linux_fs/kernel/arch/m68k/sun3/ |
| H A D | config.c | 111 unsigned long start_page; in sun3_bootmem_alloc() local 117 start_page = __pa(memory_start) >> PAGE_SHIFT; in sun3_bootmem_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | mtdoops.c | 77 u32 start_page = start_page_offset / record_size; in mtdoops_erase_block() local 95 for (page = start_page; page < start_page + erase_pages; page++) in mtdoops_erase_block()
|
| /OK3568_Linux_fs/kernel/sound/pci/emu10k1/ |
| H A D | memory.c | 167 int start_page, end_page, mpage, pg; in unmap_memblk() local 174 start_page = q->mapped_page + q->pages; in unmap_memblk() 176 start_page = 1; in unmap_memblk() 193 return end_page - start_page; /* return the new empty size */ in unmap_memblk()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | swapfile.c | 214 if (offset < se->start_page) in offset_to_swap_extent() 216 else if (offset >= se->start_page + se->nr_pages) in offset_to_swap_extent() 234 sector = se->start_block + (offset - se->start_page); in swap_page_sector() 243 pgoff_t start_page, pgoff_t nr_pages) in discard_swap_cluster() argument 245 struct swap_extent *se = offset_to_swap_extent(si, start_page); in discard_swap_cluster() 248 pgoff_t offset = start_page - se->start_page; in discard_swap_cluster() 254 start_page += nr_blocks; in discard_swap_cluster() 2331 return se->start_block + (offset - se->start_page); in map_swap_entry() 2374 add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, in add_swap_extent() argument 2392 BUG_ON(se->start_page + se->nr_pages != start_page); in add_swap_extent() [all …]
|