Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Dgtt.c197 static int psb_gtt_attach_pages(struct gtt_range *gt) in psb_gtt_attach_pages() argument
203 int pages = gt->gem.size / PAGE_SIZE; in psb_gtt_attach_pages()
205 WARN_ON(gt->pages); in psb_gtt_attach_pages()
208 inode = file_inode(gt->gem.filp); in psb_gtt_attach_pages()
211 gt->pages = kmalloc(pages * sizeof(struct page *), GFP_KERNEL); in psb_gtt_attach_pages()
212 if (gt->pages == NULL) in psb_gtt_attach_pages()
214 gt->npage = pages; in psb_gtt_attach_pages()
220 gt->pages[i] = p; in psb_gtt_attach_pages()
226 page_cache_release(gt->pages[i]); in psb_gtt_attach_pages()
227 kfree(gt->pages); in psb_gtt_attach_pages()
[all …]
Dgtt.h57 extern void psb_gtt_kref_put(struct gtt_range *gt);
58 extern void psb_gtt_free_range(struct drm_device *dev, struct gtt_range *gt);
59 extern int psb_gtt_pin(struct gtt_range *gt);
60 extern void psb_gtt_unpin(struct gtt_range *gt);
62 struct gtt_range *gt, int roll);
Dpsb_intel_display.c842 struct gtt_range *gt; in psb_intel_crtc_cursor_set() local
861 gt = container_of(psb_intel_crtc->cursor_obj, in psb_intel_crtc_cursor_set()
863 psb_gtt_unpin(gt); in psb_intel_crtc_cursor_set()
887 gt = container_of(obj, struct gtt_range, gem); in psb_intel_crtc_cursor_set()
890 ret = psb_gtt_pin(gt); in psb_intel_crtc_cursor_set()
904 if (gt->npage > 4) in psb_intel_crtc_cursor_set()
907 cursor_pages = gt->npage; in psb_intel_crtc_cursor_set()
912 tmp_src = kmap(gt->pages[i]); in psb_intel_crtc_cursor_set()
914 kunmap(gt->pages[i]); in psb_intel_crtc_cursor_set()
920 addr = gt->offset; /* Or resource.start ??? */ in psb_intel_crtc_cursor_set()
[all …]
Dcdv_intel_display.c1463 struct gtt_range *gt; in cdv_intel_crtc_cursor_set() local
1480 gt = container_of(psb_intel_crtc->cursor_obj, in cdv_intel_crtc_cursor_set()
1482 psb_gtt_unpin(gt); in cdv_intel_crtc_cursor_set()
1506 gt = container_of(obj, struct gtt_range, gem); in cdv_intel_crtc_cursor_set()
1509 ret = psb_gtt_pin(gt); in cdv_intel_crtc_cursor_set()
1515 addr = gt->offset; /* Or resource.start ??? */ in cdv_intel_crtc_cursor_set()
1532 gt = container_of(psb_intel_crtc->cursor_obj, in cdv_intel_crtc_cursor_set()
1534 psb_gtt_unpin(gt); in cdv_intel_crtc_cursor_set()
1761 struct gtt_range *gt; in cdv_intel_crtc_disable() local
1767 gt = to_psb_fb(crtc->fb)->gtt; in cdv_intel_crtc_disable()
[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_drv.c845 dev_priv->gt.force_wake_get(dev_priv); in gen6_do_reset()
847 dev_priv->gt.force_wake_put(dev_priv); in gen6_do_reset()
1257 dev_priv->gt.force_wake_get(dev_priv); \
1260 dev_priv->gt.force_wake_put(dev_priv); \
Dintel_pm.c4389 dev_priv->gt.force_wake_get(dev_priv); in gen6_gt_force_wake_get()
4427 dev_priv->gt.force_wake_put(dev_priv); in gen6_gt_force_wake_put()
4511 dev_priv->gt.force_wake_get = vlv_force_wake_get; in intel_gt_init()
4512 dev_priv->gt.force_wake_put = vlv_force_wake_put; in intel_gt_init()
4514 dev_priv->gt.force_wake_get = __gen6_gt_force_wake_mt_get; in intel_gt_init()
4515 dev_priv->gt.force_wake_put = __gen6_gt_force_wake_mt_put; in intel_gt_init()
4517 dev_priv->gt.force_wake_get = __gen6_gt_force_wake_get; in intel_gt_init()
4518 dev_priv->gt.force_wake_put = __gen6_gt_force_wake_put; in intel_gt_init()
Di915_drv.h888 struct drm_i915_gt_funcs gt; member
/drivers/media/platform/omap3isp/
Disppreview.c568 const struct omap3isp_prev_gtables *gt = &params->gamma; in preview_config_gammacorrn() local
574 isp_reg_writel(isp, gt->red[i], OMAP3_ISP_IOMEM_PREV, in preview_config_gammacorrn()
580 isp_reg_writel(isp, gt->green[i], OMAP3_ISP_IOMEM_PREV, in preview_config_gammacorrn()
586 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
1881 rc = nfc_set_remote_general_bytes(dev->nfc_dev, rsp->gt, gt_len); in pn533_activate_target_nfcdep()
2026 rsp->gt, target_gt_len); in pn533_in_dep_link_up_complete()