num_segs 788 arch/mips/cavium-octeon/executive/cvmx-helper.c int size, num_segs = 0, wqe_pcnt, pkt_pcnt; num_segs 826 arch/mips/cavium-octeon/executive/cvmx-helper.c num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; num_segs 828 arch/mips/cavium-octeon/executive/cvmx-helper.c if (num_segs == 0) num_segs 831 arch/mips/cavium-octeon/executive/cvmx-helper.c num_segs += 1; num_segs 835 arch/mips/cavium-octeon/executive/cvmx-helper.c ((num_segs - 1) * FIX_IPD_NON_FIRST_BUFF_PAYLOAD_BYTES) - num_segs 852 arch/mips/cavium-octeon/executive/cvmx-helper.c g_buffer.s.size = num_segs; num_segs 872 arch/mips/cavium-octeon/executive/cvmx-helper.c for (i = 0; i < num_segs; i++) { num_segs 877 arch/mips/cavium-octeon/executive/cvmx-helper.c if (i == (num_segs - 1)) num_segs 886 arch/mips/cavium-octeon/executive/cvmx-helper.c pko_command.s.segs = num_segs; num_segs 955 arch/mips/cavium-octeon/executive/cvmx-helper.c if (num_segs) num_segs 958 arch/mips/cavium-octeon/executive/cvmx-helper.c return !!num_segs; num_segs 3655 drivers/infiniband/hw/hfi1/tid_rdma.c u32 bth0, psn, len, rkey, num_segs; num_segs 3679 drivers/infiniband/hw/hfi1/tid_rdma.c num_segs = DIV_ROUND_UP(len, qpriv->tid_rdma.local.max_len); num_segs 3737 drivers/infiniband/hw/hfi1/tid_rdma.c qp->r_psn += num_segs - 1; num_segs 3744 drivers/infiniband/hw/hfi1/tid_rdma.c req->n_flows = min_t(u16, num_segs, qpriv->tid_rdma.local.max_write); num_segs 3753 drivers/infiniband/hw/hfi1/tid_rdma.c req->total_segs = num_segs; num_segs 8095 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int num_segs, sb_idx, prod_offset; num_segs 8129 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c num_segs = CHIP_INT_MODE_IS_BC(bp) ? num_segs 8133 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c num_segs; num_segs 8135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c for (i = 0; i < num_segs; i++) { num_segs 8148 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c num_segs = CHIP_INT_MODE_IS_BC(bp) ? num_segs 8164 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c for (i = 0; i < (num_segs * E1HVN_MAX); num_segs 115 drivers/net/wireless/ath/ath10k/swap.c seg_info->seg_hw_info.num_segs = num_segs 36 drivers/net/wireless/ath/ath10k/swap.h __le32 num_segs; num_segs 218 drivers/usb/host/xhci-debugfs.c for (i = 0; i < ring->num_segs; i++) { num_segs 131 drivers/usb/host/xhci-mem.c unsigned int num_segs) num_segs 141 drivers/usb/host/xhci-mem.c ring->num_segs += num_segs; num_segs 142 drivers/usb/host/xhci-mem.c ring->num_trbs_free += (TRBS_PER_SEGMENT - 1) * num_segs; num_segs 314 drivers/usb/host/xhci-mem.c ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; num_segs 320 drivers/usb/host/xhci-mem.c unsigned int num_segs, unsigned int cycle_state, num_segs 328 drivers/usb/host/xhci-mem.c num_segs--; num_segs 331 drivers/usb/host/xhci-mem.c while (num_segs > 0) { num_segs 347 drivers/usb/host/xhci-mem.c num_segs--; num_segs 363 drivers/usb/host/xhci-mem.c unsigned int num_segs, unsigned int cycle_state, num_segs 374 drivers/usb/host/xhci-mem.c ring->num_segs = num_segs; num_segs 378 drivers/usb/host/xhci-mem.c if (num_segs == 0) num_segs 382 drivers/usb/host/xhci-mem.c &ring->last_seg, num_segs, cycle_state, type, num_segs 419 drivers/usb/host/xhci-mem.c unsigned int num_segs; num_segs 427 drivers/usb/host/xhci-mem.c num_segs = ring->num_segs > num_segs_needed ? num_segs 428 drivers/usb/host/xhci-mem.c ring->num_segs : num_segs_needed; num_segs 431 drivers/usb/host/xhci-mem.c num_segs, ring->cycle_state, ring->type, num_segs 451 drivers/usb/host/xhci-mem.c xhci_link_rings(xhci, ring, first, last, num_segs); num_segs 455 drivers/usb/host/xhci-mem.c ring->num_segs); num_segs 1807 drivers/usb/host/xhci-mem.c size = sizeof(struct xhci_erst_entry) * evt_ring->num_segs; num_segs 1813 drivers/usb/host/xhci-mem.c erst->num_entries = evt_ring->num_segs; num_segs 1816 drivers/usb/host/xhci-mem.c for (val = 0; val < evt_ring->num_segs; val++) { num_segs 464 drivers/usb/host/xhci-trace.h __field(unsigned int, num_segs) num_segs 473 drivers/usb/host/xhci-trace.h __entry->num_segs = ring->num_segs; num_segs 487 drivers/usb/host/xhci-trace.h __entry->num_segs, num_segs 869 drivers/usb/host/xhci.c ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; num_segs 1610 drivers/usb/host/xhci.h unsigned int num_segs; num_segs 2008 drivers/usb/host/xhci.h unsigned int num_segs, unsigned int cycle_state,