Home
last modified time | relevance | path

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

/linux-5.19.10/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_dma_rmgr.h22 u16 num_active; member
Disys_stream2mmio_rmgr.h22 u16 num_active; member
Dcsi_rx_rmgr.h22 u32 num_active; member
Dibuf_ctrl_rmgr.h34 u16 num_active; member
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c46 unsigned num_active; member
116 lds->num_active ? lds->num_active : 1); in vmw_ldu_commit_list()
132 BUG_ON(i != lds->num_active); in vmw_ldu_commit_list()
134 lds->last_num_active = lds->num_active; in vmw_ldu_commit_list()
148 if (--(ld->num_active) == 0) { in vmw_ldu_del_active()
166 BUG_ON(!ld->num_active && ld->fb); in vmw_ldu_add_active()
189 ld->num_active++; in vmw_ldu_add_active()
507 dev_priv->ldu_priv->num_active = 0; in vmw_kms_ldu_init_display()
/linux-5.19.10/include/uapi/rdma/hfi/
Dhfi1_ioctl.h84 __u16 num_active; /* number of active units */ member
/linux-5.19.10/include/linux/
Dslab_def.h51 unsigned long num_active; member
/linux-5.19.10/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-5.19.10/block/
Dbfq-iosched.h110 unsigned int num_active; /* nr of active queues with this weight */ member
Dbfq-iosched.c937 bfqq->weight_counter->num_active++; in bfq_weights_tree_add()
954 bfqq->weight_counter->num_active--; in __bfq_weights_tree_remove()
955 if (bfqq->weight_counter->num_active > 0) in __bfq_weights_tree_remove()
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/input/touchscreen/
Diqs5xx.c117 u8 num_active; member
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dfile_ops.c1113 cinfo.num_active = hfi1_count_active_units(); in get_ctxt_info()
/linux-5.19.10/drivers/gpu/drm/i915/
Dintel_pm.c4307 int num_active) in skl_cursor_allocation() argument
4333 return max(num_active == 1 ? 32 : 8, min_ddb_alloc); in skl_cursor_allocation()
5062 int num_active = hweight8(dbuf_state->active_pipes); in skl_crtc_allocate_plane_ddb() local
5082 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb()
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c7312 int num_active = 0; in count_crtc_active_planes() local
7329 num_active += 1; in count_crtc_active_planes()
7334 num_active += (new_plane_state->fb != NULL); in count_crtc_active_planes()
7337 return num_active; in count_crtc_active_planes()