Home
last modified time | relevance | path

Searched refs:usage_cnt (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_port_wwan.c40 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()
Dt7xx_port.h109 atomic_t usage_cnt; member
Dt7xx_port_proxy.c168 atomic_set(&port->usage_cnt, 0); in t7xx_port_struct_init()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-sst.c259 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() local
448 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()
Dskl-sst-dsp.h191 unsigned int usage_cnt; member
/linux-6.6.21/drivers/accel/habanalabs/common/
Dcommand_buffer.c335 u64 handle, u32 flags, u32 *usage_cnt, u64 *device_va) in hl_cb_info() argument
356 *usage_cnt = atomic_read(&cb->cs_cnt); in hl_cb_info()
370 u32 usage_cnt = 0; in hl_cb_ioctl() local
406 &usage_cnt, in hl_cb_ioctl()
416 args->out.usage_cnt = usage_cnt; in hl_cb_ioctl()
/linux-6.6.21/include/uapi/drm/
Dhabanalabs_accel.h1393 __u32 usage_cnt; member