Home
last modified time | relevance | path

Searched refs:mode_info (Results 1 – 8 of 8) sorted by relevance

/third_party/weston/libweston/backend-drm/
Dmodes.c109 &mode->mode_info, in drm_mode_ensure_blob()
110 sizeof(mode->mode_info), in drm_mode_ensure_blob()
117 (unsigned long) mode->blob_id, mode->mode_info.name); in drm_mode_ensure_blob()
393 mode->mode_info = *info; in drm_output_add_mode()
450 dm->mode_info.clock / 1000.0); in drm_output_print_modes()
489 if (mode->mode_info.hdisplay == target_mode->width && in drm_output_choose_mode()
490 mode->mode_info.vdisplay == target_mode->height) { in drm_output_choose_mode()
604 (refresh == 0 || refresh == drm_mode->mode_info.vrefresh)) { in drm_output_choose_initial_mode()
612 if (memcmp(current_mode, &drm_mode->mode_info, in drm_output_choose_initial_mode()
724 chosen = drm_mode_pick_equivalent(&mode->mode_info, info); in drm_output_try_add_mode()
Ddrm-internal.h315 drmModeModeInfo mode_info; member
Dkms.c747 &mode->mode_info); in drm_output_apply_state_legacy()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DDisplaySurfaceKHR.cpp150 memcpy(&mode_info, &connector->modes[0], sizeof(drmModeModeInfo)); in DisplaySurfaceKHR()
160 creq.width = mode_info.hdisplay; in DisplaySurfaceKHR()
161 creq.height = mode_info.vdisplay; in DisplaySurfaceKHR()
226 drmModeSetCrtc(fd, crtc_id, fb_id, 0, 0, &connector_id, 1, &mode_info); in present()
DDisplaySurfaceKHR.hpp52 drmModeModeInfo mode_info; member in vk::DisplaySurfaceKHR
/third_party/libdrm/
Dxf86drmMode.h475 extern int drmModeAttachMode(int fd, uint32_t connectorId, drmModeModeInfoPtr mode_info);
481 extern int drmModeDetachMode(int fd, uint32_t connectorId, drmModeModeInfoPtr mode_info);
Dxf86drmMode.c603 drm_public int drmModeAttachMode(int fd, uint32_t connector_id, drmModeModeInfoPtr mode_info) in drmModeAttachMode() argument
608 memcpy(&res.mode, mode_info, sizeof(struct drm_mode_modeinfo)); in drmModeAttachMode()
614 drm_public int drmModeDetachMode(int fd, uint32_t connector_id, drmModeModeInfoPtr mode_info) in drmModeDetachMode() argument
619 memcpy(&res.mode, mode_info, sizeof(struct drm_mode_modeinfo)); in drmModeDetachMode()
/third_party/libuv/src/win/
Dpipe.c460 FILE_MODE_INFORMATION mode_info; in uv__set_pipe_handle() local
499 &mode_info, in uv__set_pipe_handle()
500 sizeof(mode_info), in uv__set_pipe_handle()
506 if (mode_info.Mode & FILE_SYNCHRONOUS_IO_ALERT || in uv__set_pipe_handle()
507 mode_info.Mode & FILE_SYNCHRONOUS_IO_NONALERT) { in uv__set_pipe_handle()