Home
last modified time | relevance | path

Searched refs:num_active (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/isys/src/
Disys_dma_rmgr.c53 if (cur_rsrc->num_active < max_dma_channel) { in ia_css_isys_dma_channel_rmgr_acquire()
58 cur_rsrc->num_active++; in ia_css_isys_dma_channel_rmgr_acquire()
81 if ((*channel < max_dma_channel) && (cur_rsrc->num_active > 0)) { in ia_css_isys_dma_channel_rmgr_release()
84 cur_rsrc->num_active--; in ia_css_isys_dma_channel_rmgr_release()
Disys_stream2mmio_rmgr.c54 if (cur_rsrc->num_active < max_sid) { in ia_css_isys_stream2mmio_sid_rmgr_acquire()
59 cur_rsrc->num_active++; in ia_css_isys_stream2mmio_sid_rmgr_acquire()
82 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release()
85 cur_rsrc->num_active--; in ia_css_isys_stream2mmio_sid_rmgr_release()
Dibuf_ctrl_rmgr.c64 if (ibuf_rsrc.num_active < ibuf_rsrc.num_allocated) { in ia_css_isys_ibuf_rmgr_acquire()
71 ibuf_rsrc.num_active++; in ia_css_isys_ibuf_rmgr_acquire()
91 ibuf_rsrc.num_active++; in ia_css_isys_ibuf_rmgr_acquire()
118 ibuf_rsrc.num_active--; in ia_css_isys_ibuf_rmgr_release()
Dcsi_rx_rmgr.c82 cur_rsrc->num_active++; in ia_css_isys_csi_rx_lut_rmgr_acquire()
116 if ((packet_entry < max_num_packets) && (cur_rsrc->num_active > 0)) { in ia_css_isys_csi_rx_lut_rmgr_release()
124 cur_rsrc->num_active--; in ia_css_isys_csi_rx_lut_rmgr_release()
Disys_stream2mmio_rmgr.h22 u16 num_active; member
Disys_dma_rmgr.h22 u16 num_active; member
Dcsi_rx_rmgr.h22 u32 num_active; member
Dibuf_ctrl_rmgr.h34 u16 num_active; member
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c45 unsigned num_active; member
115 lds->num_active ? lds->num_active : 1); in vmw_ldu_commit_list()
131 BUG_ON(i != lds->num_active); in vmw_ldu_commit_list()
133 lds->last_num_active = lds->num_active; in vmw_ldu_commit_list()
147 if (--(ld->num_active) == 0) { in vmw_ldu_del_active()
165 BUG_ON(!ld->num_active && ld->fb); in vmw_ldu_add_active()
188 ld->num_active++; in vmw_ldu_add_active()
506 dev_priv->ldu_priv->num_active = 0; in vmw_kms_ldu_init_display()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crtc.c310 int num_active = 0; in count_crtc_active_planes() local
327 num_active += 1; in count_crtc_active_planes()
332 num_active += (new_plane_state->fb != NULL); in count_crtc_active_planes()
335 return num_active; in count_crtc_active_planes()
/linux-6.1.9/include/uapi/rdma/hfi/
Dhfi1_ioctl.h84 __u16 num_active; /* number of active units */ member
/linux-6.1.9/include/linux/
Dslab_def.h50 unsigned long num_active; member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_common.h420 __u16 num_active; /* number of active units */ member
Dqib_file_ops.c1889 info.num_active = qib_count_active_units(); in qib_ctxt_info()
/linux-6.1.9/block/
Dbfq-iosched.h110 unsigned int num_active; /* nr of active queues with this weight */ member
Dbfq-iosched.c943 bfqq->weight_counter->num_active++; in bfq_weights_tree_add()
960 bfqq->weight_counter->num_active--; in __bfq_weights_tree_remove()
961 if (bfqq->weight_counter->num_active > 0) in __bfq_weights_tree_remove()
/linux-6.1.9/mm/
Dslab.c272 #define STATS_INC_ACTIVE(x) ((x)->num_active++)
273 #define STATS_DEC_ACTIVE(x) ((x)->num_active--)
279 if ((x)->num_active > (x)->high_mark) \
280 (x)->high_mark = (x)->num_active; \
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Ddebugfs.c1222 int num_active; in rx_buff_mgmt_show() local
1234 num_active = wil_print_rx_buff(s, &rbm->active); in rx_buff_mgmt_show()
1239 num_active + num_free); in rx_buff_mgmt_show()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dskl_watermark.c710 int num_active) in skl_cursor_allocation() argument
736 return max(num_active == 1 ? 32 : 8, min_ddb_alloc); in skl_cursor_allocation()
1465 int num_active = hweight8(dbuf_state->active_pipes); in skl_crtc_allocate_plane_ddb() local
1485 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb()
/linux-6.1.9/drivers/input/touchscreen/
Diqs5xx.c117 u8 num_active; member
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfile_ops.c1113 cinfo.num_active = hfi1_count_active_units(); in get_ctxt_info()