Lines Matching defs:in

14  * the above copyright notice appear in all copies and that both that copyright
15 * notice and this permission notice appear in supporting documentation, and
16 * that the name of the copyright holders not be used in advertising or
260 * Create a unique identifier based on @ptr in @dev's identifier space. Used
264 * New unique (relative to other objects in @dev) integer identifier for the
508 * user-created framebuffers this will happen in in the rmfb ioctl. For
526 * passed-in framebuffer. Might take the modeset locks.
530 * modeset locks in this case.
554 * in-use fb with fb-id == 0. Userspace is allowed to shoot its own foot
555 * in this manner.
754 /* taking the mode config mutex ends up in a clash with sysfs */
803 * @format_count: number of elements in @formats
1200 * @in: drm_display_mode to use
1207 const struct drm_display_mode *in)
1209 if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX ||
1210 in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX ||
1211 in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX ||
1212 in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX ||
1213 in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX)
1216 out->clock = in->clock;
1217 out->hdisplay = in->hdisplay;
1218 out->hsync_start = in->hsync_start;
1219 out->hsync_end = in->hsync_end;
1220 out->htotal = in->htotal;
1221 out->hskew = in->hskew;
1222 out->vdisplay = in->vdisplay;
1223 out->vsync_start = in->vsync_start;
1224 out->vsync_end = in->vsync_end;
1225 out->vtotal = in->vtotal;
1226 out->vscan = in->vscan;
1227 out->vrefresh = in->vrefresh;
1228 out->flags = in->flags;
1229 out->type = in->type;
1230 (void) strncpy(out->name, in->name, DRM_DISPLAY_MODE_LEN);
1237 * @in: drm_mode_modeinfo to use
1244 const struct drm_mode_modeinfo *in)
1246 if (in->clock > INT_MAX || in->vrefresh > INT_MAX)
1249 out->clock = in->clock;
1250 out->hdisplay = in->hdisplay;
1251 out->hsync_start = in->hsync_start;
1252 out->hsync_end = in->hsync_end;
1253 out->htotal = in->htotal;
1254 out->hskew = in->hskew;
1255 out->vdisplay = in->vdisplay;
1256 out->vsync_start = in->vsync_start;
1257 out->vsync_end = in->vsync_end;
1258 out->vtotal = in->vtotal;
1259 out->vscan = in->vscan;
1260 out->vrefresh = in->vrefresh;
1261 out->flags = in->flags;
1262 out->type = in->type;
1263 (void) strncpy(out->name, in->name, DRM_DISPLAY_MODE_LEN);
1313 * by IDs in the group list for this node
1318 /* handle this in 4 parts */
2621 /* If userspace annotates copy, clips must come in pairs */