/device/board/isoftstone/zhiyuan/kernel/driver/drivers/bluetooth/ |
D | rtl_btlpm.c | 112 static atomic_t open_count = ATOMIC_INIT(1); variable 345 if (!atomic_dec_and_test(&open_count)) { in bluesleep_start() 346 atomic_inc(&open_count); in bluesleep_start() 367 atomic_inc(&open_count); in bluesleep_start() 392 atomic_inc(&open_count); in bluesleep_stop()
|
D | bcm_btlpm.c | 127 static atomic_t open_count = ATOMIC_INIT(1); variable 502 if (!atomic_dec_and_test(&open_count)) { in bluesleep_start() 503 atomic_inc(&open_count); in bluesleep_start() 526 atomic_inc(&open_count); in bluesleep_start() 556 atomic_inc(&open_count); in bluesleep_stop()
|
D | xradio_btlpm.c | 105 static atomic_t open_count = ATOMIC_INIT(1); variable 324 if (!atomic_dec_and_test(&open_count)) { in bluesleep_start() 325 atomic_inc(&open_count); in bluesleep_start() 346 atomic_inc(&open_count); in bluesleep_start() 373 atomic_inc(&open_count); in bluesleep_stop()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/ |
D | itp.c | 104 if (atomic_inc_return(&itp->open_count) == 1) { in xradio_itp_open() 106 if (ret && !atomic_dec_return(&itp->open_count)) in xradio_itp_open() 109 atomic_dec(&itp->open_count); in xradio_itp_open() 120 if (!atomic_dec_return(&itp->open_count)) { in xradio_itp_close() 196 atomic_set(&itp->open_count, 0); in xradio_itp_init() 223 !atomic_read(&itp->open_count)); in xradio_itp_release() 225 SYS_WARN(atomic_read(&itp->open_count)); in xradio_itp_release() 263 return atomic_read(&itp->open_count) != 0; in xradio_is_itp()
|
D | itp.h | 64 atomic_t open_count; member
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_file.c | 268 (long)old_encode_dev(file->minor->kdev->devt), atomic_read(&dev->open_count)); in drm_file_free() 443 if (!atomic_fetch_inc(&dev->open_count)) { in drm_open() 469 atomic_dec(&dev->open_count); in drm_open() 518 DRM_DEBUG("open_count = %d\n", atomic_read(&dev->open_count)); in drm_release() 522 if (atomic_dec_and_test(&dev->open_count)) { in drm_release() 559 if (atomic_dec_and_mutex_lock(&dev->open_count, &drm_global_mutex)) { in drm_release_noglobal()
|
/device/soc/st/common/platform/uart/ |
D | stm32mp1_uart_hw.h | 83 int open_count; // 打开数量 member
|
D | stm32mp1_uart.c | 191 uart->open_count++; in Mp1xxUartOpen() 209 if (--uart->open_count > 0) { in Mp1xxUartClose()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | iface.c | 576 if (local->open_count == 0) { in ieee80211_do_open() 623 } else if (local->monitors == 0 && local->open_count == 0) { in ieee80211_do_open() 744 local->open_count++; in ieee80211_do_open() 784 if (!local->open_count) in ieee80211_do_open() 961 local->open_count--; in ieee80211_do_stop() 1038 if (local->open_count == 0) in ieee80211_do_stop() 1083 if (local->open_count == 0) { in ieee80211_do_stop() 1094 if (local->monitors == local->open_count) in ieee80211_do_stop() 2040 WARN(local->open_count, "%s: open count remains %d\n", in ieee80211_remove_interfaces() 2041 wiphy_name(local->hw.wiphy), local->open_count); in ieee80211_remove_interfaces()
|
D | pm.c | 23 if (!local->open_count) in __ieee80211_suspend()
|
D | util.c | 2153 if (!local->open_count) in ieee80211_reconfig() 2470 if (local->monitors == local->open_count && local->monitors > 0) in ieee80211_reconfig() 2518 if (local->open_count && (!suspended || reconfig_due_to_wowlan)) in ieee80211_reconfig() 2532 if (local->open_count && !reconfig_due_to_wowlan) in ieee80211_reconfig()
|
D | rate.c | 960 if (local->open_count) in ieee80211_init_rate_ctrl_alg()
|
D | cfg.c | 834 } else if (local->open_count == local->monitors) { in ieee80211_set_monitor_channel() 3731 if (!local->open_count) in ieee80211_mgmt_frame_register() 3891 } else if (local->open_count > 0 && in ieee80211_cfg_get_channel() 3892 local->open_count == local->monitors && in ieee80211_cfg_get_channel()
|
D | main.c | 195 if (changed && local->open_count) { in ieee80211_hw_config()
|
D | ieee80211_i.h | 1188 int open_count; member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/h265/ |
D | vpu.c | 315 s_vpu_drv_context.open_count++; in vpu_open() 316 if (s_vpu_drv_context.open_count == 1) { in vpu_open() 320 s_vpu_drv_context.open_count--; in vpu_open() 385 s_vpu_drv_context.open_count--; in vpu_open() 441 s_vpu_drv_context.open_count--; in vpu_open() 1389 s_vpu_drv_context.open_count--; in vpu_release() 1390 if (s_vpu_drv_context.open_count == 0) { in vpu_release()
|
D | vpu.h | 159 u32 open_count; /*!<< device reference count. Not instance count */ member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/hdmi_tx/ |
D | hdmi_tx_cec_20.h | 314 atomic_t open_count; member
|
/device/soc/rockchip/common/sdk_linux/include/linux/regulator/ |
D | driver.h | 429 u32 open_count; member
|
/device/soc/rockchip/common/sdk_linux/drivers/regulator/ |
D | core.c | 1655 supply_rdev->open_count++; in set_supply() 2156 if (get_type == EXCLUSIVE_GET && rdev->open_count) { in _regulator_get() 2193 rdev->open_count++; in _regulator_get() 2305 rdev->open_count--; in destroy_regulator() 4462 if (rdev->bypass_count == rdev->open_count) { in regulator_allow_bypass() 4475 if (rdev->bypass_count != rdev->open_count) { in regulator_allow_bypass() 5073 if (rdev->open_count) { in reg_debug_consumers_show() 5146 debugfs_create_u32("open_count", CORE_FILE_PROPERTY_B, rdev->debugfs, &rdev->open_count); in rdev_init_debugfs() 5709 WARN_ON(rdev->open_count); in regulator_unregister() 5924 rdev_get_name(rdev), rdev->use_count, rdev->open_count, rdev->bypass_count, in regulator_summary_show_subtree()
|
/device/soc/amlogic/a311d/soc/amlogic/ge2d/ |
D | ge2d_main.c | 63 atomic_t open_count; member 199 atomic_inc(&ge2d_device.open_count); in ge2d_open() 778 atomic_dec(&ge2d_device.open_count); in ge2d_release()
|