/drivers/android/ |
D | binder_alloc.c | 189 void *page_addr; in binder_update_page_range() local 208 for (page_addr = start; page_addr < end; page_addr += PAGE_SIZE) { in binder_update_page_range() 209 page = &alloc->pages[(page_addr - alloc->buffer) / PAGE_SIZE]; in binder_update_page_range() 236 for (page_addr = start; page_addr < end; page_addr += PAGE_SIZE) { in binder_update_page_range() 241 index = (page_addr - alloc->buffer) / PAGE_SIZE; in binder_update_page_range() 263 alloc->pid, page_addr); in binder_update_page_range() 269 ret = map_kernel_range_noflush((unsigned long)page_addr, in binder_update_page_range() 272 flush_cache_vmap((unsigned long)page_addr, in binder_update_page_range() 273 (unsigned long)page_addr + PAGE_SIZE); in binder_update_page_range() 276 alloc->pid, page_addr); in binder_update_page_range() [all …]
|
D | binder_alloc_selftest.c | 105 void *page_addr, *end; in check_buffer_pages_allocated() local 109 page_addr = buffer->data; in check_buffer_pages_allocated() 110 for (; page_addr < end; page_addr += PAGE_SIZE) { in check_buffer_pages_allocated() 111 page_index = (page_addr - alloc->buffer) / PAGE_SIZE; in check_buffer_pages_allocated()
|
/drivers/s390/block/ |
D | xpram.c | 90 static int xpram_page_in (unsigned long page_addr, unsigned int xpage_index) in xpram_page_in() argument 100 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); in xpram_page_in() 120 static long xpram_page_out (unsigned long page_addr, unsigned int xpage_index) in xpram_page_out() argument 130 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); in xpram_page_out() 190 unsigned long page_addr; in xpram_make_request() local 206 page_addr = (unsigned long) in xpram_make_request() 209 if ((page_addr & 4095) != 0 || (bytes & 4095) != 0) in xpram_make_request() 214 if (xpram_page_in(page_addr, index) != 0) in xpram_make_request() 217 if (xpram_page_out(page_addr, index) != 0) in xpram_make_request() 220 page_addr += 4096; in xpram_make_request()
|
D | dcssblk.c | 826 unsigned long page_addr; in dcssblk_make_request() local 862 page_addr = (unsigned long) in dcssblk_make_request() 865 if (unlikely((page_addr & 4095) != 0) || (bvec.bv_len & 4095) != 0) in dcssblk_make_request() 869 memcpy((void*)page_addr, (void*)source_addr, in dcssblk_make_request() 872 memcpy((void*)source_addr, (void*)page_addr, in dcssblk_make_request()
|
/drivers/mtd/nand/ |
D | sh_flctl.c | 192 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() argument 198 addr = page_addr; /* ERASE1 */ in set_addr() 199 } else if (page_addr != -1) { in set_addr() 205 addr |= (page_addr & 0xff) << 16; in set_addr() 206 addr |= ((page_addr >> 8) & 0xff) << 24; in set_addr() 210 addr2 = (page_addr >> 16) & 0xff; in set_addr() 215 addr |= (page_addr & 0xff) << 8; in set_addr() 216 addr |= ((page_addr >> 8) & 0xff) << 16; in set_addr() 217 addr |= ((page_addr >> 16) & 0xff) << 24; in set_addr() 580 static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr) in execmd_read_page_sector() argument [all …]
|
D | nuc900_nand.c | 137 int column, int page_addr) in nuc900_nand_command_lp() argument 151 if (column != -1 || page_addr != -1) { in nuc900_nand_command_lp() 160 if (page_addr != -1) { in nuc900_nand_command_lp() 161 write_addr_reg(nand, page_addr); in nuc900_nand_command_lp() 164 write_addr_reg(nand, page_addr >> 8); in nuc900_nand_command_lp() 165 write_addr_reg(nand, page_addr >> 16 | ENDADDR); in nuc900_nand_command_lp() 167 write_addr_reg(nand, page_addr >> 8 | ENDADDR); in nuc900_nand_command_lp()
|
D | mxc_nand.c | 894 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) in mxc_do_addr_cycle() argument 902 page_addr == -1); in mxc_do_addr_cycle() 911 if (page_addr != -1) { in mxc_do_addr_cycle() 913 host->devtype_data->send_addr(host, (page_addr & 0xff), false); in mxc_do_addr_cycle() 919 (page_addr >> 8) & 0xff, in mxc_do_addr_cycle() 922 (page_addr >> 16) & 0xff, in mxc_do_addr_cycle() 927 (page_addr >> 8) & 0xff, true); in mxc_do_addr_cycle() 933 (page_addr >> 8) & 0xff, in mxc_do_addr_cycle() 936 (page_addr >> 16) & 0xff, in mxc_do_addr_cycle() 941 (page_addr >> 8) & 0xff, true); in mxc_do_addr_cycle() [all …]
|
D | fsl_elbc_nand.c | 145 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument 154 elbc_fcm_ctrl->page = page_addr; in set_addr() 161 out_be32(&lbc->fbar, page_addr >> 6); in set_addr() 163 ((page_addr << FPAR_LP_PI_SHIFT) & FPAR_LP_PI) | in set_addr() 165 buf_num = (page_addr & 1) << 2; in set_addr() 171 out_be32(&lbc->fbar, page_addr >> 5); in set_addr() 173 ((page_addr << FPAR_SP_PI_SHIFT) & FPAR_SP_PI) | in set_addr() 175 buf_num = page_addr & 7; in set_addr() 301 int column, int page_addr) in fsl_elbc_cmdfunc() argument 325 " 0x%x, column: 0x%x.\n", page_addr, column); in fsl_elbc_cmdfunc() [all …]
|
D | au1550nd.c | 268 static void au1550_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in au1550_command() argument 301 if (column != -1 || page_addr != -1) { in au1550_command() 312 if (page_addr != -1) { in au1550_command() 313 ctx->write_byte(mtd, (u8)(page_addr & 0xff)); in au1550_command() 331 ctx->write_byte(mtd, (u8)(page_addr >> 8)); in au1550_command() 336 ((page_addr >> 16) & 0x0f)); in au1550_command()
|
D | hisi504_nand.c | 413 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() argument 433 if (page_addr != -1) { in set_addr() 434 host->addr_value[0] |= (page_addr & 0xffff) in set_addr() 441 host->addr_value[0] |= ((page_addr >> 16) & 0xff) << 16; in set_addr() 443 host->addr_value[1] |= ((page_addr >> 16) & 0xff); in set_addr() 449 int page_addr) in hisi_nfc_cmdfunc() argument 467 set_addr(mtd, column, page_addr); in hisi_nfc_cmdfunc() 473 set_addr(mtd, column, page_addr); in hisi_nfc_cmdfunc() 477 set_addr(mtd, column, page_addr); in hisi_nfc_cmdfunc() 513 command, column, page_addr); in hisi_nfc_cmdfunc()
|
D | cafe_nand.c | 69 int page_addr; member 159 int column, int page_addr) in cafe_nand_cmdfunc() argument 167 command, column, page_addr); in cafe_nand_cmdfunc() 194 if (page_addr != -1) in cafe_nand_cmdfunc() 196 } else if (page_addr != -1) { in cafe_nand_cmdfunc() 197 cafe_writel(cafe, page_addr & 0xffff, NAND_ADDR1); in cafe_nand_cmdfunc() 198 page_addr >>= 16; in cafe_nand_cmdfunc() 200 cafe_writel(cafe, page_addr, NAND_ADDR2); in cafe_nand_cmdfunc()
|
D | fsl_ifc_nand.c | 231 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument 239 ifc_nand_ctrl->page = page_addr; in set_addr() 241 ifc_out32(page_addr, &ifc->ifc_nand.row0); in set_addr() 244 buf_num = page_addr & priv->bufnum_mask; in set_addr() 411 int column, int page_addr) { in fsl_ifc_cmdfunc() argument 426 set_addr(mtd, 0, page_addr, 0); in fsl_ifc_cmdfunc() 441 set_addr(mtd, column, page_addr, 1); in fsl_ifc_cmdfunc() 481 set_addr(mtd, 0, page_addr, 0); in fsl_ifc_cmdfunc() 560 set_addr(mtd, column, page_addr, ifc_nand_ctrl->oob); in fsl_ifc_cmdfunc()
|
D | pxa3xx_nand.c | 876 unsigned int page_size, uint16_t column, int page_addr) in set_command_address() argument 880 info->ndcb1 = ((page_addr & 0xFFFFFF) << 8) in set_command_address() 885 info->ndcb1 = ((page_addr & 0xFFFF) << 16) in set_command_address() 888 if (page_addr & 0xFF0000) in set_command_address() 889 info->ndcb2 = (page_addr & 0xFF0000) >> 16; in set_command_address() 944 int ext_cmd_type, uint16_t column, int page_addr) in prepare_set_command() argument 992 set_command_address(info, mtd->writesize, column, page_addr); in prepare_set_command() 998 set_command_address(info, mtd->writesize, 0, page_addr); in prepare_set_command() 1094 info->ndcb1 = page_addr; in prepare_set_command() 1119 int column, int page_addr) in nand_cmdfunc() argument [all …]
|
D | docg4.c | 690 int page_addr) in docg4_command() argument 696 uint32_t g4_addr = mtd_to_docg4_address(page_addr, column); in docg4_command() 699 __func__, command, page_addr, column); in docg4_command() 707 doc->last_command.page = page_addr; in docg4_command() 736 if (doc->oob_page == page_addr) in docg4_command()
|
D | atmel_nand.c | 1800 int page_addr, unsigned int *addr1234, unsigned int *cycle0) in nfc_make_addr() argument 1822 if (page_addr != -1) { in nfc_make_addr() 1823 addr_bytes[acycle++] = page_addr & 0xff; in nfc_make_addr() 1824 addr_bytes[acycle++] = (page_addr >> 8) & 0xff; in nfc_make_addr() 1826 addr_bytes[acycle++] = (page_addr >> 16) & 0xff; in nfc_make_addr() 1840 int column, int page_addr) in nfc_nand_command() argument 1862 __func__, command, column, page_addr); in nfc_nand_command() 1928 acycle = nfc_make_addr(mtd, command, column, page_addr, in nfc_nand_command()
|
/drivers/staging/rts5208/ |
D | xd.c | 155 static int xd_read_redundant(struct rtsx_chip *chip, u32 page_addr, in xd_read_redundant() argument 162 xd_assign_phy_addr(chip, page_addr, XD_RW_ADDR); in xd_read_redundant() 222 static int xd_read_cis(struct rtsx_chip *chip, u32 page_addr, u8 *buf, in xd_read_cis() argument 235 xd_assign_phy_addr(chip, page_addr, XD_RW_ADDR); in xd_read_cis() 752 u32 page_addr; in reset_xd() local 759 page_addr = (u32)i << xd_card->block_shift; in reset_xd() 762 retval = xd_read_redundant(chip, page_addr, redunt, 11); in reset_xd() 775 retval = xd_read_redundant(chip, page_addr + j, in reset_xd() 792 page_addr += j; in reset_xd() 794 retval = xd_read_cis(chip, page_addr, buf, 10); in reset_xd() [all …]
|
/drivers/target/tcm_fc/ |
D | tfc_io.c | 73 void *page_addr; in ft_queue_data_in() local 156 page_addr = from; in ft_queue_data_in() 161 kunmap_atomic(page_addr); in ft_queue_data_in() 223 void *page_addr; in ft_recv_write_data() local 316 page_addr = to; in ft_recv_write_data() 321 kunmap_atomic(page_addr); in ft_recv_write_data()
|
/drivers/iommu/ |
D | s390-iommu.c | 216 u8 *page_addr = (u8 *) (pa & PAGE_MASK); in s390_iommu_update_trans() local 237 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans() 238 page_addr += PAGE_SIZE; in s390_iommu_update_trans() 255 page_addr -= PAGE_SIZE; in s390_iommu_update_trans() 261 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans()
|
/drivers/scsi/libfc/ |
D | fc_libfc.c | 121 void *page_addr; in fc_copy_buffer_to_sglist() local 144 page_addr = kmap_atomic(sg_page(sg) + (off >> PAGE_SHIFT)); in fc_copy_buffer_to_sglist() 147 memcpy((char *)page_addr + (off & ~PAGE_MASK), buf, sg_bytes); in fc_copy_buffer_to_sglist() 148 kunmap_atomic(page_addr); in fc_copy_buffer_to_sglist()
|
/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.h | 29 u32 *page_addr; member 384 drm_clflush_virt_range(&ring->status_page.page_addr[reg], in intel_flush_status_page() 394 return ring->status_page.page_addr[reg]; in intel_read_status_page() 401 ring->status_page.page_addr[reg] = value; in intel_write_status_page()
|
/drivers/mtd/nand/bcm47xxnflash/ |
D | ops_bcm4706.c | 217 int page_addr) in bcm47xxnflash_ops_bcm4706_cmdfunc() argument 227 if (page_addr != -1) in bcm47xxnflash_ops_bcm4706_cmdfunc() 228 b47n->curr_page_addr = page_addr; in bcm47xxnflash_ops_bcm4706_cmdfunc() 273 if (page_addr != -1) in bcm47xxnflash_ops_bcm4706_cmdfunc()
|
/drivers/hv/ |
D | vmbus_drv.c | 735 void *page_addr = hv_context.synic_message_page[cpu]; in vmbus_on_msg_dpc() local 736 struct hv_message *msg = (struct hv_message *)page_addr + in vmbus_on_msg_dpc() 793 void *page_addr; in vmbus_isr() local 798 page_addr = hv_context.synic_event_page[cpu]; in vmbus_isr() 799 if (page_addr == NULL) in vmbus_isr() 802 event = (union hv_synic_event_flags *)page_addr + in vmbus_isr() 832 page_addr = hv_context.synic_message_page[cpu]; in vmbus_isr() 833 msg = (struct hv_message *)page_addr + VMBUS_MESSAGE_SINT; in vmbus_isr()
|
D | connection.c | 378 void *page_addr; in vmbus_on_event() local 392 page_addr = hv_context.synic_event_page[cpu]; in vmbus_on_event() 393 event = (union hv_synic_event_flags *)page_addr + in vmbus_on_event()
|
/drivers/mtd/maps/ |
D | pci.c | 129 unsigned long page_addr = ofs & 0x00400000; in intel_iq80310_translate() local 135 if (page_addr) { in intel_iq80310_translate()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_abi.h | 87 u64 page_addr[MAX_CQ_PAGES]; member
|