Home
last modified time | relevance | path

Searched refs:owner (Results 1 - 25 of 211) sorted by relevance

123456789

/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_spinlock_reentrant.c37 MALI_DEBUG_ASSERT(0 == spinlock->counter && 0 == spinlock->owner); in mali_spinlock_reentrant_term()
54 if (tid != spinlock->owner) { in mali_spinlock_reentrant_wait()
56 MALI_DEBUG_ASSERT(0 == spinlock->owner && 0 == spinlock->counter); in mali_spinlock_reentrant_wait()
57 spinlock->owner = tid; in mali_spinlock_reentrant_wait()
69 MALI_DEBUG_ASSERT(0 != tid && tid == spinlock->owner); in mali_spinlock_reentrant_signal()
73 spinlock->owner = 0; in mali_spinlock_reentrant_signal()
H A Dmali_spinlock_reentrant.h22 u32 owner; member
67 return (tid == spinlock->owner && 0 < spinlock->counter); in mali_spinlock_reentrant_is_held()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_spinlock_reentrant.c38 MALI_DEBUG_ASSERT(spinlock->counter == 0 && spinlock->owner == 0); in mali_spinlock_reentrant_term()
55 if (tid != spinlock->owner) { in mali_spinlock_reentrant_wait()
57 MALI_DEBUG_ASSERT(spinlock->owner == 0 && spinlock->counter == 0); in mali_spinlock_reentrant_wait()
58 spinlock->owner = tid; in mali_spinlock_reentrant_wait()
70 MALI_DEBUG_ASSERT(tid != 0 && tid == spinlock->owner); in mali_spinlock_reentrant_signal()
74 spinlock->owner = 0; in mali_spinlock_reentrant_signal()
H A Dmali_spinlock_reentrant.h23 u32 owner; member
68 return (tid == spinlock->owner && 0 < spinlock->counter); in mali_spinlock_reentrant_is_held()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_locks.c33 checker->owner = 0; in _mali_osk_locks_debug_init()
43 checker->owner = mali_osk_get_tid(); in _mali_osk_locks_debug_add()
63 checker->owner = 0; in _mali_osk_locks_debug_remove()
97 printk(" [lock: %p, tid_owner: %d, order: %d] ->", l, l->owner, l->order); in dump_lock_tracking_list()
137 * Since several threads may hold locks, each lock's owner must be in add_lock_to_log_and_check()
141 if (tid == l->owner && l->order >= highest_order_for_tid) { in add_lock_to_log_and_check()
H A Dmali_kernel_sysfs.c143 .owner = THIS_MODULE,
164 .owner = THIS_MODULE,
275 .owner = THIS_MODULE,
410 .owner = THIS_MODULE,
417 .owner = THIS_MODULE,
424 .owner = THIS_MODULE,
429 .owner = THIS_MODULE,
472 .owner = THIS_MODULE,
478 .owner = THIS_MODULE,
523 .owner
[all...]
H A Dmali_osk_locks.h31 /* When DEBUG is enabled, this struct will be used to track owner, mode and order checking */
34 u32 owner; member
86 /** @brief This function can return a given lock's owner when DEBUG is enabled. */
89 return lock->owner; in _mali_osk_lock_get_owner()
236 /* make sure the thread releasing the lock actually was the owner */ in _mali_osk_mutex_rw_signal()
239 /* This lock now has no owner */ in _mali_osk_mutex_rw_signal()
240 lock->checker.owner = 0; in _mali_osk_mutex_rw_signal()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_locks.c32 checker->owner = 0; in _mali_osk_locks_debug_init()
42 checker->owner = _mali_osk_get_tid(); in _mali_osk_locks_debug_add()
63 checker->owner = 0; in _mali_osk_locks_debug_remove()
98 printk(" [lock: %p, tid_owner: %d, order: %d] ->", l, l->owner, l->order); in dump_lock_tracking_list()
138 * Since several threads may hold locks, each lock's owner must be in add_lock_to_log_and_check()
142 if (tid == l->owner && l->order >= highest_order_for_tid) { in add_lock_to_log_and_check()
H A Dmali_kernel_sysfs.c144 .owner = THIS_MODULE,
165 .owner = THIS_MODULE,
276 .owner = THIS_MODULE,
409 .owner = THIS_MODULE,
416 .owner = THIS_MODULE,
423 .owner = THIS_MODULE,
428 .owner = THIS_MODULE,
471 .owner = THIS_MODULE,
477 .owner = THIS_MODULE,
522 .owner
[all...]
H A Dmali_osk_locks.h30 /* When DEBUG is enabled, this struct will be used to track owner, mode and order checking */
33 u32 owner; member
84 /** @brief This function can return a given lock's owner when DEBUG is enabled. */
87 return lock->owner; in _mali_osk_lock_get_owner()
229 /* make sure the thread releasing the lock actually was the owner */ in _mali_osk_mutex_rw_signal()
232 /* This lock now has no owner */ in _mali_osk_mutex_rw_signal()
233 lock->checker.owner = 0; in _mali_osk_mutex_rw_signal()
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
H A Drk808-regulator.c79 .n_voltages = (((_max) - (_min)) / (_step) + 1), .owner = THIS_MODULE, .min_uV = (_min)*1000, \
90 .n_voltages = (((_max) - (_min)) / (_step) + 1), .owner = THIS_MODULE, .min_uV = (_min)*1000, \
115 .enable_mask = (_emask), .enable_val = (_enval), .disable_val = (_disval), .owner = THIS_MODULE, .ops = _ops \
868 .owner = THIS_MODULE,
888 .owner = THIS_MODULE,
904 .owner = THIS_MODULE,
924 .owner = THIS_MODULE,
951 .owner = THIS_MODULE,
968 .owner = THIS_MODULE,
981 .owner
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/arbiter/
H A Dmali_kbase_arbif.c206 if (!pdev->dev.driver || !try_module_get(pdev->dev.driver->owner)) { in kbase_arbif_init()
214 module_put(pdev->dev.driver->owner); in kbase_arbif_init()
235 module_put(pdev->dev.driver->owner); in kbase_arbif_init()
266 module_put(kbdev->arb.arb_dev->driver->owner); in kbase_arbif_destroy()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
H A Dkapi_hash.c47 CRYPTO_OWNER owner; /* user ID */ member
404 crypto_chk_owner_err_return(&ctx->owner); in kapi_hash_chk_ctx()
411 /* record owner */ in kapi_hash_set_ctx()
412 crypto_get_owner(&ctx->owner); in kapi_hash_set_ctx()
642 CRYPTO_OWNER owner; in kapi_hash_release() local
646 crypto_get_owner(&owner); in kapi_hash_release()
648 hi_log_info("hash release owner 0x%x\n", owner); in kapi_hash_release()
659 if (memcmp(&owner, &ctx->owner, sizeo in kapi_hash_release()
[all...]
H A Dkapi_symc.c35 CRYPTO_OWNER owner; /* user ID */ member
134 CRYPTO_OWNER owner; in kapi_symc_release() local
138 crypto_get_owner(&owner); in kapi_symc_release()
140 hi_log_info("symc release owner 0x%x\n", owner); in kapi_symc_release()
146 if (memcmp(&owner, &ctx->owner, sizeof(owner)) != 0) { in kapi_symc_release()
186 crypto_get_owner(&ctx->owner); in kapi_symc_create()
216 crypto_chk_owner_err_return(&ctx->owner); in kapi_symc_destroy()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/
H A Dhimedia.c97 .owner = THIS_MODULE,
156 .owner = THIS_MODULE,
247 bdrv = himedia_driver_alloc(himedia->name, himedia->owner, himedia->base_ops); in pm_register_device_register()
276 if (himedia->owner == NULL) { in hi_drv_pm_register()
340 if (himedia->owner == NULL) { in hi_drv_pm_un_register()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-buf.h368 * @owner: pointer to exporter module; used for refcounting when exporter is a
403 struct module *owner; member
516 * @owner: pointer to exporter module - used for refcounting kernel module
528 struct module *owner; member
544 struct dma_buf_export_info name = {.exp_name = KBUILD_MODNAME, .owner = THIS_MODULE}
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Dhimedia.h78 struct module *owner; member
86 struct module *owner; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_protected_memory.c50 } else if (!try_module_get(kbdev->csf.pma_dev->owner)) { in kbase_csf_protected_memory_init()
67 module_put(kbdev->csf.pma_dev->owner); in kbase_csf_protected_memory_term()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/umplock/
H A Dumplock_driver.c38 u32 owner; member
207 if (lock_cmd->pid == device.items[i_index].owner) { in do_umplock_process()
237 device.items[i_index].owner = lock_cmd->pid; in do_umplock_process()
274 if (lock_cmd->pid != device.items[i_index].owner) { in do_umplock_release()
300 device.items[i_index].owner = 0; in do_umplock_release()
343 PERROR("item[%d]->secure_id=0x%x, owner=%d\t reference[%d].ref_count=%d.pid=%d\n", in do_umplock_dump()
346 device.items[i].owner, in do_umplock_dump()
529 .owner = THIS_MODULE,
544 umplock_device.cdev.owner = THIS_MODULE; in umplock_device_initialize()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/
H A Ddrv_osal_lib.h43 CRYPTO_OWNER owner; \
44 crypto_get_owner(&owner); \
45 if (memcmp(&owner, local, sizeof(owner)) != 0) { \
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/
H A Dbase.c306 struct module *owner, struct himedia_ops *ops) in himedia_driver_register()
311 if ((name == NULL) || (owner == NULL)) { in himedia_driver_register()
331 pdrv->driver.owner = owner; in himedia_driver_register()
305 himedia_driver_register(const char *name, struct module *owner, struct himedia_ops *ops) himedia_driver_register() argument
H A Dbase.h31 struct module *owner, struct himedia_ops *ops);
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/
H A Dthread.h38 * @param owner Indicates the owner process who create thread.
43 int CreateThread(unsigned int *threadID, ThreadFunc func, void *arg, const char *owner);
/device/soc/rockchip/rk3588/kernel/include/linux/
H A Dpriority_control_manager.h66 * @owner: Pointer to the module owner
74 struct module *owner; member
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
H A Dpinctrl-rk805.c346 .owner = THIS_MODULE,
360 .owner = THIS_MODULE,
374 .owner = THIS_MODULE,
610 .owner = THIS_MODULE,
618 .owner = THIS_MODULE,
626 .owner = THIS_MODULE,

Completed in 16 milliseconds

123456789