Home
last modified time | relevance | path

Searched refs:index_mask (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/sw/rxe/
Drxe_queue.h60 __u32 index_mask; member
76 unsigned int index_mask; member
107 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 …]
Drxe_queue.c126 q->index_mask = num_slots - 1; in rxe_queue_init()
135 q->buf->index_mask = q->index_mask; in rxe_queue_init()
Drxe_srq.c75 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()
Drxe_verbs.c501 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
/drivers/gpu/drm/radeon/
Dradeon_encoders.c46 uint32_t index_mask = 0; in radeon_encoder_clones() local
51 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()
/drivers/gpu/drm/gma500/
Dpsb_intel_display.c563 int index_mask = 0; in gma_connector_clones() local
571 index_mask |= (1 << entry); in gma_connector_clones()
574 return index_mask; in gma_connector_clones()
/drivers/gpu/drm/i915/
Dintel_display.c15323 int index_mask = 0; in intel_encoder_clones() local
15328 index_mask |= (1 << entry); in intel_encoder_clones()
15333 return index_mask; in intel_encoder_clones()