Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 30) sorted by relevance

12

/gfx-drm/usr/src/uts/common/drm/
H A Ddrm_linux.h83 #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 Ddrm_crtc.h434 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 Ddrm_sarea.h62 unsigned int x; member
H A DdrmP.h87 #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 Ddrm_mode.h152 __u32 x; /**< x Position on the framebuffer */ member
475 __s32 x; member
486 __s32 x; member
H A Ddrm_dp_helper.h235 # define DP_GET_SINK_COUNT(x) ((((x) & 0x80) >> 1) | ((x) & 0x3f)) argument
/gfx-drm/usr/src/uts/intel/io/agpmaster/
H A Dagpmaster.c66 #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 Ddrm_sun_pci.c50 #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 Ddrm_scatter.c72 #define ScatterHandle(x) (unsigned int)((x >> 32) + (x & ((1L << 32) - 1))) argument
74 #define ScatterHandle(x) (unsigned int)(x) argument
H A Ddrm_bufs.c55 #define round_page(x) (((x) + (PAGE_SIZE - 1)) & PAGE_MASK) argument
H A Ddrm_crtc_helper.c386 int x, int y, in drm_crtc_helper_set_mode()
/gfx-drm/usr/src/uts/common/sys/agp/
H A Dagpdefs.h59 #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 Dintel_drv.h40 #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 Dintel_sprite.c44 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 Di915_drv.c1393 #define __i915_read(x) \ argument
1402 #define __i915_write(x) \ argument
H A Dintel_display.c1870 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 Dintel_dvo.c260 #define C(x) adjusted_mode->x = intel_dvo->panel_fixed_mode->x in intel_dvo_mode_fixup() argument
H A Dintel_panel.c63 int x, y, width, height; in intel_pch_panel_fitting() local
H A Di915_reg.h92 #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 Di915_gem_execbuffer.c197 #define N_RELOC(x) ((x) / sizeof(struct drm_i915_gem_relocation_entry)) in i915_gem_execbuffer_relocate_object() argument
H A Di915_dma.c53 #define OUT_RING(x) \ argument
/gfx-drm/usr/src/uts/intel/io/radeon/
H A Dradeon_state.c758 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 Dradeon_io32.h91 unsigned int x, y; member
H A Dradeon_drv.h495 #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 Di915.c1098 #define DEFINE_FLAG(x) mdb_printf(#x ": %s\n", yesno(info.x)) in i915_capabilities() argument

12