Searched refs:cur_rsrc (Results 1 – 3 of 3) sorted by relevance
49 isys_csi_rx_rsrc_t *cur_rsrc = NULL; in ia_css_isys_csi_rx_lut_rmgr_acquire() local58 cur_rsrc = &isys_csi_rx_rsrc[backend]; in ia_css_isys_csi_rx_lut_rmgr_acquire()61 num_active_of_type = cur_rsrc->num_long_packets; in ia_css_isys_csi_rx_lut_rmgr_acquire()64 num_active_of_type = cur_rsrc->num_short_packets; in ia_css_isys_csi_rx_lut_rmgr_acquire()69 if (bitop_getbit(cur_rsrc->active_table, i) == 0) { in ia_css_isys_csi_rx_lut_rmgr_acquire()70 bitop_setbit(cur_rsrc->active_table, i); in ia_css_isys_csi_rx_lut_rmgr_acquire()75 cur_rsrc->num_long_packets++; in ia_css_isys_csi_rx_lut_rmgr_acquire()79 cur_rsrc->num_short_packets++; in ia_css_isys_csi_rx_lut_rmgr_acquire()81 cur_rsrc->num_active++; in ia_css_isys_csi_rx_lut_rmgr_acquire()97 isys_csi_rx_rsrc_t *cur_rsrc = NULL; in ia_css_isys_csi_rx_lut_rmgr_release() local[all …]
44 isys_dma_rsrc_t *cur_rsrc = NULL; in ia_css_isys_dma_channel_rmgr_acquire() local50 cur_rsrc = &isys_dma_rsrc[dma_id]; in ia_css_isys_dma_channel_rmgr_acquire()52 if (cur_rsrc->num_active < max_dma_channel) { in ia_css_isys_dma_channel_rmgr_acquire()54 if (bitop_getbit(cur_rsrc->active_table, i) == 0) { in ia_css_isys_dma_channel_rmgr_acquire()55 bitop_setbit(cur_rsrc->active_table, i); in ia_css_isys_dma_channel_rmgr_acquire()57 cur_rsrc->num_active++; in ia_css_isys_dma_channel_rmgr_acquire()72 isys_dma_rsrc_t *cur_rsrc = NULL; in ia_css_isys_dma_channel_rmgr_release() local78 cur_rsrc = &isys_dma_rsrc[dma_id]; in ia_css_isys_dma_channel_rmgr_release()80 if ((*channel < max_dma_channel) && (cur_rsrc->num_active > 0)) { in ia_css_isys_dma_channel_rmgr_release()81 if (bitop_getbit(cur_rsrc->active_table, *channel) == 1) { in ia_css_isys_dma_channel_rmgr_release()[all …]
43 isys_stream2mmio_rsrc_t *cur_rsrc = NULL; in ia_css_isys_stream2mmio_sid_rmgr_acquire() local51 cur_rsrc = &isys_stream2mmio_rsrc[stream2mmio]; in ia_css_isys_stream2mmio_sid_rmgr_acquire()53 if (cur_rsrc->num_active < max_sid) { in ia_css_isys_stream2mmio_sid_rmgr_acquire()55 if (bitop_getbit(cur_rsrc->active_table, i) == 0) { in ia_css_isys_stream2mmio_sid_rmgr_acquire()56 bitop_setbit(cur_rsrc->active_table, i); in ia_css_isys_stream2mmio_sid_rmgr_acquire()58 cur_rsrc->num_active++; in ia_css_isys_stream2mmio_sid_rmgr_acquire()73 isys_stream2mmio_rsrc_t *cur_rsrc = NULL; in ia_css_isys_stream2mmio_sid_rmgr_release() local80 cur_rsrc = &isys_stream2mmio_rsrc[stream2mmio]; in ia_css_isys_stream2mmio_sid_rmgr_release()81 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release()82 if (bitop_getbit(cur_rsrc->active_table, *sid) == 1) { in ia_css_isys_stream2mmio_sid_rmgr_release()[all …]