Home
last modified time | relevance | path

Searched refs:first_seg (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mem.c222 struct xhci_segment *first_seg, in xhci_update_stream_segment_mapping()
233 seg = first_seg; in xhci_update_stream_segment_mapping()
242 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
248 seg = first_seg; in xhci_update_stream_segment_mapping()
254 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
266 seg = ring->first_seg; in xhci_remove_stream_mapping()
270 } while (seg != ring->first_seg); in xhci_remove_stream_mapping()
276 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
287 if (ring->first_seg) { in xhci_ring_free()
290 xhci_free_segments_for_ring(xhci, ring->first_seg); in xhci_ring_free()
219 xhci_update_stream_segment_mapping( struct radix_tree_root *trb_address_map, struct xhci_ring *ring, struct xhci_segment *first_seg, struct xhci_segment *last_seg, gfp_t mem_flags) xhci_update_stream_segment_mapping() argument
[all...]
H A Dxhci-dbgcap.c31 if (ring->first_seg && ring->first_seg->trbs) { in dbc_ring_free()
33 ring->first_seg->trbs, in dbc_ring_free()
34 ring->first_seg->dma); in dbc_ring_free()
35 kfree(ring->first_seg); in dbc_ring_free()
389 erst->entries[0].seg_addr = cpu_to_le64(evt_ring->first_seg->dma); in dbc_erst_alloc()
440 ring->first_seg = seg; in xhci_dbc_ring_alloc()
H A Dxhci-debugfs.c219 struct xhci_segment *seg = ring->first_seg; in xhci_ring_trb_show()
H A Dxhci.c44 struct xhci_segment *seg = ring->first_seg; in td_on_ring()
52 } while (seg && seg != ring->first_seg); in td_on_ring()
891 ring->deq_seg = ring->first_seg; in xhci_clear_command_ring()
892 ring->dequeue = ring->first_seg->trbs; in xhci_clear_command_ring()
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-mem.c229 struct cdnsp_segment *first_seg, in cdnsp_update_stream_segment_mapping()
237 seg = first_seg; in cdnsp_update_stream_segment_mapping()
246 } while (seg != first_seg); in cdnsp_update_stream_segment_mapping()
252 seg = first_seg; in cdnsp_update_stream_segment_mapping()
258 } while (seg != first_seg); in cdnsp_update_stream_segment_mapping()
267 seg = ring->first_seg; in cdnsp_remove_stream_mapping()
271 } while (seg != ring->first_seg); in cdnsp_remove_stream_mapping()
277 ring->first_seg, ring->last_seg, GFP_ATOMIC); in cdnsp_update_stream_mapping()
287 if (ring->first_seg) { in cdnsp_ring_free()
291 cdnsp_free_segments_for_ring(pdev, ring->first_seg); in cdnsp_ring_free()
227 cdnsp_update_stream_segment_mapping(struct radix_tree_root *trb_address_map, struct cdnsp_ring *ring, struct cdnsp_segment *first_seg, struct cdnsp_segment *last_seg, gfp_t mem_flags) cdnsp_update_stream_segment_mapping() argument
[all...]
H A Dcdnsp-gadget.h1226 * @first_seg: First segment on transfer ring.
1250 struct cdnsp_segment *first_seg; member
H A Dcdnsp-gadget.c1371 seg = pdev->cmd_ring->first_seg; in cdnsp_clear_cmd_ring()
1381 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) | in cdnsp_clear_cmd_ring()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A 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 * de in mthca_mr_alloc()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c44 u32 first_seg; member
224 mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy); in __mthca_alloc_mtt()
225 if (mtt->first_seg == -1) { in __mthca_alloc_mtt()
243 mthca_buddy_free(mtt->buddy, mtt->first_seg, mtt->order); in mthca_free_mtt()
246 mtt->first_seg, in mthca_free_mtt()
247 mtt->first_seg + (1 << mtt->order) - 1); in mthca_free_mtt()
267 mtt->first_seg * dev->limits.mtt_seg_size + in __mthca_write_mtt()
320 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
341 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
475 mr->mtt->first_seg * de in mthca_mr_alloc()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-mem.c222 struct xhci_segment *first_seg, in xhci_update_stream_segment_mapping()
233 seg = first_seg; in xhci_update_stream_segment_mapping()
242 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
248 seg = first_seg; in xhci_update_stream_segment_mapping()
254 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
266 seg = ring->first_seg; in xhci_remove_stream_mapping()
270 } while (seg != ring->first_seg); in xhci_remove_stream_mapping()
276 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
287 if (ring->first_seg) { in xhci_ring_free()
290 xhci_free_segments_for_ring(xhci, ring->first_seg); in xhci_ring_free()
219 xhci_update_stream_segment_mapping( struct radix_tree_root *trb_address_map, struct xhci_ring *ring, struct xhci_segment *first_seg, struct xhci_segment *last_seg, gfp_t mem_flags) xhci_update_stream_segment_mapping() argument
[all...]
H A Dxhci-dbgcap.c31 if (ring->first_seg && ring->first_seg->trbs) { in dbc_ring_free()
33 ring->first_seg->trbs, in dbc_ring_free()
34 ring->first_seg->dma); in dbc_ring_free()
35 kfree(ring->first_seg); in dbc_ring_free()
389 erst->entries[0].seg_addr = cpu_to_le64(evt_ring->first_seg->dma); in dbc_erst_alloc()
440 ring->first_seg = seg; in xhci_dbc_ring_alloc()
H A Dxhci-debugfs.c219 struct xhci_segment *seg = ring->first_seg; in xhci_ring_trb_show()
H A Dxhci.c43 struct xhci_segment *seg = ring->first_seg; in td_on_ring()
51 } while (seg && seg != ring->first_seg); in td_on_ring()
745 ring->deq_seg = ring->first_seg; in xhci_clear_command_ring()
746 ring->dequeue = ring->first_seg->trbs; in xhci_clear_command_ring()
/kernel/linux/linux-6.6/net/ipv6/
H A Dseg6_iptunnel.c206 __u8 first_seg = osrh->first_segment; in seg6_do_srh_encap_red() local
219 if (first_seg > 0) { in seg6_do_srh_encap_red()
261 hdr->daddr = osrh->segments[first_seg]; in seg6_do_srh_encap_red()
275 if (unlikely(!first_seg)) { in seg6_do_srh_encap_red()
284 tlv_offset = sizeof(*osrh) + (first_seg + 1) * sizeof(struct in6_addr); in seg6_do_srh_encap_red()
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c197 cdesc->first_seg = first; in safexcel_add_cdesc()
242 rdesc->first_seg = first; in safexcel_add_rdesc()
H A Dsafexcel.h523 u8 first_seg:1; member
618 u8 first_seg:1; member
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c197 cdesc->first_seg = first; in safexcel_add_cdesc()
242 rdesc->first_seg = first; in safexcel_add_rdesc()
H A Dsafexcel.h524 u8 first_seg:1; member
619 u8 first_seg:1; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dtrx.c432 u8 first_seg = 0; in rtl92ee_rx_check_dma_ok() local
443 first_seg = (u8)get_rx_buffer_desc_fs(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()
450 first_seg = (u8)get_rx_buffer_desc_fs(header_desc); in rtl92ee_rx_check_dma_ok()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dtrx.c432 u8 first_seg = 0; in rtl92ee_rx_check_dma_ok() local
443 first_seg = (u8)get_rx_buffer_desc_fs(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()
450 first_seg = (u8)get_rx_buffer_desc_fs(header_desc); in rtl92ee_rx_check_dma_ok()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dmlx4.h984 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 first_seg, int order);
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dmlx4.h992 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 first_seg, int order);
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
H A Dksz884x.c895 u32 first_seg:1; member
915 u32 first_seg:1;
3980 hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; in hw_alloc_pkt()

Completed in 58 milliseconds

12