Searched refs:usage_cnt (Results 1 – 7 of 7) sorted by relevance
40 if (atomic_read(&port_mtk->usage_cnt)) in t7xx_port_ctrl_start()43 atomic_inc(&port_mtk->usage_cnt); in t7xx_port_ctrl_start()51 atomic_dec(&port_mtk->usage_cnt); in t7xx_port_ctrl_stop()120 if (!atomic_read(&port->usage_cnt) || !port->chan_enable) { in t7xx_port_wwan_recv_skb()
109 atomic_t usage_cnt; member
168 atomic_set(&port->usage_cnt, 0); in t7xx_port_struct_init()
259 return ++module->usage_cnt; in skl_get_module()271 return --module->usage_cnt; in skl_put_module()427 if (!module_entry->usage_cnt) { in skl_load_module()444 int usage_cnt; in skl_unload_module() local448 usage_cnt = skl_put_module(ctx, mod_id); in skl_unload_module()449 if (usage_cnt < 0) { in skl_unload_module()450 dev_err(ctx->dev, "Module bad usage cnt!:%d\n", usage_cnt); in skl_unload_module()455 if (usage_cnt > 0) in skl_unload_module()477 module->usage_cnt = 0; in skl_clear_module_cnt()
191 unsigned int usage_cnt; member
335 u64 handle, u32 flags, u32 *usage_cnt, u64 *device_va) in hl_cb_info() argument356 *usage_cnt = atomic_read(&cb->cs_cnt); in hl_cb_info()370 u32 usage_cnt = 0; in hl_cb_ioctl() local406 &usage_cnt, in hl_cb_ioctl()416 args->out.usage_cnt = usage_cnt; in hl_cb_ioctl()
1393 __u32 usage_cnt; member