vl                 59 arch/arm64/include/asm/fpsimd.h static inline size_t sve_ffr_offset(int vl)
vl                 61 arch/arm64/include/asm/fpsimd.h 	return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET;
vl                115 arch/arm64/include/asm/fpsimd.h 				 unsigned long vl, unsigned long flags);
vl                104 arch/arm64/include/uapi/asm/ptrace.h 	__u16 vl; /* current vector length */
vl                136 arch/arm64/include/uapi/asm/sigcontext.h 	__u16 vl;
vl                163 arch/arm64/include/uapi/asm/sigcontext.h #define sve_vl_valid(vl)	__sve_vl_valid(vl)
vl                164 arch/arm64/include/uapi/asm/sigcontext.h #define sve_vq_from_vl(vl)	__sve_vq_from_vl(vl)
vl                 25 arch/arm64/include/uapi/asm/sve_context.h #define __sve_vl_valid(vl)			\
vl                 26 arch/arm64/include/uapi/asm/sve_context.h 	((vl) % __SVE_VQ_BYTES == 0 &&		\
vl                 27 arch/arm64/include/uapi/asm/sve_context.h 	 (vl) >= __SVE_VL_MIN &&		\
vl                 28 arch/arm64/include/uapi/asm/sve_context.h 	 (vl) <= __SVE_VL_MAX)
vl                 30 arch/arm64/include/uapi/asm/sve_context.h #define __sve_vq_from_vl(vl)	((vl) / __SVE_VQ_BYTES)
vl                322 arch/arm64/kernel/fpsimd.c static unsigned int find_supported_vector_length(unsigned int vl)
vl                327 arch/arm64/kernel/fpsimd.c 	if (WARN_ON(!sve_vl_valid(vl)))
vl                328 arch/arm64/kernel/fpsimd.c 		vl = SVE_VL_MIN;
vl                333 arch/arm64/kernel/fpsimd.c 	if (vl > max_vl)
vl                334 arch/arm64/kernel/fpsimd.c 		vl = max_vl;
vl                337 arch/arm64/kernel/fpsimd.c 			    __vq_to_bit(sve_vq_from_vl(vl)));
vl                348 arch/arm64/kernel/fpsimd.c 	int vl = sve_default_vl;
vl                350 arch/arm64/kernel/fpsimd.c 		.data = &vl,
vl                351 arch/arm64/kernel/fpsimd.c 		.maxlen = sizeof(vl),
vl                359 arch/arm64/kernel/fpsimd.c 	if (vl == -1)
vl                360 arch/arm64/kernel/fpsimd.c 		vl = sve_max_vl;
vl                362 arch/arm64/kernel/fpsimd.c 	if (!sve_vl_valid(vl))
vl                365 arch/arm64/kernel/fpsimd.c 	sve_default_vl = find_supported_vector_length(vl);
vl                573 arch/arm64/kernel/fpsimd.c 			  unsigned long vl, unsigned long flags)
vl                579 arch/arm64/kernel/fpsimd.c 	if (!sve_vl_valid(vl))
vl                587 arch/arm64/kernel/fpsimd.c 	if (vl > SVE_VL_ARCH_MAX)
vl                588 arch/arm64/kernel/fpsimd.c 		vl = SVE_VL_ARCH_MAX;
vl                590 arch/arm64/kernel/fpsimd.c 	vl = find_supported_vector_length(vl);
vl                594 arch/arm64/kernel/fpsimd.c 		task->thread.sve_vl_onexec = vl;
vl                603 arch/arm64/kernel/fpsimd.c 	if (vl == task->thread.sve_vl)
vl                630 arch/arm64/kernel/fpsimd.c 	task->thread.sve_vl = vl;
vl                663 arch/arm64/kernel/fpsimd.c 	unsigned long vl, flags;
vl                666 arch/arm64/kernel/fpsimd.c 	vl = arg & PR_SVE_VL_LEN_MASK;
vl                667 arch/arm64/kernel/fpsimd.c 	flags = arg & ~vl;
vl                672 arch/arm64/kernel/fpsimd.c 	ret = sve_set_vector_length(current, vl, flags);
vl                690 arch/arm64/kernel/fpsimd.c 	unsigned int vq, vl;
vl                700 arch/arm64/kernel/fpsimd.c 		vl = sve_get_vl();
vl                701 arch/arm64/kernel/fpsimd.c 		vq = sve_vq_from_vl(vl); /* skip intervening lengths */
vl               1012 arch/arm64/kernel/fpsimd.c 	int vl, supported_vl;
vl               1038 arch/arm64/kernel/fpsimd.c 		vl = current->thread.sve_vl_onexec ?
vl               1041 arch/arm64/kernel/fpsimd.c 		if (WARN_ON(!sve_vl_valid(vl)))
vl               1042 arch/arm64/kernel/fpsimd.c 			vl = SVE_VL_MIN;
vl               1044 arch/arm64/kernel/fpsimd.c 		supported_vl = find_supported_vector_length(vl);
vl               1045 arch/arm64/kernel/fpsimd.c 		if (WARN_ON(supported_vl != vl))
vl               1046 arch/arm64/kernel/fpsimd.c 			vl = supported_vl;
vl               1048 arch/arm64/kernel/fpsimd.c 		current->thread.sve_vl = vl;
vl                770 arch/arm64/kernel/ptrace.c 	header->vl = target->thread.sve_vl;
vl                771 arch/arm64/kernel/ptrace.c 	vq = sve_vq_from_vl(header->vl);
vl                811 arch/arm64/kernel/ptrace.c 	vq = sve_vq_from_vl(header.vl);
vl                889 arch/arm64/kernel/ptrace.c 	ret = sve_set_vector_length(target, header.vl,
vl                914 arch/arm64/kernel/ptrace.c 	if (count && vq != sve_vq_from_vl(header.vl)) {
vl                229 arch/arm64/kernel/signal.c 	unsigned int vl = current->thread.sve_vl;
vl                233 arch/arm64/kernel/signal.c 		vq = sve_vq_from_vl(vl);
vl                240 arch/arm64/kernel/signal.c 	__put_user_error(vl, &ctx->vl, err);
vl                267 arch/arm64/kernel/signal.c 	if (sve.vl != current->thread.sve_vl)
vl                275 arch/arm64/kernel/signal.c 	vq = sve_vq_from_vl(sve.vl);
vl                588 arch/arm64/kernel/signal.c 			int vl = sve_max_vl;
vl                591 arch/arm64/kernel/signal.c 				vl = current->thread.sve_vl;
vl                593 arch/arm64/kernel/signal.c 			vq = sve_vq_from_vl(vl);
vl                161 arch/arm64/kvm/reset.c 	unsigned int vl;
vl                163 arch/arm64/kvm/reset.c 	vl = vcpu->arch.sve_max_vl;
vl                170 arch/arm64/kvm/reset.c 	if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl ||
vl                171 arch/arm64/kvm/reset.c 		    vl > SVE_VL_ARCH_MAX))
vl                174 arch/arm64/kvm/reset.c 	buf = kzalloc(SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)), GFP_KERNEL);
vl                 42 drivers/block/paride/on20.c         op(1); vl(r); op(0);
vl                 65 drivers/block/paride/on20.c 	op(1); vl(r); 
vl                 66 drivers/block/paride/on20.c 	op(0); vl(val); 
vl                 67 drivers/block/paride/on20.c 	op(0); vl(val);
vl                 76 drivers/block/paride/on20.c 	if (pi->mode) { op(2); vl(8); op(2); vl(9); }
vl                 77 drivers/block/paride/on20.c 	       else   { op(2); vl(0); op(2); vl(8); }
vl                 91 drivers/block/paride/on20.c 	op(1); vl(1); op(0);
vl                108 drivers/block/paride/on20.c 	op(1); vl(1); op(0);
vl                 14 drivers/gpu/drm/nouveau/include/nvif/unpack.h #define nvif_unpack(r,d,s,m,vl,vh,x) ({                                        \
vl                 16 drivers/gpu/drm/nouveau/include/nvif/unpack.h 	int _ret = (r), _vl = (vl), _vh = (vh);                                \
vl               1201 drivers/infiniband/hw/hfi1/chip.c 	u64 (*rw_cntr)(const struct cntr_entry *, void *context, int vl,
vl               1394 drivers/infiniband/hw/hfi1/chip.c 			      void *context, int vl, int mode, u64 data)
vl               1400 drivers/infiniband/hw/hfi1/chip.c 		if (vl == CNTR_INVALID_VL)
vl               1402 drivers/infiniband/hw/hfi1/chip.c 		csr += 0x100 * vl;
vl               1404 drivers/infiniband/hw/hfi1/chip.c 		if (vl != CNTR_INVALID_VL)
vl               1452 drivers/infiniband/hw/hfi1/chip.c 			      int vl, int mode, u64 data)
vl               1460 drivers/infiniband/hw/hfi1/chip.c 		if (vl == CNTR_INVALID_VL)
vl               1462 drivers/infiniband/hw/hfi1/chip.c 		csr += 8 * vl;
vl               1464 drivers/infiniband/hw/hfi1/chip.c 		if (vl != CNTR_INVALID_VL)
vl               1473 drivers/infiniband/hw/hfi1/chip.c 			      int vl, int mode, u64 data)
vl               1479 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1497 drivers/infiniband/hw/hfi1/chip.c 			       int vl, int mode, u64 data)
vl               1501 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1507 drivers/infiniband/hw/hfi1/chip.c 			       void *context, int vl, int mode, u64 data)
vl               1514 drivers/infiniband/hw/hfi1/chip.c 		if (vl == CNTR_INVALID_VL)
vl               1516 drivers/infiniband/hw/hfi1/chip.c 		csr += 8 * vl;
vl               1518 drivers/infiniband/hw/hfi1/chip.c 		if (vl != CNTR_INVALID_VL)
vl               1547 drivers/infiniband/hw/hfi1/chip.c 				 int vl, int mode, u64 data)
vl               1551 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1557 drivers/infiniband/hw/hfi1/chip.c 				 int vl, int mode, u64 data)
vl               1561 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1567 drivers/infiniband/hw/hfi1/chip.c 				       void *context, int vl, int mode,
vl               1572 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1578 drivers/infiniband/hw/hfi1/chip.c 				   void *context, int vl, int mode, u64 data)
vl               1584 drivers/infiniband/hw/hfi1/chip.c 	if (vl == CNTR_INVALID_VL)
vl               1586 drivers/infiniband/hw/hfi1/chip.c 	else if (vl >= 0 && vl < C_VL_COUNT)
vl               1587 drivers/infiniband/hw/hfi1/chip.c 		counter = &ppd->port_xmit_discards_vl[vl];
vl               1595 drivers/infiniband/hw/hfi1/chip.c 				       void *context, int vl, int mode,
vl               1600 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1608 drivers/infiniband/hw/hfi1/chip.c 				      void *context, int vl, int mode, u64 data)
vl               1612 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1631 drivers/infiniband/hw/hfi1/chip.c 			  int vl, int mode, u64 data)
vl               1635 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               1655 drivers/infiniband/hw/hfi1/chip.c 			      void *context, int vl, int mode, u64 data)
vl               1659 drivers/infiniband/hw/hfi1/chip.c 	return read_write_cpu(dd, &dd->z_int_counter, dd->int_counter, vl,
vl               1664 drivers/infiniband/hw/hfi1/chip.c 				   void *context, int vl, int mode, u64 data)
vl               1668 drivers/infiniband/hw/hfi1/chip.c 	return read_write_cpu(dd, &dd->z_rcv_limit, dd->rcv_limit, vl,
vl               1673 drivers/infiniband/hw/hfi1/chip.c 			      void *context, int vl, int mode, u64 data)
vl               1681 drivers/infiniband/hw/hfi1/chip.c 			       void *context, int vl, int mode, u64 data)
vl               1689 drivers/infiniband/hw/hfi1/chip.c 				   void *context, int vl, int mode, u64 data)
vl               1697 drivers/infiniband/hw/hfi1/chip.c 			      void *context, int vl, int mode, u64 data)
vl               1705 drivers/infiniband/hw/hfi1/chip.c 			       void *context, int vl, int mode, u64 data)
vl               1713 drivers/infiniband/hw/hfi1/chip.c 				   void *context, int vl, int mode, u64 data)
vl               1717 drivers/infiniband/hw/hfi1/chip.c 	return read_write_cpu(dd, &dd->z_send_schedule, dd->send_schedule, vl,
vl               1723 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               1732 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               1741 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               1750 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               1759 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               1769 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1777 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               1786 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               1795 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               1804 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               1814 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1822 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               1831 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               1845 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1857 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               1866 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               1875 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               1884 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               1893 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               1903 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1912 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1920 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               1929 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl, int mode,
vl               1938 drivers/infiniband/hw/hfi1/chip.c 				   void *context, int vl, int mode, u64 data)
vl               1946 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               1955 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               1965 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1974 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               1982 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               1991 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2000 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               2009 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2018 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2027 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2037 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2045 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2054 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2063 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2072 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               2081 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2090 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2099 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2109 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2118 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2127 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2136 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2145 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2153 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2163 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2171 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               2180 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2190 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2198 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2207 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2216 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2229 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               2238 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2247 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               2256 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2265 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2274 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2283 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2292 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               2301 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               2311 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2320 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2328 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2337 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2346 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2355 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2364 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2373 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2382 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2392 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2401 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2410 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2419 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2428 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2437 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2446 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2455 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2464 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2473 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2482 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2491 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2500 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2508 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               2517 drivers/infiniband/hw/hfi1/chip.c 				       void *context, int vl, int mode,
vl               2526 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2535 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2544 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2554 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2563 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2572 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2581 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2590 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2599 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2608 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2617 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2626 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2634 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2643 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               2653 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2662 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2670 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2679 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2688 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               2697 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2706 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2715 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               2724 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2734 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2743 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2751 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2760 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2769 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2778 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2787 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2796 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2810 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2819 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2828 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2837 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2845 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2854 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               2863 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               2873 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2881 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2890 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               2899 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2909 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2918 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2926 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2935 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2944 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2953 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               2963 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2971 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               2980 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               2990 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               2999 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3008 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3017 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3026 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3035 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3044 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3053 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3062 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3070 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3079 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3088 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               3097 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               3106 drivers/infiniband/hw/hfi1/chip.c 					 void *context, int vl, int mode,
vl               3115 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               3124 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3138 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3147 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3155 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               3164 drivers/infiniband/hw/hfi1/chip.c 				       void *context, int vl, int mode,
vl               3178 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3187 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3195 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3204 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               3214 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3222 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               3231 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3240 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3249 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3258 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3267 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3276 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3285 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3294 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3303 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3312 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3321 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3330 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3339 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3348 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               3358 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3366 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               3376 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3385 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3394 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3403 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3412 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3421 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3430 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3439 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3448 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3457 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3466 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3475 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3484 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3493 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3502 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3511 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3520 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3529 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3538 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3547 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3556 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3565 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3574 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3583 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3592 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3601 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3609 drivers/infiniband/hw/hfi1/chip.c 					   void *context, int vl, int mode,
vl               3618 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               3627 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               3636 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               3646 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3654 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3663 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3673 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3682 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3690 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3700 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3708 drivers/infiniband/hw/hfi1/chip.c 				      void *context, int vl, int mode,
vl               3718 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3726 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3736 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3745 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3758 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3766 drivers/infiniband/hw/hfi1/chip.c 						 void *context, int vl,
vl               3775 drivers/infiniband/hw/hfi1/chip.c 				      void *context, int vl, int mode,
vl               3789 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3797 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3807 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3815 drivers/infiniband/hw/hfi1/chip.c 						void *context, int vl,
vl               3824 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl, int mode,
vl               3838 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3847 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3856 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3864 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3873 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3883 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3892 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3901 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3909 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               3918 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3927 drivers/infiniband/hw/hfi1/chip.c 				       void *context, int vl, int mode,
vl               3936 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3945 drivers/infiniband/hw/hfi1/chip.c 					      void *context, int vl, int mode,
vl               3954 drivers/infiniband/hw/hfi1/chip.c 					     void *context, int vl, int mode,
vl               3963 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               3973 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               3981 drivers/infiniband/hw/hfi1/chip.c 					       void *context, int vl,
vl               3990 drivers/infiniband/hw/hfi1/chip.c 				    void *context, int vl, int mode, u64 data)
vl               3998 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               4007 drivers/infiniband/hw/hfi1/chip.c 					  void *context, int vl, int mode,
vl               4017 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)
vl               4025 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               4034 drivers/infiniband/hw/hfi1/chip.c 					    void *context, int vl, int mode,
vl               4043 drivers/infiniband/hw/hfi1/chip.c 					void *context, int vl, int mode,
vl               4052 drivers/infiniband/hw/hfi1/chip.c 				 void *context, int vl, int mode,
vl               4075 drivers/infiniband/hw/hfi1/chip.c 			      void *context, int vl, int mode, u64 data)      \
vl               4079 drivers/infiniband/hw/hfi1/chip.c 			      ppd->ibport_data.rvp.cntr, vl,		      \
vl               4089 drivers/infiniband/hw/hfi1/chip.c 				void *context, int vl, int mode, u64 data)    \
vl               4093 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)					      \
vl               5698 drivers/infiniband/hw/hfi1/chip.c 					int vl)
vl               5741 drivers/infiniband/hw/hfi1/chip.c 			if (vl >= 0 && vl < TXE_NUM_DATA_VL)
vl               5742 drivers/infiniband/hw/hfi1/chip.c 				incr_cntr64(&ppd->port_xmit_discards_vl[vl]);
vl               5743 drivers/infiniband/hw/hfi1/chip.c 			else if (vl == 15)
vl               5787 drivers/infiniband/hw/hfi1/chip.c 	int vl;
vl               5795 drivers/infiniband/hw/hfi1/chip.c 	vl = m->engine_to_vl[engine];
vl               5798 drivers/infiniband/hw/hfi1/chip.c 	return vl;
vl               5852 drivers/infiniband/hw/hfi1/chip.c 			int vl = engine_to_vl(dd, disallowed_pkt_engine(shift));
vl               5854 drivers/infiniband/hw/hfi1/chip.c 			handle_send_egress_err_info(dd, vl);
vl               11057 drivers/infiniband/hw/hfi1/chip.c 			     struct ib_vl_weight_elem *vl)
vl               11059 drivers/infiniband/hw/hfi1/chip.c 	memcpy(vl, cache->table, VL_ARB_TABLE_SIZE * sizeof(*vl));
vl               11063 drivers/infiniband/hw/hfi1/chip.c 			     struct ib_vl_weight_elem *vl)
vl               11065 drivers/infiniband/hw/hfi1/chip.c 	memcpy(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl));
vl               11069 drivers/infiniband/hw/hfi1/chip.c 			      struct ib_vl_weight_elem *vl)
vl               11071 drivers/infiniband/hw/hfi1/chip.c 	return !memcmp(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl));
vl               11077 drivers/infiniband/hw/hfi1/chip.c 			  u32 size, struct ib_vl_weight_elem *vl)
vl               11108 drivers/infiniband/hw/hfi1/chip.c 	for (i = 0; i < size; i++, vl++) {
vl               11113 drivers/infiniband/hw/hfi1/chip.c 		reg = (((u64)vl->vl & SEND_LOW_PRIORITY_LIST_VL_MASK)
vl               11115 drivers/infiniband/hw/hfi1/chip.c 		      | (((u64)vl->weight
vl               11161 drivers/infiniband/hw/hfi1/chip.c 		read_one_cm_vl(dd, SEND_CM_CREDIT_VL + (8 * i), &bc->vl[i]);
vl               11164 drivers/infiniband/hw/hfi1/chip.c 	read_one_cm_vl(dd, SEND_CM_CREDIT_VL15, &bc->vl[15]);
vl               11202 drivers/infiniband/hw/hfi1/chip.c 			      struct ib_vl_weight_elem *vl)
vl               11206 drivers/infiniband/hw/hfi1/chip.c 	for (i = 0; i < nelems; i++, vl++) {
vl               11207 drivers/infiniband/hw/hfi1/chip.c 		vl->vl = 0xf;
vl               11208 drivers/infiniband/hw/hfi1/chip.c 		vl->weight = 0;
vl               11283 drivers/infiniband/hw/hfi1/chip.c static void set_vl_shared(struct hfi1_devdata *dd, int vl, u16 limit)
vl               11288 drivers/infiniband/hw/hfi1/chip.c 	if (vl < TXE_NUM_DATA_VL)
vl               11289 drivers/infiniband/hw/hfi1/chip.c 		addr = SEND_CM_CREDIT_VL + (8 * vl);
vl               11300 drivers/infiniband/hw/hfi1/chip.c static void set_vl_dedicated(struct hfi1_devdata *dd, int vl, u16 limit)
vl               11305 drivers/infiniband/hw/hfi1/chip.c 	if (vl < TXE_NUM_DATA_VL)
vl               11306 drivers/infiniband/hw/hfi1/chip.c 		addr = SEND_CM_CREDIT_VL + (8 * vl);
vl               11405 drivers/infiniband/hw/hfi1/chip.c 			new_total += be16_to_cpu(new_bc->vl[i].dedicated);
vl               11409 drivers/infiniband/hw/hfi1/chip.c 			    be16_to_cpu(new_bc->vl[i].dedicated));
vl               11411 drivers/infiniband/hw/hfi1/chip.c 			    be16_to_cpu(new_bc->vl[i].shared));
vl               11412 drivers/infiniband/hw/hfi1/chip.c 		new_bc->vl[i].dedicated = 0;
vl               11413 drivers/infiniband/hw/hfi1/chip.c 		new_bc->vl[i].shared = 0;
vl               11438 drivers/infiniband/hw/hfi1/chip.c 		this_shared_changing = new_bc->vl[i].shared
vl               11439 drivers/infiniband/hw/hfi1/chip.c 						!= cur_bc.vl[i].shared;
vl               11442 drivers/infiniband/hw/hfi1/chip.c 		if (new_bc->vl[i].dedicated != cur_bc.vl[i].dedicated ||
vl               11448 drivers/infiniband/hw/hfi1/chip.c 		if (be16_to_cpu(new_bc->vl[i].dedicated) <
vl               11449 drivers/infiniband/hw/hfi1/chip.c 					be16_to_cpu(cur_bc.vl[i].dedicated)) {
vl               11477 drivers/infiniband/hw/hfi1/chip.c 			cur_bc.vl[i].shared = 0;
vl               11492 drivers/infiniband/hw/hfi1/chip.c 							     vl[i].dedicated));
vl               11493 drivers/infiniband/hw/hfi1/chip.c 				cur_bc.vl[i].dedicated =
vl               11494 drivers/infiniband/hw/hfi1/chip.c 						new_bc->vl[i].dedicated;
vl               11505 drivers/infiniband/hw/hfi1/chip.c 			if (be16_to_cpu(new_bc->vl[i].dedicated) >
vl               11506 drivers/infiniband/hw/hfi1/chip.c 					be16_to_cpu(cur_bc.vl[i].dedicated))
vl               11509 drivers/infiniband/hw/hfi1/chip.c 							     vl[i].dedicated));
vl               11518 drivers/infiniband/hw/hfi1/chip.c 		if (be16_to_cpu(new_bc->vl[i].shared) >
vl               11519 drivers/infiniband/hw/hfi1/chip.c 				be16_to_cpu(cur_bc.vl[i].shared))
vl               11520 drivers/infiniband/hw/hfi1/chip.c 			set_vl_shared(dd, i, be16_to_cpu(new_bc->vl[i].shared));
vl               11539 drivers/infiniband/hw/hfi1/chip.c 			if (be16_to_cpu(new_bc->vl[i].dedicated) > 0 ||
vl               11540 drivers/infiniband/hw/hfi1/chip.c 			    be16_to_cpu(new_bc->vl[i].shared) > 0)
vl               12222 drivers/infiniband/hw/hfi1/chip.c 			      u64 *psval, void *context, int vl)
vl               12232 drivers/infiniband/hw/hfi1/chip.c 	hfi1_cdbg(CNTR, "cntr: %s vl %d psval 0x%llx", entry->name, vl, *psval);
vl               12234 drivers/infiniband/hw/hfi1/chip.c 	val = entry->rw_cntr(entry, context, vl, CNTR_MODE_R, 0);
vl               12274 drivers/infiniband/hw/hfi1/chip.c 			       u64 *psval, void *context, int vl, u64 data)
vl               12283 drivers/infiniband/hw/hfi1/chip.c 	hfi1_cdbg(CNTR, "cntr: %s vl %d psval 0x%llx", entry->name, vl, *psval);
vl               12288 drivers/infiniband/hw/hfi1/chip.c 			val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W,
vl               12292 drivers/infiniband/hw/hfi1/chip.c 			val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W,
vl               12296 drivers/infiniband/hw/hfi1/chip.c 		val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, data);
vl               12306 drivers/infiniband/hw/hfi1/chip.c u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl)
vl               12314 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               12315 drivers/infiniband/hw/hfi1/chip.c 		sval += vl;
vl               12317 drivers/infiniband/hw/hfi1/chip.c 	return read_dev_port_cntr(dd, entry, sval, dd, vl);
vl               12320 drivers/infiniband/hw/hfi1/chip.c u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data)
vl               12328 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               12329 drivers/infiniband/hw/hfi1/chip.c 		sval += vl;
vl               12331 drivers/infiniband/hw/hfi1/chip.c 	return write_dev_port_cntr(dd, entry, sval, dd, vl, data);
vl               12334 drivers/infiniband/hw/hfi1/chip.c u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl)
vl               12342 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               12343 drivers/infiniband/hw/hfi1/chip.c 		sval += vl;
vl               12351 drivers/infiniband/hw/hfi1/chip.c 	return read_dev_port_cntr(ppd->dd, entry, sval, ppd, vl);
vl               12354 drivers/infiniband/hw/hfi1/chip.c u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data)
vl               12362 drivers/infiniband/hw/hfi1/chip.c 	if (vl != CNTR_INVALID_VL)
vl               12363 drivers/infiniband/hw/hfi1/chip.c 		sval += vl;
vl               12371 drivers/infiniband/hw/hfi1/chip.c 	return write_dev_port_cntr(ppd->dd, entry, sval, ppd, vl, data);
vl               12380 drivers/infiniband/hw/hfi1/chip.c 	int i, j, vl;
vl               12428 drivers/infiniband/hw/hfi1/chip.c 				for (vl = 0; vl < C_VL_COUNT; vl++)
vl               12429 drivers/infiniband/hw/hfi1/chip.c 					read_dev_cntr(dd, i, vl);
vl               12439 drivers/infiniband/hw/hfi1/chip.c 					for (vl = 0; vl < C_VL_COUNT; vl++)
vl               12440 drivers/infiniband/hw/hfi1/chip.c 						read_port_cntr(ppd, j, vl);
vl               14840 drivers/infiniband/hw/hfi1/chip.c 		int vl;
vl               14865 drivers/infiniband/hw/hfi1/chip.c 		for (vl = 0; vl < num_vls; vl++)
vl               14866 drivers/infiniband/hw/hfi1/chip.c 			dd->vld[vl].mtu = hfi1_max_mtu;
vl               15179 drivers/infiniband/hw/hfi1/chip.c u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl,
vl               15190 drivers/infiniband/hw/hfi1/chip.c 		| (vl & PBC_VL_MASK) << PBC_VL_SHIFT
vl                702 drivers/infiniband/hw/hfi1/chip.h u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl,
vl                827 drivers/infiniband/hw/hfi1/chip.h u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl);
vl                828 drivers/infiniband/hw/hfi1/chip.h u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data);
vl                829 drivers/infiniband/hw/hfi1/chip.h u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl);
vl                830 drivers/infiniband/hw/hfi1/chip.h u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data);
vl                853 drivers/infiniband/hw/hfi1/chip.h static inline int idx_from_vl(int vl)
vl                855 drivers/infiniband/hw/hfi1/chip.h 	return (vl == 15 ? C_VL_15 : vl);
vl                912 drivers/infiniband/hw/hfi1/mad.c 	pi->vl.cap = ppd->vls_supported;
vl                913 drivers/infiniband/hw/hfi1/mad.c 	pi->vl.high_limit = cpu_to_be16(ibp->rvp.vl_high_limit);
vl                914 drivers/infiniband/hw/hfi1/mad.c 	pi->vl.arb_high_cap = (u8)hfi1_get_ib_cfg(ppd, HFI1_IB_CFG_VL_HIGH_CAP);
vl                915 drivers/infiniband/hw/hfi1/mad.c 	pi->vl.arb_low_cap = (u8)hfi1_get_ib_cfg(ppd, HFI1_IB_CFG_VL_LOW_CAP);
vl               1522 drivers/infiniband/hw/hfi1/mad.c 	ibp->rvp.vl_high_limit = be16_to_cpu(pi->vl.high_limit) & 0xFF;
vl               2631 drivers/infiniband/hw/hfi1/mad.c 		unsigned long vl;
vl               2635 drivers/infiniband/hw/hfi1/mad.c 		for_each_set_bit(vl, &vl_all_mask, BITS_PER_LONG) {
vl               2638 drivers/infiniband/hw/hfi1/mad.c 						 idx_from_vl(vl));
vl               2694 drivers/infiniband/hw/hfi1/mad.c 			   u16 link_width, u16 link_speed, int vl)
vl               2700 drivers/infiniband/hw/hfi1/mad.c 	if (vl > C_VL_COUNT)
vl               2702 drivers/infiniband/hw/hfi1/mad.c 	if (vl < C_VL_COUNT)
vl               2704 drivers/infiniband/hw/hfi1/mad.c 			read_port_cntr(ppd, C_TX_WAIT_VL, vl);
vl               2711 drivers/infiniband/hw/hfi1/mad.c 		ppd->port_vl_xmit_wait_last[vl];
vl               2717 drivers/infiniband/hw/hfi1/mad.c 	ppd->vl_xmit_flit_cnt[vl] += delta_vl_xmit_wait;
vl               2718 drivers/infiniband/hw/hfi1/mad.c 	ppd->port_vl_xmit_wait_last[vl] = port_vl_xmit_wait_curr;
vl               2721 drivers/infiniband/hw/hfi1/mad.c 	return ppd->vl_xmit_flit_cnt[vl];
vl               2733 drivers/infiniband/hw/hfi1/mad.c 	unsigned long vl;
vl               2843 drivers/infiniband/hw/hfi1/mad.c 	for_each_set_bit(vl, &vl_select_mask, BITS_PER_LONG) {
vl               2846 drivers/infiniband/hw/hfi1/mad.c 		tmp = read_dev_cntr(dd, C_DC_RX_FLIT_VL, idx_from_vl(vl));
vl               2851 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               2855 drivers/infiniband/hw/hfi1/mad.c 						   idx_from_vl(vl)));
vl               2859 drivers/infiniband/hw/hfi1/mad.c 						   idx_from_vl(vl)));
vl               2867 drivers/infiniband/hw/hfi1/mad.c 							   idx_from_vl(vl)));
vl               2871 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               2875 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               2879 drivers/infiniband/hw/hfi1/mad.c 						   idx_from_vl(vl)));
vl               2934 drivers/infiniband/hw/hfi1/mad.c 		unsigned long vl;
vl               2938 drivers/infiniband/hw/hfi1/mad.c 		for_each_set_bit(vl, &vl_all_mask, BITS_PER_LONG) {
vl               2941 drivers/infiniband/hw/hfi1/mad.c 						 idx_from_vl(vl));
vl               2992 drivers/infiniband/hw/hfi1/mad.c 	unsigned long vl;
vl               3070 drivers/infiniband/hw/hfi1/mad.c 	for_each_set_bit(vl, &vl_select_mask, BITS_PER_LONG) {
vl               3075 drivers/infiniband/hw/hfi1/mad.c 						   idx_from_vl(vl)));
vl               3079 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               3083 drivers/infiniband/hw/hfi1/mad.c 						   idx_from_vl(vl)));
vl               3087 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               3096 drivers/infiniband/hw/hfi1/mad.c 							   idx_from_vl(vl)));
vl               3100 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               3103 drivers/infiniband/hw/hfi1/mad.c 						  idx_from_vl(vl)));
vl               3211 drivers/infiniband/hw/hfi1/mad.c 	unsigned long vl;
vl               3271 drivers/infiniband/hw/hfi1/mad.c 	for_each_set_bit(vl, &vl_select_mask, BITS_PER_LONG) {
vl               3275 drivers/infiniband/hw/hfi1/mad.c 						   idx_from_vl(vl)));
vl               3483 drivers/infiniband/hw/hfi1/mad.c 	unsigned long vl;
vl               3576 drivers/infiniband/hw/hfi1/mad.c 	for_each_set_bit(vl, &vl_select_mask, BITS_PER_LONG) {
vl               3578 drivers/infiniband/hw/hfi1/mad.c 			write_port_cntr(ppd, C_TX_FLIT_VL, idx_from_vl(vl), 0);
vl               3581 drivers/infiniband/hw/hfi1/mad.c 			write_dev_cntr(dd, C_DC_RX_FLIT_VL, idx_from_vl(vl), 0);
vl               3584 drivers/infiniband/hw/hfi1/mad.c 			write_port_cntr(ppd, C_TX_PKT_VL, idx_from_vl(vl), 0);
vl               3587 drivers/infiniband/hw/hfi1/mad.c 			write_dev_cntr(dd, C_DC_RX_PKT_VL, idx_from_vl(vl), 0);
vl               3590 drivers/infiniband/hw/hfi1/mad.c 			write_port_cntr(ppd, C_TX_WAIT_VL, idx_from_vl(vl), 0);
vl               3591 drivers/infiniband/hw/hfi1/mad.c 			ppd->port_vl_xmit_wait_last[idx_from_vl(vl)] = 0;
vl               3592 drivers/infiniband/hw/hfi1/mad.c 			ppd->vl_xmit_flit_cnt[idx_from_vl(vl)] = 0;
vl               3597 drivers/infiniband/hw/hfi1/mad.c 			write_dev_cntr(dd, C_DC_RCV_FCN_VL, idx_from_vl(vl), 0);
vl               3600 drivers/infiniband/hw/hfi1/mad.c 			write_dev_cntr(dd, C_DC_RCV_BCN_VL, idx_from_vl(vl), 0);
vl               3606 drivers/infiniband/hw/hfi1/mad.c 			write_dev_cntr(dd, C_DC_RCV_BBL_VL, idx_from_vl(vl), 0);
vl               3613 drivers/infiniband/hw/hfi1/mad.c 					idx_from_vl(vl), 0);
vl                419 drivers/infiniband/hw/hfi1/mad.h 	struct vl_limit vl[OPA_MAX_VLS];
vl                443 drivers/infiniband/hw/hfi1/mad.h 			   u16 link_speed, int vl);
vl               1801 drivers/infiniband/hw/hfi1/pio.c 						u32 selector, u8 vl)
vl               1812 drivers/infiniband/hw/hfi1/pio.c 	if (unlikely(vl >= num_vls)) {
vl               1823 drivers/infiniband/hw/hfi1/pio.c 	e = m->map[vl & m->mask];
vl               1843 drivers/infiniband/hw/hfi1/pio.c 	u8 vl = sc_to_vlt(dd, sc5);
vl               1845 drivers/infiniband/hw/hfi1/pio.c 	return pio_select_send_context_vl(dd, selector, vl);
vl                273 drivers/infiniband/hw/hfi1/pio.h 						u32 selector, u8 vl);
vl                861 drivers/infiniband/hw/hfi1/qp.c 	u8 sc, vl;
vl                865 drivers/infiniband/hw/hfi1/qp.c 	vl = sc_to_vlt(dd, sc);
vl                868 drivers/infiniband/hw/hfi1/qp.c 	if (vl < PER_VL_SEND_CONTEXTS)
vl                869 drivers/infiniband/hw/hfi1/qp.c 		mtu = min_t(u32, mtu, dd->vld[vl].mtu);
vl                753 drivers/infiniband/hw/hfi1/sdma.c 	u8 vl;
vl                764 drivers/infiniband/hw/hfi1/sdma.c 	vl = m->engine_to_vl[sde->this_idx];
vl                767 drivers/infiniband/hw/hfi1/sdma.c 	return vl;
vl                783 drivers/infiniband/hw/hfi1/sdma.c 	u8 vl)
vl                793 drivers/infiniband/hw/hfi1/sdma.c 	if (vl >= num_vls) {
vl                804 drivers/infiniband/hw/hfi1/sdma.c 	e = m->map[vl & m->mask];
vl                810 drivers/infiniband/hw/hfi1/sdma.c 	trace_hfi1_sdma_engine_select(dd, selector, vl, rval->this_idx);
vl                828 drivers/infiniband/hw/hfi1/sdma.c 	u8 vl = sc_to_vlt(dd, sc5);
vl                830 drivers/infiniband/hw/hfi1/sdma.c 	return sdma_select_engine_vl(dd, selector, vl);
vl                869 drivers/infiniband/hw/hfi1/sdma.c 					    u32 selector, u8 vl)
vl                887 drivers/infiniband/hw/hfi1/sdma.c 	if (rht_node && rht_node->map[vl]) {
vl                888 drivers/infiniband/hw/hfi1/sdma.c 		struct sdma_rht_map_elem *map = rht_node->map[vl];
vl                898 drivers/infiniband/hw/hfi1/sdma.c 	return sdma_select_engine_vl(dd, selector, vl);
vl                939 drivers/infiniband/hw/hfi1/sdma.c 	int ret, vl, sz;
vl                942 drivers/infiniband/hw/hfi1/sdma.c 	vl = sdma_engine_get_vl(sde);
vl                943 drivers/infiniband/hw/hfi1/sdma.c 	if (unlikely(vl < 0 || vl >= ARRAY_SIZE(rht_node->map)))
vl                986 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl] = kzalloc(sz, GFP_KERNEL);
vl                987 drivers/infiniband/hw/hfi1/sdma.c 			if (!rht_node->map[vl]) {
vl                993 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl]->mask = 0;
vl                994 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl]->ctr = 1;
vl                995 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl]->sde[0] = sde;
vl               1001 drivers/infiniband/hw/hfi1/sdma.c 				kfree(rht_node->map[vl]);
vl               1012 drivers/infiniband/hw/hfi1/sdma.c 			if (!rht_node->map[vl])
vl               1013 drivers/infiniband/hw/hfi1/sdma.c 				rht_node->map[vl] = kzalloc(sz, GFP_KERNEL);
vl               1015 drivers/infiniband/hw/hfi1/sdma.c 			if (!rht_node->map[vl]) {
vl               1020 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl]->ctr++;
vl               1021 drivers/infiniband/hw/hfi1/sdma.c 			ctr = rht_node->map[vl]->ctr;
vl               1022 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl]->sde[ctr - 1] = sde;
vl               1024 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl]->mask = pow - 1;
vl               1027 drivers/infiniband/hw/hfi1/sdma.c 			sdma_populate_sde_map(rht_node->map[vl]);
vl               1062 drivers/infiniband/hw/hfi1/sdma.h 	u8 vl);
vl               1065 drivers/infiniband/hw/hfi1/sdma.h 					    u32 selector, u8 vl);
vl                424 drivers/infiniband/hw/hfi1/sysfs.c 		.vl = N						  \
vl                429 drivers/infiniband/hw/hfi1/sysfs.c 	int vl;
vl                478 drivers/infiniband/hw/hfi1/sysfs.c 	return sprintf(buf, "%u\n", dd->vld[vlattr->vl].mtu);
vl                814 drivers/infiniband/hw/hfi1/sysfs.c 	int vl;
vl                816 drivers/infiniband/hw/hfi1/sysfs.c 	vl = sdma_engine_get_vl(sde);
vl                817 drivers/infiniband/hw/hfi1/sysfs.c 	if (vl < 0)
vl                818 drivers/infiniband/hw/hfi1/sysfs.c 		return vl;
vl                820 drivers/infiniband/hw/hfi1/sysfs.c 	return snprintf(buf, PAGE_SIZE, "%d\n", vl);
vl                826 drivers/infiniband/hw/hfi1/sysfs.c static SDE_ATTR(vl, S_IRUGO, sde_show_vl, NULL);
vl               1667 drivers/infiniband/hw/hfi1/tid_rdma.c 			    void *context, int vl, int mode, u64 data)
vl                242 drivers/infiniband/hw/hfi1/tid_rdma.h 			    void *context, int vl, int mode, u64 data);
vl                189 drivers/infiniband/hw/hfi1/trace_tx.h 	    TP_PROTO(struct hfi1_devdata *dd, u32 sel, u8 vl, u8 idx),
vl                190 drivers/infiniband/hw/hfi1/trace_tx.h 	    TP_ARGS(dd, sel, vl, idx),
vl                193 drivers/infiniband/hw/hfi1/trace_tx.h 	    __field(u8, vl)
vl                198 drivers/infiniband/hw/hfi1/trace_tx.h 	    __entry->vl = vl;
vl                205 drivers/infiniband/hw/hfi1/trace_tx.h 		      __entry->vl
vl                741 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[0].dedicated),
vl                742 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[0].shared),
vl                744 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[1].dedicated),
vl                745 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[1].shared),
vl                747 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[2].dedicated),
vl                748 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[2].shared),
vl                750 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[3].dedicated),
vl                751 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[3].shared),
vl                753 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[4].dedicated),
vl                754 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[4].shared),
vl                756 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[5].dedicated),
vl                757 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[5].shared),
vl                759 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[6].dedicated),
vl                760 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[6].shared),
vl                762 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[7].dedicated),
vl                763 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[7].shared),
vl                765 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[15].dedicated),
vl                766 drivers/infiniband/hw/hfi1/trace_tx.h 			      BCT(vl[15].shared)
vl                637 drivers/infiniband/hw/hfi1/ud.c 	u32 bth0, plen, vl, hwords = 7;
vl                682 drivers/infiniband/hw/hfi1/ud.c 	vl = sc_to_vlt(ppd->dd, sc5);
vl                683 drivers/infiniband/hw/hfi1/ud.c 	pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen);
vl                699 drivers/infiniband/hw/hfi1/ud.c 	u32 bth0, plen, vl, hwords = 5;
vl                737 drivers/infiniband/hw/hfi1/ud.c 	vl = sc_to_vlt(ppd->dd, sc5);
vl                738 drivers/infiniband/hw/hfi1/ud.c 	pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen);
vl                356 drivers/infiniband/hw/hfi1/user_sdma.c 	u8 opcode, sc, vl;
vl                480 drivers/infiniband/hw/hfi1/user_sdma.c 	vl = (le16_to_cpu(req->hdr.pbc[0]) >> 12) & 0xF;
vl                483 drivers/infiniband/hw/hfi1/user_sdma.c 	if (vl >= dd->pport->vls_operational ||
vl                484 drivers/infiniband/hw/hfi1/user_sdma.c 	    vl != sc_to_vlt(dd, sc)) {
vl                485 drivers/infiniband/hw/hfi1/user_sdma.c 		SDMA_DBG(req, "Invalid SC(%u)/VL(%u)", sc, vl);
vl                579 drivers/infiniband/hw/hfi1/user_sdma.c 	req->sde = sdma_select_user_engine(dd, selector, vl);
vl                866 drivers/infiniband/hw/hfi1/verbs.c 			u32 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5);
vl                879 drivers/infiniband/hw/hfi1/verbs.c 					 vl,
vl               1025 drivers/infiniband/hw/hfi1/verbs.c 		u8 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5);
vl               1033 drivers/infiniband/hw/hfi1/verbs.c 		pbc = create_pbc(ppd, pbc, qp->srate_mbps, vl, plen);
vl               1570 drivers/infiniband/hw/hfi1/verbs.c 	ah->vl = sc_to_vlt(dd, sc5);
vl               1571 drivers/infiniband/hw/hfi1/verbs.c 	if (ah->vl < num_vls || ah->vl == 15)
vl               1572 drivers/infiniband/hw/hfi1/verbs.c 		ah->log_pmtu = ilog2(dd->vld[ah->vl].mtu);
vl                336 drivers/infiniband/hw/hfi1/vnic_main.c static u64 create_bypass_pbc(u32 vl, u32 dw_len)
vl                343 drivers/infiniband/hw/hfi1/vnic_main.c 		| ((vl & PBC_VL_MASK) << PBC_VL_SHIFT)
vl                397 drivers/infiniband/hw/hfi1/vnic_main.c 	pbc = create_bypass_pbc(mdata->vl, total_len);
vl                433 drivers/infiniband/hw/hfi1/vnic_main.c 	sde = sdma_select_engine_vl(vinfo->dd, mdata->entropy, mdata->vl);
vl               2999 drivers/infiniband/hw/mlx4/qp.c 	u8 vl;
vl               3004 drivers/infiniband/hw/mlx4/qp.c 	vl = tmp_vltab.sl8[sl >> 1];
vl               3006 drivers/infiniband/hw/mlx4/qp.c 		vl &= 0x0f;
vl               3008 drivers/infiniband/hw/mlx4/qp.c 		vl >>= 4;
vl               3009 drivers/infiniband/hw/mlx4/qp.c 	return vl;
vl               3378 drivers/infiniband/hw/qib/qib_iba6120.c 				   u8 srate, u8 vl)
vl               3380 drivers/infiniband/hw/qib/qib_iba6120.c 	return vl == 15 ? PBC_6120_VL15_SEND_CTRL : 0;
vl               4329 drivers/infiniband/hw/qib/qib_iba7220.c 				   u8 srate, u8 vl)
vl               4339 drivers/infiniband/hw/qib/qib_iba7220.c 	if (vl == 15)
vl               4357 drivers/infiniband/hw/qib/qib_iba7322.c 			   struct ib_vl_weight_elem *vl)
vl               4361 drivers/infiniband/hw/qib/qib_iba7322.c 	for (i = 0; i < 16; i++, regno++, vl++) {
vl               4364 drivers/infiniband/hw/qib/qib_iba7322.c 		vl->vl = (val >> SYM_LSB(LowPriority0_0, VirtualLane)) &
vl               4366 drivers/infiniband/hw/qib/qib_iba7322.c 		vl->weight = (val >> SYM_LSB(LowPriority0_0, Weight)) &
vl               4372 drivers/infiniband/hw/qib/qib_iba7322.c 			   struct ib_vl_weight_elem *vl)
vl               4376 drivers/infiniband/hw/qib/qib_iba7322.c 	for (i = 0; i < 16; i++, regno++, vl++) {
vl               4379 drivers/infiniband/hw/qib/qib_iba7322.c 		val = ((vl->vl & SYM_RMASK(LowPriority0_0, VirtualLane)) <<
vl               4381 drivers/infiniband/hw/qib/qib_iba7322.c 		      ((vl->weight & SYM_RMASK(LowPriority0_0, Weight)) <<
vl               6973 drivers/infiniband/hw/qib/qib_iba7322.c 				   u8 srate, u8 vl)
vl               6982 drivers/infiniband/hw/qib/qib_iba7322.c 	if (vl == 15)
vl               6985 drivers/infiniband/hw/qib/qib_iba7322.c 		ret |= vl << PBC_VL_NUM_LSB;
vl               1335 drivers/infiniband/hw/qib/qib_verbs.c 	ah->vl = ibp->sl_to_vl[rdma_ah_get_sl(&ah->attr)];
vl                391 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 	u8 vl;
vl                397 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 			vl = info->vport.pcp_to_vl_mc[pcp];
vl                399 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 			vl = info->vport.pcp_to_vl_uc[pcp];
vl                402 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 			vl = info->vport.non_vlan_vl_mc;
vl                404 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 			vl = info->vport.non_vlan_vl_uc;
vl                407 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 	return vl;
vl                502 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 	mdata->vl = opa_vnic_get_vl(adapter, skb);
vl                107 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 	mdata->vl = opa_vnic_get_vl(adapter, skb);
vl                297 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 	va_list vl;
vl                309 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 	va_start(vl, args);
vl                311 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 		data[idx] = va_arg(vl, u32);
vl                313 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 	va_end(vl);
vl                670 drivers/net/dsa/b53/b53_common.c 	struct b53_vlan vl = { 0 };
vl                678 drivers/net/dsa/b53/b53_common.c 			b53_set_vlan_entry(dev, i, &vl);
vl               1348 drivers/net/dsa/b53/b53_common.c 	struct b53_vlan *vl;
vl               1352 drivers/net/dsa/b53/b53_common.c 		vl = &dev->vlans[vid];
vl               1354 drivers/net/dsa/b53/b53_common.c 		b53_get_vlan_entry(dev, vid, vl);
vl               1359 drivers/net/dsa/b53/b53_common.c 		vl->members |= BIT(port);
vl               1361 drivers/net/dsa/b53/b53_common.c 			vl->untag |= BIT(port);
vl               1363 drivers/net/dsa/b53/b53_common.c 			vl->untag &= ~BIT(port);
vl               1365 drivers/net/dsa/b53/b53_common.c 		b53_set_vlan_entry(dev, vid, vl);
vl               1382 drivers/net/dsa/b53/b53_common.c 	struct b53_vlan *vl;
vl               1389 drivers/net/dsa/b53/b53_common.c 		vl = &dev->vlans[vid];
vl               1391 drivers/net/dsa/b53/b53_common.c 		b53_get_vlan_entry(dev, vid, vl);
vl               1393 drivers/net/dsa/b53/b53_common.c 		vl->members &= ~BIT(port);
vl               1399 drivers/net/dsa/b53/b53_common.c 			vl->untag &= ~(BIT(port));
vl               1401 drivers/net/dsa/b53/b53_common.c 		b53_set_vlan_entry(dev, vid, vl);
vl               1712 drivers/net/dsa/b53/b53_common.c 	struct b53_vlan *vl = &dev->vlans[0];
vl               1747 drivers/net/dsa/b53/b53_common.c 		b53_get_vlan_entry(dev, pvid, vl);
vl               1748 drivers/net/dsa/b53/b53_common.c 		vl->members |= BIT(port) | BIT(cpu_port);
vl               1749 drivers/net/dsa/b53/b53_common.c 		vl->untag |= BIT(port) | BIT(cpu_port);
vl               1750 drivers/net/dsa/b53/b53_common.c 		b53_set_vlan_entry(dev, pvid, vl);
vl                206 drivers/net/dsa/dsa_loop.c 	struct dsa_loop_vlan *vl;
vl                213 drivers/net/dsa/dsa_loop.c 		vl = &ps->vlans[vid];
vl                215 drivers/net/dsa/dsa_loop.c 		vl->members |= BIT(port);
vl                217 drivers/net/dsa/dsa_loop.c 			vl->untagged |= BIT(port);
vl                219 drivers/net/dsa/dsa_loop.c 			vl->untagged &= ~BIT(port);
vl                235 drivers/net/dsa/dsa_loop.c 	struct dsa_loop_vlan *vl;
vl                242 drivers/net/dsa/dsa_loop.c 		vl = &ps->vlans[vid];
vl                244 drivers/net/dsa/dsa_loop.c 		vl->members &= ~BIT(port);
vl                246 drivers/net/dsa/dsa_loop.c 			vl->untagged &= ~BIT(port);
vl               2406 include/linux/mlx5/mlx5_ifc.h 	u8         vl[0x4];
vl                 73 include/net/netrom.h 	unsigned short		vs, vr, va, vl;
vl                138 include/net/rose.h 	unsigned short		vs, vr, va, vl;
vl                155 include/net/x25.h 	unsigned short		vs, vr, va, vl;
vl                138 include/rdma/ib_smi.h 	u8      vl;     /* IB: VL is low 4 bits, upper 4 bits reserved */
vl                299 include/rdma/opa_port_info.h 	} vl;
vl                 97 include/rdma/opa_vnic.h 	u8 vl;
vl                206 include/rdma/rdma_vt.h 	u8 vl;
vl                991 net/netrom/af_netrom.c 	nr_make->vl        = 0;
vl                 85 net/netrom/nr_in.c 		nr->vl	       = 0;
vl                255 net/netrom/nr_in.c 		if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) {
vl                117 net/netrom/nr_out.c 	nr->vl         = nr->vr;
vl                178 net/netrom/nr_out.c 	nr->vl         = nr->vr;
vl                252 net/netrom/nr_out.c 	nr->vl         = nr->vr;
vl                105 net/netrom/nr_subr.c 	unsigned short vt = (nr->vl + nr->window) % NR_MODULUS;
vl                140 net/netrom/nr_timer.c 			nr->vl         = nr->vr;
vl               1013 net/rose/af_rose.c 	make_rose->vl        = 0;
vl               1336 net/rose/af_rose.c 			rose->vl        = 0;
vl                 48 net/rose/rose_in.c 		rose->vl        = 0;
vl                115 net/rose/rose_in.c 		rose->vl        = 0;
vl                133 net/rose/rose_in.c 			rose->vl        = 0;
vl                155 net/rose/rose_in.c 			rose->vl        = 0;
vl                175 net/rose/rose_in.c 				rose->vl        = 0;
vl                189 net/rose/rose_in.c 		if (((rose->vl + sysctl_rose_window_size) % ROSE_MODULUS) == rose->vr) {
vl                227 net/rose/rose_in.c 		rose->vl        = 0;
vl                 98 net/rose/rose_out.c 	rose->vl         = rose->vr;
vl                118 net/rose/rose_out.c 	rose->vl         = rose->vr;
vl                145 net/rose/rose_timer.c 			rose->vl         = rose->vr;
vl                101 net/x25/x25_in.c 		x25->vl        = 0;
vl                225 net/x25/x25_in.c 			x25->vl        = 0;
vl                247 net/x25/x25_in.c 				x25->vl        = 0;
vl                269 net/x25/x25_in.c 				x25->vl        = 0;
vl                287 net/x25/x25_in.c 					x25->vl        = 0;
vl                299 net/x25/x25_in.c 			if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) {
vl                359 net/x25/x25_in.c 			x25->vl        = 0;
vl                202 net/x25/x25_out.c 	x25->vl         = x25->vr;
vl                222 net/x25/x25_out.c 	x25->vl         = x25->vr;
vl                374 net/x25/x25_subr.c 		x25->vl         = x25->vr;
vl                 56 sound/usb/6fire/comm.c 		u8 reg, u8 vl, u8 vh)
vl                 65 sound/usb/6fire/comm.c 		buffer[5] = vl;
vl                 79 sound/usb/6fire/comm.c 		buffer[12] = vl;
vl                 87 sound/usb/6fire/comm.c 		buffer[5] = vl;
vl                125 sound/usb/6fire/comm.c 		u8 reg, u8 vl, u8 vh)
vl                135 sound/usb/6fire/comm.c 	usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh);
vl                 32 sound/usb/6fire/comm.h 			u8 vh, u8 vl);
vl                176 tools/bpf/bpf_dbg.c 	va_list vl;
vl                178 tools/bpf/bpf_dbg.c 	va_start(vl, fmt);
vl                179 tools/bpf/bpf_dbg.c 	ret = vfprintf(rl_outstream, fmt, vl);
vl                180 tools/bpf/bpf_dbg.c 	va_end(vl);
vl               1048 tools/perf/util/probe-event.c 	struct variable_list *vls = NULL, *vl;
vl               1079 tools/perf/util/probe-event.c 		vl = &vls[i];
vl               1084 tools/perf/util/probe-event.c 		fprintf(stdout, "\t@<%s+%lu>\n", vl->point.symbol,
vl               1085 tools/perf/util/probe-event.c 			vl->point.offset);
vl               1086 tools/perf/util/probe-event.c 		zfree(&vl->point.symbol);
vl               1088 tools/perf/util/probe-event.c 		if (vl->vars) {
vl               1089 tools/perf/util/probe-event.c 			strlist__for_each_entry(node, vl->vars) {
vl               1096 tools/perf/util/probe-event.c 			strlist__delete(vl->vars);
vl               1378 tools/perf/util/probe-finder.c 	struct variable_list *vl;
vl               1382 tools/perf/util/probe-finder.c 	vl = &af->vls[af->nvls - 1];
vl               1419 tools/perf/util/probe-finder.c 				strlist__add(vl->vars,
vl               1454 tools/perf/util/probe-finder.c 	struct variable_list *vl;
vl               1471 tools/perf/util/probe-finder.c 	vl = &af->vls[af->nvls++];
vl               1475 tools/perf/util/probe-finder.c 				     pp->retprobe, pp->function, &vl->point);
vl               1479 tools/perf/util/probe-finder.c 	pr_debug("Probe point found: %s+%lu\n", vl->point.symbol,
vl               1480 tools/perf/util/probe-finder.c 		 vl->point.offset);
vl               1483 tools/perf/util/probe-finder.c 	vl->vars = strlist__new(NULL, NULL);
vl               1484 tools/perf/util/probe-finder.c 	if (vl->vars == NULL)
vl               1497 tools/perf/util/probe-finder.c 	if (strlist__empty(vl->vars)) {
vl               1498 tools/perf/util/probe-finder.c 		strlist__delete(vl->vars);
vl               1499 tools/perf/util/probe-finder.c 		vl->vars = NULL;