cdnsp_last_trb_on_seg
if (!cdnsp_last_trb_on_seg(event_deq_seg, event)) {
if (cdnsp_last_trb_on_seg(segment, event)) {
if (!cdnsp_last_trb_on_seg(event_deq_seg, event)) {
bool cdnsp_last_trb_on_seg(struct cdnsp_segment *seg, union cdnsp_trb *trb);
return cdnsp_last_trb_on_seg(seg, trb) && (seg->next == ring->first_seg);
if (!cdnsp_last_trb_on_seg(ring->deq_seg, ring->dequeue)) {