Home
last modified time | relevance | path

Searched refs:lpar_addr (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/platforms/cell/
Dbeat_iommu.c59 u64 lpar_addr, io_addr; in celleb_init_direct_mapping() local
68 for (lpar_addr = 0; lpar_addr < dma_size; lpar_addr += io_page_size) { in celleb_init_direct_mapping()
69 io_addr = lpar_addr + dma_base; in celleb_init_direct_mapping()
70 (void)beat_put_iopte(io_space_id, io_addr, lpar_addr, in celleb_init_direct_mapping()
/arch/powerpc/platforms/ps3/
Dmm.c344 unsigned long lpar_addr) in dma_sb_lpar_to_bus() argument
346 if (lpar_addr >= map.rm.size) in dma_sb_lpar_to_bus()
347 lpar_addr -= map.r1.offset; in dma_sb_lpar_to_bus()
348 BUG_ON(lpar_addr < r->offset); in dma_sb_lpar_to_bus()
349 BUG_ON(lpar_addr >= r->offset + r->len); in dma_sb_lpar_to_bus()
350 return r->bus_addr + lpar_addr - r->offset; in dma_sb_lpar_to_bus()
381 unsigned long lpar_addr; member
398 DBG("%s:%d: c.lpar_addr %lxh\n", func, line, c->lpar_addr); in _dma_dump_chunk()
433 unsigned long lpar_addr, unsigned long len) in dma_find_chunk_lpar() argument
436 unsigned long aligned_lpar = _ALIGN_DOWN(lpar_addr, 1 << r->page_size); in dma_find_chunk_lpar()
[all …]
Dsystem-bus.c247 pr_debug("%s:%d: lpar_addr %lxh\n", func, line, r->lpar_addr); in _dump_mmio_region()
253 u64 lpar_addr; in ps3_sb_mmio_region_create() local
256 r->bus_addr, r->len, r->page_size, &lpar_addr); in ps3_sb_mmio_region_create()
257 r->lpar_addr = lpar_addr; in ps3_sb_mmio_region_create()
262 r->lpar_addr = 0; in ps3_sb_mmio_region_create()
288 r->lpar_addr); in ps3_sb_free_mmio_region()
294 r->lpar_addr = 0; in ps3_sb_free_mmio_region()
Dplatform.h208 int ps3_repository_read_boot_dat_addr(u64 *lpar_addr);
210 int ps3_repository_read_boot_dat_info(u64 *lpar_addr, unsigned int *size);
Dos-area.c723 u64 lpar_addr; in ps3_os_area_save_params() local
731 result = ps3_repository_read_boot_dat_info(&lpar_addr, &size); in ps3_os_area_save_params()
739 header = (struct os_area_header *)__va(lpar_addr); in ps3_os_area_save_params()
740 params = (struct os_area_params *)__va(lpar_addr in ps3_os_area_save_params()
752 db = (struct os_area_db *)__va(lpar_addr in ps3_os_area_save_params()
Dinterrupt.c531 u64 lpar_addr; in ps3_vuart_irq_setup() local
535 lpar_addr = ps3_mm_phys_to_lpar(__pa(virt_addr_bmp)); in ps3_vuart_irq_setup()
537 result = lv1_configure_virtual_uart_irq(lpar_addr, &outlet); in ps3_vuart_irq_setup()
Drepository.c905 int ps3_repository_read_boot_dat_info(u64 *lpar_addr, unsigned int *size) in ps3_repository_read_boot_dat_info() argument
910 result = ps3_repository_read_boot_dat_address(lpar_addr); in ps3_repository_read_boot_dat_info()
/arch/powerpc/include/asm/
Dps3.h152 unsigned long lpar_addr; member