Searched refs:index_mask (Results 1 – 7 of 7) sorted by relevance
33 __u32 index_mask; member49 unsigned int index_mask; member74 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 …]
85 q->index_mask = num_slots - 1; in rxe_queue_init()94 q->buf->index_mask = q->index_mask; in rxe_queue_init()
49 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()
337 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
50 uint32_t index_mask = 0; in radeon_encoder_clones() local55 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()
217 u32 index_mask = 0, index_clear = 0; in tsens_set_interrupt_v2() local228 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()
552 int index_mask = 0; in gma_connector_clones() local560 index_mask |= (1 << entry); in gma_connector_clones()563 return index_mask; in gma_connector_clones()