Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci-mem.c219 struct xhci_segment *first_seg, in xhci_update_stream_segment_mapping() argument
230 seg = first_seg; in xhci_update_stream_segment_mapping()
239 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
245 seg = first_seg; in xhci_update_stream_segment_mapping()
251 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
263 seg = ring->first_seg; in xhci_remove_stream_mapping()
267 } while (seg != ring->first_seg); in xhci_remove_stream_mapping()
273 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
284 if (ring->first_seg) { in xhci_ring_free()
287 xhci_free_segments_for_ring(xhci, ring->first_seg); in xhci_ring_free()
[all …]
Dxhci-debugfs.c216 struct xhci_segment *seg = ring->first_seg; in xhci_ring_trb_show()
Dxhci.c42 struct xhci_segment *seg = ring->first_seg; in td_on_ring()
50 } while (seg && seg != ring->first_seg); in td_on_ring()
870 ring->deq_seg = ring->first_seg; in xhci_clear_command_ring()
871 ring->dequeue = ring->first_seg->trbs; in xhci_clear_command_ring()
Dxhci.h1573 struct xhci_segment *first_seg; member
Dxhci-ring.c98 return last_trb_on_seg(seg, trb) && (seg->next == ring->first_seg); in last_trb_on_ring()
/Linux-v4.19/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-v4.19/drivers/crypto/inside-secure/
Dsafexcel_ring.c130 cdesc->first_seg = first; in safexcel_add_cdesc()
171 rdesc->first_seg = first; in safexcel_add_rdesc()
Dsafexcel.h408 u8 first_seg:1; member
482 u8 first_seg:1; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_mr.c230 ret = hns_roce_alloc_mtt_range(hr_dev, mtt->order, &mtt->first_seg, in hns_roce_mtt_init()
246 hns_roce_buddy_free(&mr_table->mtt_buddy, mtt->first_seg, in hns_roce_mtt_cleanup()
249 mtt->first_seg, in hns_roce_mtt_cleanup()
250 mtt->first_seg + (1 << mtt->order) - 1); in hns_roce_mtt_cleanup()
252 hns_roce_buddy_free(&mr_table->mtt_cqe_buddy, mtt->first_seg, in hns_roce_mtt_cleanup()
255 mtt->first_seg, in hns_roce_mtt_cleanup()
256 mtt->first_seg + (1 << mtt->order) - 1); in hns_roce_mtt_cleanup()
733 mtt->first_seg + s / hr_dev->caps.mtt_entry_sz, in hns_roce_write_mtt_chunk()
Dhns_roce_cq.c105 hr_mtt->first_seg, &dma_handle); in hns_roce_cq_alloc()
Dhns_roce_device.h290 unsigned long first_seg; member
Dhns_roce_hw_v1.c2628 hr_qp->mtt.first_seg, &dma_handle); in hns_roce_v1_m_sqp()
2779 hr_qp->mtt.first_seg, &dma_handle); in hns_roce_v1_m_qp()
Dhns_roce_hw_v2.c2990 hr_qp->mtt.first_seg, &dma_handle); in modify_qp_init_to_rtr()
3255 hr_qp->mtt.first_seg, &dma_handle); in modify_qp_rtr_to_rts()
/Linux-v4.19/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-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dtrx.c310 u8 first_seg; in rtl8822be_rx_check_dma_ok() local
320 first_seg = (u8)GET_RX_BUFFER_DESC_FS(header_desc); in rtl8822be_rx_check_dma_ok()
329 } while (total_len == 0 && first_seg == 0 && last_seg == 0); in rtl8822be_rx_check_dma_ok()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmr.c219 u32 first_seg; in __mlx4_free_mtt_range() local
224 first_seg = offset / (1 << log_mtts_per_seg); in __mlx4_free_mtt_range()
226 mlx4_buddy_free(&mr_table->mtt_buddy, first_seg, seg_order); in __mlx4_free_mtt_range()
Dmlx4.h984 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 first_seg, int order);
/Linux-v4.19/drivers/net/ethernet/micrel/
Dksz884x.c903 u32 first_seg:1; member
923 u32 first_seg:1;
3986 hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; in hw_alloc_pkt()