Searched refs:index_mask (Results 1 – 7 of 7) sorted by relevance
60 __u32 index_mask; member76 unsigned int index_mask; member107 return (index + 1) & q->buf->index_mask; in next_index()113 & q->index_mask) == 0; in queue_empty()119 & q->index_mask) == 0; in queue_full()125 & q->index_mask; in advance_producer()131 & q->index_mask; in advance_consumer()136 return q->buf->data + ((q->buf->producer_index & q->index_mask) in producer_addr()142 return q->buf->data + ((q->buf->consumer_index & q->index_mask) in consumer_addr()158 return q->buf->data + ((index & q->index_mask) in addr_from_index()[all …]
126 q->index_mask = num_slots - 1; in rxe_queue_init()135 q->buf->index_mask = q->index_mask; in rxe_queue_init()
75 if (srq && (attr->srq_limit > srq->rq.queue->buf->index_mask)) { in rxe_srq_chk_attr()78 srq->rq.queue->buf->index_mask); in rxe_srq_chk_attr()
501 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
46 uint32_t index_mask = 0; in radeon_encoder_clones() local51 return index_mask; in radeon_encoder_clones()54 return index_mask; in radeon_encoder_clones()57 return index_mask; in radeon_encoder_clones()71 index_mask |= (1 << count); in radeon_encoder_clones()73 return index_mask; in radeon_encoder_clones()
563 int index_mask = 0; in gma_connector_clones() local571 index_mask |= (1 << entry); in gma_connector_clones()574 return index_mask; in gma_connector_clones()
15323 int index_mask = 0; in intel_encoder_clones() local15328 index_mask |= (1 << entry); in intel_encoder_clones()15333 return index_mask; in intel_encoder_clones()