/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_debugfs.c | 54 struct drm_minor *minor = node->minor; in drm_name_info() local 55 struct drm_device *dev = minor->dev; in drm_name_info() 79 struct drm_device *dev = node->minor->dev; in drm_clients_info() 97 … priv->minor->index, drm_is_current_master(priv) ? 'y' : 'n', priv->authenticated ? 'y' : 'n', in drm_clients_info() 117 struct drm_device *dev = node->minor->dev; in drm_gem_name_info() 163 struct drm_minor *minor) in drm_debugfs_create_files() argument 165 struct drm_device *dev = minor->dev; in drm_debugfs_create_files() 181 tmp->minor = minor; in drm_debugfs_create_files() 185 mutex_lock(&minor->debugfs_lock); in drm_debugfs_create_files() 186 list_add(&tmp->list, &minor->debugfs_list); in drm_debugfs_create_files() [all …]
|
D | drm_file.c | 158 struct drm_file *drm_file_alloc(struct drm_minor *minor) in drm_file_alloc() argument 160 struct drm_device *dev = minor->dev; in drm_file_alloc() 170 file->minor = minor; in drm_file_alloc() 221 struct drm_device *dev = file_priv->minor->dev; in drm_events_release() 265 dev = file->minor->dev; in drm_file_free() 268 (long)old_encode_dev(file->minor->kdev->devt), atomic_read(&dev->open_count)); in drm_file_free() 318 struct drm_device *dev = file_priv->minor->dev; in drm_close_helper() 350 static int drm_open_helper(struct file *filp, struct drm_minor *minor) in drm_open_helper() argument 352 struct drm_device *dev = minor->dev; in drm_open_helper() 366 DRM_DEBUG("comm=\"%s\", pid=%d, minor=%d\n", current->comm, task_pid_nr(current), minor->index); in drm_open_helper() [all …]
|
D | drm_internal.h | 49 struct drm_file *drm_file_alloc(struct drm_minor *minor); 94 void drm_minor_release(struct drm_minor *minor); 165 struct device *drm_sysfs_minor_alloc(struct drm_minor *minor); 195 int drm_debugfs_init(struct drm_minor *minor, int minor_id, 197 void drm_debugfs_cleanup(struct drm_minor *minor); 204 static inline int drm_debugfs_init(struct drm_minor *minor, int minor_id, in drm_debugfs_init() argument 210 static inline void drm_debugfs_cleanup(struct drm_minor *minor) in drm_debugfs_cleanup() argument 267 void drm_framebuffer_debugfs_init(struct drm_minor *minor);
|
D | drm_ioctl.c | 420 …_dd_major != dev->driver->major || sv->drm_dd_minor < 0 || sv->drm_dd_minor > dev->driver->minor) { in drm_setversion() 430 sv->drm_dd_minor = dev->driver->minor; in drm_setversion() 519 version->version_minor = dev->driver->minor; in drm_version() 767 struct drm_device *dev = file_priv->minor->dev; in drm_ioctl_kernel() 817 dev = file_priv->minor->dev; in drm_ioctl() 858 … (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv->authenticated, ioctl->name); in drm_ioctl() 896 …task_pid_nr(current), (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv->authenticated, in drm_ioctl()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/ |
D | himedia.c | 47 int minor = iminor(inode); in himedia_open() local 56 if (c->minor == (unsigned int)minor) { in himedia_open() 64 request_module("char-major-%d-%d", HIMEDIA_DEVICE_MAJOR, minor); in himedia_open() 68 if (c->minor == (unsigned int)minor) { in himedia_open() 132 if (ptmp->minor == himedia->minor) { in himedia_register() 139 if (himedia->minor == HIMEDIA_DYNAMIC_MINOR) { in himedia_register() 152 himedia->minor = i; in himedia_register() 155 if (himedia->minor < DYNAMIC_MINORS) { in himedia_register() 156 …g_himedia_minors[himedia->minor >> 3] |= 1 << (himedia->minor & 7); /* 3, 7: bitmap write set bit … in himedia_register() 162 …g_himedia_minors[himedia->minor >> 3] &= ~(1 << (himedia->minor & 7)); /* 3, 7: bitmap write set b… in himedia_register() [all …]
|
D | himedia.h | 77 unsigned int minor; member 98 #define MODULE_ALIAS_HIMEDIA(minor) \ argument 99 MODULE_ALIAS("himedia-char-major-" __stringify(HIMEDIA_DEVICE_MAJOR) "-" __stringify(minor))
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/sys/ |
D | utl.c | 186 UINT8 minor, major; in utl_set_device_class() local 191 BTM_COD_MINOR_CLASS(minor, dev ); in utl_set_device_class() 196 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class() 212 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class() 219 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class() 229 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class() 255 UINT8 minor, major; in utl_get_device_class() local 259 BTM_COD_MINOR_CLASS(minor, dev ); in utl_get_device_class() 262 p_cod->minor = minor; in utl_get_device_class()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/ |
D | himedia.c | 79 seq_printf(seq, "%3i %s\n", p->minor, (char *)p->name ? (char *)p->name : ""); in himedia_seq_show() 116 int minor = iminor(inode); in himedia_open() local 126 if (c->minor == minor) { in himedia_open() 181 if (c->minor == himedia->minor) { in pm_register_get_media_minor() 185 if (himedia->minor == HIMEDIA_DYNAMIC_MINOR) { in pm_register_get_media_minor() 194 himedia->minor = i; in pm_register_get_media_minor() 197 if (himedia->minor < DYNAMIC_MINORS) { in pm_register_get_media_minor() 198 g_himedia_minors[himedia->minor >> 3] |= 1 << (himedia->minor & 7); /* 3 1 7 表示偏移位数 */ in pm_register_get_media_minor() 229 *dev = MKDEV(HIMEDIA_DEVICE_MAJOR, himedia->minor); in pm_register_device_create() 317 g_himedia_minors[himedia->minor >> 3] &= ~(1 << (himedia->minor & 7)); /* 3 1 7 表示偏移位数 */ in hi_drv_pm_register() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/ |
D | drm_internal.h | 49 struct drm_file *drm_file_alloc(struct drm_minor *minor); 94 void drm_minor_release(struct drm_minor *minor); 165 struct device *drm_sysfs_minor_alloc(struct drm_minor *minor); 195 int drm_debugfs_init(struct drm_minor *minor, int minor_id, 197 void drm_debugfs_cleanup(struct drm_minor *minor); 204 static inline int drm_debugfs_init(struct drm_minor *minor, int minor_id, in drm_debugfs_init() argument 210 static inline void drm_debugfs_cleanup(struct drm_minor *minor) in drm_debugfs_cleanup() argument 267 void drm_framebuffer_debugfs_init(struct drm_minor *minor);
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | rockchip_drm_direct_show.c | 28 struct drm_minor *minor; in rockchip_drm_get_dev() local 30 minor = drm_minor_acquire(i + DRM_MINOR_PRIMARY); in rockchip_drm_get_dev() 31 if (IS_ERR(minor)) in rockchip_drm_get_dev() 33 if (!minor->dev || !minor->dev->driver || in rockchip_drm_get_dev() 34 !minor->dev->driver->name) in rockchip_drm_get_dev() 37 return minor->dev; in rockchip_drm_get_dev() 38 if (!strcmp(name, minor->dev->driver->name)) in rockchip_drm_get_dev() 39 return minor->dev; in rockchip_drm_get_dev()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/ |
D | dvbdev.c | 365 int type, int minor, in dvb_register_media_device() argument 402 DVB_MAJOR, minor); in dvb_register_media_device() 433 int minor; in dvb_register_device() local 475 for (minor = 0; minor < MAX_DVB_MINORS; minor++) in dvb_register_device() 476 if (dvb_minors[minor] == NULL) in dvb_register_device() 479 if (minor == MAX_DVB_MINORS) { in dvb_register_device() 487 minor = nums2minor(adap->num, type, id); in dvb_register_device() 490 dvbdev->minor = minor; in dvb_register_device() 491 dvb_minors[minor] = dvbdev; in dvb_register_device() 494 ret = dvb_register_media_device(dvbdev, type, minor, demux_sink_pads); in dvb_register_device() [all …]
|
/device/soc/rockchip/common/sdk_linux/init/ |
D | initramfs.c | 56 int ino, minor, major; member 62 static inline int hash(int major, int minor, int ino) in hash() argument 64 unsigned long tmp = ino + minor + (major << 0x3); in hash() 69 static char __init *find_link(int major, int minor, int ino, umode_t mode, char *name) in find_link() argument 72 for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { in find_link() 76 if ((*p)->minor != minor) { in find_link() 92 q->minor = minor; in find_link() 159 static __initdata unsigned long ino, major, minor, nlink; variable 185 minor = parsed[0x8]; in parse_header() 329 char *old = find_link(major, minor, ino, mode, collected); in maybe_link()
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
D | drm_file.h | 253 struct drm_minor *minor; member 367 return file_priv->minor->type == DRM_MINOR_PRIMARY; in drm_is_primary_client() 381 return file_priv->minor->type == DRM_MINOR_RENDER; in drm_is_render_client() 398 struct file *mock_drm_getfile(struct drm_minor *minor, unsigned int flags);
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/smc/ |
D | sunxi-smc.c | 245 int smc_tee_get_os_revision(uint32_t *major, uint32_t *minor) in smc_tee_get_os_revision() argument 252 *minor = param.a1; in smc_tee_get_os_revision() 258 uint32_t major, minor; in sunxi_smc_call_offset() local 260 smc_tee_get_os_revision(&major, &minor); in sunxi_smc_call_offset() 261 if ((major > 3) || ((major == 3) && (minor >= 5))) { in sunxi_smc_call_offset()
|
/device/soc/esp/esp32/components/esp_common/include/ |
D | esp_idf_version.h | 33 #define ESP_IDF_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch)) argument
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
D | dma-heap.c | 250 int minor = MINOR(heap->heap_devt); in dma_heap_release() local 257 xa_erase(&dma_heap_minors, minor); in dma_heap_release() 303 unsigned int minor; in dma_heap_add() local 335 ret = xa_alloc(&dma_heap_minors, &minor, heap, XA_LIMIT(0, NUM_HEAP_MINORS - 1), GFP_KERNEL); in dma_heap_add() 343 heap->heap_devt = MKDEV(MAJOR(dma_heap_devt), minor); in dma_heap_add() 373 xa_erase(&dma_heap_minors, minor); in dma_heap_add()
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/ |
D | ble_ibeacon.c | 41 int ble_ibeacon_set_adv_data(void *uuid128, uint16_t major, uint16_t minor, int8_t measured_power) in ble_ibeacon_set_adv_data() argument 56 put_be16(buf + 22, minor); // 22:byte alignment in ble_ibeacon_set_adv_data()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/ |
D | acamera_ctrl_channel_k2u.c | 65 int minor = iminor( inode ); in ctrl_channel_fops_open() local 67 LOG( LOG_DEBUG, "client is opening..., minor: %d.", minor ); in ctrl_channel_fops_open() 69 if ( minor != p_ctx->dev_minor_id ) { in ctrl_channel_fops_open() 70 …LOG( LOG_CRIT, "Not matched ID, minor_id: %d, exptect: %d(dev name: %s)", minor, p_ctx->dev_minor_… in ctrl_channel_fops_open() 331 ctrl_channel_ctx.ctrl_dev.minor = MISC_DYNAMIC_MINOR; in ctrl_channel_init() 340 ctrl_channel_ctx.dev_minor_id = ctrl_channel_ctx.ctrl_dev.minor; in ctrl_channel_init()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/platform/ |
D | system_chardev.c | 57 int minor = iminor( inode ); in isp_fops_open() local 64 if ( minor == isp_dev_ctx.dev_minor_id ) in isp_fops_open() 211 p_ctx->isp_dev.minor = MISC_DYNAMIC_MINOR; in isp_dev_context_init() 220 p_ctx->dev_minor_id = p_ctx->isp_dev.minor; in isp_dev_context_init()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
D | himedia.h | 77 HI_S32 minor; member 84 HI_U32 minor; member
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
D | mali_kbase_gpu_id.h | 117 #define GPU_ID_MAKE(id, major, minor, status) \ argument 120 ((minor) << GPU_ID_VERSION_MINOR_SHIFT) | \
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
D | mali_kbase_gpu_id.h | 106 #define GPU_ID_MAKE(id, major, minor, status) … argument 108 ((minor) << GPU_ID_VERSION_MINOR_SHIFT) | ((status) << GPU_ID_VERSION_STATUS_SHIFT))
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/gpu/ |
D | mali_kbase_gpu_id.h | 104 #define GPU_ID_MAKE(id, major, minor, status) … argument 106 … (((u32)(minor)) << GPU_ID_VERSION_MINOR_SHIFT) | (((u32)(status)) << GPU_ID_VERSION_STATUS_SHIFT))
|
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/gpu/ |
D | mali_kbase_gpu_id.h | 132 #define GPU_ID_MAKE(id, major, minor, status) \ argument 135 (((__u32)minor) << GPU_ID_VERSION_MINOR_SHIFT) | \
|
/device/soc/esp/esp32/components/xtensa/esp32/include/xtensa/config/ |
D | core.h | 1340 … XCHAL_HW_RELEASE_AT_OR_BELOW(major,minor) (XTHAL_REL_LE( XCHAL_HW_VERSION_MAJOR,XCHAL_HW_VERSION_… argument 1341 … XCHAL_HW_RELEASE_AT_OR_ABOVE(major,minor) (XTHAL_REL_GE( XCHAL_HW_VERSION_MAJOR,XCHAL_HW_VERSION_… argument 1342 # define XCHAL_HW_RELEASE_AT(major,minor) (XTHAL_REL_EQ( XCHAL_HW_VERSION_MAJOR,XCHAL_HW_VERSION_M… argument 1345 # define XCHAL_HW_RELEASE_AT_OR_BELOW(major,minor) ( ((major) < 1040 && XCHAL_HAVE_XEA2) ? 0 \ argument 1348 # define XCHAL_HW_RELEASE_AT_OR_ABOVE(major,minor) ( ((major) >= 2000 && XCHAL_HAVE_XEA1) ? 0 \ argument 1349 : (XTHAL_REL_LE(major,minor, 1040,0) && XCHAL_HAVE_XEA2) ? 1 \ 1351 # define XCHAL_HW_RELEASE_AT(major,minor) ( (((major) < 1040 && XCHAL_HAVE_XEA2) || \ argument
|