Home
last modified time | relevance | path

Searched refs:first_seg (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/usb/host/
Dxhci-mem.c218 struct xhci_segment *first_seg, in xhci_update_stream_segment_mapping() argument
229 seg = first_seg; in xhci_update_stream_segment_mapping()
238 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
244 seg = first_seg; in xhci_update_stream_segment_mapping()
250 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
262 seg = ring->first_seg; in xhci_remove_stream_mapping()
266 } while (seg != ring->first_seg); in xhci_remove_stream_mapping()
272 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
281 if (ring->first_seg) { in xhci_ring_free()
284 xhci_free_segments_for_ring(xhci, ring->first_seg); in xhci_ring_free()
[all …]
Dxhci-dbg.c375 struct xhci_segment *first_seg = ring->first_seg; in xhci_debug_ring() local
376 xhci_debug_segment(xhci, first_seg); in xhci_debug_ring()
382 for (seg = first_seg->next; seg != first_seg; seg = seg->next) in xhci_debug_ring()
Dxhci.h1377 struct xhci_segment *first_seg; member
Dxhci.c831 ring->deq_seg = ring->first_seg; in xhci_clear_command_ring()
832 ring->dequeue = ring->first_seg->trbs; in xhci_clear_command_ring()
Dxhci-ring.c98 (seg->next == xhci->event_ring->first_seg); in last_trb_on_last_seg()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_mr.c44 u32 first_seg; member
226 mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy); in __mthca_alloc_mtt()
227 if (mtt->first_seg == -1) { in __mthca_alloc_mtt()
245 mthca_buddy_free(mtt->buddy, mtt->first_seg, mtt->order); in mthca_free_mtt()
248 mtt->first_seg, in mthca_free_mtt()
249 mtt->first_seg + (1 << mtt->order) - 1); in mthca_free_mtt()
269 mtt->first_seg * dev->limits.mtt_seg_size + in __mthca_write_mtt()
322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
343 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
478 mr->mtt->first_seg * dev->limits.mtt_seg_size); in mthca_mr_alloc()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c450 u8 first_seg = 0; in rtl92ee_rx_check_dma_ok() local
460 first_seg = (u8)GET_RX_BUFFER_DESC_FS(header_desc); in rtl92ee_rx_check_dma_ok()
464 while (total_len == 0 && first_seg == 0 && last_seg == 0) { in rtl92ee_rx_check_dma_ok()
467 first_seg = (u8)GET_RX_BUFFER_DESC_FS(header_desc); in rtl92ee_rx_check_dma_ok()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmr.c222 u32 first_seg; in __mlx4_free_mtt_range() local
227 first_seg = offset / (1 << log_mtts_per_seg); in __mlx4_free_mtt_range()
229 mlx4_buddy_free(&mr_table->mtt_buddy, first_seg, seg_order); in __mlx4_free_mtt_range()
Dmlx4.h965 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 first_seg, int order);
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c903 u32 first_seg:1; member
923 u32 first_seg:1;
3989 hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; in hw_alloc_pkt()