Lines Matching refs:descbits
2077 struct prb_desc *descs, unsigned int descbits, in prb_init() argument
2080 memset(descs, 0, _DESCS_COUNT(descbits) * sizeof(descs[0])); in prb_init()
2081 memset(infos, 0, _DESCS_COUNT(descbits) * sizeof(infos[0])); in prb_init()
2083 rb->desc_ring.count_bits = descbits; in prb_init()
2086 atomic_long_set(&rb->desc_ring.head_id, DESC0_ID(descbits)); in prb_init()
2087 atomic_long_set(&rb->desc_ring.tail_id, DESC0_ID(descbits)); in prb_init()
2088 atomic_long_set(&rb->desc_ring.last_finalized_id, DESC0_ID(descbits)); in prb_init()
2097 atomic_long_set(&(descs[_DESCS_COUNT(descbits) - 1].state_var), DESC0_SV(descbits)); in prb_init()
2098 descs[_DESCS_COUNT(descbits) - 1].text_blk_lpos.begin = FAILED_LPOS; in prb_init()
2099 descs[_DESCS_COUNT(descbits) - 1].text_blk_lpos.next = FAILED_LPOS; in prb_init()
2101 infos[0].seq = -(u64)_DESCS_COUNT(descbits); in prb_init()
2102 infos[_DESCS_COUNT(descbits) - 1].seq = 0; in prb_init()