Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/dev/drm2/i915/
Dintel_ringbuffer.c649 if (ring->status_page.page_addr == NULL) in ring_get_seqno()
790 I915_WRITE(mmio, (u32)ring->status_page.gfx_addr); in intel_ring_setup_status_page()
932 obj = ring->status_page.obj; in cleanup_status_page()
936 pmap_qremove((vm_offset_t)ring->status_page.page_addr, 1); in cleanup_status_page()
937 kva_free((vm_offset_t)ring->status_page.page_addr, in cleanup_status_page()
941 ring->status_page.obj = NULL; in cleanup_status_page()
964 ring->status_page.gfx_addr = obj->gtt_offset; in init_status_page()
965 ring->status_page.page_addr = (void *)kva_alloc(PAGE_SIZE); in init_status_page()
966 if (ring->status_page.page_addr == NULL) { in init_status_page()
969 pmap_qenter((vm_offset_t)ring->status_page.page_addr, &obj->pages[0], in init_status_page()
[all …]
Dintel_ringbuffer.h51 struct intel_hw_status_page status_page; member
171 return (atomic_load_acq_32(ring->status_page.page_addr + reg)); in intel_read_status_page()
Di915_dma.c113 ring->status_page.page_addr = dev_priv->hw_status_page = in i915_init_phys_hws()
141 ring->status_page.gfx_addr = 0; in i915_free_hws()
261 if (!ring->status_page.page_addr) { in i915_dma_resume()
265 DRM_DEBUG("hw status page @ %p\n", ring->status_page.page_addr); in i915_dma_resume()
266 if (ring->status_page.gfx_addr != 0) in i915_dma_resume()
1089 ring->status_page.gfx_addr = dev_priv->status_gfx_addr = in i915_set_status_page()
1097 ring->status_page.gfx_addr = dev_priv->status_gfx_addr = 0; in i915_set_status_page()
Di915_debug.c543 hws = (volatile u32 *)ring->status_page.page_addr; in i915_hws_info()
/freebsd-10-stable/contrib/ofed/libcxgb4/src/
Ddev.c137 context->status_page = mmap(NULL, resp.status_page_size, in c4iw_alloc_context()
140 if (context->status_page == MAP_FAILED) in c4iw_alloc_context()
191 munmap(context->status_page, context->status_page_size); in c4iw_alloc_context()
208 munmap(context->status_page, context->status_page_size); in c4iw_free_context()
Dlibcxgb4.h79 struct t4_dev_status_page *status_page; member
Dverbs.c522 qhp->wq.db_offp = &ctx->status_page->db_off; in create_qp()
/freebsd-10-stable/sys/cam/scsi/
Dscsi_enc_ses.c354 const struct ses_status_page *status_page; member
627 if (ses_cache->status_page == NULL) in ses_cache_free_status()
631 if (other_ses_cache->status_page != ses_cache->status_page) in ses_cache_free_status()
632 ENC_FREE(ses_cache->status_page); in ses_cache_free_status()
633 ses_cache->status_page = NULL; in ses_cache_free_status()
1562 ses_cache->status_page = page; in ses_process_status()
2110 if (ses_cache->status_page == NULL) { in ses_fill_control_request()
2115 plength = ses_page_length(&ses_cache->status_page->hdr); in ses_fill_control_request()
2116 memcpy(buf, ses_cache->status_page, plength); in ses_fill_control_request()
2147 buf, ses_page_length(&ses_cache->status_page->hdr), in ses_fill_control_request()
[all …]