Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 - 25 of 44) sorted by relevance

12

/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dhw.h53 atomic_t refcnt; member
H A Dcommon.c262 if (atomic_read(&hw->refcnt)) in rkispp_free_pool()
390 atomic_inc(&hw->refcnt); in rkispp_event_handle()
392 atomic_dec(&hw->refcnt); in rkispp_event_handle()
508 if (atomic_read(&hw->refcnt) || in rkispp_free_common_dummy_buf()
509 atomic_read(&dev->stream_vdev.refcnt) > 1) in rkispp_free_common_dummy_buf()
H A Dstream.c685 if (atomic_read(&dev->stream_vdev.refcnt) == 1) { in is_stopped_mb()
770 if (atomic_read(&dev->stream_vdev.refcnt) == 1) { in is_stopped_scl()
962 if (atomic_read(&dev->stream_vdev.refcnt) == 1) { in rkispp_stream_stop()
1049 atomic_dec(&dev->stream_vdev.refcnt); in rkispp_stop_streaming()
1051 if (!atomic_read(&hw->refcnt) && in rkispp_stop_streaming()
1052 !atomic_read(&dev->stream_vdev.refcnt)) { in rkispp_stop_streaming()
1097 !atomic_read(&hw->refcnt) && in rkispp_start_streaming()
1098 !atomic_read(&dev->stream_vdev.refcnt) && in rkispp_start_streaming()
1106 atomic_inc(&dev->stream_vdev.refcnt); in rkispp_start_streaming()
1149 atomic_dec(&dev->stream_vdev.refcnt); in rkispp_start_streaming()
[all...]
H A Dstream.h242 atomic_t refcnt; member
H A Dstream_v20.c363 if (atomic_read(&vdev->refcnt) == 1) { in rkispp_destroy_buf()
385 } else if (atomic_read(&vdev->refcnt) > 1) { in start_isp()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dcommon.c267 if (atomic_read(&hw->refcnt)) { in rkispp_free_pool()
400 atomic_inc(&hw->refcnt); in rkispp_event_handle()
402 atomic_dec(&hw->refcnt); in rkispp_event_handle()
524 if (atomic_read(&hw->refcnt) || atomic_read(&dev->stream_vdev.refcnt) > 1) { in rkispp_free_common_dummy_buf()
H A Dhw.h60 atomic_t refcnt; member
H A Dstream.c680 if (atomic_read(&dev->stream_vdev.refcnt) == 1) { in is_stopped_mb()
758 if (atomic_read(&dev->stream_vdev.refcnt) == 1) { in is_stopped_scl()
933 if (atomic_read(&dev->stream_vdev.refcnt) == 1) { in rkispp_stream_stop()
1017 atomic_dec(&dev->stream_vdev.refcnt); in rkispp_stop_streaming()
1019 if (!atomic_read(&hw->refcnt) && !atomic_read(&dev->stream_vdev.refcnt)) { in rkispp_stop_streaming()
1060 if (dev->inp == INP_DDR && !atomic_read(&hw->refcnt) && !atomic_read(&dev->stream_vdev.refcnt) && in rkispp_start_streaming()
1068 atomic_inc(&dev->stream_vdev.refcnt); in rkispp_start_streaming()
1114 atomic_dec(&dev->stream_vdev.refcnt); in rkispp_start_streaming()
[all...]
H A Dstream.h229 atomic_t refcnt; member
H A Dstream_v20.c356 if (atomic_read(&vdev->refcnt) == 1) { in rkispp_destroy_buf()
380 } else if (atomic_read(&vdev->refcnt) > 1) { in start_isp()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Dhw.h60 atomic_t refcnt; member
H A Ddev.h142 * @refcnt: open counter
152 atomic_t refcnt; member
H A Dcapture.h272 atomic_t refcnt; member
H A Dcommon.c371 if (atomic_read(&hw->refcnt) || atomic_read(&dev->cap_dev.refcnt) > 1) { in rkisp_free_common_dummy_buf()
H A Dcapture_v1x.c647 atomic_dec(&dev->cap_dev.refcnt); in rkisp_stop_streaming()
695 atomic_inc(&dev->cap_dev.refcnt); in rkisp_start_streaming()
701 if (atomic_read(&dev->cap_dev.refcnt) == 1 && ((dev->isp_inp & INP_CSI) || (dev->isp_inp & INP_DVP))) { in rkisp_start_streaming()
759 atomic_dec(&dev->cap_dev.refcnt); in rkisp_start_streaming()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Dhw.h60 atomic_t refcnt; member
H A Ddev.h142 * @refcnt: open counter
152 atomic_t refcnt; member
H A Dcapture_v1x.c686 atomic_dec(&dev->cap_dev.refcnt); in rkisp_stop_streaming()
734 atomic_inc(&dev->cap_dev.refcnt); in rkisp_start_streaming()
740 if (atomic_read(&dev->cap_dev.refcnt) == 1 && in rkisp_start_streaming()
804 atomic_dec(&dev->cap_dev.refcnt); in rkisp_start_streaming()
H A Dcapture.h276 atomic_t refcnt; member
H A Dcommon.c361 if (atomic_read(&hw->refcnt) || in rkisp_free_common_dummy_buf()
362 atomic_read(&dev->cap_dev.refcnt) > 1) in rkisp_free_common_dummy_buf()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dhnd_pktpool.c628 pktp->cbs[i].refcnt++; in pktpool_avail_register()
642 pktp->cbs[i].refcnt++; in pktpool_avail_register()
670 pktp->cbs[i].refcnt--; in pktpool_avail_deregister()
671 if (pktp->cbs[i].refcnt) { in pktpool_avail_deregister()
679 pktp->cbs[i].refcnt = pktp->cbs[k].refcnt; in pktpool_avail_deregister()
685 pktp->cbs[i].refcnt = 0; in pktpool_avail_deregister()
/device/soc/rockchip/common/sdk_linux/drivers/nvmem/
H A Dcore.c28 struct kref refcnt; member
648 kref_init(&nvmem->refcnt); in nvmem_register()
743 nvmem = container_of(kref, struct nvmem_device, refcnt); in nvmem_device_release()
762 kref_put(&nvmem->refcnt, nvmem_device_release); in nvmem_unregister()
846 kref_get(&nvmem->refcnt); in nvmem_device_get_ext()
855 kref_put(&nvmem->refcnt, nvmem_device_release); in nvmem_device_put_ext()
/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dsyscall.c436 * refcnt to drop to be freed. in bpf_map_free_id()
480 /* decrement map refcnt and schedule it for freeing via workqueue
485 if (atomic64_dec_and_test(&map->refcnt)) { in _bpf_map_put()
837 atomic64_set(&map->refcnt, 1); in map_create()
887 * have refcnt-ed it through BPF_MAP_GET_FD_BY_ID. in map_create()
923 atomic64_inc(&map->refcnt); in bpf_map_inc()
929 atomic64_inc(&map->refcnt); in bpf_map_inc_with_uref()
971 refold = atomic64_fetch_add_unless(&map->refcnt, 1, 0); in _bpf_map_inc_not_zero()
1748 * simply waiting for refcnt to drop to be freed. in bpf_prog_free_id()
1800 if (atomic64_dec_and_test(&prog->aux->refcnt)) { in _bpf_prog_put()
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dcgroup-v1.c705 dead = percpu_ref_is_dying(&ss->root->cgrp.self.refcnt);
1210 if (!percpu_ref_tryget_live(&ss->root->cgrp.self.refcnt)) {
1297 if (!ret && !percpu_ref_tryget_live(&ctx->root->cgrp.self.refcnt)) {
1307 if (!ret && percpu_ref_is_dying(&ctx->root->cgrp.self.refcnt)) {
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dhnd_pktpool.h71 uint8 refcnt; member

Completed in 27 milliseconds

12