Searched refs:index_mask (Results 1 – 7 of 7) sorted by relevance
60 __u32 index_mask; member76 unsigned int index_mask; member101 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 …]
109 q->index_mask = num_slots - 1; in rxe_queue_init()118 q->buf->index_mask = q->index_mask; in rxe_queue_init()
76 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()
370 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
49 uint32_t index_mask = 0; in radeon_encoder_clones() local54 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()
547 int index_mask = 0; in gma_connector_clones() local555 index_mask |= (1 << entry); in gma_connector_clones()558 return index_mask; in gma_connector_clones()
15230 int index_mask = 0; in intel_encoder_clones() local15235 index_mask |= (1 << entry); in intel_encoder_clones()15240 return index_mask; in intel_encoder_clones()