Searched refs:gt (Results 1 – 11 of 11) sorted by relevance
/drivers/gpu/drm/gma500/ |
D | gtt.c | 197 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 …]
|
D | gtt.h | 57 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);
|
D | psb_intel_display.c | 842 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 …]
|
D | cdv_intel_display.c | 1463 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 …]
|
D | framebuffer.c | 245 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/ |
D | radio-gemtek.c | 153 static void gemtek_bu2614_transmit(struct gemtek *gt) in gemtek_bu2614_transmit() argument 155 struct radio_isa_card *isa = >->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 ? >->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/ |
D | i915_drv.c | 845 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); \
|
D | intel_pm.c | 4389 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()
|
D | i915_drv.h | 888 struct drm_i915_gt_funcs gt; member
|
/drivers/media/platform/omap3isp/ |
D | isppreview.c | 568 const struct omap3isp_prev_gtables *gt = ¶ms->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/ |
D | pn533.c | 314 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()
|