Home
last modified time | relevance | path

Searched refs:phys_to_virt (Results 1 – 25 of 82) sorted by relevance

1234

/linux-2.4.37.9/include/asm-m68k/
Dvirtconvert.h42 static inline void * phys_to_virt(unsigned long paddr) in phys_to_virt() function
52 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function
64 #define bus_to_virt(a) (phys_to_virt((a) - (MACH_IS_HADES ? 0x80000000 : 0)))
67 #define bus_to_virt phys_to_virt
/linux-2.4.37.9/drivers/media/video/
Dzr36120_mem.c54 mem_map_reserve(virt_to_page(phys_to_virt(adr))); in bmalloc()
68 mem_map_unreserve(virt_to_page(phys_to_virt(adr))); in bfree()
/linux-2.4.37.9/drivers/scsi/
Dseagate.c1235 /* input */ :"D" (phys_to_virt (st0x_dr)), in internal_command()
1246 phys_to_virt (st0x_dr); in internal_command()
1252 phys_to_virt (st0x_dr); in internal_command()
1311 "2" (phys_to_virt in internal_command()
1313 "3" (phys_to_virt in internal_command()
1396 /* input */ :"S" (phys_to_virt (st0x_dr)), in internal_command()
1407 phys_to_virt (st0x_dr); in internal_command()
1413 phys_to_virt (st0x_dr); in internal_command()
1489 "2" (phys_to_virt in internal_command()
1491 "3" (phys_to_virt in internal_command()
Ddec_esp.c315 p = phys_to_virt(scsi_data_ptr); in dma_drain()
357 dma_cache_wback_inv((unsigned long) phys_to_virt(vaddress), length); in dma_init_read()
391 dma_cache_wback_inv((unsigned long) phys_to_virt(vaddress), length); in dma_init_write()
476 memcpy(phys_to_virt(esp_virt_buffer), in pmaz_dma_drain()
503 phys_to_virt(vaddress), length); in pmaz_dma_init_write()
Djazz_esp.c169 dma_cache_wback_inv ((unsigned long)phys_to_virt(vdma_log2phys(vaddress)), length); in dma_init_read()
179 dma_cache_wback_inv ((unsigned long)phys_to_virt(vdma_log2phys(vaddress)), length); in dma_init_write()
/linux-2.4.37.9/include/asm-s390/
Dio.h38 extern inline void * phys_to_virt(unsigned long address) in phys_to_virt() function
71 #define bus_to_virt phys_to_virt
/linux-2.4.37.9/include/asm-s390x/
Dio.h38 extern inline void * phys_to_virt(unsigned long address) in phys_to_virt() function
71 #define bus_to_virt phys_to_virt
/linux-2.4.37.9/arch/mips/au1000/common/
Ddbdma.c551 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_source()
593 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_dest()
631 *buf = (void *)(phys_to_virt(dp->dscr_dest0)); in au1xxx_dbdma_get_dest()
637 ctp->get_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_get_dest()
706 dp = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_reset()
775 ctp->cur_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in dbdma_interrupt()
829 dp = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_dump()
/linux-2.4.37.9/mm/
Dbootmem.c56 bdata->node_bootmem_map = phys_to_virt(mapstart << PAGE_SHIFT); in init_bootmem_core()
219 ret = phys_to_virt(bdata->last_pos*PAGE_SIZE + offset + in __alloc_bootmem_core()
224 ret = phys_to_virt(bdata->last_pos*PAGE_SIZE + offset + in __alloc_bootmem_core()
233 ret = phys_to_virt(start * PAGE_SIZE + bdata->node_boot_start); in __alloc_bootmem_core()
/linux-2.4.37.9/include/asm-i386/
Dsmpboot.h64 #define TRAMPOLINE_LOW phys_to_virt((clustered_apic_mode == CLUSTERED_APIC_NUMAQ)?0x8:0x467)
65 #define TRAMPOLINE_HIGH phys_to_virt((clustered_apic_mode == CLUSTERED_APIC_NUMAQ)?0xa:0x469)
Dvga.h15 #define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
/linux-2.4.37.9/arch/ia64/lib/
Dswiotlb.c371 char *dma_addr = phys_to_virt(pci_addr); in swiotlb_unmap_single()
393 char *dma_addr = phys_to_virt(pci_addr); in swiotlb_sync_single()
455 unmap_single(hwdev, phys_to_virt(sg->dma_address), in swiotlb_unmap_sg()
478 sync_single(hwdev, phys_to_virt(sg->dma_address), in swiotlb_sync_sg()
/linux-2.4.37.9/arch/x86_64/kernel/
Dsmpboot.c573 *((volatile unsigned short *) phys_to_virt(0x469)) = start_eip >> 4; in do_boot_cpu()
575 *((volatile unsigned short *) phys_to_virt(0x467)) = start_eip & 0xf; in do_boot_cpu()
744 if (*((volatile unsigned char *)phys_to_virt(8192)) in do_boot_cpu()
763 *((volatile unsigned int *)phys_to_virt(8192)) = 0; in do_boot_cpu()
959 *((volatile int *) phys_to_virt(0x467)) = 0; in smp_boot_cpus()
/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslavenet.c740 myNextRxDesc = phys_to_virt(myNextRxDesc->next); in e100_rx()
748 skb_data_ptr = (unsigned char *)phys_to_virt(mySaveRxDesc->buf); in e100_rx()
777 memcpy(skb_data_ptr, phys_to_virt(mySaveRxDesc->buf), in e100_rx()
780 mySaveRxDesc = phys_to_virt(mySaveRxDesc->next); in e100_rx()
783 memcpy(skb_data_ptr, phys_to_virt(mySaveRxDesc->buf), in e100_rx()
797 myNextRxDesc = phys_to_virt(myNextRxDesc->next); in e100_rx()
/linux-2.4.37.9/include/asm-sh64/
Dio.h32 #define bus_to_virt phys_to_virt
128 extern __inline__ void * phys_to_virt(unsigned long address) in phys_to_virt() function
/linux-2.4.37.9/arch/alpha/kernel/
Dcore_irongate.c382 gatt_pages = (u32 *)(phys_to_virt(mmio_regs[1])); /* FIXME */ in irongate_ioremap()
404 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
421 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
/linux-2.4.37.9/include/asm-x86_64/
Dvga.h15 #define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
Dio.h135 extern inline void * phys_to_virt(unsigned long address) in phys_to_virt() function
172 #define bus_to_virt phys_to_virt
/linux-2.4.37.9/arch/i386/mm/
Dioremap.c121 return phys_to_virt(phys_addr); in __ioremap()
180 return phys_to_virt(phys_addr); in bt_ioremap()
/linux-2.4.37.9/drivers/acpi/
Dosl.c174 *virt = phys_to_virt(phys); in acpi_os_map_memory()
384 virt_addr = phys_to_virt(phys_addr); in acpi_os_read_memory()
390 virt_addr = phys_to_virt(phys_addr); in acpi_os_read_memory()
429 virt_addr = phys_to_virt(phys_addr); in acpi_os_write_memory()
435 virt_addr = phys_to_virt(phys_addr); in acpi_os_write_memory()
/linux-2.4.37.9/include/asm-sparc/
Dio.h15 #define bus_to_virt phys_to_virt
209 #define phys_to_virt(x) __va((unsigned long)(x)) macro
/linux-2.4.37.9/arch/cris/drivers/
Dusb-host.c569 sb = ep->sub ? phys_to_virt(ep->sub) : 0; in __dump_ep_list()
572 sb = sb->next ? phys_to_virt(sb->next) : 0; in __dump_ep_list()
574 ep = (volatile USB_EP_Desc_t *)(phys_to_virt(ep->next)); in __dump_ep_list()
871 next_ep = (USB_EP_Desc_t *)phys_to_virt(curr_ep->next); in etrax_usb_unlink_intr_urb()
889 kmem_cache_free(usb_desc_cache, phys_to_virt(unlink_ep->sub)); in etrax_usb_unlink_intr_urb()
893 curr_ep = phys_to_virt(curr_ep->next); in etrax_usb_unlink_intr_urb()
905 first_ep = (USB_EP_Desc_t *)phys_to_virt(*R_DMA_CH8_SUB2_EP); in etrax_usb_do_intr_recover()
917 tmp_ep = (USB_EP_Desc_t *)phys_to_virt(tmp_ep->next); in etrax_usb_do_intr_recover()
1476 ep = (USB_EP_Desc_t *)phys_to_virt(*R_DMA_CH8_SUB0_EP); in etrax_usb_tx_interrupt()
1576 phys_to_virt(myNextRxDesc->buf), myNextRxDesc->hw_len); in etrax_usb_rx_interrupt()
[all …]
Dethernet.c1119 myFirstTxDesc = phys_to_virt(myFirstTxDesc->descr.next); in e100_tx_timeout()
1155 myNextTxDesc = phys_to_virt(myNextTxDesc->descr.next); in e100_send_packet()
1211 while (myFirstTxDesc != phys_to_virt(*R_DMA_CH0_FIRST) && in e100rxtx_interrupt()
1221 myFirstTxDesc = phys_to_virt(myFirstTxDesc->descr.next); in e100rxtx_interrupt()
1291 skb_data_ptr = (unsigned char *)phys_to_virt(myNextRxDesc->descr.buf); in e100_rx()
1318 memcpy(skb_data_ptr, phys_to_virt(myNextRxDesc->descr.buf), length); in e100_rx()
1334 align = (int)phys_to_virt(myNextRxDesc->descr.buf) - (int)skb->data; in e100_rx()
1350 myNextRxDesc = phys_to_virt(myNextRxDesc->descr.next); in e100_rx()
/linux-2.4.37.9/include/asm-parisc/
Dio.h17 #define phys_to_virt(a) __va(a) macro
19 #define bus_to_virt phys_to_virt
/linux-2.4.37.9/include/asm-cris/
Dio.h209 extern inline void * phys_to_virt(unsigned long address) in phys_to_virt() function
229 #define bus_to_virt phys_to_virt

1234