Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/isys/src/
Disys_dma_rmgr.c52 if (cur_rsrc->num_active < max_dma_channel) { in ia_css_isys_dma_channel_rmgr_acquire()
57 cur_rsrc->num_active++; in ia_css_isys_dma_channel_rmgr_acquire()
80 if ((*channel < max_dma_channel) && (cur_rsrc->num_active > 0)) { in ia_css_isys_dma_channel_rmgr_release()
83 cur_rsrc->num_active--; in ia_css_isys_dma_channel_rmgr_release()
Disys_stream2mmio_rmgr.c53 if (cur_rsrc->num_active < max_sid) { in ia_css_isys_stream2mmio_sid_rmgr_acquire()
58 cur_rsrc->num_active++; in ia_css_isys_stream2mmio_sid_rmgr_acquire()
81 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release()
84 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.c81 cur_rsrc->num_active++; in ia_css_isys_csi_rx_lut_rmgr_acquire()
115 if ((packet_entry < max_num_packets) && (cur_rsrc->num_active > 0)) { in ia_css_isys_csi_rx_lut_rmgr_release()
123 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.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c48 unsigned num_active; member
118 lds->num_active ? lds->num_active : 1); in vmw_ldu_commit_list()
134 BUG_ON(i != lds->num_active); in vmw_ldu_commit_list()
136 lds->last_num_active = lds->num_active; in vmw_ldu_commit_list()
194 if (--(ld->num_active) == 0) { in vmw_ldu_del_active()
211 BUG_ON(!ld->num_active && ld->fb); in vmw_ldu_add_active()
233 ld->num_active++; in vmw_ldu_add_active()
556 dev_priv->ldu_priv->num_active = 0; in vmw_kms_ldu_init_display()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crtc.c572 int num_active = 0; in amdgpu_dm_crtc_count_crtc_active_planes() local
589 num_active += 1; in amdgpu_dm_crtc_count_crtc_active_planes()
594 num_active += (new_plane_state->fb != NULL); in amdgpu_dm_crtc_count_crtc_active_planes()
597 return num_active; in amdgpu_dm_crtc_count_crtc_active_planes()
/linux-6.12.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h84 __u16 num_active; /* number of active units */ member
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_mid.c1180 qp->buf_pool.num_active++; in qla_get_buf()
1181 if (qp->buf_pool.num_active > qp->buf_pool.max_used) in qla_get_buf()
1182 qp->buf_pool.max_used = qp->buf_pool.num_active; in qla_get_buf()
1227 qp->buf_pool.max_used = qp->buf_pool.num_active; in __qla_adjust_buf()
1250 qp->buf_pool.num_active--; in qla_put_buf()
Dqla_def.h3796 u16 num_active; member
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_common.h420 __u16 num_active; /* number of active units */ member
Dqib_file_ops.c1887 info.num_active = qib_count_active_units(); in qib_ctxt_info()
/linux-6.12.1/block/
Dbfq-iosched.h117 unsigned int num_active; /* nr of active queues with this weight */ member
Dbfq-iosched.c963 bfqq->weight_counter->num_active++; in bfq_weights_tree_add()
981 bfqq->weight_counter->num_active--; in bfq_weights_tree_remove()
982 if (bfqq->weight_counter->num_active > 0) in bfq_weights_tree_remove()
/linux-6.12.1/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.12.1/drivers/input/touchscreen/
Diqs5xx.c117 u8 num_active; member
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dskl_watermark.c753 int num_active) in skl_cursor_allocation() argument
779 return max(num_active == 1 ? 32 : 8, min_ddb_alloc); in skl_cursor_allocation()
1514 int num_active = hweight8(dbuf_state->active_pipes); in skl_crtc_allocate_plane_ddb() local
1534 cursor_size = skl_cursor_allocation(crtc_state, num_active); in skl_crtc_allocate_plane_ddb()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dfile_ops.c1144 cinfo.num_active = hfi1_count_active_units(); in get_ctxt_info()