Searched refs:start_page (Results 1 - 25 of 36) sorted by relevance

12

/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c54 static int __qib_get_user_pages(unsigned long start_page, size_t num_pages, argument
70 start_page + got * PAGE_SIZE,
122 * @start_page: the start page
132 int qib_get_user_pages(unsigned long start_page, size_t num_pages, argument
139 ret = __qib_get_user_pages(start_page, num_pages, p, NULL);
/drivers/infiniband/hw/ipath/
H A Dipath_user_pages.c56 static int __ipath_get_user_pages(unsigned long start_page, size_t num_pages, argument
71 (unsigned long) num_pages, start_page);
75 start_page + got * PAGE_SIZE,
151 * @start_page: the start page
161 int ipath_get_user_pages(unsigned long start_page, size_t num_pages, argument
168 ret = __ipath_get_user_pages(start_page, num_pages, p, NULL);
/drivers/net/ethernet/8390/
H A Dhydra.c67 const unsigned char *buf, int start_page);
119 int start_page, stop_page; local
137 start_page = NESM_START_PG;
151 ei_status.tx_start_page = start_page;
156 ei_status.rx_start_page = start_page + TX_PAGES;
239 const unsigned char *buf, int start_page)
247 z_memcpy_toio(mem_base+((start_page - NESM_START_PG)<<8), buf, count);
238 hydra_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dapne.c87 const unsigned char *buf, const int start_page);
202 int start_page, stop_page; local
273 start_page = NESM_START_PG;
276 start_page = NE1SM_START_PG;
288 start_page = 0x01;
300 start_page = NESM_START_PG;
328 ei_status.tx_start_page = start_page;
332 ei_status.rx_start_page = start_page + TX_PAGES;
468 const unsigned char *buf, const int start_page)
499 outb(start_page, nic_bas
467 apne_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
[all...]
H A Dmac8390.c140 const unsigned char *buf, const int start_page);
154 const unsigned char *buf, int start_page);
167 const unsigned char *buf, int start_page);
761 const unsigned char *buf, int start_page)
763 long shmem = (start_page - WD_START_PG)<<8;
803 int start_page)
805 long shmem = (start_page - WD_START_PG)<<8;
842 const unsigned char *buf, int start_page)
844 long shmem = (start_page - WD_START_PG)<<8;
760 sane_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
801 dayna_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
841 slow_sane_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dne-h8300.c81 const unsigned char *buf, const int start_page);
217 int start_page, stop_page; local
287 start_page = NESM_START_PG;
322 ei_status.tx_start_page = start_page;
326 ei_status.rx_start_page = start_page + TX_PAGES;
507 const unsigned char *buf, const int start_page)
559 outb_p(start_page, NE_BASE + EN0_RSARHI);
585 if ((start_page << 8) + count == addr)
593 dev->name, (start_page << 8) + count, addr);
506 ne_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
H A Dne2.c144 const unsigned char *buf, const int start_page);
321 int start_page, stop_page; local
446 start_page = NESM_START_PG;
473 ei_status.tx_start_page = start_page;
477 ei_status.rx_start_page = start_page + TX_PAGES;
636 const unsigned char *buf, const int start_page)
688 outb_p(start_page, nic_base + EN0_RSARHI);
709 if ((start_page << 8) + count == addr)
715 dev->name, (start_page << 8) + count, addr);
635 ne_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
H A De2100.c76 unsigned char start_page )
80 readb(mem_base+start_page);
107 const unsigned char *buf, int start_page);
375 int start_page)
382 readb(shared_mem + start_page);
383 mem_on(ioaddr, shared_mem, start_page);
374 e21_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dhp-plus.c105 const unsigned char *buf, int start_page);
111 const unsigned char *buf, int start_page);
419 const unsigned char *buf, int start_page)
422 outw(start_page << 8, ioaddr + HPP_OUT_ADDR);
428 const unsigned char *buf, int start_page)
433 outw(start_page << 8, ioaddr + HPP_OUT_ADDR);
418 hpp_io_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
427 hpp_mem_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dzorro8390.c189 const int start_page)
221 z_writeb(start_page, nic_base + NE_EN0_RSARHI);
296 int start_page, stop_page; local
355 start_page = NESM_START_PG;
373 ei_status.tx_start_page = start_page;
377 ei_status.rx_start_page = start_page + TX_PAGES;
187 zorro8390_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
H A Dhp.c68 const unsigned char *buf, int start_page);
309 const unsigned char *buf, int start_page)
340 outb_p(start_page, nic_base + EN0_RSARHI);
357 if ((start_page << 8) + count != addr)
359 dev->name, (start_page << 8) + count, addr);
308 hp_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dne.c182 const unsigned char *buf, const int start_page);
292 int start_page, stop_page; local
397 start_page = NESM_START_PG;
412 start_page = NE1SM_START_PG;
432 start_page = 0x01;
518 ei_status.tx_start_page = start_page;
524 ei_status.rx_start_page = start_page + TX_PAGES;
687 const unsigned char *buf, const int start_page)
739 outb_p(start_page, nic_base + EN0_RSARHI);
762 if ((start_page <<
686 ne_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
[all...]
H A Dne2k-pci.c176 const unsigned char *buf, const int start_page);
224 int start_page, stop_page; local
342 start_page = NESM_START_PG;
352 ei_status.tx_start_page = start_page;
361 ei_status.rx_start_page = start_page + TX_PAGES;
563 const unsigned char *buf, const int start_page)
604 outb(start_page, nic_base + EN0_RSARHI);
562 ne2k_pci_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
H A Dsmc-ultra.c94 const unsigned char *buf, const int start_page);
100 const unsigned char *buf, const int start_page);
477 int start_page)
479 void __iomem *shmem = ei_status.mem + ((start_page - START_PG)<<8);
520 const unsigned char *buf, const int start_page)
524 outb(start_page, ioaddr + IOPA);
476 ultra_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
519 ultra_pio_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
H A Dac3200.c87 const unsigned char *buf, const int start_page);
344 const unsigned char *buf, int start_page)
346 void __iomem *shmem = ei_status.mem + ((start_page - AC_START_PG)<<8);
343 ac_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Des3210.c71 static void es_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page);
371 const unsigned char *buf, int start_page)
373 void __iomem *shmem = ei_status.mem + ((start_page - ES_START_PG)<<8);
370 es_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dlne390.c60 static void lne390_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page);
360 const unsigned char *buf, int start_page)
362 void __iomem *shmem = ei_status.mem + ((start_page - LNE390_START_PG)<<8);
359 lne390_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dne3210.c51 static void ne3210_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page);
307 const unsigned char *buf, int start_page)
309 void __iomem *shmem = ei_status.mem + ((start_page - NE3210_START_PG)<<8);
306 ne3210_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
H A Dax88796.c252 const unsigned char *buf, const int start_page)
285 ei_outb(start_page, nic_base + EN0_RSARHI);
677 unsigned int start_page; local
727 start_page = NESM_START_PG;
730 start_page = NE1SM_START_PG;
750 ei_local->tx_start_page = start_page;
753 ei_local->rx_start_page = start_page + TX_PAGES;
251 ax_block_output(struct net_device *dev, int count, const unsigned char *buf, const int start_page) argument
/drivers/staging/rts5139/
H A Dxd.c41 u8 start_page, u8 end_page);
1005 u8 start_page, u8 end_page)
1014 if (start_page > end_page)
1028 page_addr = (phy_blk << xd_card->block_shift) + start_page;
1036 (end_page - start_page));
1065 u32 old_blk, u32 new_blk, u8 start_page, u8 end_page)
1075 if (start_page > end_page)
1081 old_page = (old_blk << xd_card->block_shift) + start_page;
1082 new_page = (new_blk << xd_card->block_shift) + start_page;
1088 for (i = start_page;
1004 xd_init_page(struct rts51x_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) argument
1064 xd_copy_page(struct rts51x_chip *chip, u32 old_blk, u32 new_blk, u8 start_page, u8 end_page) argument
1186 xd_auto_copy_page(struct rts51x_chip *chip, u32 old_blk, u32 new_blk, u8 start_page, u8 end_page) argument
1573 xd_read_multiple_pages(struct rts51x_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument
1804 xd_write_multiple_pages(struct rts51x_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument
1959 u8 start_page, end_page = 0, page_cnt; local
[all...]
H A Dms.c1639 u8 start_page, u8 end_page)
1651 for (i = start_page; i < end_page; i++) {
1665 u16 log_blk, u8 start_page, u8 end_page)
1673 RTS51X_DEBUGP("start_page = %d, end_page = %d\n", start_page,
1702 for (i = start_page; i < end_page; i++) {
1928 u16 log_blk, u8 start_page, u8 end_page)
1938 RTS51X_DEBUGP("start_page = %d, end_page = %d\n", start_page,
1941 page_len = end_page - start_page;
1638 ms_init_page(struct rts51x_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page) argument
1664 ms_copy_page(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page) argument
1927 ms_auto_copy_page(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page) argument
3046 ms_read_multiple_pages(struct rts51x_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument
3207 ms_write_multiple_pages(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument
3343 ms_read_multiple_pages(struct rts51x_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument
3533 ms_write_multiple_pages(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, void **ptr, unsigned int *offset) argument
3784 ms_prepare_write(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page) argument
3847 u8 start_page, end_page = 0, page_cnt; local
[all...]
/drivers/staging/rts_pstor/
H A Dxd.c35 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page);
1026 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) argument
1035 if (start_page > end_page)
1047 page_addr = (phy_blk << xd_card->block_shift) + start_page;
1053 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_PAGE_CNT, 0xFF, (end_page - start_page));
1074 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u8 start_page, u8 end_page) argument
1083 if (start_page > end_page)
1089 old_page = (old_blk << xd_card->block_shift) + start_page;
1090 new_page = (new_blk << xd_card->block_shift) + start_page;
1096 for (i = start_page;
1444 xd_read_multiple_pages(struct rtsx_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) argument
1633 xd_write_multiple_pages(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) argument
1759 u8 start_page, end_page = 0, page_cnt; local
[all...]
H A Dms.c1567 static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page) argument
1579 for (i = start_page; i < end_page; i++) {
1595 u16 log_blk, u8 start_page, u8 end_page)
1603 RTSX_DEBUGP("start_page = %d, end_page = %d\n", start_page, end_page);
1634 for (i = start_page; i < end_page; i++) {
2917 u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset)
2924 retval = ms_read_extra_data(chip, phy_blk, start_page, extra, MS_EXTRA_SIZE);
2946 data[5] = start_page;
2966 for (page_addr = start_page; page_add
1594 ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page) argument
2916 ms_read_multiple_pages(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) argument
3071 ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) argument
3290 ms_prepare_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page) argument
3347 u8 start_page, end_page = 0, page_cnt; local
[all...]
/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c506 unsigned long start_page,
529 map->page = ttm->pages[start_page];
540 map->virtual = vmap(ttm->pages + start_page, num_pages,
547 unsigned long start_page, unsigned long num_pages,
560 if (start_page > bo->num_pages)
572 return ttm_bo_kmap_ttm(bo, start_page, num_pages, map);
574 offset = start_page << PAGE_SHIFT;
505 ttm_bo_kmap_ttm(struct ttm_buffer_object *bo, unsigned long start_page, unsigned long num_pages, struct ttm_bo_kmap_obj *map) argument
546 ttm_bo_kmap(struct ttm_buffer_object *bo, unsigned long start_page, unsigned long num_pages, struct ttm_bo_kmap_obj *map) argument
/drivers/mtd/
H A Dmtdoops.c97 u32 start_page = start_page_offset / record_size; local
129 for (page = start_page; page < start_page + erase_pages; page++)

Completed in 328 milliseconds

12