Home
last modified time | relevance | path

Searched refs:unique_len (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_ioctl.c63 u1.unique_len = u32.unique_len; in drm_getunique()
69 if (u1.unique_len >= dev->unique_len) { in drm_getunique()
70 if (dev->unique_len == 0) { in drm_getunique()
74 if (DRM_COPY_TO_USER(u1.unique, dev->unique, dev->unique_len)) in drm_getunique()
77 u1.unique_len = dev->unique_len; in drm_getunique()
83 u32.unique_len = (uint32_t)u1.unique_len; in drm_getunique()
115 dev->unique_len = 20; in drm_set_busid()
116 dev->unique = drm_alloc(dev->unique_len + 1, DRM_MEM_DRIVER); in drm_set_busid()
122 (void) snprintf(dev->unique, dev->unique_len, "pci:%04x:%02x:%02x.%1x", in drm_set_busid()
H A Ddrm_io32.h45 uint32_t unique_len; /* Length of unique */ member
H A Ddrm_drv.c249 drm_free(dev->unique, dev->unique_len + 1, DRM_MEM_DRIVER); in drm_lastclose()
251 dev->unique_len = 0; in drm_lastclose()
H A Ddrm.h306 DRM_SIZE_T unique_len; /**< Length of unique */ member
H A DdrmP.h731 int unique_len; /* Length of unique field */ member