Home
last modified time | relevance | path

Searched refs:gt (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/gma500/
Dgtt.c203 static int psb_gtt_attach_pages(struct gtt_range *gt) in psb_gtt_attach_pages() argument
207 WARN_ON(gt->pages); in psb_gtt_attach_pages()
209 pages = drm_gem_get_pages(&gt->gem); in psb_gtt_attach_pages()
213 gt->npage = gt->gem.size / PAGE_SIZE; in psb_gtt_attach_pages()
214 gt->pages = pages; in psb_gtt_attach_pages()
228 static void psb_gtt_detach_pages(struct gtt_range *gt) in psb_gtt_detach_pages() argument
230 drm_gem_put_pages(&gt->gem, gt->pages, true, false); in psb_gtt_detach_pages()
231 gt->pages = NULL; in psb_gtt_detach_pages()
244 int psb_gtt_pin(struct gtt_range *gt) in psb_gtt_pin() argument
247 struct drm_device *dev = gt->gem.dev; in psb_gtt_pin()
[all …]
Dgtt.h59 extern void psb_gtt_kref_put(struct gtt_range *gt);
60 extern void psb_gtt_free_range(struct drm_device *dev, struct gtt_range *gt);
61 extern int psb_gtt_pin(struct gtt_range *gt);
62 extern void psb_gtt_unpin(struct gtt_range *gt);
64 struct gtt_range *gt, int roll);
Dgma_display.c343 struct gtt_range *gt; in gma_crtc_cursor_set() local
362 gt = container_of(gma_crtc->cursor_obj, in gma_crtc_cursor_set()
364 psb_gtt_unpin(gt); in gma_crtc_cursor_set()
392 gt = container_of(obj, struct gtt_range, gem); in gma_crtc_cursor_set()
395 ret = psb_gtt_pin(gt); in gma_crtc_cursor_set()
409 if (gt->npage > 4) in gma_crtc_cursor_set()
412 cursor_pages = gt->npage; in gma_crtc_cursor_set()
417 tmp_src = kmap(gt->pages[i]); in gma_crtc_cursor_set()
419 kunmap(gt->pages[i]); in gma_crtc_cursor_set()
425 addr = gt->offset; in gma_crtc_cursor_set()
[all …]
Dframebuffer.c245 struct gtt_range *gt) in psb_framebuffer_init() argument
264 fb->gtt = gt; in psb_framebuffer_init()
288 struct gtt_range *gt) in psb_framebuffer_create() argument
297 ret = psb_framebuffer_init(dev, fb, mode_cmd, gt); in psb_framebuffer_create()
/drivers/media/radio/
Dradio-gemtek.c153 static void gemtek_bu2614_transmit(struct gemtek *gt) in gemtek_bu2614_transmit() argument
155 struct radio_isa_card *isa = &gt->isa; in gemtek_bu2614_transmit()
158 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit()
163 for (i = 0, q = gt->bu2614data; i < 32; i++, q >>= 1) { in gemtek_bu2614_transmit()
185 struct gemtek *gt = kzalloc(sizeof(*gt), GFP_KERNEL); in gemtek_alloc() local
187 if (gt) in gemtek_alloc()
188 gt->muted = true; in gemtek_alloc()
189 return gt ? &gt->isa : NULL; in gemtek_alloc()
197 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_frequency() local
199 if (hardmute && gt->muted) in gemtek_s_frequency()
[all …]
/drivers/gpu/drm/i915/
Di915_gem.c4579 dev_priv->gt.stop_ring(ring); in i915_gem_stop_ringbuffers()
4814 ret = dev_priv->gt.init_rings(dev); in i915_gem_init_hw()
4857 dev_priv->gt.do_execbuf = i915_gem_ringbuffer_submission; in i915_gem_init()
4858 dev_priv->gt.init_rings = i915_gem_init_rings; in i915_gem_init()
4859 dev_priv->gt.cleanup_ring = intel_cleanup_ring_buffer; in i915_gem_init()
4860 dev_priv->gt.stop_ring = intel_stop_ring_buffer; in i915_gem_init()
4862 dev_priv->gt.do_execbuf = intel_execlists_submission; in i915_gem_init()
4863 dev_priv->gt.init_rings = intel_logical_rings_init; in i915_gem_init()
4864 dev_priv->gt.cleanup_ring = intel_logical_ring_cleanup; in i915_gem_init()
4865 dev_priv->gt.stop_ring = intel_logical_ring_stop; in i915_gem_init()
[all …]
Di915_gem_execbuffer.c1406 ret = dev_priv->gt.do_execbuf(dev, file, ring, ctx, args, in i915_gem_do_execbuffer()
Di915_drv.h1688 } gt; member
/drivers/media/platform/omap3isp/
Disppreview.c558 const struct omap3isp_prev_gtables *gt = &params->gamma; in preview_config_gammacorrn() local
564 isp_reg_writel(isp, gt->red[i], OMAP3_ISP_IOMEM_PREV, in preview_config_gammacorrn()
570 isp_reg_writel(isp, gt->green[i], OMAP3_ISP_IOMEM_PREV, in preview_config_gammacorrn()
576 isp_reg_writel(isp, gt->blue[i], OMAP3_ISP_IOMEM_PREV, in preview_config_gammacorrn()
/drivers/nfc/
Dpn533.c314 u8 gt[]; member
327 u8 gt[]; member
1897 rsp->gt, target_gt_len); in pn533_poll_dep_complete()
2211 rc = nfc_set_remote_general_bytes(dev->nfc_dev, rsp->gt, gt_len); in pn533_activate_target_nfcdep()
2353 rsp->gt, target_gt_len); in pn533_in_dep_link_up_complete()