Lines Matching refs:region

66  * struct mem_region - memory region structure
70 * @destroy: flag if region should be destroyed upon shutdown
88 * @rm: real mode (bootmem) region
89 * @r1: highmem region(s)
220 /* Assume a single highmem region. */
234 DBG("%s:%d: Found high region in repository: %llxh %llxh\n",
240 DBG("%s:%d: No high region in repository.\n", __func__, __LINE__);
248 /* Assume a single highmem region. */
255 * ps3_mm_region_create - create a memory region in the vas
257 * @size: requested region size
259 * This implementation creates the region with the vas large page size.
300 * ps3_mm_region_destroy - destroy a memory region
332 * @r: pointer to dma region structure
360 * @region - The dma region that owns this chunk.
365 * list of all chuncks owned by the region.
373 struct ps3_dma_region *region;
386 c->region->dev->bus_id, c->region->dev->dev_id);
387 DBG("%s:%d: r.bus_addr %lxh\n", func, line, c->region->bus_addr);
388 DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size);
389 DBG("%s:%d: r.len %lxh\n", func, line, c->region->len);
390 DBG("%s:%d: r.offset %lxh\n", func, line, c->region->offset);
461 result = lv1_unmap_device_dma_region(c->region->dev->bus_id,
462 c->region->dev->dev_id, c->bus_addr, c->len);
475 struct ps3_dma_region *r = c->region;
524 c->region = r;
530 result = lv1_map_device_dma_region(c->region->dev->bus_id,
531 c->region->dev->dev_id, c->lpar_addr,
569 c->region = r;
585 /* FIXME: check whether length exceeds region size */
630 * dma_sb_region_create - Create a device dma region.
633 * This is the lowest level dma region create routine, and is the one that
634 * will make the HV call to create the region.
700 * dma_region_free - Free a device dma region.
703 * This is the lowest level dma region free routine, and is the one that
704 * will make the HV call to free the region.
762 * dma_sb_map_area - Map an area of memory into a device dma region.
877 * dma_sb_unmap_area - Unmap an area of memory from a device dma region.
964 * This routine creates an HV dma region for the device and maps all available
1020 * This routine will unmap all mapped areas and free the HV dma region.
1060 * dma_sb_map_area_linear - Map an area of memory into a device dma region.
1082 * dma_unmap_area_linear - Unmap an area of memory from a device dma region.
1220 /* Check if we got the highmem region from an earlier boot step */
1233 DBG("%s:%d: No highmem region found\n", __func__, __LINE__);
1235 DBG("%s:%d: Adding highmem region: %llxh %llxh\n",