Searched refs:num_segs (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper.c | 835 int size, num_segs = 0, wqe_pcnt, pkt_pcnt; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local 873 num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 875 if (num_segs == 0) in __cvmx_helper_errata_fix_ipd_ptr_alignment() 878 num_segs += 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 882 ((num_segs - 1) * FIX_IPD_NON_FIRST_BUFF_PAYLOAD_BYTES) - in __cvmx_helper_errata_fix_ipd_ptr_alignment() 899 g_buffer.s.size = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 919 for (i = 0; i < num_segs; i++) { in __cvmx_helper_errata_fix_ipd_ptr_alignment() 924 if (i == (num_segs - 1)) in __cvmx_helper_errata_fix_ipd_ptr_alignment() 933 pko_command.s.segs = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 1002 if (num_segs) in __cvmx_helper_errata_fix_ipd_ptr_alignment() [all …]
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci-mem.c | 131 unsigned int num_segs) in xhci_link_rings() argument 141 ring->num_segs += num_segs; in xhci_link_rings() 142 ring->num_trbs_free += (TRBS_PER_SEGMENT - 1) * num_segs; in xhci_link_rings() 314 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_initialize_ring_info() 320 unsigned int num_segs, unsigned int cycle_state, in xhci_alloc_segments_for_ring() argument 328 num_segs--; in xhci_alloc_segments_for_ring() 331 while (num_segs > 0) { in xhci_alloc_segments_for_ring() 347 num_segs--; in xhci_alloc_segments_for_ring() 363 unsigned int num_segs, unsigned int cycle_state, in xhci_ring_alloc() argument 374 ring->num_segs = num_segs; in xhci_ring_alloc() [all …]
|
D | xhci-trace.h | 445 __field(unsigned int, num_segs) 454 __entry->num_segs = ring->num_segs; 468 __entry->num_segs,
|
D | xhci-debugfs.c | 218 for (i = 0; i < ring->num_segs; i++) { in xhci_ring_trb_show()
|
D | xhci.h | 1587 unsigned int num_segs; member 1980 unsigned int num_segs, unsigned int cycle_state,
|
D | xhci.c | 875 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_clear_command_ring()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | swap.h | 47 __le32 num_segs; member
|
D | swap.c | 128 seg_info->seg_hw_info.num_segs = in ath10k_swap_code_seg_alloc()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 8096 int num_segs, sb_idx, prod_offset; in bnx2x_init_hw_func() local 8130 num_segs = CHIP_INT_MODE_IS_BC(bp) ? in bnx2x_init_hw_func() 8134 num_segs; in bnx2x_init_hw_func() 8136 for (i = 0; i < num_segs; i++) { in bnx2x_init_hw_func() 8149 num_segs = CHIP_INT_MODE_IS_BC(bp) ? in bnx2x_init_hw_func() 8165 for (i = 0; i < (num_segs * E1HVN_MAX); in bnx2x_init_hw_func()
|