/linux-6.6.21/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 140 unsigned int num_segs) in cdnsp_link_rings() argument 150 ring->num_segs += num_segs; in cdnsp_link_rings() 151 ring->num_trbs_free += (TRBS_PER_SEGMENT - 1) * num_segs; in cdnsp_link_rings() 318 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in cdnsp_initialize_ring_info() 325 unsigned int num_segs, in cdnsp_alloc_segments_for_ring() argument 338 num_segs--; in cdnsp_alloc_segments_for_ring() 342 while (num_segs > 0) { in cdnsp_alloc_segments_for_ring() 355 num_segs--; in cdnsp_alloc_segments_for_ring() 371 unsigned int num_segs, in cdnsp_ring_alloc() argument 383 ring->num_segs = num_segs; in cdnsp_ring_alloc() [all …]
|
D | cdnsp-trace.h | 707 __field(unsigned int, num_segs) 716 __entry->num_segs = ring->num_segs; 733 __entry->num_segs,
|
D | cdnsp-gadget.h | 1262 unsigned int num_segs; member
|
D | cdnsp-gadget.c | 1372 for (i = 0; i < pdev->cmd_ring->num_segs; i++) { in cdnsp_clear_cmd_ring()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 108 for (seg = 0; seg < sg->num_segs; seg++) { in otx2_dma_unmap_skb_frags() 112 sg->num_segs = 0; in otx2_dma_unmap_skb_frags() 615 struct sk_buff *skb, int num_segs, int *offset) in otx2_sqe_add_sg() argument 622 sq->sg[sq->head].num_segs = 0; in otx2_sqe_add_sg() 624 for (seg = 0; seg < num_segs; seg++) { in otx2_sqe_add_sg() 635 if ((num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_add_sg() 651 sq->sg[sq->head].num_segs++; in otx2_sqe_add_sg() 802 int num_segs = skb_shinfo(skb)->nr_frags + 1; in otx2_dma_map_tso_skb() local 807 sg->num_segs = 0; in otx2_dma_map_tso_skb() 812 for (seg = 0; seg < num_segs; seg++) { in otx2_dma_map_tso_skb() [all …]
|
D | otx2_txrx.h | 75 u16 num_segs; member
|
/linux-6.6.21/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper.c | 794 int size, num_segs = 0, wqe_pcnt, pkt_pcnt; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local 832 num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 834 if (num_segs == 0) in __cvmx_helper_errata_fix_ipd_ptr_alignment() 837 num_segs += 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 841 ((num_segs - 1) * FIX_IPD_NON_FIRST_BUFF_PAYLOAD_BYTES) - in __cvmx_helper_errata_fix_ipd_ptr_alignment() 858 g_buffer.s.size = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 878 for (i = 0; i < num_segs; i++) { in __cvmx_helper_errata_fix_ipd_ptr_alignment() 883 if (i == (num_segs - 1)) in __cvmx_helper_errata_fix_ipd_ptr_alignment() 892 pko_command.s.segs = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 961 if (num_segs) in __cvmx_helper_errata_fix_ipd_ptr_alignment() [all …]
|
/linux-6.6.21/drivers/usb/host/ |
D | xhci-mem.c | 129 unsigned int num_segs) in xhci_link_rings() argument 145 ring->num_segs += num_segs; in xhci_link_rings() 317 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_initialize_ring_info() 323 unsigned int num_segs, unsigned int cycle_state, in xhci_alloc_segments_for_ring() argument 337 num_segs--; in xhci_alloc_segments_for_ring() 340 while (num_segs > 0) { in xhci_alloc_segments_for_ring() 356 num_segs--; in xhci_alloc_segments_for_ring() 372 unsigned int num_segs, unsigned int cycle_state, in xhci_ring_alloc() argument 383 ring->num_segs = num_segs; in xhci_ring_alloc() 387 if (num_segs == 0) in xhci_ring_alloc() [all …]
|
D | xhci-trace.h | 458 __field(unsigned int, num_segs) 466 __entry->num_segs = ring->num_segs; 479 __entry->num_segs,
|
D | xhci-ring.c | 187 if (link_trb_count++ > ring->num_segs) { in inc_deq() 265 if (link_trb_count++ > ring->num_segs) { in inc_enq() 296 return ring->num_segs * (TRBS_PER_SEGMENT - 1); in xhci_num_trbs_free() 305 } while (i++ <= ring->num_segs); in xhci_num_trbs_free() 3290 if (link_trb_count++ > ep_ring->num_segs) { in prepare_ring()
|
D | xhci-debugfs.c | 221 for (i = 0; i < ring->num_segs; i++) { in xhci_ring_trb_show()
|
D | xhci.h | 1636 unsigned int num_segs; member 2077 unsigned int num_segs, unsigned int cycle_state,
|
D | xhci-dbgcap.c | 433 ring->num_segs = 1; in xhci_dbc_ring_alloc()
|
D | xhci.c | 750 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_clear_command_ring()
|
/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | swap.h | 36 __le32 num_segs; member
|
D | swap.c | 115 seg_info->seg_hw_info.num_segs = in ath10k_swap_code_seg_alloc()
|
/linux-6.6.21/include/trace/events/ |
D | rpcrdma.h | 1913 unsigned int num_segs 1916 TP_ARGS(rdma, remaining, seg_no, num_segs), 1921 __field(unsigned int, num_segs) 1929 __entry->num_segs = num_segs; 1936 __entry->seg_no, __entry->num_segs
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.c | 3668 u32 bth0, psn, len, rkey, num_segs; in hfi1_rc_rcv_tid_rdma_write_req() local 3692 num_segs = DIV_ROUND_UP(len, qpriv->tid_rdma.local.max_len); in hfi1_rc_rcv_tid_rdma_write_req() 3750 qp->r_psn += num_segs - 1; in hfi1_rc_rcv_tid_rdma_write_req() 3757 req->n_flows = min_t(u16, num_segs, qpriv->tid_rdma.local.max_write); in hfi1_rc_rcv_tid_rdma_write_req() 3766 req->total_segs = num_segs; in hfi1_rc_rcv_tid_rdma_write_req()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 8115 int num_segs, sb_idx, prod_offset; in bnx2x_init_hw_func() local 8149 num_segs = CHIP_INT_MODE_IS_BC(bp) ? in bnx2x_init_hw_func() 8153 num_segs; in bnx2x_init_hw_func() 8155 for (i = 0; i < num_segs; i++) { in bnx2x_init_hw_func() 8168 num_segs = CHIP_INT_MODE_IS_BC(bp) ? in bnx2x_init_hw_func() 8184 for (i = 0; i < (num_segs * E1HVN_MAX); in bnx2x_init_hw_func()
|