Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rxe/
Drxe_queue.h33 __u32 index_mask; member
49 unsigned int index_mask; member
74 return (index + 1) & q->buf->index_mask; in next_index()
80 & q->index_mask) == 0; in queue_empty()
86 & q->index_mask) == 0; in queue_full()
92 & q->index_mask; in advance_producer()
98 & q->index_mask; in advance_consumer()
103 return q->buf->data + ((q->buf->producer_index & q->index_mask) in producer_addr()
109 return q->buf->data + ((q->buf->consumer_index & q->index_mask) in consumer_addr()
125 return q->buf->data + ((index & q->index_mask) in addr_from_index()
[all …]
Drxe_queue.c85 q->index_mask = num_slots - 1; in rxe_queue_init()
94 q->buf->index_mask = q->index_mask; in rxe_queue_init()
Drxe_srq.c49 if (srq && (attr->srq_limit > srq->rq.queue->buf->index_mask)) { in rxe_srq_chk_attr()
52 srq->rq.queue->buf->index_mask); in rxe_srq_chk_attr()
Drxe_verbs.c337 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
/drivers/gpu/drm/radeon/
Dradeon_encoders.c50 uint32_t index_mask = 0; in radeon_encoder_clones() local
55 return index_mask; in radeon_encoder_clones()
58 return index_mask; in radeon_encoder_clones()
61 return index_mask; in radeon_encoder_clones()
75 index_mask |= (1 << count); in radeon_encoder_clones()
77 return index_mask; in radeon_encoder_clones()
/drivers/thermal/qcom/
Dtsens.c217 u32 index_mask = 0, index_clear = 0; in tsens_set_interrupt_v2() local
228 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
232 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
236 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
242 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2()
244 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2()
/drivers/gpu/drm/gma500/
Dpsb_intel_display.c552 int index_mask = 0; in gma_connector_clones() local
560 index_mask |= (1 << entry); in gma_connector_clones()
563 return index_mask; in gma_connector_clones()