Home
last modified time | relevance | path

Searched refs:last_seg (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c153 if (ring->type != TYPE_EVENT && ring->enq_seg == ring->last_seg) { in cdnsp_link_rings()
154 ring->last_seg->trbs[TRBS_PER_SEGMENT - 1].link.control &= in cdnsp_link_rings()
158 ring->last_seg = last; in cdnsp_link_rings()
230 struct cdnsp_segment *last_seg, in cdnsp_update_stream_segment_mapping() argument
243 if (seg == last_seg) in cdnsp_update_stream_segment_mapping()
277 ring->first_seg, ring->last_seg, GFP_ATOMIC); in cdnsp_update_stream_mapping()
392 &ring->last_seg, num_segs, in cdnsp_ring_alloc()
399 ring->last_seg->trbs[TRBS_PER_SEGMENT - 1].link.control |= in cdnsp_ring_alloc()
H A Dcdnsp-gadget.h1265 struct cdnsp_segment *last_seg; member
/linux/drivers/usb/host/
H A Dxhci-mem.c78 ring->last_seg->next = NULL; in xhci_ring_segments_free()
129 ring->last_seg->trbs[TRBS_PER_SEGMENT - 1].link.control |= cpu_to_le32(LINK_TOGGLE); in xhci_initialize_ring_segments()
152 src->last_seg->next = dst->enq_seg->next; in xhci_link_rings()
157 xhci_set_link_trb(src->last_seg, chain_links); in xhci_link_rings()
161 if (dst->enq_seg == dst->last_seg) { in xhci_link_rings()
163 dst->last_seg->trbs[TRBS_PER_SEGMENT-1].link.control in xhci_link_rings()
166 dst->last_seg = src->last_seg; in xhci_link_rings()
168 src->last_seg->trbs[TRBS_PER_SEGMENT-1].link.control &= ~cpu_to_le32(LINK_TOGGLE); in xhci_link_rings()
171 for (seg = dst->enq_seg; seg != dst->last_seg; seg = seg->next) in xhci_link_rings()
352 ring->last_seg = prev; in xhci_alloc_segments_for_ring()
[all …]
H A Dxhci-dbgcap.c518 ring->last_seg = seg; in xhci_dbc_ring_alloc()
H A Dxhci.h1364 struct xhci_segment *last_seg; member
/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dpio.c122 bool last_seg; member
860 ibi->last_seg = ibi_status & IBI_LAST_STATUS; in hci_pio_prep_new_ibi()
907 if (!ibi->slot && !ibi->seg_cnt && ibi->last_seg) in hci_pio_process_ibi()
920 if (ibi->last_seg) { in hci_pio_process_ibi()
940 if (ibi->last_seg) in hci_pio_process_ibi()
957 ibi->last_seg = ibi_status & IBI_LAST_STATUS; in hci_pio_process_ibi()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c196 cdesc->last_seg = last; in safexcel_add_cdesc()
241 rdesc->last_seg = last; in safexcel_add_rdesc()
H A Dsafexcel.h523 u8 last_seg:1; member
618 u8 last_seg:1; member
H A Dsafexcel.c904 if (likely((!rdesc->last_seg) || /* Rest only valid if last seg! */ in safexcel_rdesc_check_errors()
970 } while (!cdesc->last_seg); in safexcel_complete()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dtrx.c433 u8 last_seg = 0; in rtl92ee_rx_check_dma_ok() local
445 last_seg = (u8)get_rx_buffer_desc_ls(header_desc); in rtl92ee_rx_check_dma_ok()
447 while (total_len == 0 && first_seg == 0 && last_seg == 0) { in rtl92ee_rx_check_dma_ok()
451 last_seg = (u8)get_rx_buffer_desc_ls(header_desc); in rtl92ee_rx_check_dma_ok()
/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c829 u32 last_seg:1; member
847 u32 last_seg:1;
3634 cur->sw.buf.tx.last_seg = 1; in hw_send_pkt()