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
101 return (index + 1) & q->buf->index_mask; in next_index()
107 & q->index_mask) == 0; in queue_empty()
113 & q->index_mask) == 0; in queue_full()
119 & q->index_mask; in advance_producer()
125 & q->index_mask; in advance_consumer()
130 return q->buf->data + ((q->buf->producer_index & q->index_mask) in producer_addr()
136 return q->buf->data + ((q->buf->consumer_index & q->index_mask) in consumer_addr()
152 return q->buf->data + ((index & q->index_mask) in addr_from_index()
[all …]
Drxe_queue.c109 q->index_mask = num_slots - 1; in rxe_queue_init()
118 q->buf->index_mask = q->index_mask; in rxe_queue_init()
Drxe_srq.c76 if (srq && (attr->srq_limit > srq->rq.queue->buf->index_mask)) { in rxe_srq_chk_attr()
79 srq->rq.queue->buf->index_mask); in rxe_srq_chk_attr()
Drxe_verbs.c370 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
/drivers/gpu/drm/radeon/
Dradeon_encoders.c49 uint32_t index_mask = 0; in radeon_encoder_clones() local
54 return index_mask; in radeon_encoder_clones()
57 return index_mask; in radeon_encoder_clones()
60 return index_mask; in radeon_encoder_clones()
74 index_mask |= (1 << count); in radeon_encoder_clones()
76 return index_mask; in radeon_encoder_clones()
/drivers/gpu/drm/gma500/
Dpsb_intel_display.c547 int index_mask = 0; in gma_connector_clones() local
555 index_mask |= (1 << entry); in gma_connector_clones()
558 return index_mask; in gma_connector_clones()
/drivers/gpu/drm/i915/display/
Dintel_display.c15230 int index_mask = 0; in intel_encoder_clones() local
15235 index_mask |= (1 << entry); in intel_encoder_clones()
15240 return index_mask; in intel_encoder_clones()