/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_device.c | 521 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_prepare() 532 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_complete() 542 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_suspend() 553 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_resume() 564 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_freeze() 575 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_thaw() 586 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_poweroff() 597 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_restore() 608 osal_coat_dev_t *coat_dev = container_of(himedia, struct osal_coat_dev, himedia_dev); in osal_pm_suspend_late() 619 osal_coat_dev_t *coat_dev = container_of(himedi in osal_pm_resume_early() [all...] |
/device/soc/rockchip/rk2206/hardware/include/sys/ |
H A D | defs.h | 59 #ifndef container_of 60 #define container_of(ptr, type, field) __containerof(ptr, type, field) macro
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_sync_android.c | 55 return container_of(timeline, struct mali_sync_timeline, timeline); in to_mali_sync_timeline() 60 return container_of(pt, struct mali_sync_pt, pt); in to_mali_sync_pt() 97 struct mali_sync_pt *ma = container_of(a, struct mali_sync_pt, pt); in timeline_compare() 98 struct mali_sync_pt *mb = container_of(b, struct mali_sync_pt, pt); in timeline_compare() 358 pt = container_of(katom->fence->cbs[0].sync_pt, struct sync_pt, base); in kbase_sync_fence_out_trigger() 386 struct kbase_jd_atom *katom = container_of(waiter, in kbase_fence_wait_callback()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
H A D | common.h | 92 return container_of(vdev, struct rkispp_vdev_node, vdev); in vdev_to_node() 97 return container_of(q, struct rkispp_vdev_node, buf_queue); in queue_to_node() 102 return container_of(vb, struct rkispp_buffer, vb); in to_rkispp_buffer()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
H A D | common.h | 92 return container_of(vdev, struct rkispp_vdev_node, vdev); in vdev_to_node() 97 return container_of(q, struct rkispp_vdev_node, buf_queue); in queue_to_node() 102 return container_of(vb, struct rkispp_buffer, vb); in to_rkispp_buffer()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/ |
H A D | himedia.h | 70 container_of((drv), struct himedia_driver, driver) 92 container_of((dev), struct himedia_device, device)
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
H A D | sync_debug.c | 112 struct sync_pt *pt = container_of(pos, struct sync_pt, link); in sync_print_obj() 146 struct sync_timeline *obj = container_of(pos, struct sync_timeline, sync_timeline_list); in sync_info_debugfs_show() 158 struct sync_file *sync_file = container_of(pos, struct sync_file, sync_file_list); in sync_info_debugfs_show()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
H A D | mali_kbase_model_linux.c | 42 struct model_irq_data *data = container_of(work, struct model_irq_data, in serve_job_irq() 70 struct model_irq_data *data = container_of(work, struct model_irq_data, in serve_gpu_irq() 90 struct model_irq_data *data = container_of(work, struct model_irq_data, in serve_mmu_irq()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/linuxkpi/include/linux/ |
H A D | platform_device.h | 177 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, driver))
178 #define to_platform_device(x) container_of((x), struct platform_device, dev)
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | himedia.h | 48 #define TO_PM_BASEDEV(x) container_of((x), pm_basedev, dev) 73 #define to_himedia_basedrv(drv) container_of((drv), pm_basedrv, driver)
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_internal_sync.c | 45 return container_of(fence, struct mali_internal_sync_point, base); in mali_internal_fence_to_sync_pt() 51 return container_of(sync_pt->base.lock, struct mali_internal_sync_timeline, sync_pt_list_lock); in mali_internal_sync_pt_to_sync_timeline() 60 sync_timeline = container_of(kref_count, struct mali_internal_sync_timeline, kref_count); in mali_internal_sync_timeline_free() 84 check = container_of(cb, struct mali_internal_sync_fence_cb, cb); in mali_internal_fence_check_cb_func() 87 waiter = container_of(cb, struct mali_internal_sync_fence_waiter, cb); in mali_internal_fence_check_cb_func() 136 wait = container_of(curr, struct mali_internal_sync_fence_waiter, work); in mali_internal_sync_fence_wake_up_wq() 341 struct fence_array *fence_array = container_of(sync_fence->fence, struct fence_array, base); in mali_internal_get_fences() 347 struct dma_fence_array *fence_array = container_of(sync_fence->fence, struct dma_fence_array, base); in mali_internal_get_fences()
|
H A D | mali_osk_notification.c | 88 notification = container_of(object, _mali_osk_notification_wrapper_t, data); in _mali_osk_notification_delete() 116 notification = container_of(object, _mali_osk_notification_wrapper_t, data); in _mali_osk_notification_queue_send()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_internal_sync.c | 50 return container_of(fence, struct mali_internal_sync_point, base); in mali_internal_fence_to_sync_pt() 57 return container_of(sync_pt->base.lock, struct mali_internal_sync_timeline, in mali_internal_sync_pt_to_sync_timeline() 67 sync_timeline = container_of(kref_count, struct mali_internal_sync_timeline, in mali_internal_sync_timeline_free() 95 check = container_of(cb, struct mali_internal_sync_fence_cb, cb); in mali_internal_fence_check_cb_func() 98 waiter = container_of(cb, struct mali_internal_sync_fence_waiter, cb); in mali_internal_fence_check_cb_func() 155 wait = container_of(curr, struct mali_internal_sync_fence_waiter, work); in mali_internal_sync_fence_wake_up_wq() 384 container_of(sync_fence->fence, struct fence_array, base); in mali_internal_get_fences() 391 container_of(sync_fence->fence, struct dma_fence_array, base); in mali_internal_get_fences()
|
H A D | mali_osk_notification.c | 91 notification = container_of(object, _mali_osk_notification_wrapper_t, data); in _mali_osk_notification_delete() 119 notification = container_of(object, _mali_osk_notification_wrapper_t, data); in mali_osk_notification_queue_send()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_sync_android.c | 57 return container_of(timeline, struct mali_sync_timeline, timeline);
in to_mali_sync_timeline() 62 return container_of(pt, struct mali_sync_pt, pt);
in to_mali_sync_pt() 98 struct mali_sync_pt *ma = container_of(a, struct mali_sync_pt, pt);
in timeline_compare() 99 struct mali_sync_pt *mb = container_of(b, struct mali_sync_pt, pt);
in timeline_compare() 385 pt = container_of(katom->fence->cbs[0].sync_pt, struct sync_pt, base);
417 struct kbase_jd_atom *katom = container_of(waiter, struct kbase_jd_atom, sync_waiter);
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_sync_android.c | 64 return container_of(timeline, struct mali_sync_timeline, timeline); in to_mali_sync_timeline() 69 return container_of(pt, struct mali_sync_pt, pt); in to_mali_sync_pt() 105 struct mali_sync_pt *ma = container_of(a, struct mali_sync_pt, pt); in timeline_compare() 106 struct mali_sync_pt *mb = container_of(b, struct mali_sync_pt, pt); in timeline_compare() 392 pt = container_of(katom->fence->cbs[0].sync_pt, struct sync_pt, base); 424 struct kbase_jd_atom *katom = container_of(waiter, struct kbase_jd_atom, sync_waiter);
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_sync_android.c | 60 return container_of(timeline, struct mali_sync_timeline, timeline); in to_mali_sync_timeline() 65 return container_of(pt, struct mali_sync_pt, pt); in to_mali_sync_pt() 102 struct mali_sync_pt *ma = container_of(a, struct mali_sync_pt, pt); in timeline_compare() 103 struct mali_sync_pt *mb = container_of(b, struct mali_sync_pt, pt); in timeline_compare() 388 pt = container_of(katom->fence->cbs[0].sync_pt, struct sync_pt, base); 421 struct kbase_jd_atom *katom = container_of(waiter,
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | common.h | 131 return container_of(vdev, struct rkisp_vdev_node, vdev); in vdev_to_node() 136 return container_of(q, struct rkisp_vdev_node, buf_queue); in queue_to_node() 141 return container_of(vb, struct rkisp_buffer, vb); in to_rkisp_buffer()
|
H A D | dev.c | 130 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in isp_pipeline_prepare() 184 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in isp_pipeline_s_isp_clk() 263 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in rkisp_pipeline_open() 293 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in rkisp_pipeline_close() 310 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in rkisp_pipeline_set_stream() 503 dev = container_of(notifier, struct rkisp_device, notifier); in subdev_notifier_complete() 543 struct rkisp_device *isp_dev = container_of(notifier, struct rkisp_device, notifier); in subdev_notifier_bound() 544 struct rkisp_async_subdev *s_asd = container_of(asd, struct rkisp_async_subdev, asd); in subdev_notifier_bound() 561 struct rkisp_async_subdev *rk_asd = container_of(asd, struct rkisp_async_subdev, asd); in rkisp_fwnode_parse()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
H A D | mali_kbase_csf_firmware_cfg.c | 77 container_of(kobj, struct firmware_config, kobj); in fw_cfg_kobj_release() 86 container_of(kobj, struct firmware_config, kobj); in show_fw_cfg() 119 container_of(kobj, struct firmware_config, kobj); in store_fw_cfg()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | common.h | 142 return container_of(vdev, struct rkisp_vdev_node, vdev); in vdev_to_node() 147 return container_of(q, struct rkisp_vdev_node, buf_queue); in queue_to_node() 152 return container_of(vb, struct rkisp_buffer, vb); in to_rkisp_buffer()
|
H A D | dev.c | 122 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in __isp_pipeline_prepare() 165 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in __isp_pipeline_s_isp_clk() 239 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in rkisp_pipeline_open() 264 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in rkisp_pipeline_close() 280 struct rkisp_device *dev = container_of(p, struct rkisp_device, pipe); in rkisp_pipeline_set_stream() 477 dev = container_of(notifier, struct rkisp_device, notifier); in subdev_notifier_complete() 515 struct rkisp_device *isp_dev = container_of(notifier, in subdev_notifier_bound() 517 struct rkisp_async_subdev *s_asd = container_of(asd, in subdev_notifier_bound() 537 container_of(asd, struct rkisp_async_subdev, asd); in rkisp_fwnode_parse()
|
/device/soc/rockchip/common/sdk_linux/include/linux/usb/ |
H A D | typec_altmode.h | 35 #define to_typec_altmode(d) container_of(d, struct typec_altmode, dev) 152 #define to_altmode_driver(d) container_of(d, struct typec_altmode_driver, driver)
|
/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
H A D | thermal_core.h | 107 #define to_thermal_zone(_dev) container_of(_dev, struct thermal_zone_device, device) 109 #define to_cooling_device(_dev) container_of(_dev, struct thermal_cooling_device, device)
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | thermal_core.h | 120 container_of(_dev, struct thermal_zone_device, device) 123 container_of(_dev, struct thermal_cooling_device, device)
|