/gfx-drm/usr/src/uts/common/drm/ |
H A D | drm_linux.h | 83 #define kcalloc(x, y, z) kzalloc((x)*(y), z) argument 97 #define mdelay(x) udelay((x) * 1000) argument 98 #define msleep(x) mdelay((x)) argument 99 #define msecs_to_jiffies(x) drv_usectohz((x) * 1000) argument 100 #define jiffies_to_msecs(x) drv_hztousec(x) / 1000 argument 111 #define cpu_to_le16(x) LE_16(x) argument 112 #define le16_to_cpu(x) LE_16(x) argument 114 #define cpu_to_le16(x) (x) argument 115 #define le16_to_cpu(x) (x) argument 121 #define abs(x) ((x < 0) ? -x : x) argument [all …]
|
H A D | drm_crtc.h | 434 int x, y; member 709 uint32_t x; member 848 #define obj_to_crtc(x) container_of(x, struct drm_crtc, base) argument 849 #define obj_to_connector(x) container_of(x, struct drm_connector, base) argument 850 #define obj_to_encoder(x) container_of(x, struct drm_encoder, base) argument 851 #define obj_to_mode(x) container_of(x, struct drm_display_mode, base) argument 852 #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base) argument 853 #define obj_to_property(x) container_of(x, struct drm_property, base) argument 854 #define obj_to_blob(x) container_of(x, struct drm_property_blob, base) argument 855 #define obj_to_plane(x) container_of(x, struct drm_plane, base) argument
|
H A D | drm_sarea.h | 62 unsigned int x; member
|
H A D | drmP.h | 87 #define KB(x) ((x) * 1024) argument 88 #define MB(x) (KB (KB (x))) argument 89 #define GB(x) (MB (KB (x))) argument 127 #define DRM_MB2PAGES(x) ((x) << 8) argument 128 #define DRM_PAGES2BYTES(x) ((x) << DRM_PAGE_SHIFT) argument 129 #define DRM_BYTES2PAGES(x) ((x) >> DRM_PAGE_SHIFT) argument 130 #define DRM_PAGES2KB(x) ((x) << 2) argument 181 #define DRM_ARRAY_SIZE(x) (sizeof (x) / sizeof (x[0])) argument 239 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
|
H A D | drm_mode.h | 152 __u32 x; /**< x Position on the framebuffer */ member 475 __s32 x; member 486 __s32 x; member
|
H A D | drm_dp_helper.h | 235 # define DP_GET_SINK_COUNT(x) ((((x) & 0x80) >> 1) | ((x) & 0x3f)) argument
|
/gfx-drm/usr/src/uts/intel/io/agpmaster/ |
H A D | agpmaster.c | 66 #define MMIO_BASE(x) (x)->agpm_data.agpm_gtt.gtt_mmio_base argument 67 #define MMIO_HANDLE(x) (x)->agpm_data.agpm_gtt.gtt_mmio_handle argument 68 #define GTT_HANDLE(x) (x)->agpm_data.agpm_gtt.gtt_handle argument 70 #define GTT_ADDR(x) (x)->agpm_data.agpm_gtt.gtt_addr argument 72 #define APER_BASE(x) (x)->agpm_data.agpm_gtt.gtt_info.igd_aperbase argument 74 #define AGPM_WRITE(x, off, val) \ argument 77 #define AGPM_READ(x, off) \ argument
|
/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_sun_pci.c | 50 #define PCI_BUS(x) (((x) & 0xff0000) >> 16) argument 51 #define PCI_SLOT(x) (((x)>>11) & 0x1f) argument 52 #define PCI_FUNC(x) (((x) & 0x700) >> 8) argument
|
H A D | drm_scatter.c | 72 #define ScatterHandle(x) (unsigned int)((x >> 32) + (x & ((1L << 32) - 1))) argument 74 #define ScatterHandle(x) (unsigned int)(x) argument
|
H A D | drm_bufs.c | 55 #define round_page(x) (((x) + (PAGE_SIZE - 1)) & PAGE_MASK) argument
|
H A D | drm_crtc_helper.c | 386 int x, int y, in drm_crtc_helper_set_mode()
|
/gfx-drm/usr/src/uts/common/sys/agp/ |
H A D | agpdefs.h | 59 #define AGP_MB2PAGES(x) ((x) << 8) argument 60 #define AGP_PAGES2BYTES(x) ((x) << AGP_PAGE_SHIFT) argument 61 #define AGP_BYTES2PAGES(x) ((x) >> AGP_PAGE_SHIFT) argument 62 #define AGP_PAGES2KB(x) ((x) << 2) argument
|
/gfx-drm/usr/src/uts/intel/io/i915/ |
H A D | intel_drv.h | 40 #define MSLEEP(x) do { \ argument 47 #define KHz(x) (1000*x) argument 48 #define MHz(x) KHz(1000*x) argument 374 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base) argument 375 #define to_intel_connector(x) container_of(x, struct intel_connector, base) argument 376 #define to_intel_encoder(x) container_of(x, struct intel_encoder, base) argument 377 #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base) argument 378 #define to_intel_plane(x) container_of(x, struct intel_plane, base) argument
|
H A D | intel_sprite.c | 44 int x, int y, in vlv_update_plane() 212 int x, int y, in ivb_update_plane() 403 int x, int y, in ilk_update_plane()
|
H A D | i915_drv.c | 1393 #define __i915_read(x) \ argument 1402 #define __i915_write(x) \ argument
|
H A D | intel_display.c | 1870 int x, int y) in i9xx_update_plane() 1970 struct drm_framebuffer *fb, int x, int y) in ironlake_update_plane() 2063 int x, int y, enum mode_set_atomic state) in intel_pipe_set_base_atomic() 2164 intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, in intel_pipe_set_base() 4848 int x, int y, in i9xx_crtc_mode_set() 5699 int x, int y, in ironlake_crtc_mode_set() 5950 int x, int y, in haswell_crtc_mode_set() 6066 int x, int y, in intel_crtc_mode_set() 6494 int x = intel_crtc->cursor_x; in intel_crtc_update_cursor() local 8414 int x, int y, struct drm_framebuffer *fb) in __intel_set_mode() [all …]
|
H A D | intel_dvo.c | 260 #define C(x) adjusted_mode->x = intel_dvo->panel_fixed_mode->x in intel_dvo_mode_fixup() argument
|
H A D | intel_panel.c | 63 int x, y, width, height; in intel_pch_panel_fitting() local
|
H A D | i915_reg.h | 92 #define I830_RDRAM_ND(x) (((x) & 0x20) >> 5) argument 93 #define I830_RDRAM_DDT(x) (((x) & 0x18) >> 3) argument 4350 #define FDI_RX_PWRDN_LANE1_VAL(x) ((x)<<26) argument 4580 #define GEN6_FREQUENCY(x) ((x)<<25) argument 4581 #define HSW_FREQUENCY(x) ((x)<<24) argument 4582 #define GEN6_OFFSET(x) ((x)<<19) argument 4592 #define GEN6_RC_CTL_EI_MODE(x) ((x)<<27) argument 4850 #define TRANS_DDI_SELECT_PORT(x) ((x)<<28) argument 4978 #define WRPLL_DIVIDER_POST(x) ((x)<<8) argument 4999 #define TRANS_CLK_SEL_PORT(x) ((x+1)<<29) argument [all …]
|
H A D | i915_gem_execbuffer.c | 197 #define N_RELOC(x) ((x) / sizeof(struct drm_i915_gem_relocation_entry)) in i915_gem_execbuffer_relocate_object() argument
|
H A D | i915_dma.c | 53 #define OUT_RING(x) \ argument
|
/gfx-drm/usr/src/uts/intel/io/radeon/ |
H A D | radeon_state.c | 758 int x, int y, int w, int h, int r, int g, int b) in radeon_clear_box() 904 int x = pbox[i].x1; in radeon_cp_dispatch_clear() local 1422 int x = pbox[i].x1; in radeon_cp_dispatch_swap() local
|
H A D | radeon_io32.h | 91 unsigned int x, y; member
|
H A D | radeon_drv.h | 495 #define RADEON_SCRATCHOFF(x) (RADEON_SCRATCH_REG_OFFSET + 4*(x)) argument 497 #define GET_SCRATCH(x) (dev_priv->writeback_works ? \ argument 1170 #define OUT_RING(x) do { \ argument
|
/gfx-drm/usr/src/cmd/mdb/i915/ |
H A D | i915.c | 1098 #define DEFINE_FLAG(x) mdb_printf(#x ": %s\n", yesno(info.x)) in i915_capabilities() argument
|