caps               58 Documentation/usb/usbdevfs-drop-permissions.c 	uint32_t mask, caps;
caps               71 Documentation/usb/usbdevfs-drop-permissions.c 	ioctl(fd, USBDEVFS_GET_CAPABILITIES, &caps);
caps               72 Documentation/usb/usbdevfs-drop-permissions.c 	if (!(caps & USBDEVFS_CAP_DROP_PRIVILEGES)) {
caps              213 arch/arm/mach-davinci/board-da830-evm.c 	.caps			= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
caps              796 arch/arm/mach-davinci/board-da850-evm.c 	.caps		= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
caps              365 arch/arm/mach-davinci/board-dm355-evm.c 	.caps           = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
caps              204 arch/arm/mach-davinci/board-dm355-leopard.c 	.caps           = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
caps              307 arch/arm/mach-davinci/board-dm365-evm.c 	.caps		= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
caps              147 arch/arm/mach-davinci/board-omapl138-hawk.c 	.caps		= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
caps              246 arch/arm/mach-ep93xx/ts72xx.c 	.caps		= MMC_CAP_NONREMOVABLE,
caps               92 arch/arm/mach-integrator/impd1.c 	.caps		= CLCD_CAP_5551,
caps              121 arch/arm/mach-integrator/impd1.c 	.caps		= CLCD_CAP_5551,
caps              148 arch/arm/mach-integrator/impd1.c 	.caps		= CLCD_CAP_5551,
caps              180 arch/arm/mach-integrator/impd1.c 	.caps		= CLCD_CAP_5551,
caps              254 arch/arm/mach-integrator/impd1.c 	.caps		= CLCD_CAP_5551 | CLCD_CAP_888,
caps               40 arch/arm/mach-omap2/hsmmc.c 	mmc->caps = c->caps;
caps               10 arch/arm/mach-omap2/hsmmc.h 	u32	caps;		/* 4/8 wires and any additional host
caps              290 arch/arm64/include/asm/cpufeature.h 	bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope);
caps              364 arch/arm64/include/asm/cpufeature.h 	const struct arm64_cpu_capabilities *caps;
caps              366 arch/arm64/include/asm/cpufeature.h 	for (caps = entry->match_list; caps->matches; caps++)
caps              367 arch/arm64/include/asm/cpufeature.h 		if (caps->matches(caps, scope))
caps              552 arch/arm64/kernel/cpufeature.c init_cpu_hwcaps_indirect_list_from_array(const struct arm64_cpu_capabilities *caps)
caps              554 arch/arm64/kernel/cpufeature.c 	for (; caps->matches; caps++) {
caps              555 arch/arm64/kernel/cpufeature.c 		if (WARN(caps->capability >= ARM64_NCAPS,
caps              556 arch/arm64/kernel/cpufeature.c 			"Invalid capability %d\n", caps->capability))
caps              558 arch/arm64/kernel/cpufeature.c 		if (WARN(cpu_hwcaps_ptrs[caps->capability],
caps              560 arch/arm64/kernel/cpufeature.c 			caps->capability))
caps              562 arch/arm64/kernel/cpufeature.c 		cpu_hwcaps_ptrs[caps->capability] = caps;
caps             1770 arch/arm64/kernel/cpufeature.c 	const struct arm64_cpu_capabilities *caps;
caps             1774 arch/arm64/kernel/cpufeature.c 		caps = cpu_hwcaps_ptrs[i];
caps             1775 arch/arm64/kernel/cpufeature.c 		if (!caps || !(caps->type & scope_mask) ||
caps             1776 arch/arm64/kernel/cpufeature.c 		    cpus_have_cap(caps->capability) ||
caps             1777 arch/arm64/kernel/cpufeature.c 		    !caps->matches(caps, cpucap_default_scope(caps)))
caps             1780 arch/arm64/kernel/cpufeature.c 		if (caps->desc)
caps             1781 arch/arm64/kernel/cpufeature.c 			pr_info("detected: %s\n", caps->desc);
caps             1782 arch/arm64/kernel/cpufeature.c 		cpus_set_cap(caps->capability);
caps             1784 arch/arm64/kernel/cpufeature.c 		if ((scope_mask & SCOPE_BOOT_CPU) && (caps->type & SCOPE_BOOT_CPU))
caps             1785 arch/arm64/kernel/cpufeature.c 			set_bit(caps->capability, boot_capabilities);
caps             1820 arch/arm64/kernel/cpufeature.c 	const struct arm64_cpu_capabilities *caps;
caps             1829 arch/arm64/kernel/cpufeature.c 		caps = cpu_hwcaps_ptrs[i];
caps             1830 arch/arm64/kernel/cpufeature.c 		if (!caps || !(caps->type & scope_mask))
caps             1832 arch/arm64/kernel/cpufeature.c 		num = caps->capability;
caps             1839 arch/arm64/kernel/cpufeature.c 		if (boot_scope && caps->cpu_enable)
caps             1849 arch/arm64/kernel/cpufeature.c 			caps->cpu_enable(caps);
caps             1874 arch/arm64/kernel/cpufeature.c 	const struct arm64_cpu_capabilities *caps;
caps             1879 arch/arm64/kernel/cpufeature.c 		caps = cpu_hwcaps_ptrs[i];
caps             1880 arch/arm64/kernel/cpufeature.c 		if (!caps || !(caps->type & scope_mask))
caps             1883 arch/arm64/kernel/cpufeature.c 		cpu_has_cap = caps->matches(caps, SCOPE_LOCAL_CPU);
caps             1884 arch/arm64/kernel/cpufeature.c 		system_has_cap = cpus_have_cap(caps->capability);
caps             1891 arch/arm64/kernel/cpufeature.c 			if (!cpu_has_cap && !cpucap_late_cpu_optional(caps))
caps             1899 arch/arm64/kernel/cpufeature.c 			if (caps->cpu_enable)
caps             1900 arch/arm64/kernel/cpufeature.c 				caps->cpu_enable(caps);
caps             1906 arch/arm64/kernel/cpufeature.c 			if (cpu_has_cap && !cpucap_late_cpu_permitted(caps))
caps             1913 arch/arm64/kernel/cpufeature.c 			smp_processor_id(), caps->capability,
caps             1914 arch/arm64/kernel/cpufeature.c 			caps->desc, system_has_cap, cpu_has_cap);
caps             1937 arch/arm64/kernel/cpufeature.c verify_local_elf_hwcaps(const struct arm64_cpu_capabilities *caps)
caps             1940 arch/arm64/kernel/cpufeature.c 	for (; caps->matches; caps++)
caps             1941 arch/arm64/kernel/cpufeature.c 		if (cpus_have_elf_hwcap(caps) && !caps->matches(caps, SCOPE_LOCAL_CPU)) {
caps             1943 arch/arm64/kernel/cpufeature.c 					smp_processor_id(), caps->desc);
caps             1282 arch/powerpc/perf/hv-24x7.c 	struct hv_perf_caps caps;
caps             1321 arch/powerpc/perf/hv-24x7.c 	hret = hv_perf_caps_get(&caps);
caps             1328 arch/powerpc/perf/hv-24x7.c 	if (!caps.collect_privileged && (is_physical_domain(domain) ||
caps             1574 arch/powerpc/perf/hv-24x7.c 	struct hv_perf_caps caps;
caps             1593 arch/powerpc/perf/hv-24x7.c 	hret = hv_perf_caps_get(&caps);
caps                8 arch/powerpc/perf/hv-common.c unsigned long hv_perf_caps_get(struct hv_perf_caps *caps)
caps               13 arch/powerpc/perf/hv-common.c 		struct hv_gpci_system_performance_capabilities caps;
caps               31 arch/powerpc/perf/hv-common.c 	pr_devel("capability_mask: 0x%x\n", arg.caps.capability_mask);
caps               33 arch/powerpc/perf/hv-common.c 	caps->version = arg.params.counter_info_version_out;
caps               34 arch/powerpc/perf/hv-common.c 	caps->collect_privileged = !!arg.caps.perf_collect_privileged;
caps               35 arch/powerpc/perf/hv-common.c 	caps->ga = !!(arg.caps.capability_mask & HV_GPCI_CM_GA);
caps               36 arch/powerpc/perf/hv-common.c 	caps->expanded = !!(arg.caps.capability_mask & HV_GPCI_CM_EXPANDED);
caps               37 arch/powerpc/perf/hv-common.c 	caps->lab = !!(arg.caps.capability_mask & HV_GPCI_CM_LAB);
caps               17 arch/powerpc/perf/hv-common.h unsigned long hv_perf_caps_get(struct hv_perf_caps *caps);
caps               81 arch/powerpc/perf/hv-gpci.c 	struct hv_perf_caps caps;				\
caps               82 arch/powerpc/perf/hv-gpci.c 	unsigned long hret = hv_perf_caps_get(&caps);		\
caps               86 arch/powerpc/perf/hv-gpci.c 	return sprintf(page, _format, caps._name);		\
caps              282 arch/powerpc/perf/hv-gpci.c 	struct hv_perf_caps caps;
caps              291 arch/powerpc/perf/hv-gpci.c 	hret = hv_perf_caps_get(&caps);
caps              221 arch/sh/boards/board-sh7757lcr.c 	.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA |
caps              784 arch/sh/boards/mach-ecovec24/setup.c 	.caps = MMC_CAP_NEEDS_POLL,
caps              979 arch/sh/boards/mach-ecovec24/setup.c 	.caps		= MMC_CAP_4_BIT_DATA |
caps              128 arch/sh/drivers/dma/dma-api.c int request_dma_bycap(const char **dmac, const char **caps, const char *dev_id)
caps              135 arch/sh/drivers/dma/dma-api.c 	BUG_ON(!dmac || !caps);
caps              149 arch/sh/drivers/dma/dma-api.c 		if (unlikely(!channel->caps))
caps              152 arch/sh/drivers/dma/dma-api.c 		for (p = caps; *p; p++) {
caps              153 arch/sh/drivers/dma/dma-api.c 			if (!search_cap(channel->caps, *p))
caps              243 arch/sh/drivers/dma/dma-api.c int register_chan_caps(const char *dmac, struct dma_chan_caps *caps)
caps              258 arch/sh/drivers/dma/dma-api.c 	for (i = 0; i < info->nr_channels; i++, caps++) {
caps              261 arch/sh/drivers/dma/dma-api.c 		if ((info->first_channel_nr + i) != caps->ch_num)
caps              265 arch/sh/drivers/dma/dma-api.c 		channel->caps = caps->caplist;
caps               75 arch/sh/include/asm/dma.h 	const char **caps;
caps              122 arch/sh/include/asm/dma.h extern int request_dma_bycap(const char **dmac, const char **caps,
caps               22 arch/sparc/include/asm/adi_64.h 	struct adi_caps caps;
caps               36 arch/sparc/include/asm/adi_64.h 	return adi_state.caps.blksz;
caps               41 arch/sparc/include/asm/adi_64.h 	return adi_state.caps.nbits;
caps              223 arch/sparc/include/asm/elf_64.h 	NEW_AUX_ENT(AT_ADI_BLKSZ, adi_state.caps.blksz);		\
caps              224 arch/sparc/include/asm/elf_64.h 	NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits);		\
caps              225 arch/sparc/include/asm/elf_64.h 	NEW_AUX_ENT(AT_ADI_UEONADI, adi_state.caps.ue_on_adi);		\
caps               88 arch/sparc/kernel/adi_64.c 	adi_state.caps.blksz = *val;
caps               93 arch/sparc/kernel/adi_64.c 	adi_state.caps.nbits = *val;
caps               98 arch/sparc/kernel/adi_64.c 	adi_state.caps.ue_on_adi = *val;
caps              108 arch/sparc/kernel/adi_64.c 	if (adi_state.caps.nbits > 4) {
caps              118 arch/sparc/kernel/adi_64.c 	adi_state.caps.blksz = 0;
caps              119 arch/sparc/kernel/adi_64.c 	adi_state.caps.nbits = 0;
caps              416 arch/sparc/kernel/setup_64.c 	unsigned long caps = sparc64_elf_hwcap;
caps              422 arch/sparc/kernel/setup_64.c 		if (hwcaps[i] && (caps & bit)) {
caps              428 arch/sparc/kernel/setup_64.c 	if (caps & HWCAP_SPARC_CRYPTO) {
caps              470 arch/sparc/kernel/setup_64.c static void __init report_hwcaps(unsigned long caps)
caps              476 arch/sparc/kernel/setup_64.c 		if (hwcaps[i] && (caps & bit))
caps              479 arch/sparc/kernel/setup_64.c 	if (caps & HWCAP_SPARC_CRYPTO)
caps              488 arch/sparc/kernel/setup_64.c 	unsigned long caps = 0;
caps              512 arch/sparc/kernel/setup_64.c 				caps |= bit;
caps              518 arch/sparc/kernel/setup_64.c 				caps |= HWCAP_SPARC_CRYPTO;
caps              528 arch/sparc/kernel/setup_64.c 	return caps;
caps              105 arch/x86/events/amd/ibs.c 		u32	caps;
caps              612 arch/x86/events/amd/ibs.c 	ibs_data.caps = ibs_caps;
caps              758 arch/x86/events/amd/ibs.c 	u32 caps;
caps              769 arch/x86/events/amd/ibs.c 	caps = cpuid_eax(IBS_CPUID_FEATURES);
caps              770 arch/x86/events/amd/ibs.c 	if (!(caps & IBS_CAPS_AVAIL))
caps              774 arch/x86/events/amd/ibs.c 	return caps;
caps              995 arch/x86/events/amd/ibs.c 	u32 caps;
caps              997 arch/x86/events/amd/ibs.c 	caps = __get_ibs_caps();
caps              998 arch/x86/events/amd/ibs.c 	if (!caps)
caps             1008 arch/x86/events/amd/ibs.c 	ibs_caps = caps;
caps               71 arch/x86/events/intel/pt.c u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities capability)
caps               74 arch/x86/events/intel/pt.c 	u32 c = caps[cd->leaf * PT_CPUID_REGS_NUM + cd->reg];
caps               83 arch/x86/events/intel/pt.c 	return intel_pt_validate_cap(pt_pmu.caps, cap);
caps              233 arch/x86/events/intel/pt.c 			    &pt_pmu.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM],
caps              234 arch/x86/events/intel/pt.c 			    &pt_pmu.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM],
caps              235 arch/x86/events/intel/pt.c 			    &pt_pmu.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM],
caps              236 arch/x86/events/intel/pt.c 			    &pt_pmu.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM]);
caps               45 arch/x86/events/intel/pt.h 	u32			caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES];
caps               30 arch/x86/include/asm/intel_pt.h extern u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities cap);
caps               35 arch/x86/include/asm/intel_pt.h static inline u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities capability) { return 0; }
caps             1493 arch/x86/kvm/vmx/vmx.c 		!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1501 arch/x86/kvm/vmx/vmx.c 	value = intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_mtc_periods);
caps             1502 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_mtc) &&
caps             1506 arch/x86/kvm/vmx/vmx.c 	value = intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1508 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_psb_cyc) &&
caps             1512 arch/x86/kvm/vmx/vmx.c 	value = intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_psb_periods);
caps             1513 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_psb_cyc) &&
caps             1834 arch/x86/kvm/vmx/vmx.c 			!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1841 arch/x86/kvm/vmx/vmx.c 			(!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1843 arch/x86/kvm/vmx/vmx.c 			 !intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1850 arch/x86/kvm/vmx/vmx.c 			(!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1852 arch/x86/kvm/vmx/vmx.c 			 !intel_pt_validate_cap(vmx->pt_desc.caps,
caps             1860 arch/x86/kvm/vmx/vmx.c 			(index >= 2 * intel_pt_validate_cap(vmx->pt_desc.caps,
caps             2095 arch/x86/kvm/vmx/vmx.c 			!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             2103 arch/x86/kvm/vmx/vmx.c 			(!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             2105 arch/x86/kvm/vmx/vmx.c 			 !intel_pt_validate_cap(vmx->pt_desc.caps,
caps             2114 arch/x86/kvm/vmx/vmx.c 			(!intel_pt_validate_cap(vmx->pt_desc.caps,
caps             2116 arch/x86/kvm/vmx/vmx.c 			 !intel_pt_validate_cap(vmx->pt_desc.caps,
caps             2125 arch/x86/kvm/vmx/vmx.c 			(index >= 2 * intel_pt_validate_cap(vmx->pt_desc.caps,
caps             7004 arch/x86/kvm/vmx/vmx.c 		vmx->pt_desc.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM] = best->eax;
caps             7005 arch/x86/kvm/vmx/vmx.c 		vmx->pt_desc.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM] = best->ebx;
caps             7006 arch/x86/kvm/vmx/vmx.c 		vmx->pt_desc.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM] = best->ecx;
caps             7007 arch/x86/kvm/vmx/vmx.c 		vmx->pt_desc.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM] = best->edx;
caps             7011 arch/x86/kvm/vmx/vmx.c 	vmx->pt_desc.addr_range = intel_pt_validate_cap(vmx->pt_desc.caps,
caps             7022 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_cr3_filtering))
caps             7029 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_psb_cyc))
caps             7037 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_mtc))
caps             7042 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_ptwrite))
caps             7047 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_power_event_trace))
caps             7051 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_topa_output))
caps             7055 arch/x86/kvm/vmx/vmx.c 	if (intel_pt_validate_cap(vmx->pt_desc.caps, PT_CAP_output_subsys))
caps               85 arch/x86/kvm/vmx/vmx.h 	u32 caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES];
caps              433 drivers/acpi/acpi_tad.c static DEVICE_ATTR_RO(caps);
caps              589 drivers/acpi/acpi_tad.c 	unsigned long long caps;
caps              596 drivers/acpi/acpi_tad.c 	status = acpi_evaluate_integer(handle, "_GCP", NULL, &caps);
caps              602 drivers/acpi/acpi_tad.c 	if (!(caps & ACPI_TAD_AC_WAKE)) {
caps              616 drivers/acpi/acpi_tad.c 	dd->capabilities = caps;
caps              640 drivers/acpi/acpi_tad.c 	if (caps & ACPI_TAD_DC_WAKE) {
caps              646 drivers/acpi/acpi_tad.c 	if (caps & ACPI_TAD_RT) {
caps              264 drivers/char/tpm/tpm-sysfs.c static DEVICE_ATTR_RO(caps);
caps              603 drivers/clk/ingenic/cgu.c 	unsigned caps, i, num_possible;
caps              645 drivers/clk/ingenic/cgu.c 	caps = clk_info->type;
caps              647 drivers/clk/ingenic/cgu.c 	if (caps & (CGU_CLK_MUX | CGU_CLK_CUSTOM)) {
caps              650 drivers/clk/ingenic/cgu.c 		if (caps & CGU_CLK_MUX)
caps              674 drivers/clk/ingenic/cgu.c 	if (caps & CGU_CLK_CUSTOM) {
caps              677 drivers/clk/ingenic/cgu.c 		caps &= ~CGU_CLK_CUSTOM;
caps              679 drivers/clk/ingenic/cgu.c 		if (caps) {
caps              681 drivers/clk/ingenic/cgu.c 			       __func__, caps);
caps              684 drivers/clk/ingenic/cgu.c 	} else if (caps & CGU_CLK_PLL) {
caps              688 drivers/clk/ingenic/cgu.c 		caps &= ~CGU_CLK_PLL;
caps              690 drivers/clk/ingenic/cgu.c 		if (caps) {
caps              692 drivers/clk/ingenic/cgu.c 			       __func__, caps);
caps              700 drivers/clk/ingenic/cgu.c 	caps &= ~(CGU_CLK_GATE | CGU_CLK_FIXDIV);
caps              702 drivers/clk/ingenic/cgu.c 	if (caps & CGU_CLK_MUX) {
caps              703 drivers/clk/ingenic/cgu.c 		if (!(caps & CGU_CLK_MUX_GLITCHFREE))
caps              706 drivers/clk/ingenic/cgu.c 		caps &= ~(CGU_CLK_MUX | CGU_CLK_MUX_GLITCHFREE);
caps              709 drivers/clk/ingenic/cgu.c 	if (caps & CGU_CLK_DIV) {
caps              710 drivers/clk/ingenic/cgu.c 		caps &= ~CGU_CLK_DIV;
caps              716 drivers/clk/ingenic/cgu.c 	if (caps) {
caps              717 drivers/clk/ingenic/cgu.c 		pr_err("%s: unknown clock type 0x%x\n", __func__, caps);
caps              144 drivers/cpufreq/cppc_cpufreq.c 	struct cppc_perf_caps *caps = &cpu->perf_caps;
caps              147 drivers/cpufreq/cppc_cpufreq.c 	if (caps->lowest_freq && caps->nominal_freq) {
caps              148 drivers/cpufreq/cppc_cpufreq.c 		if (perf >= caps->nominal_perf) {
caps              149 drivers/cpufreq/cppc_cpufreq.c 			mul = caps->nominal_freq;
caps              150 drivers/cpufreq/cppc_cpufreq.c 			div = caps->nominal_perf;
caps              152 drivers/cpufreq/cppc_cpufreq.c 			mul = caps->nominal_freq - caps->lowest_freq;
caps              153 drivers/cpufreq/cppc_cpufreq.c 			div = caps->nominal_perf - caps->lowest_perf;
caps              168 drivers/cpufreq/cppc_cpufreq.c 	struct cppc_perf_caps *caps = &cpu->perf_caps;
caps              171 drivers/cpufreq/cppc_cpufreq.c 	if (caps->lowest_freq && caps->nominal_freq) {
caps              172 drivers/cpufreq/cppc_cpufreq.c 		if (freq >= caps->nominal_freq) {
caps              173 drivers/cpufreq/cppc_cpufreq.c 			mul = caps->nominal_perf;
caps              174 drivers/cpufreq/cppc_cpufreq.c 			div = caps->nominal_freq;
caps              176 drivers/cpufreq/cppc_cpufreq.c 			mul = caps->lowest_perf;
caps              177 drivers/cpufreq/cppc_cpufreq.c 			div = caps->lowest_freq;
caps              217 drivers/crypto/atmel-aes.c 	struct atmel_aes_caps	caps;
caps              553 drivers/crypto/atmel-aes.c 		if (dd->caps.has_dualbuff)
caps              881 drivers/crypto/atmel-aes.c 		maxburst = dd->caps.max_burst_size;
caps             1658 drivers/crypto/atmel-aes.c 		if (dd->caps.has_dualbuff)
caps             2461 drivers/crypto/atmel-aes.c 	if (dd->caps.has_authenc)
caps             2466 drivers/crypto/atmel-aes.c 	if (dd->caps.has_xts)
caps             2469 drivers/crypto/atmel-aes.c 	if (dd->caps.has_gcm)
caps             2472 drivers/crypto/atmel-aes.c 	if (dd->caps.has_cfb64)
caps             2489 drivers/crypto/atmel-aes.c 	if (dd->caps.has_cfb64) {
caps             2495 drivers/crypto/atmel-aes.c 	if (dd->caps.has_gcm) {
caps             2501 drivers/crypto/atmel-aes.c 	if (dd->caps.has_xts) {
caps             2508 drivers/crypto/atmel-aes.c 	if (dd->caps.has_authenc) {
caps             2541 drivers/crypto/atmel-aes.c 	dd->caps.has_dualbuff = 0;
caps             2542 drivers/crypto/atmel-aes.c 	dd->caps.has_cfb64 = 0;
caps             2543 drivers/crypto/atmel-aes.c 	dd->caps.has_gcm = 0;
caps             2544 drivers/crypto/atmel-aes.c 	dd->caps.has_xts = 0;
caps             2545 drivers/crypto/atmel-aes.c 	dd->caps.has_authenc = 0;
caps             2546 drivers/crypto/atmel-aes.c 	dd->caps.max_burst_size = 1;
caps             2551 drivers/crypto/atmel-aes.c 		dd->caps.has_dualbuff = 1;
caps             2552 drivers/crypto/atmel-aes.c 		dd->caps.has_cfb64 = 1;
caps             2553 drivers/crypto/atmel-aes.c 		dd->caps.has_gcm = 1;
caps             2554 drivers/crypto/atmel-aes.c 		dd->caps.has_xts = 1;
caps             2555 drivers/crypto/atmel-aes.c 		dd->caps.has_authenc = 1;
caps             2556 drivers/crypto/atmel-aes.c 		dd->caps.max_burst_size = 4;
caps             2559 drivers/crypto/atmel-aes.c 		dd->caps.has_dualbuff = 1;
caps             2560 drivers/crypto/atmel-aes.c 		dd->caps.has_cfb64 = 1;
caps             2561 drivers/crypto/atmel-aes.c 		dd->caps.has_gcm = 1;
caps             2562 drivers/crypto/atmel-aes.c 		dd->caps.max_burst_size = 4;
caps             2565 drivers/crypto/atmel-aes.c 		dd->caps.has_dualbuff = 1;
caps             2566 drivers/crypto/atmel-aes.c 		dd->caps.has_cfb64 = 1;
caps             2567 drivers/crypto/atmel-aes.c 		dd->caps.max_burst_size = 4;
caps             2707 drivers/crypto/atmel-aes.c 	if (aes_dd->caps.has_authenc && !atmel_sha_authenc_is_ready()) {
caps              151 drivers/crypto/atmel-sha.c 	struct atmel_sha_caps	caps;
caps              480 drivers/crypto/atmel-sha.c 		if (!dd->caps.has_dma)
caps              483 drivers/crypto/atmel-sha.c 		if (dd->caps.has_dualbuff)
caps              522 drivers/crypto/atmel-sha.c 	} else if (dd->caps.has_uihv && (ctx->flags & SHA_FLAGS_RESTORE)) {
caps              695 drivers/crypto/atmel-sha.c 	if (dd->caps.has_dma)
caps             2538 drivers/crypto/atmel-sha.c 	if (dd->caps.has_hmac)
caps             2545 drivers/crypto/atmel-sha.c 	if (dd->caps.has_sha224)
caps             2548 drivers/crypto/atmel-sha.c 	if (dd->caps.has_sha_384_512) {
caps             2564 drivers/crypto/atmel-sha.c 	if (dd->caps.has_sha224) {
caps             2570 drivers/crypto/atmel-sha.c 	if (dd->caps.has_sha_384_512) {
caps             2578 drivers/crypto/atmel-sha.c 	if (dd->caps.has_hmac) {
caps             2656 drivers/crypto/atmel-sha.c 	dd->caps.has_dma = 0;
caps             2657 drivers/crypto/atmel-sha.c 	dd->caps.has_dualbuff = 0;
caps             2658 drivers/crypto/atmel-sha.c 	dd->caps.has_sha224 = 0;
caps             2659 drivers/crypto/atmel-sha.c 	dd->caps.has_sha_384_512 = 0;
caps             2660 drivers/crypto/atmel-sha.c 	dd->caps.has_uihv = 0;
caps             2661 drivers/crypto/atmel-sha.c 	dd->caps.has_hmac = 0;
caps             2666 drivers/crypto/atmel-sha.c 		dd->caps.has_dma = 1;
caps             2667 drivers/crypto/atmel-sha.c 		dd->caps.has_dualbuff = 1;
caps             2668 drivers/crypto/atmel-sha.c 		dd->caps.has_sha224 = 1;
caps             2669 drivers/crypto/atmel-sha.c 		dd->caps.has_sha_384_512 = 1;
caps             2670 drivers/crypto/atmel-sha.c 		dd->caps.has_uihv = 1;
caps             2671 drivers/crypto/atmel-sha.c 		dd->caps.has_hmac = 1;
caps             2674 drivers/crypto/atmel-sha.c 		dd->caps.has_dma = 1;
caps             2675 drivers/crypto/atmel-sha.c 		dd->caps.has_dualbuff = 1;
caps             2676 drivers/crypto/atmel-sha.c 		dd->caps.has_sha224 = 1;
caps             2677 drivers/crypto/atmel-sha.c 		dd->caps.has_sha_384_512 = 1;
caps             2678 drivers/crypto/atmel-sha.c 		dd->caps.has_uihv = 1;
caps             2681 drivers/crypto/atmel-sha.c 		dd->caps.has_dma = 1;
caps             2682 drivers/crypto/atmel-sha.c 		dd->caps.has_dualbuff = 1;
caps             2683 drivers/crypto/atmel-sha.c 		dd->caps.has_sha224 = 1;
caps             2684 drivers/crypto/atmel-sha.c 		dd->caps.has_sha_384_512 = 1;
caps             2687 drivers/crypto/atmel-sha.c 		dd->caps.has_dma = 1;
caps             2688 drivers/crypto/atmel-sha.c 		dd->caps.has_dualbuff = 1;
caps             2689 drivers/crypto/atmel-sha.c 		dd->caps.has_sha224 = 1;
caps             2811 drivers/crypto/atmel-sha.c 	if (sha_dd->caps.has_dma) {
caps             2842 drivers/crypto/atmel-sha.c 			sha_dd->caps.has_sha224 ? "/SHA224" : "",
caps             2843 drivers/crypto/atmel-sha.c 			sha_dd->caps.has_sha_384_512 ? "/SHA384/SHA512" : "");
caps             2851 drivers/crypto/atmel-sha.c 	if (sha_dd->caps.has_dma)
caps             2881 drivers/crypto/atmel-sha.c 	if (sha_dd->caps.has_dma)
caps              132 drivers/crypto/atmel-tdes.c 	struct atmel_tdes_caps	caps;
caps              268 drivers/crypto/atmel-tdes.c 	if (!dd->caps.has_dma)
caps              561 drivers/crypto/atmel-tdes.c 	if (dd->caps.has_dma)
caps             1176 drivers/crypto/atmel-tdes.c 	dd->caps.has_dma = 0;
caps             1177 drivers/crypto/atmel-tdes.c 	dd->caps.has_cfb_3keys = 0;
caps             1182 drivers/crypto/atmel-tdes.c 		dd->caps.has_dma = 1;
caps             1183 drivers/crypto/atmel-tdes.c 		dd->caps.has_cfb_3keys = 1;
caps             1304 drivers/crypto/atmel-tdes.c 	if (tdes_dd->caps.has_dma) {
caps             1343 drivers/crypto/atmel-tdes.c 	if (tdes_dd->caps.has_dma)
caps             1374 drivers/crypto/atmel-tdes.c 	if (tdes_dd->caps.has_dma)
caps              195 drivers/crypto/marvell/cesa.c 	for (i = 0; i < cesa->caps->ncipher_algs; i++) {
caps              196 drivers/crypto/marvell/cesa.c 		ret = crypto_register_skcipher(cesa->caps->cipher_algs[i]);
caps              201 drivers/crypto/marvell/cesa.c 	for (i = 0; i < cesa->caps->nahash_algs; i++) {
caps              202 drivers/crypto/marvell/cesa.c 		ret = crypto_register_ahash(cesa->caps->ahash_algs[i]);
caps              211 drivers/crypto/marvell/cesa.c 		crypto_unregister_ahash(cesa->caps->ahash_algs[j]);
caps              212 drivers/crypto/marvell/cesa.c 	i = cesa->caps->ncipher_algs;
caps              216 drivers/crypto/marvell/cesa.c 		crypto_unregister_skcipher(cesa->caps->cipher_algs[j]);
caps              225 drivers/crypto/marvell/cesa.c 	for (i = 0; i < cesa->caps->nahash_algs; i++)
caps              226 drivers/crypto/marvell/cesa.c 		crypto_unregister_ahash(cesa->caps->ahash_algs[i]);
caps              228 drivers/crypto/marvell/cesa.c 	for (i = 0; i < cesa->caps->ncipher_algs; i++)
caps              229 drivers/crypto/marvell/cesa.c 		crypto_unregister_skcipher(cesa->caps->cipher_algs[i]);
caps              342 drivers/crypto/marvell/cesa.c 	if (!cesa->caps->has_tdma)
caps              394 drivers/crypto/marvell/cesa.c 	if (cesa->caps->nengines > 1) {
caps              434 drivers/crypto/marvell/cesa.c 	const struct mv_cesa_caps *caps = &orion_caps;
caps              454 drivers/crypto/marvell/cesa.c 		caps = match->data;
caps              461 drivers/crypto/marvell/cesa.c 	cesa->caps = caps;
caps              471 drivers/crypto/marvell/cesa.c 	cesa->engines = devm_kcalloc(dev, caps->nengines, sizeof(*engines),
caps              491 drivers/crypto/marvell/cesa.c 	for (i = 0; i < caps->nengines; i++) {
caps              535 drivers/crypto/marvell/cesa.c 		if (dram && cesa->caps->has_tdma)
caps              569 drivers/crypto/marvell/cesa.c 	for (i = 0; i < caps->nengines; i++) {
caps              585 drivers/crypto/marvell/cesa.c 	for (i = 0; i < cesa->caps->nengines; i++) {
caps              413 drivers/crypto/marvell/cesa.h 	const struct mv_cesa_caps *caps;
caps              734 drivers/crypto/marvell/cesa.h 	for (i = 0; i < cesa_dev->caps->nengines; i++) {
caps              435 drivers/crypto/marvell/cipher.c 	if (cesa_dev->caps->has_tdma)
caps              742 drivers/crypto/marvell/hash.c 	if (cesa_dev->caps->has_tdma)
caps               73 drivers/crypto/mxs-dcp.c 	uint32_t			caps;
caps             1102 drivers/crypto/mxs-dcp.c 	sdcp->caps = readl(sdcp->base + MXS_DCP_CAPABILITY1);
caps             1104 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_AES128) {
caps             1114 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_SHA1) {
caps             1123 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_SHA256) {
caps             1135 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_SHA1)
caps             1139 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_AES128)
caps             1158 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_SHA256)
caps             1161 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_SHA1)
caps             1164 drivers/crypto/mxs-dcp.c 	if (sdcp->caps & MXS_DCP_CAPABILITY1_AES128)
caps              135 drivers/crypto/stm32/stm32-cryp.c 	const struct stm32_cryp_caps *caps;
caps              522 drivers/crypto/stm32/stm32-cryp.c 		if (!cryp->caps->padding_wa)
caps             1121 drivers/crypto/stm32/stm32-cryp.c 		if (cryp->caps->swap_final)
caps             1130 drivers/crypto/stm32/stm32-cryp.c 		if (cryp->caps->swap_final)
caps             1144 drivers/crypto/stm32/stm32-cryp.c 			if (!cryp->caps->padding_wa)
caps             1503 drivers/crypto/stm32/stm32-cryp.c 		if (cryp->caps->padding_wa)
caps             1515 drivers/crypto/stm32/stm32-cryp.c 		if (cryp->caps->padding_wa)
caps             1945 drivers/crypto/stm32/stm32-cryp.c 	cryp->caps = of_device_get_match_data(dev);
caps             1946 drivers/crypto/stm32/stm32-cryp.c 	if (!cryp->caps)
caps              463 drivers/dma/dmaengine.c int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps)
caps              467 drivers/dma/dmaengine.c 	if (!chan || !caps)
caps              485 drivers/dma/dmaengine.c 	caps->src_addr_widths = device->src_addr_widths;
caps              486 drivers/dma/dmaengine.c 	caps->dst_addr_widths = device->dst_addr_widths;
caps              487 drivers/dma/dmaengine.c 	caps->directions = device->directions;
caps              488 drivers/dma/dmaengine.c 	caps->max_burst = device->max_burst;
caps              489 drivers/dma/dmaengine.c 	caps->residue_granularity = device->residue_granularity;
caps              490 drivers/dma/dmaengine.c 	caps->descriptor_reuse = device->descriptor_reuse;
caps              491 drivers/dma/dmaengine.c 	caps->cmd_pause = !!device->device_pause;
caps              492 drivers/dma/dmaengine.c 	caps->cmd_resume = !!device->device_resume;
caps              493 drivers/dma/dmaengine.c 	caps->cmd_terminate = !!device->device_terminate_all;
caps              807 drivers/firmware/arm_scpi.c 	struct scp_capabilities caps;
caps              810 drivers/firmware/arm_scpi.c 				&caps, sizeof(caps));
caps              812 drivers/firmware/arm_scpi.c 		info->protocol_version = le32_to_cpu(caps.protocol_version);
caps              813 drivers/firmware/arm_scpi.c 		info->firmware_version = le32_to_cpu(caps.platform_version);
caps             1248 drivers/gpu/drm/amd/amdgpu/amdgpu.h 		struct amdgpu_dm_backlight_caps *caps);
caps              867 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		struct amdgpu_dm_backlight_caps *caps)
caps              870 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		caps->caps_valid = false;
caps              873 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	caps->caps_valid = adev->atif->backlight_caps.caps_valid;
caps              874 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	caps->min_input_signal = adev->atif->backlight_caps.min_input_signal;
caps              875 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	caps->max_input_signal = adev->atif->backlight_caps.max_input_signal;
caps              380 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 							u16 caps = 0;
caps              389 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 									caps = le16_to_cpu(cap_record->usEncoderCap);
caps              397 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 										    caps);
caps             1300 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->caps & ATOM_ENCODER_CAP_RECORD_HBR2)
caps             2467 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 				adev->virt.caps |= AMDGPU_SRIOV_CAPS_SRIOV_VBIOS;
caps             2470 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 				adev->virt.caps |= AMDGPU_SRIOV_CAPS_SRIOV_VBIOS;
caps             2473 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 		if (!(adev->virt.caps & AMDGPU_SRIOV_CAPS_SRIOV_VBIOS))
caps             2822 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME;
caps               93 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c void amdgpu_dpm_print_cap_info(u32 caps)
caps               96 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	if (caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY)
caps               98 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	if (caps & ATOM_PPLIB_SUPPORTS_VIDEO_PLAYBACK)
caps              100 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	if (caps & ATOM_PPLIB_DISALLOW_ON_DC)
caps               56 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u32 caps; /* vbios flags */
caps              493 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h void amdgpu_dpm_print_cap_info(u32 caps);
caps              288 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 			    u16 caps);
caps              466 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	u16 caps;
caps             2492 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) {
caps             2501 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) {
caps             2510 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) {
caps              197 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c 		adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME;
caps              220 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_RUNTIME;
caps              241 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c 		adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME;
caps              247 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h 	uint32_t			caps;
caps              266 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_ENABLE_IOV)
caps              269 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_IS_VF)
caps              272 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_SRIOV_VBIOS)
caps              275 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_SRIOV_CAPS_RUNTIME)
caps              278 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((adev)->virt.caps & AMDGPU_PASSTHROUGH_MODE)
caps             1721 drivers/gpu/drm/amd/amdgpu/cik.c 		adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps             3463 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 				 u16 caps)
caps             3509 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->caps = caps;
caps             3589 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 				 u16 caps)
caps             3641 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->caps = caps;
caps             3273 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 				 u16 caps)
caps             3318 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->caps = caps;
caps             3351 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 				 u16 caps)
caps             3397 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->caps = caps;
caps             2659 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             2900 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	amdgpu_dpm_print_cap_info(rps->caps);
caps              290 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF;
caps              293 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV;
caps              297 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c 			adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps              250 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF;
caps              253 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV;
caps              257 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c 			adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps              286 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c 		adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps              296 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF;
caps              299 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c 		adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV;
caps              303 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c 			adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps             1239 drivers/gpu/drm/amd/amdgpu/si.c 		adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps             6378 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		((amdgpu_new_state->caps & ATOM_PPLIB_PCIE_LINK_WIDTH_MASK) >> ATOM_PPLIB_PCIE_LINK_WIDTH_SHIFT) + 1;
caps             6380 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		((amdgpu_current_state->caps & ATOM_PPLIB_PCIE_LINK_WIDTH_MASK) >> ATOM_PPLIB_PCIE_LINK_WIDTH_SHIFT) + 1;
caps             7111 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             7904 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	amdgpu_dpm_print_cap_info(rps->caps);
caps              460 drivers/gpu/drm/amd/amdgpu/vi.c 		       adev->virt.caps |= AMDGPU_SRIOV_CAPS_IS_VF;
caps              463 drivers/gpu/drm/amd/amdgpu/vi.c 		       adev->virt.caps |= AMDGPU_SRIOV_CAPS_ENABLE_IOV;
caps              468 drivers/gpu/drm/amd/amdgpu/vi.c 			adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE;
caps              738 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size;
caps              739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size;
caps             2062 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_dm_backlight_caps caps;
caps             2067 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_acpi_get_backlight_caps(dm->adev, &caps);
caps             2068 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (caps.caps_valid) {
caps             2069 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.min_input_signal = caps.min_input_signal;
caps             2070 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.max_input_signal = caps.max_input_signal;
caps             2087 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_dm_backlight_caps caps;
caps             2091 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	caps = dm->backlight_caps;
caps             2104 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		* (caps.max_input_signal - caps.min_input_signal)
caps             2106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		+ caps.min_input_signal * 0x101;
caps             2183 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (plane_id >= dm->dc->caps.max_streams)
caps             2243 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	link_cnt = dm->dc->caps.max_links;
caps             2250 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	primary_planes = dm->dc->caps.max_streams;
caps             2258 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane = &dm->dc->caps.planes[i];
caps             2276 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for (i = 0; i < dm->dc->caps.max_planes; ++i) {
caps             2277 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		struct dc_plane_cap *plane = &dm->dc->caps.planes[i];
caps             2298 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for (i = 0; i < dm->dc->caps.max_streams; i++)
caps             2304 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->display_indexes_num = dm->dc->caps.max_streams;
caps             4817 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	acrtc->max_cursor_width = dm->adev->dm.dc->caps.max_cursor_size;
caps             4818 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	acrtc->max_cursor_height = dm->adev->dm.dc->caps.max_cursor_size;
caps             1447 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 		info->ext_disp_conn_info.path[i].caps =
caps             1448 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 				le16_to_cpu(info_v11->extdispconninfo.path[i].caps);
caps             3098 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3128 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3156 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3184 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3219 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			if (ctx->dc->caps.max_slave_planes) {
caps             3249 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			if (ctx->dc->caps.max_slave_planes) {
caps             3277 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3305 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			if (ctx->dc->caps.max_slave_planes) {
caps             3339 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			if (ctx->dc->caps.max_slave_planes) {
caps             3368 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			if (ctx->dc->caps.max_slave_planes) {
caps             3396 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3424 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			if (ctx->dc->caps.max_slave_planes) {
caps             3472 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3500 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3528 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps             3556 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (ctx->dc->caps.max_slave_planes) {
caps              800 drivers/gpu/drm/amd/display/dc/core/dc.c 	dc->caps.max_streams = min(
caps              804 drivers/gpu/drm/amd/display/dc/core/dc.c 	dc->caps.max_links = dc->link_count;
caps              805 drivers/gpu/drm/amd/display/dc/core/dc.c 	dc->caps.max_audios = dc->res_pool->audio_count;
caps              806 drivers/gpu/drm/amd/display/dc/core/dc.c 	dc->caps.linear_pitch_alignment = 64;
caps             1365 drivers/gpu/drm/amd/display/dc/core/dc_link.c 				link->chip_caps = path->caps;
caps             1369 drivers/gpu/drm/amd/display/dc/core/dc_link.c 				link->chip_caps = path->caps;
caps             1689 drivers/gpu/drm/amd/display/dc/core/dc_link.c 	cmd.speed = pipe_ctx->stream->ctx->dc->caps.i2c_speed_in_khz;
caps              360 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c 		.speed = ddc->ctx->dc->caps.i2c_speed_in_khz };
caps              566 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c 			.speed = ddc->ctx->dc->caps.i2c_speed_in_khz };
caps             2205 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 		test_pattern = (link->dc->caps.force_dp_tps4_for_cp2520 == 1) ?
caps             2211 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 		test_pattern = (link->dc->caps.force_dp_tps4_for_cp2520 == 1) ?
caps              253 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	const struct resource_caps *caps = pool->res_cap;
caps              255 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	unsigned int num_audio = caps->num_audio;
caps              271 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		for (i = 0; i < caps->num_audio; i++) {
caps              289 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		for (i = 0; i < caps->num_stream_encoder; i++) {
caps              297 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	dc->caps.dynamic_audio = false;
caps              299 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		dc->caps.dynamic_audio = true;
caps              416 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	if (stream1->ctx->dc->caps.disable_dp_clk_share)
caps             2779 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 		return dc->res_pool->funcs->validate_plane(plane_state, &dc->caps);
caps               52 drivers/gpu/drm/amd/display/dc/core/dc_stream.c 		if (stream->ctx->dc->caps.dual_link_dvi &&
caps              460 drivers/gpu/drm/amd/display/dc/dc.h 	struct dc_caps caps;
caps              266 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c 	if (ctx->dc->caps.psp_setup_panel_mode)
caps              847 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c enum dc_status dce100_validate_plane(const struct dc_plane_state *plane_state, struct dc_caps *caps)
caps              995 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	dc->caps.max_downscale_ratio = 200;
caps              996 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	dc->caps.i2c_speed_in_khz = 40;
caps              997 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	dc->caps.max_cursor_size = 128;
caps              998 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	dc->caps.dual_link_dvi = true;
caps              999 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	dc->caps.disable_dp_clk_share = true;
caps             1063 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1065 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1066 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		dc->caps.planes[i] = plane_cap;
caps               42 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.h enum dc_status dce100_validate_plane(const struct dc_plane_state *plane_state, struct dc_caps *caps);
caps             1917 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 					if (dc->caps.dynamic_audio == true) {
caps              965 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 				     struct dc_caps *caps)
caps             1199 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	ctx->dc->caps.max_slave_planes = 1;
caps             1200 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	ctx->dc->caps.max_slave_planes = 1;
caps             1292 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	dc->caps.max_downscale_ratio = 150;
caps             1293 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	dc->caps.i2c_speed_in_khz = 100;
caps             1294 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	dc->caps.max_cursor_size = 128;
caps             1295 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	dc->caps.is_apu = true;
caps             1434 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1437 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 		dc->caps.planes[i] = plane_cap;
caps             1439 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	dc->caps.planes[pool->base.underlay_pipe_index] = underlay_plane_cap;
caps             1162 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             1163 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	dc->caps.i2c_speed_in_khz = 100;
caps             1164 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	dc->caps.max_cursor_size = 128;
caps             1165 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	dc->caps.dual_link_dvi = true;
caps             1314 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1316 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1317 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 		dc->caps.planes[i] = plane_cap;
caps             1004 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             1005 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	dc->caps.i2c_speed_in_khz = 100;
caps             1006 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	dc->caps.max_cursor_size = 128;
caps             1007 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	dc->caps.dual_link_dvi = true;
caps             1008 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	dc->caps.psp_setup_panel_mode = true;
caps             1178 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1180 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1181 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 		dc->caps.planes[i] = plane_cap;
caps              894 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_downscale_ratio = 200;
caps              895 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.i2c_speed_in_khz = 40;
caps              896 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_cursor_size = 128;
caps              897 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.dual_link_dvi = true;
caps             1032 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1034 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1035 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		dc->caps.planes[i] = plane_cap;
caps             1037 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.disable_dp_clk_share = true;
caps             1091 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             1092 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.i2c_speed_in_khz = 40;
caps             1093 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_cursor_size = 128;
caps             1094 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.is_apu = true;
caps             1229 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1231 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1232 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		dc->caps.planes[i] = plane_cap;
caps             1234 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.disable_dp_clk_share = true;
caps             1288 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             1289 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.i2c_speed_in_khz = 40;
caps             1290 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_cursor_size = 128;
caps             1291 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.is_apu = true;
caps             1422 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1424 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1425 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		dc->caps.planes[i] = plane_cap;
caps             1427 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	dc->caps.disable_dp_clk_share = true;
caps              146 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c 		dpp->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT &&
caps              573 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c 	dpp->base.caps = &dcn10_dpp_cap;
caps              174 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c 	if (dpp_base->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT) {
caps              207 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c 	if (dpp->base.caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT) {
caps              492 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c 	dpp->base.caps->dscl_calc_lb_num_partitions(
caps              499 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c 	dpp->base.caps->dscl_calc_lb_num_partitions(
caps              508 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c 		dpp->base.caps->dscl_calc_lb_num_partitions(
caps              516 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c 	dpp->base.caps->dscl_calc_lb_num_partitions(
caps               47 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c static bool dwb1_get_caps(struct dwbc *dwbc, struct dwb_caps *caps)
caps               49 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 	if (caps) {
caps               50 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->adapter_id = 0;	/* we only support 1 adapter currently */
caps               51 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->hw_version = DCN_VERSION_1_0;
caps               52 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->num_pipes = 2;
caps               53 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		memset(&caps->reserved, 0, sizeof(caps->reserved));
caps               54 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		memset(&caps->reserved2, 0, sizeof(caps->reserved2));
caps               55 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->sw_version = dwb_ver_1_0;
caps               56 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->caps.support_dwb = true;
caps               57 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->caps.support_ogam = false;
caps               58 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->caps.support_wbscl = true;
caps               59 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c 		caps->caps.support_ocsc = false;
caps              840 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			if (dc->caps.dynamic_audio == true) {
caps             1137 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c static enum dc_status dcn10_validate_plane(const struct dc_plane_state *plane_state, struct dc_caps *caps)
caps             1140 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 			&& caps->max_video_width != 0
caps             1141 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 			&& plane_state->src_rect.width > caps->max_video_width)
caps             1304 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.max_video_width = 3840;
caps             1305 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             1306 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.i2c_speed_in_khz = 100;
caps             1307 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.max_cursor_size = 256;
caps             1308 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.max_slave_planes = 1;
caps             1309 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.is_apu = true;
caps             1310 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.post_blend_color_processing = false;
caps             1312 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.force_dp_tps4_for_cp2520 = true;
caps             1545 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1547 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1548 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 		dc->caps.planes[i] = plane_cap;
caps              389 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c 		dpp->caps->dscl_data_proc_format == DSCL_DATA_PRCESSING_FIXED_FORMAT &&
caps              506 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c 	dpp->base.caps = &dcn20_dpp_cap;
caps               50 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c static bool dwb2_get_caps(struct dwbc *dwbc, struct dwb_caps *caps)
caps               53 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 	if (caps) {
caps               54 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->adapter_id = 0;	/* we only support 1 adapter currently */
caps               55 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->hw_version = DCN_VERSION_2_0;
caps               56 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->num_pipes = 1;
caps               57 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		memset(&caps->reserved, 0, sizeof(caps->reserved));
caps               58 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		memset(&caps->reserved2, 0, sizeof(caps->reserved2));
caps               59 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->sw_version = dwb_ver_1_0;
caps               60 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->caps.support_dwb = true;
caps               61 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->caps.support_ogam = false;
caps               62 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->caps.support_wbscl = false;
caps               63 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c 		caps->caps.support_ocsc = false;
caps             1649 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 			if (dc->caps.dynamic_audio == true) {
caps             3463 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             3464 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.i2c_speed_in_khz = 100;
caps             3465 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.max_cursor_size = 256;
caps             3466 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.dmdata_alloc_size = 2048;
caps             3468 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.max_slave_planes = 1;
caps             3469 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.post_blend_color_processing = true;
caps             3470 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.force_dp_tps4_for_cp2520 = true;
caps             3471 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.hw_3d_lut = true;
caps             3726 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             3728 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             3729 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		dc->caps.planes[i] = plane_cap;
caps             1463 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.max_downscale_ratio = 200;
caps             1464 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.i2c_speed_in_khz = 100;
caps             1465 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.max_cursor_size = 256;
caps             1466 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.dmdata_alloc_size = 2048;
caps             1467 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.hw_3d_lut = true;
caps             1469 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.max_slave_planes = 1;
caps             1470 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.post_blend_color_processing = true;
caps             1471 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.force_dp_tps4_for_cp2520 = true;
caps             1656 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	dc->caps.max_planes =  pool->base.pipe_count;
caps             1658 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	for (i = 0; i < dc->caps.max_planes; ++i)
caps             1659 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 		dc->caps.planes[i] = plane_cap;
caps              118 drivers/gpu/drm/amd/display/dc/inc/core_types.h 	enum dc_status (*validate_plane)(const struct dc_plane_state *plane_state, struct dc_caps *caps);
caps               36 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h 	struct dpp_caps *caps;
caps              105 drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h 	} caps;
caps              130 drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h 		struct dwb_caps *caps);
caps               41 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h 	struct dpp_caps *caps;
caps              310 drivers/gpu/drm/amd/display/include/grph_object_ctrl_defs.h 			unsigned short caps;
caps              969 drivers/gpu/drm/amd/include/atomfirmware.h   uint16_t  caps;
caps              283 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h static inline void phm_cap_set(uint32_t *caps,
caps              286 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h 	caps[c / PHM_MAX_NUM_CAPS_BITS_PER_FIELD] |= (1UL <<
caps              290 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h static inline void phm_cap_unset(uint32_t *caps,
caps              293 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h 	caps[c / PHM_MAX_NUM_CAPS_BITS_PER_FIELD] &= ~(1UL << (c & (PHM_MAX_NUM_CAPS_BITS_PER_FIELD - 1)));
caps              296 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h static inline bool phm_cap_enabled(const uint32_t *caps, enum phm_platform_caps c)
caps              298 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h 	return (0 != (caps[c / PHM_MAX_NUM_CAPS_BITS_PER_FIELD] &
caps              493 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c static bool d71_format_mod_supported(const struct komeda_format_caps *caps,
caps               16 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 	const struct komeda_format_caps *caps;
caps               22 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 		caps = &table->format_caps[id];
caps               24 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 		if (fourcc != caps->fourcc)
caps               27 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 		if ((modifier == 0ULL) && (caps->supported_afbc_layouts == 0))
caps               28 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 			return caps;
caps               30 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 		if (has_bits(afbc_features, caps->supported_afbc_features) &&
caps               31 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 		    has_bit(afbc_layout, caps->supported_afbc_layouts))
caps               32 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 			return caps;
caps               99 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 	const struct komeda_format_caps *caps;
caps              101 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 	caps = komeda_get_format_caps(table, fourcc, modifier);
caps              102 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 	if (!caps)
caps              105 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 	if (!(caps->supported_layer_types & layer_type))
caps              109 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c 		return table->format_mod_supported(caps, layer_type, modifier,
caps               79 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.h 	bool (*format_mod_supported)(const struct komeda_format_caps *caps,
caps               22 drivers/gpu/drm/arm/display/komeda/komeda_plane.c 	const struct komeda_format_caps *caps = to_kfb(fb)->format_caps;
caps               50 drivers/gpu/drm/arm/display/komeda/komeda_plane.c 	dflow->rot = drm_rotation_simplify(st->rotation, caps->supported_rots);
caps               51 drivers/gpu/drm/arm/display/komeda/komeda_plane.c 	if (!has_bits(dflow->rot, caps->supported_rots)) {
caps               54 drivers/gpu/drm/arm/display/komeda/komeda_plane.c 				 komeda_get_format_name(caps->fourcc,
caps               49 drivers/gpu/drm/exynos/exynos_drm_ipp.c 		const struct exynos_drm_ipp_funcs *funcs, unsigned int caps,
caps               63 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	ipp->capabilities = caps;
caps              128 drivers/gpu/drm/exynos/exynos_drm_ipp.h 		const struct exynos_drm_ipp_funcs *funcs, unsigned int caps,
caps               85 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	struct psb_intel_sdvo_caps caps;
caps             1193 drivers/gpu/drm/gma500/psb_intel_sdvo.c static bool psb_intel_sdvo_get_capabilities(struct psb_intel_sdvo *psb_intel_sdvo, struct psb_intel_sdvo_caps *caps)
caps             1195 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	BUILD_BUG_ON(sizeof(*caps) != 8);
caps             1198 drivers/gpu/drm/gma500/psb_intel_sdvo.c 				  caps, sizeof(*caps)))
caps             1214 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->vendor_id,
caps             1215 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->device_id,
caps             1216 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->device_rev_id,
caps             1217 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->sdvo_version_major,
caps             1218 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->sdvo_version_minor,
caps             1219 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->sdvo_inputs_mask,
caps             1220 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->smooth_scaling,
caps             1221 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->sharp_scaling,
caps             1222 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->up_scaling,
caps             1223 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->down_scaling,
caps             1224 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->stall_support,
caps             1225 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		      caps->output_flags);
caps             1303 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	int caps = psb_intel_sdvo->caps.output_flags & 0xf;
caps             1304 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	return caps & -caps;
caps             1397 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	if (psb_intel_sdvo->caps.output_flags &
caps             1908 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	mask &= sdvo->caps.output_flags;
caps             2245 drivers/gpu/drm/gma500/psb_intel_sdvo.c 		memcpy(bytes, &psb_intel_sdvo->caps.output_flags, 2);
caps             2558 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	if (!psb_intel_sdvo_get_capabilities(psb_intel_sdvo, &psb_intel_sdvo->caps))
caps             2562 drivers/gpu/drm/gma500/psb_intel_sdvo.c 				    psb_intel_sdvo->caps.output_flags) != true) {
caps             2584 drivers/gpu/drm/gma500/psb_intel_sdvo.c 			psb_intel_sdvo->caps.vendor_id, psb_intel_sdvo->caps.device_id,
caps             2585 drivers/gpu/drm/gma500/psb_intel_sdvo.c 			psb_intel_sdvo->caps.device_rev_id,
caps             2588 drivers/gpu/drm/gma500/psb_intel_sdvo.c 			(psb_intel_sdvo->caps.sdvo_inputs_mask & 0x1) ? 'Y' : 'N',
caps             2589 drivers/gpu/drm/gma500/psb_intel_sdvo.c 			(psb_intel_sdvo->caps.sdvo_inputs_mask & 0x2) ? 'Y' : 'N',
caps             2591 drivers/gpu/drm/gma500/psb_intel_sdvo.c 			psb_intel_sdvo->caps.output_flags &
caps             2593 drivers/gpu/drm/gma500/psb_intel_sdvo.c 			psb_intel_sdvo->caps.output_flags &
caps               96 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo_caps caps;
caps             1857 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_capabilities(struct intel_sdvo *intel_sdvo, struct intel_sdvo_caps *caps)
caps             1859 drivers/gpu/drm/i915/display/intel_sdvo.c 	BUILD_BUG_ON(sizeof(*caps) != 8);
caps             1862 drivers/gpu/drm/i915/display/intel_sdvo.c 				  caps, sizeof(*caps)))
caps             1878 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->vendor_id,
caps             1879 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->device_id,
caps             1880 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->device_rev_id,
caps             1881 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->sdvo_version_major,
caps             1882 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->sdvo_version_minor,
caps             1883 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->sdvo_inputs_mask,
caps             1884 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->smooth_scaling,
caps             1885 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->sharp_scaling,
caps             1886 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->up_scaling,
caps             1887 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->down_scaling,
caps             1888 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->stall_support,
caps             1889 drivers/gpu/drm/i915/display/intel_sdvo.c 		      caps->output_flags);
caps             1938 drivers/gpu/drm/i915/display/intel_sdvo.c 	return hweight16(intel_sdvo->caps.output_flags) > 1;
caps             2504 drivers/gpu/drm/i915/display/intel_sdvo.c 	mask &= sdvo->caps.output_flags;
caps             2918 drivers/gpu/drm/i915/display/intel_sdvo.c 		memcpy(bytes, &intel_sdvo->caps.output_flags, 2);
caps             3292 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_capabilities(intel_sdvo, &intel_sdvo->caps))
caps             3296 drivers/gpu/drm/i915/display/intel_sdvo.c 				    intel_sdvo->caps.output_flags) != true) {
caps             3340 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.vendor_id, intel_sdvo->caps.device_id,
caps             3341 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.device_rev_id,
caps             3344 drivers/gpu/drm/i915/display/intel_sdvo.c 			(intel_sdvo->caps.sdvo_inputs_mask & 0x1) ? 'Y' : 'N',
caps             3345 drivers/gpu/drm/i915/display/intel_sdvo.c 			(intel_sdvo->caps.sdvo_inputs_mask & 0x2) ? 'Y' : 'N',
caps             3347 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.output_flags &
caps             3349 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.output_flags &
caps             1797 drivers/gpu/drm/i915/gem/i915_gem_context.c 			else if (!(ctx->i915->caps.scheduler & I915_SCHEDULER_CAP_PRIORITY))
caps              125 drivers/gpu/drm/i915/gt/intel_engine_user.c 	i915->caps.scheduler = enabled & ~disabled;
caps              126 drivers/gpu/drm/i915/gt/intel_engine_user.c 	if (!(i915->caps.scheduler & I915_SCHEDULER_CAP_ENABLED))
caps              127 drivers/gpu/drm/i915/gt/intel_engine_user.c 		i915->caps.scheduler = 0;
caps             1025 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			if (!(gt->i915->caps.scheduler & I915_SCHEDULER_CAP_PRIORITY))
caps              515 drivers/gpu/drm/i915/gt/selftest_lrc.c 	if (!(i915->caps.scheduler & I915_SCHEDULER_CAP_PREEMPTION))
caps             1305 drivers/gpu/drm/i915/gvt/kvmgt.c 		struct vfio_info_cap caps = { .buf = NULL, .size = 0 };
caps             1405 drivers/gpu/drm/i915/gvt/kvmgt.c 				ret = vfio_info_add_capability(&caps,
caps             1416 drivers/gpu/drm/i915/gvt/kvmgt.c 				ret = vfio_info_add_capability(&caps,
caps             1431 drivers/gpu/drm/i915/gvt/kvmgt.c 		if (caps.size) {
caps             1433 drivers/gpu/drm/i915/gvt/kvmgt.c 			if (info.argsz < sizeof(info) + caps.size) {
caps             1434 drivers/gpu/drm/i915/gvt/kvmgt.c 				info.argsz = sizeof(info) + caps.size;
caps             1437 drivers/gpu/drm/i915/gvt/kvmgt.c 				vfio_info_cap_shift(&caps, sizeof(info));
caps             1439 drivers/gpu/drm/i915/gvt/kvmgt.c 						  sizeof(info), caps.buf,
caps             1440 drivers/gpu/drm/i915/gvt/kvmgt.c 						  caps.size)) {
caps             1441 drivers/gpu/drm/i915/gvt/kvmgt.c 					kfree(caps.buf);
caps             1448 drivers/gpu/drm/i915/gvt/kvmgt.c 			kfree(caps.buf);
caps               71 drivers/gpu/drm/i915/i915_debugfs.c 	intel_driver_caps_print(&dev_priv->caps, &p);
caps              968 drivers/gpu/drm/i915/i915_drv.h 	u32 caps;
caps             1287 drivers/gpu/drm/i915/i915_drv.h 	struct intel_driver_caps caps;
caps             1837 drivers/gpu/drm/i915/i915_drv.h #define DRIVER_CAPS(dev_priv)	(&(dev_priv)->caps)
caps               62 drivers/gpu/drm/i915/i915_getparam.c 		value = !!(i915->caps.scheduler & I915_SCHEDULER_CAP_SEMAPHORES);
caps              108 drivers/gpu/drm/i915/i915_getparam.c 		value = i915->caps.scheduler;
caps              595 drivers/gpu/drm/i915/i915_gpu_error.c 				   const struct intel_driver_caps *caps)
caps              600 drivers/gpu/drm/i915/i915_gpu_error.c 	intel_driver_caps_print(caps, &p);
caps             1642 drivers/gpu/drm/i915/i915_gpu_error.c 	error->driver_caps = i915->caps;
caps              110 drivers/gpu/drm/i915/i915_pmu.c 	else if (i915->caps.scheduler & I915_SCHEDULER_CAP_ENGINE_BUSY_STATS)
caps               94 drivers/gpu/drm/i915/i915_vgpu.c 	dev_priv->vgpu.caps = readl(shared_area + vgtif_offset(vgt_caps));
caps              106 drivers/gpu/drm/i915/i915_vgpu.c 	return dev_priv->vgpu.caps & VGT_CAPS_FULL_PPGTT;
caps               37 drivers/gpu/drm/i915/i915_vgpu.h 	return dev_priv->vgpu.caps & VGT_CAPS_HWSP_EMULATION;
caps               43 drivers/gpu/drm/i915/i915_vgpu.h 	return dev_priv->vgpu.caps & VGT_CAPS_HUGE_GTT;
caps              980 drivers/gpu/drm/i915/intel_device_info.c void intel_driver_caps_print(const struct intel_driver_caps *caps,
caps              984 drivers/gpu/drm/i915/intel_device_info.c 		   yesno(caps->has_logical_contexts));
caps              985 drivers/gpu/drm/i915/intel_device_info.c 	drm_printf(p, "scheduler: %x\n", caps->scheduler);
caps              236 drivers/gpu/drm/i915/intel_device_info.h void intel_driver_caps_print(const struct intel_driver_caps *caps,
caps             2077 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 				dpu_kms->catalog->caps->has_idle_pc;
caps              406 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 		.caps = &sdm845_dpu_caps,
caps              653 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h 	const struct dpu_caps *caps;
caps              495 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c 	c->caps = cfg;
caps              496 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c 	_setup_ctl_ops(&c->ops, c->caps->features);
caps              170 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h 	const struct dpu_ctl_cfg *caps;
caps              214 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c 	c->caps = cfg;
caps              215 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c 	_setup_pingpong_ops(&c->ops, c->caps);
caps               93 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h 	const struct dpu_pingpong_cfg *caps;
caps              305 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c 		if (IS_UBWC_20_SUPPORTED(ctx->catalog->caps->ubwc_version)) {
caps              108 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c 	reg_off = mdp->caps->clk_ctrls[clk_ctrl].reg_off;
caps              109 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c 	bit_off = mdp->caps->clk_ctrls[clk_ctrl].bit_off;
caps              259 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c 	if (!IS_UBWC_20_SUPPORTED(m->caps->ubwc_version))
caps              342 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c 	mdp->caps = cfg;
caps              343 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c 	_setup_mdp_ops(&mdp->ops, mdp->caps->features);
caps              149 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h 	const struct dpu_mdp_cfg *caps;
caps              935 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 			dpu_kms->catalog->caps->max_mixer_width * 2;
caps              449 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c 		unsigned long features = ctl->caps->features;
caps               21 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c 	uint32_t caps;
caps              369 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c 	mdp4_plane->caps = mdp4_pipe_caps(pipe_id);
caps              373 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c 			!pipe_supports_yuv(mdp4_plane->caps));
caps               21 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_SMP |
caps               41 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP |
caps               50 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP |
caps               58 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP |
caps               67 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps               69 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps               71 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps               73 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB },
caps               75 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB },
caps              105 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_SMP |
caps              125 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              132 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              138 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP,
caps              145 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              147 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              149 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              151 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              153 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              187 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_SMP |
caps              215 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              222 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              228 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP,
caps              235 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              238 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              240 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              243 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              245 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              247 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              283 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_SMP |
caps              302 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              309 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              315 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP,
caps              322 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              324 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB },
caps              349 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_SMP |
caps              377 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              384 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP |
caps              390 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP | MDP_PIPE_CAP_VFLIP,
caps              397 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              400 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              402 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              405 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              407 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              409 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              444 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_DSC |
caps              457 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              468 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              478 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              486 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              498 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              501 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              503 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              506 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              508 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              510 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              552 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_CDM,
caps              562 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              573 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              582 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              590 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              602 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              604 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB },
caps              637 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_CAP_DSC |
caps              650 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              661 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              671 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              679 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.caps = MDP_PIPE_CAP_HFLIP	|
caps              691 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              694 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps              696 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY |
caps              699 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              701 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_WB, },
caps              703 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 				  .caps = MDP_LM_CAP_DISPLAY, },
caps               38 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h 	uint32_t caps;
caps               51 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h 	uint32_t caps;			/* pipe capabilities */
caps               69 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h 	uint32_t caps;			/* MDP capabilities: MDP_CAP_xxx bits */
caps              524 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 		u32 caps;
caps              527 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 		caps = MDP_LM_CAP_DISPLAY;
caps              529 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 			caps |= MDP_LM_CAP_PAIR;
caps              531 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 		ret = mdp5_mixer_assign(new_crtc_state->state, crtc, caps,
caps             1003 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	if (mdp5_kms->caps & MDP_CAP_SRC_SPLIT)
caps              506 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		else if (hwpipe->caps & MDP_PIPE_CAP_CURSOR)
caps              803 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		uint32_t caps)
caps              811 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		hwpipe = mdp5_pipe_init(pipes[i], offsets[i], caps);
caps              846 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 			hw_cfg->pipe_rgb.base, hw_cfg->pipe_rgb.caps);
caps              852 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 			hw_cfg->pipe_vig.base, hw_cfg->pipe_vig.caps);
caps              858 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 			hw_cfg->pipe_dma.base, hw_cfg->pipe_dma.caps);
caps              865 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 			hw_cfg->pipe_cursor.caps);
caps              997 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	mdp5_kms->caps = config->hw->mdp.caps;
caps             1007 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	if (mdp5_kms->caps & MDP_CAP_SMP) {
caps               37 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h 	uint32_t caps;	/* MDP capabilities (MDP_CAP_XXX bits) */
caps               39 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 		      uint32_t caps, struct mdp5_hw_mixer **mixer,
caps               68 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 		if (caps & ~cur->caps)
caps               97 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 		if (!(*mixer) || cur->caps & MDP_LM_CAP_PAIR)
caps              155 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	mixer->caps = lm->caps;
caps               16 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.h 	uint32_t caps;
caps               31 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.h 		      uint32_t caps, struct mdp5_hw_mixer **mixer,
caps               10 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		     uint32_t caps, uint32_t blkcfg,
caps               45 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		if (caps & ~cur->caps)
caps               52 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		if (cur->caps & MDP_PIPE_CAP_CURSOR &&
caps               59 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) <
caps               60 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 				   hweight_long((*hwpipe)->caps & ~caps))) {
caps               70 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 					if (r_cur->caps != cur->caps)
caps              110 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 			(*hwpipe)->name, plane->name, caps);
caps              115 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		    (*r_hwpipe)->name, plane->name, caps);
caps              152 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		uint32_t reg_offset, uint32_t caps)
caps              163 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	hwpipe->caps = caps;
caps               21 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.h 	uint32_t caps;
caps               37 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.h 		     uint32_t caps, uint32_t blkcfg,
caps               43 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.h 		uint32_t reg_offset, uint32_t caps);
caps              164 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	if (mdp5_kms->caps & MDP_CAP_SRC_SPLIT)
caps              264 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	uint32_t caps = 0;
caps              284 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		if (config->hw->mdp.caps & MDP_CAP_SRC_SPLIT &&
caps              315 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 			caps |= MDP_PIPE_CAP_SCALE | MDP_PIPE_CAP_CSC;
caps              319 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 			caps |= MDP_PIPE_CAP_SCALE;
caps              327 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 			caps |= MDP_PIPE_CAP_HFLIP;
caps              330 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 			caps |= MDP_PIPE_CAP_VFLIP;
caps              333 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 			caps |= MDP_PIPE_CAP_CURSOR;
caps              336 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		if (!mdp5_state->hwpipe || (caps & ~mdp5_state->hwpipe->caps))
caps              371 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 			ret = mdp5_pipe_assign(state->state, plane, caps,
caps              830 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	bool has_pe = hwpipe->caps & MDP_PIPE_CAP_SW_PIX_EXT;
caps              881 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	if (hwpipe->caps & MDP_PIPE_CAP_SW_PIX_EXT)
caps              886 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	if (hwpipe->caps & MDP_PIPE_CAP_SCALE) {
caps              902 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	if (hwpipe->caps & MDP_PIPE_CAP_CSC) {
caps              989 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	if (hwpipe->caps & MDP_PIPE_CAP_SW_PIX_EXT) {
caps              135 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	u32 caps;
caps              143 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 		caps = nvkm_rd32(device, base + 0x12c);
caps              144 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 		falcon->version = (caps & 0x0000000f);
caps              145 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 		falcon->secret  = (caps & 0x00000030) >> 4;
caps              148 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	caps = nvkm_rd32(device, base + 0x108);
caps              149 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	falcon->code.limit = (caps & 0x000001ff) << 8;
caps              150 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	falcon->data.limit = (caps & 0x0003fe00) >> 1;
caps             1271 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE |
caps              960 drivers/gpu/drm/omapdrm/dss/dispc.c 			      enum omap_overlay_caps caps, int x, int y)
caps              964 drivers/gpu/drm/omapdrm/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_POS) == 0)
caps             1002 drivers/gpu/drm/omapdrm/dss/dispc.c 				 enum omap_overlay_caps caps, u8 zorder)
caps             1004 drivers/gpu/drm/omapdrm/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_ZORDER) == 0)
caps             1023 drivers/gpu/drm/omapdrm/dss/dispc.c 					 enum omap_overlay_caps caps,
caps             1026 drivers/gpu/drm/omapdrm/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA) == 0)
caps             1034 drivers/gpu/drm/omapdrm/dss/dispc.c 					 enum omap_overlay_caps caps,
caps             1040 drivers/gpu/drm/omapdrm/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) == 0)
caps             1346 drivers/gpu/drm/omapdrm/dss/dispc.c 					 enum omap_overlay_caps caps,
caps             1352 drivers/gpu/drm/omapdrm/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_REPLICATION) == 0)
caps             2495 drivers/gpu/drm/omapdrm/dss/dispc.c 				  enum omap_overlay_caps caps,
caps             2532 drivers/gpu/drm/omapdrm/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_SCALE) == 0)
caps             2590 drivers/gpu/drm/omapdrm/dss/dispc.c 				  enum omap_overlay_caps caps,
caps             2652 drivers/gpu/drm/omapdrm/dss/dispc.c 	r = dispc_ovl_calc_scaling(dispc, plane, pclk, lclk, caps, vm, in_width,
caps             2738 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_ovl_set_pos(dispc, plane, caps, pos_x, pos_y);
caps             2742 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (caps & OMAP_DSS_OVL_CAP_SCALE) {
caps             2753 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_ovl_set_zorder(dispc, plane, caps, zorder);
caps             2754 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_ovl_set_pre_mult_alpha(dispc, plane, caps, pre_mult_alpha);
caps             2755 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_ovl_setup_global_alpha(dispc, plane, caps, global_alpha);
caps             2757 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_ovl_enable_replication(dispc, plane, caps, replication);
caps             2769 drivers/gpu/drm/omapdrm/dss/dispc.c 	enum omap_overlay_caps caps = dispc->feat->overlay_caps[plane];
caps             2780 drivers/gpu/drm/omapdrm/dss/dispc.c 	r = dispc_ovl_setup_common(dispc, plane, caps, oi->paddr, oi->p_uv_addr,
caps             2803 drivers/gpu/drm/omapdrm/dss/dispc.c 	enum omap_overlay_caps caps =
caps             2813 drivers/gpu/drm/omapdrm/dss/dispc.c 	r = dispc_ovl_setup_common(dispc, plane, caps, wi->paddr, wi->p_uv_addr,
caps              340 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c 	const u32 caps = CEC_CAP_TRANSMIT | CEC_CAP_LOG_ADDRS |
caps              345 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c 		"omap4", caps, CEC_MAX_LOG_ADDRS);
caps              427 drivers/gpu/drm/omapdrm/dss/omapdss.h 	enum omap_display_caps caps;
caps              562 drivers/gpu/drm/omapdrm/omap_crtc.c 	if (display->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
caps             2728 drivers/gpu/drm/radeon/atombios_encoders.c 			u16 caps)
caps             2774 drivers/gpu/drm/radeon/atombios_encoders.c 	radeon_encoder->caps = caps;
caps             5456 drivers/gpu/drm/radeon/ci_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             5964 drivers/gpu/drm/radeon/ci_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps              771 drivers/gpu/drm/radeon/cypress_dpm.c 	if (!(radeon_state->caps & ATOM_PPLIB_DISALLOW_ON_DC))
caps             2591 drivers/gpu/drm/radeon/kv_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             2856 drivers/gpu/drm/radeon/kv_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps             2634 drivers/gpu/drm/radeon/ni_dpm.c 	if (!(radeon_state->caps & ATOM_PPLIB_DISALLOW_ON_DC))
caps             3899 drivers/gpu/drm/radeon/ni_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             4290 drivers/gpu/drm/radeon/ni_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps              131 drivers/gpu/drm/radeon/r600_dpm.c void r600_dpm_print_cap_info(u32 caps)
caps              134 drivers/gpu/drm/radeon/r600_dpm.c 	if (caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY)
caps              136 drivers/gpu/drm/radeon/r600_dpm.c 	if (caps & ATOM_PPLIB_SUPPORTS_VIDEO_PLAYBACK)
caps              138 drivers/gpu/drm/radeon/r600_dpm.c 	if (caps & ATOM_PPLIB_DISALLOW_ON_DC)
caps              134 drivers/gpu/drm/radeon/r600_dpm.h void r600_dpm_print_cap_info(u32 caps);
caps             1334 drivers/gpu/drm/radeon/radeon.h 	u32 caps; /* vbios flags */
caps               39 drivers/gpu/drm/radeon/radeon_atombios.c 			uint32_t supported_device, u16 caps);
caps              670 drivers/gpu/drm/radeon/radeon_atombios.c 							u16 caps = 0;
caps              679 drivers/gpu/drm/radeon/radeon_atombios.c 									caps = le16_to_cpu(cap_record->usEncoderCap);
caps              690 drivers/gpu/drm/radeon/radeon_atombios.c 										caps);
caps             1632 drivers/gpu/drm/radeon/radeon_connectors.c 		if (radeon_encoder->caps & ATOM_ENCODER_CAP_RECORD_HBR2)
caps              478 drivers/gpu/drm/radeon/radeon_mode.h 	u16 caps;
caps              901 drivers/gpu/drm/radeon/radeon_pm.c 				if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) {
caps              910 drivers/gpu/drm/radeon/radeon_pm.c 				if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) {
caps              919 drivers/gpu/drm/radeon/radeon_pm.c 				if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) {
caps              724 drivers/gpu/drm/radeon/rs780_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps              946 drivers/gpu/drm/radeon/rs780_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps             1798 drivers/gpu/drm/radeon/rv6xx_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             2014 drivers/gpu/drm/radeon/rv6xx_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps              680 drivers/gpu/drm/radeon/rv770_dpm.c 	if (!(radeon_state->caps & ATOM_PPLIB_DISALLOW_ON_DC))
caps             2148 drivers/gpu/drm/radeon/rv770_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             2439 drivers/gpu/drm/radeon/rv770_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps             5920 drivers/gpu/drm/radeon/si_dpm.c 		((radeon_new_state->caps & ATOM_PPLIB_PCIE_LINK_WIDTH_MASK) >> ATOM_PPLIB_PCIE_LINK_WIDTH_SHIFT) + 1;
caps             5922 drivers/gpu/drm/radeon/si_dpm.c 		((radeon_current_state->caps & ATOM_PPLIB_PCIE_LINK_WIDTH_MASK) >> ATOM_PPLIB_PCIE_LINK_WIDTH_SHIFT) + 1;
caps             6711 drivers/gpu/drm/radeon/si_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             1409 drivers/gpu/drm/radeon/sumo_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             1801 drivers/gpu/drm/radeon/sumo_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps             1688 drivers/gpu/drm/radeon/trinity_dpm.c 	rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings);
caps             2019 drivers/gpu/drm/radeon/trinity_dpm.c 	r600_dpm_print_cap_info(rps->caps);
caps               56 drivers/gpu/drm/stm/ltdc.c #define REG_OFS		(ldev->caps.reg_ofs)
caps              484 drivers/gpu/drm/stm/ltdc.c 	if (result > ldev->caps.pad_max_freq_hz)
caps              807 drivers/gpu/drm/stm/ltdc.c 		if (ldev->caps.pix_fmt_hw[val] == pf)
caps              820 drivers/gpu/drm/stm/ltdc.c 		      (x1 - x0 + 1) + (ldev->caps.bus_width >> 3) - 1;
caps              835 drivers/gpu/drm/stm/ltdc.c 	if (ldev->caps.non_alpha_only_l1 &&
caps              947 drivers/gpu/drm/stm/ltdc.c 		drm_fmt = to_drm_pixelformat(ldev->caps.pix_fmt_hw[i]);
caps              958 drivers/gpu/drm/stm/ltdc.c 		if (ldev->caps.non_alpha_only_l1 &&
caps             1019 drivers/gpu/drm/stm/ltdc.c 	for (i = 1; i < ldev->caps.nb_layers; i++) {
caps             1080 drivers/gpu/drm/stm/ltdc.c 	ldev->caps.nb_layers = clamp((int)lcr, 1, LTDC_MAX_LAYER);
caps             1085 drivers/gpu/drm/stm/ltdc.c 	ldev->caps.bus_width = 8 << bus_width_log2;
caps             1086 drivers/gpu/drm/stm/ltdc.c 	ldev->caps.hw_version = reg_read(ldev->regs, LTDC_IDR);
caps             1088 drivers/gpu/drm/stm/ltdc.c 	switch (ldev->caps.hw_version) {
caps             1091 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.reg_ofs = REG_OFS_NONE;
caps             1092 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.pix_fmt_hw = ltdc_pix_fmt_a0;
caps             1100 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.non_alpha_only_l1 = true;
caps             1101 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.pad_max_freq_hz = 90000000;
caps             1102 drivers/gpu/drm/stm/ltdc.c 		if (ldev->caps.hw_version == HWVER_10200)
caps             1103 drivers/gpu/drm/stm/ltdc.c 			ldev->caps.pad_max_freq_hz = 65000000;
caps             1106 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.reg_ofs = REG_OFS_4;
caps             1107 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.pix_fmt_hw = ltdc_pix_fmt_a1;
caps             1108 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.non_alpha_only_l1 = false;
caps             1109 drivers/gpu/drm/stm/ltdc.c 		ldev->caps.pad_max_freq_hz = 150000000;
caps             1230 drivers/gpu/drm/stm/ltdc.c 			  ldev->caps.hw_version);
caps             1234 drivers/gpu/drm/stm/ltdc.c 	DRM_DEBUG_DRIVER("ltdc hw version 0x%08x\n", ldev->caps.hw_version);
caps               35 drivers/gpu/drm/stm/ltdc.h 	struct ltdc_caps caps;
caps               41 drivers/gpu/drm/vboxvideo/hgsmi_base.c int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps)
caps               50 drivers/gpu/drm/vboxvideo/hgsmi_base.c 	p->caps = caps;
caps               32 drivers/gpu/drm/vboxvideo/vbox_main.c 	u32 caps = VBVACAPS_DISABLE_CURSOR_INTEGRATION |
caps               36 drivers/gpu/drm/vboxvideo/vbox_main.c 	hgsmi_send_caps_info(vbox->guest_pool, caps);
caps               37 drivers/gpu/drm/vboxvideo/vbox_main.c 	caps |= VBVACAPS_VIDEO_MODE_HINTS;
caps               38 drivers/gpu/drm/vboxvideo/vbox_main.c 	hgsmi_send_caps_info(vbox->guest_pool, caps);
caps              580 drivers/gpu/drm/vboxvideo/vbox_mode.c 	u32 caps = 0;
caps              584 drivers/gpu/drm/vboxvideo/vbox_mode.c 			       VBOX_VBVA_CONF32_CURSOR_CAPABILITIES, &caps);
caps              598 drivers/gpu/drm/vboxvideo/vbox_mode.c 	if ((caps & VBOX_VBVA_CURSOR_CAPABILITY_HARDWARE)) {
caps              383 drivers/gpu/drm/vboxvideo/vboxvideo.h 	u32 caps;
caps               31 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps);
caps               91 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	uint32_t caps;
caps               96 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	caps = vmw_mmio_read(fifo_mem + SVGA_FIFO_CAPABILITIES);
caps               97 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	if (caps & SVGA_FIFO_CAP_PITCHLOCK)
caps              125 drivers/hv/hv_balloon.c 	__u64 caps;
caps              216 drivers/hv/hv_balloon.c 	union dm_caps caps;
caps             1619 drivers/hv/hv_balloon.c 	cap_msg.caps.cap_bits.balloon = 1;
caps             1620 drivers/hv/hv_balloon.c 	cap_msg.caps.cap_bits.hot_add = 1;
caps             1626 drivers/hv/hv_balloon.c 	cap_msg.caps.cap_bits.hot_add_alignment = 7;
caps               80 drivers/hwmon/acpi_power_meter.c 	struct acpi_power_meter_capabilities	caps;
caps              156 drivers/hwmon/acpi_power_meter.c 	if (temp > resource->caps.max_avg_interval ||
caps              157 drivers/hwmon/acpi_power_meter.c 	    temp < resource->caps.min_avg_interval)
caps              228 drivers/hwmon/acpi_power_meter.c 	if (temp > resource->caps.max_cap || temp < resource->caps.min_cap)
caps              318 drivers/hwmon/acpi_power_meter.c 			msecs_to_jiffies(resource->caps.sampling_time)) &&
caps              390 drivers/hwmon/acpi_power_meter.c 		val = resource->caps.min_avg_interval;
caps              393 drivers/hwmon/acpi_power_meter.c 		val = resource->caps.max_avg_interval;
caps              396 drivers/hwmon/acpi_power_meter.c 		val = resource->caps.min_cap * 1000;
caps              399 drivers/hwmon/acpi_power_meter.c 		val = resource->caps.max_cap * 1000;
caps              402 drivers/hwmon/acpi_power_meter.c 		if (resource->caps.hysteresis == UNKNOWN_HYSTERESIS)
caps              405 drivers/hwmon/acpi_power_meter.c 		val = resource->caps.hysteresis * 1000;
caps              408 drivers/hwmon/acpi_power_meter.c 		if (resource->caps.flags & POWER_METER_IS_BATTERY)
caps              441 drivers/hwmon/acpi_power_meter.c 	unsigned int acc = resource->caps.accuracy;
caps              676 drivers/hwmon/acpi_power_meter.c 	if (resource->caps.flags & POWER_METER_CAN_MEASURE) {
caps              682 drivers/hwmon/acpi_power_meter.c 	if (resource->caps.flags & POWER_METER_CAN_CAP) {
caps              689 drivers/hwmon/acpi_power_meter.c 		if (resource->caps.configurable_cap)
caps              703 drivers/hwmon/acpi_power_meter.c 	if (resource->caps.flags & POWER_METER_CAN_TRIP) {
caps              759 drivers/hwmon/acpi_power_meter.c 	state.pointer = &resource->caps;
caps              768 drivers/hwmon/acpi_power_meter.c 	if (resource->caps.units) {
caps              771 drivers/hwmon/acpi_power_meter.c 			resource->caps.units);
caps              541 drivers/hwmon/occ/common.c 	struct caps_sensor_2 *caps;
caps              550 drivers/hwmon/occ/common.c 	caps = ((struct caps_sensor_2 *)sensors->caps.data) + sattr->index;
caps              556 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->cap) * 1000000ULL;
caps              559 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->system_power) * 1000000ULL;
caps              562 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->n_cap) * 1000000ULL;
caps              565 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->max) * 1000000ULL;
caps              568 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->min) * 1000000ULL;
caps              571 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->user) * 1000000ULL;
caps              574 drivers/hwmon/occ/common.c 		if (occ->sensors.caps.version == 1)
caps              577 drivers/hwmon/occ/common.c 		val = caps->user_source;
caps              591 drivers/hwmon/occ/common.c 	struct caps_sensor_3 *caps;
caps              600 drivers/hwmon/occ/common.c 	caps = ((struct caps_sensor_3 *)sensors->caps.data) + sattr->index;
caps              606 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->cap) * 1000000ULL;
caps              609 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->system_power) * 1000000ULL;
caps              612 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->n_cap) * 1000000ULL;
caps              615 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->max) * 1000000ULL;
caps              618 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->hard_min) * 1000000ULL;
caps              621 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->user) * 1000000ULL;
caps              624 drivers/hwmon/occ/common.c 		val = caps->user_source;
caps              778 drivers/hwmon/occ/common.c 	switch (sensors->caps.version) {
caps              780 drivers/hwmon/occ/common.c 		num_attrs += (sensors->caps.num_sensors * 7);
caps              786 drivers/hwmon/occ/common.c 		num_attrs += (sensors->caps.num_sensors * 8);
caps              789 drivers/hwmon/occ/common.c 		sensors->caps.num_sensors = 0;
caps              941 drivers/hwmon/occ/common.c 	if (sensors->caps.num_sensors >= 1) {
caps              979 drivers/hwmon/occ/common.c 		if (sensors->caps.version > 1) {
caps             1056 drivers/hwmon/occ/common.c 			sensor = &sensors->caps;
caps               78 drivers/hwmon/occ/common.h 	struct occ_sensor caps;
caps              669 drivers/i2c/busses/i2c-axxia.c 	u32 caps = (I2C_FUNC_I2C | I2C_FUNC_10BIT_ADDR |
caps              671 drivers/i2c/busses/i2c-axxia.c 	return caps;
caps              210 drivers/i3c/master.c 	unsigned long caps;
caps              215 drivers/i3c/master.c 	caps = desc->info.hdr_cap;
caps              216 drivers/i3c/master.c 	for_each_set_bit(mode, &caps, 8) {
caps              237 drivers/i3c/master/dw-i3c-master.c 	struct dw_i3c_master_caps caps;
caps              841 drivers/i3c/master/dw-i3c-master.c 	if (i3c_nxfers > master->caps.cmdfifodepth)
caps              851 drivers/i3c/master/dw-i3c-master.c 	if (ntxwords > master->caps.datafifodepth ||
caps              852 drivers/i3c/master/dw-i3c-master.c 	    nrxwords > master->caps.datafifodepth)
caps              969 drivers/i3c/master/dw-i3c-master.c 	if (i2c_nxfers > master->caps.cmdfifodepth)
caps              979 drivers/i3c/master/dw-i3c-master.c 	if (ntxwords > master->caps.datafifodepth ||
caps              980 drivers/i3c/master/dw-i3c-master.c 	    nrxwords > master->caps.datafifodepth)
caps             1145 drivers/i3c/master/dw-i3c-master.c 	master->caps.cmdfifodepth = QUEUE_STATUS_LEVEL_CMD(ret);
caps             1148 drivers/i3c/master/dw-i3c-master.c 	master->caps.datafifodepth = DATA_BUFFER_STATUS_LEVEL_TX(ret);
caps              409 drivers/i3c/master/i3c-master-cdns.c 	struct cdns_i3c_master_caps caps;
caps              743 drivers/i3c/master/i3c-master-cdns.c 	if (nxfers > master->caps.cmdfifodepth ||
caps              744 drivers/i3c/master/i3c-master-cdns.c 	    nxfers > master->caps.cmdrfifodepth)
caps              758 drivers/i3c/master/i3c-master-cdns.c 	if (rxslots > master->caps.rxfifodepth ||
caps              759 drivers/i3c/master/i3c-master-cdns.c 	    txslots > master->caps.txfifodepth)
caps              816 drivers/i3c/master/i3c-master-cdns.c 	if (nxfers > master->caps.cmdfifodepth)
caps              829 drivers/i3c/master/i3c-master-cdns.c 	if (ntxwords > master->caps.txfifodepth ||
caps              830 drivers/i3c/master/i3c-master-cdns.c 	    nrxwords > master->caps.rxfifodepth)
caps             1585 drivers/i3c/master/i3c-master-cdns.c 	master->caps.cmdfifodepth = CONF_STATUS1_CMD_DEPTH(val);
caps             1586 drivers/i3c/master/i3c-master-cdns.c 	master->caps.rxfifodepth = CONF_STATUS1_RX_DEPTH(val);
caps             1587 drivers/i3c/master/i3c-master-cdns.c 	master->caps.txfifodepth = CONF_STATUS1_TX_DEPTH(val);
caps             1588 drivers/i3c/master/i3c-master-cdns.c 	master->caps.ibirfifodepth = CONF_STATUS0_IBIR_DEPTH(val);
caps             1589 drivers/i3c/master/i3c-master-cdns.c 	master->caps.cmdrfifodepth = CONF_STATUS0_CMDR_DEPTH(val);
caps              188 drivers/ide/ide-tape.c 	u8 caps[20];
caps             1070 drivers/ide/ide-tape.c 	int sprev = !!(tape->caps[4] & 0x20);
caps             1636 drivers/ide/ide-tape.c 	u8 buf[24], *caps;
caps             1644 drivers/ide/ide-tape.c 		put_unaligned(52,   (u16 *)&tape->caps[12]);
caps             1645 drivers/ide/ide-tape.c 		put_unaligned(540,  (u16 *)&tape->caps[14]);
caps             1646 drivers/ide/ide-tape.c 		put_unaligned(6*52, (u16 *)&tape->caps[16]);
caps             1649 drivers/ide/ide-tape.c 	caps = buf + 4 + buf[3];
caps             1652 drivers/ide/ide-tape.c 	speed = be16_to_cpup((__be16 *)&caps[14]);
caps             1653 drivers/ide/ide-tape.c 	max_speed = be16_to_cpup((__be16 *)&caps[8]);
caps             1655 drivers/ide/ide-tape.c 	*(u16 *)&caps[8] = max_speed;
caps             1656 drivers/ide/ide-tape.c 	*(u16 *)&caps[12] = be16_to_cpup((__be16 *)&caps[12]);
caps             1657 drivers/ide/ide-tape.c 	*(u16 *)&caps[14] = speed;
caps             1658 drivers/ide/ide-tape.c 	*(u16 *)&caps[16] = be16_to_cpup((__be16 *)&caps[16]);
caps             1663 drivers/ide/ide-tape.c 		*(u16 *)&caps[14] = 650;
caps             1668 drivers/ide/ide-tape.c 		*(u16 *)&caps[8] = 650;
caps             1671 drivers/ide/ide-tape.c 	memcpy(&tape->caps, caps, 20);
caps             1674 drivers/ide/ide-tape.c 	if ((caps[6] & 1) == 0)
caps             1677 drivers/ide/ide-tape.c 	if (caps[7] & 0x02)
caps             1679 drivers/ide/ide-tape.c 	else if (caps[7] & 0x04)
caps             1718 drivers/ide/ide-tape.c ide_tape_devset_r_field(speed, caps[14]);
caps             1719 drivers/ide/ide-tape.c ide_tape_devset_r_field(buffer, caps[16]);
caps             1749 drivers/ide/ide-tape.c 	u16 *ctl = (u16 *)&tape->caps[12];
caps             1785 drivers/ide/ide-tape.c 	speed = max(*(u16 *)&tape->caps[14], *(u16 *)&tape->caps[8]);
caps             1797 drivers/ide/ide-tape.c 		drive->name, tape->name, *(u16 *)&tape->caps[14],
caps             1798 drivers/ide/ide-tape.c 		(*(u16 *)&tape->caps[16] * 512) / tape->buffer_size,
caps              217 drivers/iio/adc/at91_adc.c 	struct at91_adc_caps	*caps;
caps              856 drivers/iio/adc/at91_adc.c 	if (!st->caps->has_tsmr)
caps              881 drivers/iio/adc/at91_adc.c 	st->caps = (struct at91_adc_caps *)
caps              917 drivers/iio/adc/at91_adc.c 	st->registers = &st->caps->registers;
caps              918 drivers/iio/adc/at91_adc.c 	st->num_channels = st->caps->num_channels;
caps              952 drivers/iio/adc/at91_adc.c 	if (st->caps->has_ts)
caps              971 drivers/iio/adc/at91_adc.c 	st->caps = (struct at91_adc_caps *)
caps              977 drivers/iio/adc/at91_adc.c 	st->num_channels = st->caps->num_channels;
caps              981 drivers/iio/adc/at91_adc.c 	st->registers = &st->caps->registers;
caps              996 drivers/iio/adc/at91_adc.c 	if (st->caps->has_tsmr)
caps             1007 drivers/iio/adc/at91_adc.c 	if (st->caps->has_tsmr)
caps             1034 drivers/iio/adc/at91_adc.c 	if (!st->caps->has_tsmr) {
caps             1064 drivers/iio/adc/at91_adc.c 	reg |= AT91_ADC_TSMR_TSAV_(st->caps->ts_filter_average)
caps             1078 drivers/iio/adc/at91_adc.c 	at91_adc_writel(st, AT91_ADC_ACR, st->caps->ts_pen_detect_sensitivity
caps             1110 drivers/iio/adc/at91_adc.c 	if (st->caps->has_tsmr) {
caps             1198 drivers/iio/adc/at91_adc.c 	if (st->caps->has_tsmr)
caps             1256 drivers/iio/adc/at91_adc.c 	ticks = (*st->caps->calc_startup_ticks)(st->startup_time, adc_clk_khz);
caps              145 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	struct dma_slave_caps caps;
caps              159 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	ret = dma_get_slave_caps(chan, &caps);
caps              164 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	if (caps.src_addr_widths)
caps              165 drivers/iio/buffer/industrialio-buffer-dmaengine.c 		src_width = __ffs(caps.src_addr_widths);
caps              168 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	if (caps.dst_addr_widths)
caps              169 drivers/iio/buffer/industrialio-buffer-dmaengine.c 		dest_width = __ffs(caps.dst_addr_widths);
caps             1002 drivers/infiniband/hw/efa/efa_com.c 	u32 caps = efa_com_reg_read32(edev, EFA_REGS_CAPS_OFF);
caps             1005 drivers/infiniband/hw/efa/efa_com.c 	width = (caps & EFA_REGS_CAPS_DMA_ADDR_WIDTH_MASK) >>
caps              340 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SRQ)
caps              111 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (vector >= hr_dev->caps.num_comp_vectors) {
caps              216 drivers/infiniband/hw/hns/hns_roce_cq.c 	*umem = ib_umem_get(udata, buf_addr, cqe * hr_dev->caps.cq_entry_sz,
caps              226 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (hr_dev->caps.cqe_buf_pg_sz) {
caps              228 drivers/infiniband/hw/hns/hns_roce_cq.c 			(1 << hr_dev->caps.cqe_buf_pg_sz) - 1) /
caps              229 drivers/infiniband/hw/hns/hns_roce_cq.c 			(1 << hr_dev->caps.cqe_buf_pg_sz);
caps              230 drivers/infiniband/hw/hns/hns_roce_cq.c 		page_shift = PAGE_SHIFT + hr_dev->caps.cqe_buf_pg_sz;
caps              258 drivers/infiniband/hw/hns/hns_roce_cq.c 	u32 page_shift = PAGE_SHIFT + hr_dev->caps.cqe_buf_pg_sz;
caps              260 drivers/infiniband/hw/hns/hns_roce_cq.c 	ret = hns_roce_buf_alloc(hr_dev, nent * hr_dev->caps.cq_entry_sz,
caps              286 drivers/infiniband/hw/hns/hns_roce_cq.c 	hns_roce_buf_free(hr_dev, nent * hr_dev->caps.cq_entry_sz,
caps              295 drivers/infiniband/hw/hns/hns_roce_cq.c 	hns_roce_buf_free(hr_dev, (cqe + 1) * hr_dev->caps.cq_entry_sz,
caps              325 drivers/infiniband/hw/hns/hns_roce_cq.c 	if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) &&
caps              353 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) {
caps              377 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB)
caps              391 drivers/infiniband/hw/hns/hns_roce_cq.c 	if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) &&
caps              405 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB)
caps              421 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (cq_entries < 1 || cq_entries > hr_dev->caps.max_cqes) {
caps              423 drivers/infiniband/hw/hns/hns_roce_cq.c 			cq_entries, hr_dev->caps.max_cqes);
caps              427 drivers/infiniband/hw/hns/hns_roce_cq.c 	if (hr_dev->caps.min_cqes)
caps              428 drivers/infiniband/hw/hns/hns_roce_cq.c 		cq_entries = max(cq_entries, hr_dev->caps.min_cqes);
caps              516 drivers/infiniband/hw/hns/hns_roce_cq.c 		if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB)
caps              526 drivers/infiniband/hw/hns/hns_roce_cq.c 	cq = xa_load(&hr_dev->cq_table.array, cqn & (hr_dev->caps.num_cqs - 1));
caps              542 drivers/infiniband/hw/hns/hns_roce_cq.c 	cq = xa_load(&cq_table->array, cqn & (hr_dev->caps.num_cqs - 1));
caps              563 drivers/infiniband/hw/hns/hns_roce_cq.c 	return hns_roce_bitmap_init(&cq_table->bitmap, hr_dev->caps.num_cqs,
caps              564 drivers/infiniband/hw/hns/hns_roce_cq.c 				    hr_dev->caps.num_cqs - 1,
caps              565 drivers/infiniband/hw/hns/hns_roce_cq.c 				    hr_dev->caps.reserved_cqs, 0);
caps             1015 drivers/infiniband/hw/hns/hns_roce_device.h 	struct hns_roce_caps	caps;
caps             1107 drivers/infiniband/hw/hns/hns_roce_device.h 	return xa_load(&hr_dev->qp_table_xa, qpn & (hr_dev->caps.num_qps - 1));
caps               48 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.qpc_hop_num;
caps               51 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.mpt_hop_num;
caps               54 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.cqc_hop_num;
caps               57 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.srqc_hop_num;
caps               60 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.sccc_hop_num;
caps               63 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.qpc_timer_hop_num;
caps               66 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.cqc_timer_hop_num;
caps               69 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.cqe_hop_num;
caps               72 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.mtt_hop_num;
caps               75 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.srqwqe_hop_num;
caps               78 drivers/infiniband/hw/hns/hns_roce_hem.c 		hop_num = hr_dev->caps.idx_hop_num;
caps              131 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.qpc_buf_pg_sz
caps              133 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.qpc_ba_pg_sz
caps              135 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.qpc_bt_num;
caps              136 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.qpc_hop_num;
caps              139 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.mpt_buf_pg_sz
caps              141 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.mpt_ba_pg_sz
caps              143 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.mpt_bt_num;
caps              144 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.mpt_hop_num;
caps              147 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.cqc_buf_pg_sz
caps              149 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.cqc_ba_pg_sz
caps              151 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.cqc_bt_num;
caps              152 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.cqc_hop_num;
caps              155 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.sccc_buf_pg_sz
caps              157 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.sccc_ba_pg_sz
caps              159 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.sccc_bt_num;
caps              160 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.sccc_hop_num;
caps              163 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.qpc_timer_buf_pg_sz
caps              165 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.qpc_timer_ba_pg_sz
caps              167 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.qpc_timer_bt_num;
caps              168 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.qpc_timer_hop_num;
caps              171 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.cqc_timer_buf_pg_sz
caps              173 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.cqc_timer_ba_pg_sz
caps              175 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.cqc_timer_bt_num;
caps              176 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.cqc_timer_hop_num;
caps              179 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.srqc_buf_pg_sz
caps              181 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.srqc_ba_pg_sz
caps              183 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->ba_l0_num = hr_dev->caps.srqc_bt_num;
caps              184 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.srqc_hop_num;
caps              187 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.mtt_buf_pg_sz
caps              189 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.mtt_ba_pg_sz
caps              192 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.mtt_hop_num;
caps              195 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.cqe_buf_pg_sz
caps              197 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.cqe_ba_pg_sz
caps              200 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.cqe_hop_num;
caps              203 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.srqwqe_buf_pg_sz
caps              205 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.srqwqe_ba_pg_sz
caps              208 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.srqwqe_hop_num;
caps              211 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->buf_chunk_size = 1 << (hr_dev->caps.idx_buf_pg_sz
caps              213 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->bt_chunk_size = 1 << (hr_dev->caps.idx_ba_pg_sz
caps              216 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->hop_num = hr_dev->caps.idx_hop_num;
caps              934 drivers/infiniband/hw/hns/hns_roce_hem.c 		table->table_chunk_size = hr_dev->caps.chunk_sz;
caps             1087 drivers/infiniband/hw/hns/hns_roce_hem.c 	if ((hr_dev->caps.num_idx_segs))
caps             1090 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (hr_dev->caps.num_srqwqe_segs)
caps             1093 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (hr_dev->caps.srqc_entry_sz)
caps             1097 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (hr_dev->caps.qpc_timer_entry_sz)
caps             1100 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (hr_dev->caps.cqc_timer_entry_sz)
caps             1103 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (hr_dev->caps.sccc_entry_sz)
caps             1106 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (hr_dev->caps.trrl_entry_sz)
caps              288 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				    hr_dev->caps.max_sq_inline) {
caps              293 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 						hr_dev->caps.max_sq_inline);
caps              700 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	struct hns_roce_caps *caps = &hr_dev->caps;
caps              785 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		for (j = 0; j < caps->num_ports; j++) {
caps             1115 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				       & (hr_dev->caps.num_mtpts - 1)))
caps             1515 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	struct hns_roce_caps *caps = &hr_dev->caps;
caps             1524 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_qps		= HNS_ROCE_V1_MAX_QP_NUM;
caps             1525 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_wqes		= HNS_ROCE_V1_MAX_WQE_NUM;
caps             1526 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->min_wqes		= HNS_ROCE_MIN_WQE_NUM;
caps             1527 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_cqs		= HNS_ROCE_V1_MAX_CQ_NUM;
caps             1528 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->min_cqes		= HNS_ROCE_MIN_CQE_NUM;
caps             1529 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_cqes		= HNS_ROCE_V1_MAX_CQE_NUM;
caps             1530 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_sq_sg		= HNS_ROCE_V1_SG_NUM;
caps             1531 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_rq_sg		= HNS_ROCE_V1_SG_NUM;
caps             1532 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_sq_inline	= HNS_ROCE_V1_INLINE_SIZE;
caps             1533 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_uars		= HNS_ROCE_V1_UAR_NUM;
caps             1534 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->phy_num_uars	= HNS_ROCE_V1_PHY_UAR_NUM;
caps             1535 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_aeq_vectors	= HNS_ROCE_V1_AEQE_VEC_NUM;
caps             1536 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_comp_vectors	= HNS_ROCE_V1_COMP_VEC_NUM;
caps             1537 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_other_vectors	= HNS_ROCE_V1_ABNORMAL_VEC_NUM;
caps             1538 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_mtpts		= HNS_ROCE_V1_MAX_MTPT_NUM;
caps             1539 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_mtt_segs	= HNS_ROCE_V1_MAX_MTT_SEGS;
caps             1540 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->num_pds		= HNS_ROCE_V1_MAX_PD_NUM;
caps             1541 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_qp_init_rdma	= HNS_ROCE_V1_MAX_QP_INIT_RDMA;
caps             1542 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_qp_dest_rdma	= HNS_ROCE_V1_MAX_QP_DEST_RDMA;
caps             1543 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_sq_desc_sz	= HNS_ROCE_V1_MAX_SQ_DESC_SZ;
caps             1544 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_rq_desc_sz	= HNS_ROCE_V1_MAX_RQ_DESC_SZ;
caps             1545 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->qpc_entry_sz	= HNS_ROCE_V1_QPC_ENTRY_SIZE;
caps             1546 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->irrl_entry_sz	= HNS_ROCE_V1_IRRL_ENTRY_SIZE;
caps             1547 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->cqc_entry_sz	= HNS_ROCE_V1_CQC_ENTRY_SIZE;
caps             1548 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->mtpt_entry_sz	= HNS_ROCE_V1_MTPT_ENTRY_SIZE;
caps             1549 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->mtt_entry_sz	= HNS_ROCE_V1_MTT_ENTRY_SIZE;
caps             1550 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->cq_entry_sz	= HNS_ROCE_V1_CQE_ENTRY_SIZE;
caps             1551 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->page_size_cap	= HNS_ROCE_V1_PAGE_SIZE_SUPPORT;
caps             1552 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->reserved_lkey	= 0;
caps             1553 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->reserved_pds	= 0;
caps             1554 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->reserved_mrws	= 1;
caps             1555 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->reserved_uars	= 0;
caps             1556 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->reserved_cqs	= 0;
caps             1557 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->reserved_qps	= 12; /* 2 SQP per port, six ports total 12 */
caps             1558 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->chunk_sz		= HNS_ROCE_V1_TABLE_CHUNK_SIZE;
caps             1560 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	for (i = 0; i < caps->num_ports; i++)
caps             1561 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		caps->pkey_table_len[i] = 1;
caps             1563 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	for (i = 0; i < caps->num_ports; i++) {
caps             1565 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		if (i >= (HNS_ROCE_V1_GID_NUM % caps->num_ports))
caps             1566 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM /
caps             1567 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 						 caps->num_ports;
caps             1569 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM /
caps             1570 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 						 caps->num_ports + 1;
caps             1573 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->ceqe_depth = HNS_ROCE_V1_COMP_EQE_NUM;
caps             1574 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->aeqe_depth = HNS_ROCE_V1_ASYNC_EQE_NUM;
caps             1575 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->local_ca_ack_delay = roce_read(hr_dev, ROCEE_ACK_DELAY_REG);
caps             1576 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_mtu = IB_MTU_2048;
caps             3689 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		cq_buf_size = (ibcq->cqe + 1) * hr_dev->caps.cq_entry_sz;
caps             3959 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		if (eq->cons_index > 2 * hr_dev->caps.aeqe_depth - 1) {
caps             4012 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		    EQ_DEPTH_COEFF * hr_dev->caps.ceqe_depth - 1) {
caps             4092 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	for (i = 0; i < hr_dev->caps.num_comp_vectors; i++) {
caps             4171 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	for (i = 0; i < hr_dev->caps.num_comp_vectors; i++) {
caps             4315 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors;
caps             4316 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	irq_num = eq_num + hr_dev->caps.num_other_vectors;
caps             4336 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		if (i < hr_dev->caps.num_comp_vectors) {
caps             4345 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			eq->entries = hr_dev->caps.ceqe_depth;
caps             4355 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			eq->entries = hr_dev->caps.aeqe_depth;
caps             4425 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors;
caps             4426 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	irq_num = eq_num + hr_dev->caps.num_other_vectors;
caps             4602 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	hr_dev->caps.num_ports = port_cnt;
caps              173 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		    hr_dev->caps.max_sq_inline) {
caps              176 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				rc_sq_wqe->msg_len, hr_dev->caps.max_sq_inline);
caps              676 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RQ_INLINE) {
caps             1276 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.fw_ver = (u64)(le32_to_cpu(resp->fw_ver));
caps             1326 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.qpc_bt_num = roce_get_field(req_a->qpc_bt_idx_num,
caps             1329 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.srqc_bt_num = roce_get_field(req_a->srqc_bt_idx_num,
caps             1332 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.cqc_bt_num = roce_get_field(req_a->cqc_bt_idx_num,
caps             1335 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.mpt_bt_num = roce_get_field(req_a->mpt_bt_idx_num,
caps             1339 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.sl_num = roce_get_field(req_b->qid_idx_sl_num,
caps             1342 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.sccc_bt_num = roce_get_field(req_b->sccc_bt_idx_num,
caps             1372 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.qpc_timer_bt_num =
caps             1376 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.cqc_timer_bt_num =
caps             1511 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u8 srqc_hop_num = hr_dev->caps.srqc_hop_num;
caps             1512 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u8 qpc_hop_num = hr_dev->caps.qpc_hop_num;
caps             1513 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u8 cqc_hop_num = hr_dev->caps.cqc_hop_num;
caps             1514 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u8 mpt_hop_num = hr_dev->caps.mpt_hop_num;
caps             1515 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u8 sccc_hop_num = hr_dev->caps.sccc_hop_num;
caps             1525 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.qpc_ba_pg_sz + PG_SHIFT_OFFSET);
caps             1528 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.qpc_buf_pg_sz + PG_SHIFT_OFFSET);
caps             1535 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.srqc_ba_pg_sz + PG_SHIFT_OFFSET);
caps             1538 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.srqc_buf_pg_sz + PG_SHIFT_OFFSET);
caps             1545 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.cqc_ba_pg_sz + PG_SHIFT_OFFSET);
caps             1548 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.cqc_buf_pg_sz + PG_SHIFT_OFFSET);
caps             1555 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.mpt_ba_pg_sz + PG_SHIFT_OFFSET);
caps             1558 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.mpt_buf_pg_sz + PG_SHIFT_OFFSET);
caps             1566 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.sccc_ba_pg_sz + PG_SHIFT_OFFSET);
caps             1570 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.sccc_buf_pg_sz + PG_SHIFT_OFFSET);
caps             1582 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_caps *caps = &hr_dev->caps;
caps             1644 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_qps		= HNS_ROCE_V2_MAX_QP_NUM;
caps             1645 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_wqes		= HNS_ROCE_V2_MAX_WQE_NUM;
caps             1646 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_cqs		= HNS_ROCE_V2_MAX_CQ_NUM;
caps             1647 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_srqs		= HNS_ROCE_V2_MAX_SRQ_NUM;
caps             1648 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->min_cqes		= HNS_ROCE_MIN_CQE_NUM;
caps             1649 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_cqes		= HNS_ROCE_V2_MAX_CQE_NUM;
caps             1650 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_srqwqes	= HNS_ROCE_V2_MAX_SRQWQE_NUM;
caps             1651 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_sq_sg		= HNS_ROCE_V2_MAX_SQ_SGE_NUM;
caps             1652 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_extend_sg	= HNS_ROCE_V2_MAX_EXTEND_SGE_NUM;
caps             1653 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_rq_sg		= HNS_ROCE_V2_MAX_RQ_SGE_NUM;
caps             1654 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_sq_inline	= HNS_ROCE_V2_MAX_SQ_INLINE;
caps             1655 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_srq_sg	= HNS_ROCE_V2_MAX_SRQ_SGE_NUM;
caps             1656 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_uars		= HNS_ROCE_V2_UAR_NUM;
caps             1657 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->phy_num_uars	= HNS_ROCE_V2_PHY_UAR_NUM;
caps             1658 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_aeq_vectors	= HNS_ROCE_V2_AEQE_VEC_NUM;
caps             1659 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_comp_vectors	= HNS_ROCE_V2_COMP_VEC_NUM;
caps             1660 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_other_vectors	= HNS_ROCE_V2_ABNORMAL_VEC_NUM;
caps             1661 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_mtpts		= HNS_ROCE_V2_MAX_MTPT_NUM;
caps             1662 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_mtt_segs	= HNS_ROCE_V2_MAX_MTT_SEGS;
caps             1663 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_cqe_segs	= HNS_ROCE_V2_MAX_CQE_SEGS;
caps             1664 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_srqwqe_segs	= HNS_ROCE_V2_MAX_SRQWQE_SEGS;
caps             1665 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_idx_segs	= HNS_ROCE_V2_MAX_IDX_SEGS;
caps             1666 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->num_pds		= HNS_ROCE_V2_MAX_PD_NUM;
caps             1667 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_qp_init_rdma	= HNS_ROCE_V2_MAX_QP_INIT_RDMA;
caps             1668 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_qp_dest_rdma	= HNS_ROCE_V2_MAX_QP_DEST_RDMA;
caps             1669 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_sq_desc_sz	= HNS_ROCE_V2_MAX_SQ_DESC_SZ;
caps             1670 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_rq_desc_sz	= HNS_ROCE_V2_MAX_RQ_DESC_SZ;
caps             1671 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_srq_desc_sz	= HNS_ROCE_V2_MAX_SRQ_DESC_SZ;
caps             1672 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->qpc_entry_sz	= HNS_ROCE_V2_QPC_ENTRY_SZ;
caps             1673 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->irrl_entry_sz	= HNS_ROCE_V2_IRRL_ENTRY_SZ;
caps             1674 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->trrl_entry_sz	= HNS_ROCE_V2_TRRL_ENTRY_SZ;
caps             1675 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqc_entry_sz	= HNS_ROCE_V2_CQC_ENTRY_SZ;
caps             1676 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqc_entry_sz	= HNS_ROCE_V2_SRQC_ENTRY_SZ;
caps             1677 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mtpt_entry_sz	= HNS_ROCE_V2_MTPT_ENTRY_SZ;
caps             1678 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mtt_entry_sz	= HNS_ROCE_V2_MTT_ENTRY_SZ;
caps             1679 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->idx_entry_sz	= 4;
caps             1680 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cq_entry_sz	= HNS_ROCE_V2_CQE_ENTRY_SIZE;
caps             1681 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->page_size_cap	= HNS_ROCE_V2_PAGE_SIZE_SUPPORTED;
caps             1682 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_lkey	= 0;
caps             1683 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_pds	= 0;
caps             1684 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_mrws	= 1;
caps             1685 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_uars	= 0;
caps             1686 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_cqs	= 0;
caps             1687 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_srqs	= 0;
caps             1688 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->reserved_qps	= HNS_ROCE_V2_RSV_QPS;
caps             1690 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->qpc_ba_pg_sz	= 0;
caps             1691 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->qpc_buf_pg_sz	= 0;
caps             1692 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->qpc_hop_num	= HNS_ROCE_CONTEXT_HOP_NUM;
caps             1693 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqc_ba_pg_sz	= 0;
caps             1694 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqc_buf_pg_sz	= 0;
caps             1695 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqc_hop_num	= HNS_ROCE_CONTEXT_HOP_NUM;
caps             1696 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqc_ba_pg_sz	= 0;
caps             1697 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqc_buf_pg_sz	= 0;
caps             1698 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqc_hop_num	= HNS_ROCE_CONTEXT_HOP_NUM;
caps             1699 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mpt_ba_pg_sz	= 0;
caps             1700 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mpt_buf_pg_sz	= 0;
caps             1701 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mpt_hop_num	= HNS_ROCE_CONTEXT_HOP_NUM;
caps             1702 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->pbl_ba_pg_sz	= 2;
caps             1703 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->pbl_buf_pg_sz	= 0;
caps             1704 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->pbl_hop_num	= HNS_ROCE_PBL_HOP_NUM;
caps             1705 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mtt_ba_pg_sz	= 0;
caps             1706 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mtt_buf_pg_sz	= 0;
caps             1707 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->mtt_hop_num	= HNS_ROCE_MTT_HOP_NUM;
caps             1708 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->wqe_sq_hop_num	= 2;
caps             1709 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->wqe_sge_hop_num	= 1;
caps             1710 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->wqe_rq_hop_num	= 2;
caps             1711 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqe_ba_pg_sz	= 6;
caps             1712 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqe_buf_pg_sz	= 0;
caps             1713 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->cqe_hop_num	= HNS_ROCE_CQE_HOP_NUM;
caps             1714 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqwqe_ba_pg_sz	= 0;
caps             1715 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqwqe_buf_pg_sz	= 0;
caps             1716 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->srqwqe_hop_num	= HNS_ROCE_SRQWQE_HOP_NUM;
caps             1717 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->idx_ba_pg_sz	= 0;
caps             1718 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->idx_buf_pg_sz	= 0;
caps             1719 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->idx_hop_num	= HNS_ROCE_IDX_HOP_NUM;
caps             1720 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->eqe_ba_pg_sz	= 0;
caps             1721 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->eqe_buf_pg_sz	= 0;
caps             1722 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->eqe_hop_num	= HNS_ROCE_EQE_HOP_NUM;
caps             1723 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->tsq_buf_pg_sz	= 0;
caps             1724 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->chunk_sz		= HNS_ROCE_V2_TABLE_CHUNK_SIZE;
caps             1726 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->flags		= HNS_ROCE_CAP_FLAG_REREG_MR |
caps             1733 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->flags |= HNS_ROCE_CAP_FLAG_MW |
caps             1736 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->pkey_table_len[0] = 1;
caps             1737 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->gid_table_len[0] = HNS_ROCE_V2_GID_INDEX_NUM;
caps             1738 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->ceqe_depth	= HNS_ROCE_V2_COMP_EQE_NUM;
caps             1739 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->aeqe_depth	= HNS_ROCE_V2_ASYNC_EQE_NUM;
caps             1740 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->local_ca_ack_delay = 0;
caps             1741 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_mtu = IB_MTU_4096;
caps             1743 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_srqs		= HNS_ROCE_V2_MAX_SRQ;
caps             1744 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_srq_wrs	= HNS_ROCE_V2_MAX_SRQ_WR;
caps             1745 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_srq_sges	= HNS_ROCE_V2_MAX_SRQ_SGE;
caps             1748 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->flags |= HNS_ROCE_CAP_FLAG_ATOMIC |
caps             1752 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->num_qpc_timer	  = HNS_ROCE_V2_MAX_QPC_TIMER_NUM;
caps             1753 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->qpc_timer_entry_sz  = HNS_ROCE_V2_QPC_TIMER_ENTRY_SZ;
caps             1754 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->qpc_timer_ba_pg_sz  = 0;
caps             1755 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->qpc_timer_buf_pg_sz = 0;
caps             1756 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->qpc_timer_hop_num   = HNS_ROCE_HOP_NUM_0;
caps             1757 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->num_cqc_timer	  = HNS_ROCE_V2_MAX_CQC_TIMER_NUM;
caps             1758 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->cqc_timer_entry_sz  = HNS_ROCE_V2_CQC_TIMER_ENTRY_SZ;
caps             1759 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->cqc_timer_ba_pg_sz  = 0;
caps             1760 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->cqc_timer_buf_pg_sz = 0;
caps             1761 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->cqc_timer_hop_num   = HNS_ROCE_HOP_NUM_0;
caps             1763 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->sccc_entry_sz	= HNS_ROCE_V2_SCCC_ENTRY_SZ;
caps             1764 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->sccc_ba_pg_sz	= 0;
caps             1765 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->sccc_buf_pg_sz    = 0;
caps             1766 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		caps->sccc_hop_num	= HNS_ROCE_SCCC_HOP_NUM;
caps             1878 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		buf_chk_sz = 1 << (hr_dev->caps.tsq_buf_pg_sz + PAGE_SHIFT);
caps             1879 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		pg_num_a = hr_dev->caps.num_qps * 8 / buf_chk_sz;
caps             1880 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		pg_num_b = hr_dev->caps.sl_num * 4 + 2;
caps             1884 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		buf_chk_sz = 1 << (hr_dev->caps.tpq_buf_pg_sz +	PAGE_SHIFT);
caps             1885 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		pg_num_a = hr_dev->caps.num_cqs * 4 / buf_chk_sz;
caps             1983 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	for (qpc_count = 0; qpc_count < hr_dev->caps.qpc_timer_bt_num;
caps             1994 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	for (cqc_count = 0; cqc_count < hr_dev->caps.cqc_timer_bt_num;
caps             2584 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       V2_CQC_BYTE_16_CQE_HOP_NUM_S, hr_dev->caps.cqe_hop_num ==
caps             2585 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       HNS_ROCE_HOP_NUM_0 ? 0 : hr_dev->caps.cqe_hop_num);
caps             2595 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.cqe_ba_pg_sz + PG_SHIFT_OFFSET);
caps             2599 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.cqe_buf_pg_sz + PG_SHIFT_OFFSET);
caps             3340 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		    (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RQ_INLINE) ? 1 : 0);
caps             3689 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT);
caps             3735 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.wqe_sq_hop_num == HNS_ROCE_HOP_NUM_0 ?
caps             3736 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       0 : hr_dev->caps.wqe_sq_hop_num);
caps             3745 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.wqe_sge_hop_num : 0);
caps             3753 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.wqe_rq_hop_num == HNS_ROCE_HOP_NUM_0 ?
caps             3754 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       0 : hr_dev->caps.wqe_rq_hop_num);
caps             3770 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.mtt_buf_pg_sz + PG_SHIFT_OFFSET);
caps             3933 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT);
caps             4105 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (grh->sgid_index >= hr_dev->caps.gid_table_len[hr_port]) {
caps             4107 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			grh->sgid_index, hr_dev->caps.gid_table_len[hr_port]);
caps             4712 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RQ_INLINE) &&
caps             5297 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (eqn < hr_dev->caps.num_comp_vectors)
caps             5322 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	mhop_num = hr_dev->caps.eqe_hop_num;
caps             5323 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	buf_chk_sz = 1 << (hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT);
caps             5324 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT);
caps             5385 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (hr_dev->caps.eqe_hop_num) {
caps             5406 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	eq->hop_num = hr_dev->caps.eqe_hop_num;
caps             5411 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	eq->eqe_ba_pg_sz = hr_dev->caps.eqe_ba_pg_sz;
caps             5412 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	eq->eqe_buf_pg_sz = hr_dev->caps.eqe_buf_pg_sz;
caps             5563 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	mhop_num = hr_dev->caps.eqe_hop_num;
caps             5564 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	buf_chk_sz = 1 << (hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT);
caps             5565 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT);
caps             5765 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (!hr_dev->caps.eqe_hop_num) {
caps             5766 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		buf_chk_sz = 1 << (hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT);
caps             5805 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (!hr_dev->caps.eqe_hop_num)
caps             5898 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors;
caps             5899 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	irq_num = eq_num + hr_dev->caps.num_other_vectors;
caps             5901 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	for (i = 0; i < hr_dev->caps.num_other_vectors; i++)
caps             5925 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	other_num = hr_dev->caps.num_other_vectors;
caps             5926 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	comp_num = hr_dev->caps.num_comp_vectors;
caps             5927 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	aeq_num = hr_dev->caps.num_aeq_vectors;
caps             5945 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			eq->entries = hr_dev->caps.ceqe_depth;
caps             5954 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			eq->entries = hr_dev->caps.aeqe_depth;
caps             6008 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors;
caps             6044 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       (hr_dev->caps.srqwqe_hop_num == HNS_ROCE_HOP_NUM_0 ? 0 :
caps             6045 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.srqwqe_hop_num));
caps             6087 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.idx_hop_num == HNS_ROCE_HOP_NUM_0 ? 0 :
caps             6088 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.idx_hop_num);
caps             6093 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.idx_ba_pg_sz + PG_SHIFT_OFFSET);
caps             6097 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.idx_buf_pg_sz + PG_SHIFT_OFFSET);
caps             6111 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.srqwqe_ba_pg_sz + PG_SHIFT_OFFSET);
caps             6115 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       hr_dev->caps.srqwqe_buf_pg_sz + PG_SHIFT_OFFSET);
caps             6394 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_dev->caps.num_ports = 1;
caps               58 drivers/infiniband/hw/hns/hns_roce_main.c 	return gid_index * hr_dev->caps.num_ports + port;
caps               82 drivers/infiniband/hw/hns/hns_roce_main.c 	if (port >= hr_dev->caps.num_ports)
caps               97 drivers/infiniband/hw/hns/hns_roce_main.c 	if (port >= hr_dev->caps.num_ports)
caps              150 drivers/infiniband/hw/hns/hns_roce_main.c 	for (port = 0; port < hr_dev->caps.num_ports; port++) {
caps              167 drivers/infiniband/hw/hns/hns_roce_main.c 	for (i = 0; i < hr_dev->caps.num_ports; i++) {
caps              170 drivers/infiniband/hw/hns/hns_roce_main.c 					    hr_dev->caps.max_mtu);
caps              188 drivers/infiniband/hw/hns/hns_roce_main.c 	props->fw_ver = hr_dev->caps.fw_ver;
caps              191 drivers/infiniband/hw/hns/hns_roce_main.c 	props->page_size_cap = hr_dev->caps.page_size_cap;
caps              195 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_qp = hr_dev->caps.num_qps;
caps              196 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_qp_wr = hr_dev->caps.max_wqes;
caps              199 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_send_sge = hr_dev->caps.max_sq_sg;
caps              200 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_recv_sge = hr_dev->caps.max_rq_sg;
caps              202 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_cq = hr_dev->caps.num_cqs;
caps              203 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_cqe = hr_dev->caps.max_cqes;
caps              204 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_mr = hr_dev->caps.num_mtpts;
caps              205 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_pd = hr_dev->caps.num_pds;
caps              206 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_qp_rd_atom = hr_dev->caps.max_qp_dest_rdma;
caps              207 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_qp_init_rd_atom = hr_dev->caps.max_qp_init_rdma;
caps              208 drivers/infiniband/hw/hns/hns_roce_main.c 	props->atomic_cap = hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_ATOMIC ?
caps              211 drivers/infiniband/hw/hns/hns_roce_main.c 	props->local_ca_ack_delay = hr_dev->caps.local_ca_ack_delay;
caps              212 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SRQ) {
caps              213 drivers/infiniband/hw/hns/hns_roce_main.c 		props->max_srq = hr_dev->caps.max_srqs;
caps              214 drivers/infiniband/hw/hns/hns_roce_main.c 		props->max_srq_wr = hr_dev->caps.max_srq_wrs;
caps              215 drivers/infiniband/hw/hns/hns_roce_main.c 		props->max_srq_sge = hr_dev->caps.max_srq_sges;
caps              218 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_FRMR) {
caps              241 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_mtu = hr_dev->caps.max_mtu;
caps              242 drivers/infiniband/hw/hns/hns_roce_main.c 	props->gid_tbl_len = hr_dev->caps.gid_table_len[port];
caps              321 drivers/infiniband/hw/hns/hns_roce_main.c 	resp.qp_tab_size = hr_dev->caps.num_qps;
caps              327 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) {
caps              397 drivers/infiniband/hw/hns/hns_roce_main.c 	if (to_hr_dev(ib_dev)->caps.flags & HNS_ROCE_CAP_FLAG_ROCE_V1_V2)
caps              492 drivers/infiniband/hw/hns/hns_roce_main.c 	ib_dev->phys_port_cnt		= hr_dev->caps.num_ports;
caps              493 drivers/infiniband/hw/hns/hns_roce_main.c 	ib_dev->local_dma_lkey		= hr_dev->caps.reserved_lkey;
caps              494 drivers/infiniband/hw/hns/hns_roce_main.c 	ib_dev->num_comp_vectors	= hr_dev->caps.num_comp_vectors;
caps              514 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_REREG_MR) {
caps              520 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_MW) {
caps              528 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_FRMR)
caps              532 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SRQ) {
caps              545 drivers/infiniband/hw/hns/hns_roce_main.c 	for (i = 0; i < hr_dev->caps.num_ports; i++) {
caps              588 drivers/infiniband/hw/hns/hns_roce_main.c 				      HEM_TYPE_MTT, hr_dev->caps.mtt_entry_sz,
caps              589 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.num_mtt_segs, 1);
caps              598 drivers/infiniband/hw/hns/hns_roce_main.c 				      HEM_TYPE_CQE, hr_dev->caps.mtt_entry_sz,
caps              599 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.num_cqe_segs, 1);
caps              607 drivers/infiniband/hw/hns/hns_roce_main.c 				      HEM_TYPE_MTPT, hr_dev->caps.mtpt_entry_sz,
caps              608 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.num_mtpts, 1);
caps              615 drivers/infiniband/hw/hns/hns_roce_main.c 				      HEM_TYPE_QPC, hr_dev->caps.qpc_entry_sz,
caps              616 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.num_qps, 1);
caps              624 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.irrl_entry_sz *
caps              625 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.max_qp_init_rdma,
caps              626 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.num_qps, 1);
caps              632 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.trrl_entry_sz) {
caps              636 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.trrl_entry_sz *
caps              637 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.max_qp_dest_rdma,
caps              638 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.num_qps, 1);
caps              647 drivers/infiniband/hw/hns/hns_roce_main.c 				      HEM_TYPE_CQC, hr_dev->caps.cqc_entry_sz,
caps              648 drivers/infiniband/hw/hns/hns_roce_main.c 				      hr_dev->caps.num_cqs, 1);
caps              654 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.srqc_entry_sz) {
caps              657 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.srqc_entry_sz,
caps              658 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.num_srqs, 1);
caps              666 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.num_srqwqe_segs) {
caps              670 drivers/infiniband/hw/hns/hns_roce_main.c 					     hr_dev->caps.mtt_entry_sz,
caps              671 drivers/infiniband/hw/hns/hns_roce_main.c 					     hr_dev->caps.num_srqwqe_segs, 1);
caps              679 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.num_idx_segs) {
caps              683 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.idx_entry_sz,
caps              684 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.num_idx_segs, 1);
caps              692 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.sccc_entry_sz) {
caps              696 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.sccc_entry_sz,
caps              697 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.num_qps, 1);
caps              705 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.qpc_timer_entry_sz) {
caps              709 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.qpc_timer_entry_sz,
caps              710 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.num_qpc_timer, 1);
caps              718 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.cqc_timer_entry_sz) {
caps              722 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.cqc_timer_entry_sz,
caps              723 drivers/infiniband/hw/hns/hns_roce_main.c 					      hr_dev->caps.num_cqc_timer, 1);
caps              734 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.qpc_timer_entry_sz)
caps              739 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.sccc_entry_sz)
caps              744 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.num_idx_segs)
caps              749 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.num_srqwqe_segs)
caps              754 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.srqc_entry_sz)
caps              761 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.trrl_entry_sz)
caps              798 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) {
caps              839 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SRQ) {
caps              851 drivers/infiniband/hw/hns/hns_roce_main.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SRQ)
caps              305 drivers/infiniband/hw/hns/hns_roce_mr.c 	pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT);
caps              306 drivers/infiniband/hw/hns/hns_roce_mr.c 	mhop_num = hr_dev->caps.pbl_hop_num;
caps              369 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->pbl_ba_pg_sz = hr_dev->caps.pbl_ba_pg_sz;
caps              370 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->pbl_buf_pg_sz = hr_dev->caps.pbl_buf_pg_sz;
caps              514 drivers/infiniband/hw/hns/hns_roce_mr.c 	mhop_num = (mr->type == MR_TYPE_FRMR ? 1 : hr_dev->caps.pbl_hop_num);
caps              515 drivers/infiniband/hw/hns/hns_roce_mr.c 	pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT);
caps              554 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->pbl_hop_num = hr_dev->caps.pbl_hop_num;
caps              555 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->pbl_ba_pg_sz = hr_dev->caps.pbl_ba_pg_sz;
caps              556 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->pbl_buf_pg_sz = hr_dev->caps.pbl_buf_pg_sz;
caps              602 drivers/infiniband/hw/hns/hns_roce_mr.c 		if (!hr_dev->caps.pbl_hop_num) {
caps              629 drivers/infiniband/hw/hns/hns_roce_mr.c 	pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT);
caps              630 drivers/infiniband/hw/hns/hns_roce_mr.c 	mhop_num = (mr->type == MR_TYPE_FRMR) ? 1 : hr_dev->caps.pbl_hop_num;
caps              711 drivers/infiniband/hw/hns/hns_roce_mr.c 					 & (hr_dev->caps.num_mtpts - 1));
caps              720 drivers/infiniband/hw/hns/hns_roce_mr.c 		if (!hr_dev->caps.pbl_hop_num)
caps              767 drivers/infiniband/hw/hns/hns_roce_mr.c 				 mtpt_idx & (hr_dev->caps.num_mtpts - 1));
caps              799 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.mtt_ba_pg_sz + PAGE_SHIFT);
caps              803 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.cqe_ba_pg_sz + PAGE_SHIFT);
caps              807 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.srqwqe_ba_pg_sz + PAGE_SHIFT);
caps              811 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.idx_ba_pg_sz + PAGE_SHIFT);
caps              834 drivers/infiniband/hw/hns/hns_roce_mr.c 		if (!hr_dev->caps.mtt_hop_num)
caps              856 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.mtt_ba_pg_sz + PAGE_SHIFT);
caps              859 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.cqe_ba_pg_sz + PAGE_SHIFT);
caps              862 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.srqwqe_ba_pg_sz + PAGE_SHIFT);
caps              865 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_page_size = 1 << (hr_dev->caps.idx_ba_pg_sz + PAGE_SHIFT);
caps              921 drivers/infiniband/hw/hns/hns_roce_mr.c 				   hr_dev->caps.num_mtpts,
caps              922 drivers/infiniband/hw/hns/hns_roce_mr.c 				   hr_dev->caps.num_mtpts - 1,
caps              923 drivers/infiniband/hw/hns/hns_roce_mr.c 				   hr_dev->caps.reserved_mrws, 0);
caps              928 drivers/infiniband/hw/hns/hns_roce_mr.c 				  ilog2(hr_dev->caps.num_mtt_segs));
caps              934 drivers/infiniband/hw/hns/hns_roce_mr.c 					  ilog2(hr_dev->caps.num_cqe_segs));
caps              939 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.num_srqwqe_segs) {
caps              941 drivers/infiniband/hw/hns/hns_roce_mr.c 					  ilog2(hr_dev->caps.num_srqwqe_segs));
caps              946 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.num_idx_segs) {
caps              948 drivers/infiniband/hw/hns/hns_roce_mr.c 					  ilog2(hr_dev->caps.num_idx_segs));
caps              956 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.num_srqwqe_segs)
caps              975 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.num_idx_segs)
caps              977 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.num_srqwqe_segs)
caps             1035 drivers/infiniband/hw/hns/hns_roce_mr.c 		order = hr_dev->caps.mtt_ba_pg_sz;
caps             1038 drivers/infiniband/hw/hns/hns_roce_mr.c 		order = hr_dev->caps.cqe_ba_pg_sz;
caps             1041 drivers/infiniband/hw/hns/hns_roce_mr.c 		order = hr_dev->caps.srqwqe_ba_pg_sz;
caps             1044 drivers/infiniband/hw/hns/hns_roce_mr.c 		order = hr_dev->caps.idx_ba_pg_sz;
caps             1099 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.pbl_hop_num == HNS_ROCE_HOP_NUM_0)
caps             1102 drivers/infiniband/hw/hns/hns_roce_mr.c 	pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT);
caps             1105 drivers/infiniband/hw/hns/hns_roce_mr.c 		if (!hr_dev->caps.pbl_hop_num) {
caps             1108 drivers/infiniband/hw/hns/hns_roce_mr.c 		} else if (hr_dev->caps.pbl_hop_num == 1) {
caps             1111 drivers/infiniband/hw/hns/hns_roce_mr.c 			if (hr_dev->caps.pbl_hop_num == 2)
caps             1113 drivers/infiniband/hw/hns/hns_roce_mr.c 			else if (hr_dev->caps.pbl_hop_num == 3)
caps             1154 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (!hr_dev->caps.pbl_hop_num) {
caps             1165 drivers/infiniband/hw/hns/hns_roce_mr.c 		bt_size = (1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT)) /
caps             1167 drivers/infiniband/hw/hns/hns_roce_mr.c 		for (i = 0; i < hr_dev->caps.pbl_hop_num; i++)
caps             1223 drivers/infiniband/hw/hns/hns_roce_mr.c 		if (hr_dev->caps.pbl_hop_num)
caps             1239 drivers/infiniband/hw/hns/hns_roce_mr.c 	if (hr_dev->caps.pbl_hop_num) {
caps             1265 drivers/infiniband/hw/hns/hns_roce_mr.c 			if (hr_dev->caps.pbl_hop_num)
caps             1304 drivers/infiniband/hw/hns/hns_roce_mr.c 	mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1);
caps             1384 drivers/infiniband/hw/hns/hns_roce_mr.c 	page_size = 1 << (hr_dev->caps.pbl_buf_pg_sz + PAGE_SHIFT);
caps             1452 drivers/infiniband/hw/hns/hns_roce_mr.c 					 & (hr_dev->caps.num_mtpts - 1));
caps             1491 drivers/infiniband/hw/hns/hns_roce_mr.c 				 mtpt_idx & (hr_dev->caps.num_mtpts - 1));
caps             1534 drivers/infiniband/hw/hns/hns_roce_mr.c 	mw->pbl_hop_num = hr_dev->caps.pbl_hop_num;
caps             1535 drivers/infiniband/hw/hns/hns_roce_mr.c 	mw->pbl_ba_pg_sz = hr_dev->caps.pbl_ba_pg_sz;
caps             1536 drivers/infiniband/hw/hns/hns_roce_mr.c 	mw->pbl_buf_pg_sz = hr_dev->caps.pbl_buf_pg_sz;
caps               50 drivers/infiniband/hw/hns/hns_roce_pd.c 	return hns_roce_bitmap_init(&hr_dev->pd_bitmap, hr_dev->caps.num_pds,
caps               51 drivers/infiniband/hw/hns/hns_roce_pd.c 				    hr_dev->caps.num_pds - 1,
caps               52 drivers/infiniband/hw/hns/hns_roce_pd.c 				    hr_dev->caps.reserved_pds, 0);
caps              102 drivers/infiniband/hw/hns/hns_roce_pd.c 	if (uar->logic_idx > 0 && hr_dev->caps.phy_num_uars > 1)
caps              104 drivers/infiniband/hw/hns/hns_roce_pd.c 			     (hr_dev->caps.phy_num_uars - 1) + 1;
caps              132 drivers/infiniband/hw/hns/hns_roce_pd.c 				    hr_dev->caps.num_uars,
caps              133 drivers/infiniband/hw/hns/hns_roce_pd.c 				    hr_dev->caps.num_uars - 1,
caps              134 drivers/infiniband/hw/hns/hns_roce_pd.c 				    hr_dev->caps.reserved_uars, 0);
caps              155 drivers/infiniband/hw/hns/hns_roce_qp.c 	ret = xa_err(xa_store_irq(xa, hr_qp->qpn & (hr_dev->caps.num_qps - 1),
caps              189 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.trrl_entry_sz) {
caps              199 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.sccc_entry_sz) {
caps              216 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.sccc_entry_sz)
caps              221 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.trrl_entry_sz)
caps              240 drivers/infiniband/hw/hns/hns_roce_qp.c 	__xa_erase(xa, hr_qp->qpn & (hr_dev->caps.num_qps - 1));
caps              253 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_dev->caps.trrl_entry_sz)
caps              265 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (base_qpn < hr_dev->caps.reserved_qps)
caps              279 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (cap->max_recv_wr > hr_dev->caps.max_wqes ||
caps              280 drivers/infiniband/hw/hns/hns_roce_qp.c 	    cap->max_recv_sge > hr_dev->caps.max_rq_sg) {
caps              298 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_dev->caps.min_wqes)
caps              299 drivers/infiniband/hw/hns/hns_roce_qp.c 			max_cnt = max(cap->max_recv_wr, hr_dev->caps.min_wqes);
caps              305 drivers/infiniband/hw/hns/hns_roce_qp.c 		if ((u32)hr_qp->rq.wqe_cnt > hr_dev->caps.max_wqes) {
caps              312 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_dev->caps.max_rq_sg <= 2)
caps              314 drivers/infiniband/hw/hns/hns_roce_qp.c 					ilog2(hr_dev->caps.max_rq_desc_sz);
caps              317 drivers/infiniband/hw/hns/hns_roce_qp.c 					ilog2(hr_dev->caps.max_rq_desc_sz
caps              331 drivers/infiniband/hw/hns/hns_roce_qp.c 	u32 roundup_sq_stride = roundup_pow_of_two(hr_dev->caps.max_sq_desc_sz);
caps              341 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (cap->max_send_sge > hr_dev->caps.max_sq_sg) {
caps              361 drivers/infiniband/hw/hns/hns_roce_qp.c 	    hr_qp->sq.wqe_cnt > hr_dev->caps.max_wqes)
caps              373 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.max_sq_sg <= 2)
caps              383 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_qp->sge.sge_cnt > hr_dev->caps.max_extend_sg) {
caps              395 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.max_sq_sg <= 2) {
caps              405 drivers/infiniband/hw/hns/hns_roce_qp.c 		page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT);
caps              464 drivers/infiniband/hw/hns/hns_roce_qp.c 					 hr_dev->caps.wqe_sq_hop_num,
caps              476 drivers/infiniband/hw/hns/hns_roce_qp.c 						 hr_dev->caps.wqe_sge_hop_num,
caps              488 drivers/infiniband/hw/hns/hns_roce_qp.c 					 hr_dev->caps.wqe_rq_hop_num,
caps              505 drivers/infiniband/hw/hns/hns_roce_qp.c 	bt_pg_shift = PAGE_SHIFT + hr_dev->caps.mtt_ba_pg_sz;
caps              533 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.max_sq_sg > 2 && hr_qp->ibqp.qp_type == IB_QPT_GSI) {
caps              540 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_qp->sge.sge_cnt > hr_dev->caps.max_extend_sg) {
caps              560 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (cap->max_send_wr  > hr_dev->caps.max_wqes  ||
caps              561 drivers/infiniband/hw/hns/hns_roce_qp.c 	    cap->max_send_sge > hr_dev->caps.max_sq_sg ||
caps              562 drivers/infiniband/hw/hns/hns_roce_qp.c 	    cap->max_inline_data > hr_dev->caps.max_sq_inline) {
caps              567 drivers/infiniband/hw/hns/hns_roce_qp.c 	hr_qp->sq.wqe_shift = ilog2(hr_dev->caps.max_sq_desc_sz);
caps              569 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.min_wqes)
caps              570 drivers/infiniband/hw/hns/hns_roce_qp.c 		max_cnt = max(cap->max_send_wr, hr_dev->caps.min_wqes);
caps              575 drivers/infiniband/hw/hns/hns_roce_qp.c 	if ((u32)hr_qp->sq.wqe_cnt > hr_dev->caps.max_wqes) {
caps              582 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.max_sq_sg <= 2)
caps              594 drivers/infiniband/hw/hns/hns_roce_qp.c 	page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT);
caps              599 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.max_sq_sg > 2 && hr_qp->sge.sge_cnt) {
caps              723 drivers/infiniband/hw/hns/hns_roce_qp.c 	if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RQ_INLINE) &&
caps              732 drivers/infiniband/hw/hns/hns_roce_qp.c 	page_shift = PAGE_SHIFT + hr_dev->caps.mtt_buf_pg_sz;
caps              778 drivers/infiniband/hw/hns/hns_roce_qp.c 		if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SQ_RECORD_DB) &&
caps              794 drivers/infiniband/hw/hns/hns_roce_qp.c 		if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) &&
caps              836 drivers/infiniband/hw/hns/hns_roce_qp.c 		if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) &&
caps              946 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_QP_FLOW_CTRL) {
caps              973 drivers/infiniband/hw/hns/hns_roce_qp.c 		if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB) &&
caps              984 drivers/infiniband/hw/hns/hns_roce_qp.c 		if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_SQ_RECORD_DB) &&
caps             1004 drivers/infiniband/hw/hns/hns_roce_qp.c 	    (hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RECORD_DB))
caps             1008 drivers/infiniband/hw/hns/hns_roce_qp.c 	if ((hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_RQ_INLINE) &&
caps             1061 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_dev->caps.max_sq_sg <= 2)
caps             1115 drivers/infiniband/hw/hns/hns_roce_qp.c 	if ((hr_dev->caps.max_mtu >= IB_MTU_2048 &&
caps             1116 drivers/infiniband/hw/hns/hns_roce_qp.c 	    attr->path_mtu > hr_dev->caps.max_mtu) ||
caps             1135 drivers/infiniband/hw/hns/hns_roce_qp.c 	    (attr->port_num == 0 || attr->port_num > hr_dev->caps.num_ports)) {
caps             1144 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (attr->pkey_index >= hr_dev->caps.pkey_table_len[p]) {
caps             1153 drivers/infiniband/hw/hns/hns_roce_qp.c 	    attr->max_rd_atomic > hr_dev->caps.max_qp_init_rdma) {
caps             1161 drivers/infiniband/hw/hns/hns_roce_qp.c 	    attr->max_dest_rd_atomic > hr_dev->caps.max_qp_dest_rdma) {
caps             1213 drivers/infiniband/hw/hns/hns_roce_qp.c 		if (hr_dev->caps.min_wqes) {
caps             1315 drivers/infiniband/hw/hns/hns_roce_qp.c 	reserved_from_bot = hr_dev->caps.reserved_qps;
caps             1317 drivers/infiniband/hw/hns/hns_roce_qp.c 	ret = hns_roce_bitmap_init(&qp_table->bitmap, hr_dev->caps.num_qps,
caps             1318 drivers/infiniband/hw/hns/hns_roce_qp.c 				   hr_dev->caps.num_qps - 1, reserved_from_bot,
caps               18 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq = xa_load(&srq_table->xa, srqn & (hr_dev->caps.num_srqs - 1));
caps              195 drivers/infiniband/hw/hns/hns_roce_srq.c 		       (1 << hr_dev->caps.srqwqe_buf_pg_sz) - 1) /
caps              196 drivers/infiniband/hw/hns/hns_roce_srq.c 		      (1 << hr_dev->caps.srqwqe_buf_pg_sz);
caps              197 drivers/infiniband/hw/hns/hns_roce_srq.c 	buf->page_shift = PAGE_SHIFT + hr_dev->caps.srqwqe_buf_pg_sz;
caps              218 drivers/infiniband/hw/hns/hns_roce_srq.c 				   1 << hr_dev->caps.idx_buf_pg_sz);
caps              219 drivers/infiniband/hw/hns/hns_roce_srq.c 	buf->page_shift = PAGE_SHIFT + hr_dev->caps.idx_buf_pg_sz;
caps              276 drivers/infiniband/hw/hns/hns_roce_srq.c 	u32 page_shift = PAGE_SHIFT + hr_dev->caps.srqwqe_buf_pg_sz;
caps              295 drivers/infiniband/hw/hns/hns_roce_srq.c 	page_shift = PAGE_SHIFT + hr_dev->caps.idx_buf_pg_sz;
caps              373 drivers/infiniband/hw/hns/hns_roce_srq.c 	if (srq_init_attr->attr.max_wr >= hr_dev->caps.max_srq_wrs ||
caps              374 drivers/infiniband/hw/hns/hns_roce_srq.c 	    srq_init_attr->attr.max_sge > hr_dev->caps.max_srq_sges)
caps              469 drivers/infiniband/hw/hns/hns_roce_srq.c 	return hns_roce_bitmap_init(&srq_table->bitmap, hr_dev->caps.num_srqs,
caps              470 drivers/infiniband/hw/hns/hns_roce_srq.c 				    hr_dev->caps.num_srqs - 1,
caps              471 drivers/infiniband/hw/hns/hns_roce_srq.c 				    hr_dev->caps.reserved_srqs, 0);
caps               71 drivers/infiniband/hw/mlx4/ah.c 		       !(1 << static_rate & dev->caps.stat_rate_support))
caps              126 drivers/infiniband/hw/mlx4/ah.c 		       !(1 << ah->av.eth.stat_rate & dev->caps.stat_rate_support))
caps              105 drivers/infiniband/hw/mlx4/cq.c 	err = mlx4_buf_alloc(dev->dev, nent * dev->dev->caps.cqe_size,
caps              111 drivers/infiniband/hw/mlx4/cq.c 	buf->entry_size = dev->dev->caps.cqe_size;
caps              143 drivers/infiniband/hw/mlx4/cq.c 	int cqe_size = dev->dev->caps.cqe_size;
caps              189 drivers/infiniband/hw/mlx4/cq.c 	if (entries < 1 || entries > dev->dev->caps.max_cqes)
caps              389 drivers/infiniband/hw/mlx4/cq.c 	if (entries < 1 || entries > dev->dev->caps.max_cqes) {
caps              400 drivers/infiniband/hw/mlx4/cq.c 	if (entries > dev->dev->caps.max_cqes + 1) {
caps              236 drivers/infiniband/hw/mlx4/mad.c 			if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV)
caps              253 drivers/infiniband/hw/mlx4/mad.c 			if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV)
caps              291 drivers/infiniband/hw/mlx4/mad.c 			if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV)
caps              312 drivers/infiniband/hw/mlx4/mad.c 			if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV &&
caps              313 drivers/infiniband/hw/mlx4/mad.c 			    dev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SL_TO_VL_CHANGE_EVENT)
caps              339 drivers/infiniband/hw/mlx4/mad.c 	for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) {
caps              350 drivers/infiniband/hw/mlx4/mad.c 			     ix < dev->dev->caps.pkey_table_len[port_num]; ix++) {
caps              437 drivers/infiniband/hw/mlx4/mad.c 	for (i = 0; i < dev->dev->caps.sqp_demux; i++) {
caps              457 drivers/infiniband/hw/mlx4/mad.c 	for (i = 0; i < dev->dev->caps.pkey_table_len[port]; i++) {
caps              521 drivers/infiniband/hw/mlx4/mad.c 	u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH;
caps              707 drivers/infiniband/hw/mlx4/mad.c 		if (slave >= dev->dev->caps.sqp_demux) {
caps              709 drivers/infiniband/hw/mlx4/mad.c 				     slave, dev->dev->caps.sqp_demux);
caps              789 drivers/infiniband/hw/mlx4/mad.c 	if (slave >= dev->dev->caps.sqp_demux) {
caps              791 drivers/infiniband/hw/mlx4/mad.c 			     slave, dev->dev->caps.sqp_demux);
caps             1114 drivers/infiniband/hw/mlx4/mad.c 	    !(dev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SL_TO_VL_CHANGE_EVENT)) {
caps             2160 drivers/infiniband/hw/mlx4/mad.c 	ctx->tun = kcalloc(dev->dev->caps.sqp_demux,
caps             2170 drivers/infiniband/hw/mlx4/mad.c 	     i < min(dev->dev->caps.sqp_demux,
caps             2217 drivers/infiniband/hw/mlx4/mad.c 	for (i = 0; i < dev->dev->caps.sqp_demux; i++)
caps             2251 drivers/infiniband/hw/mlx4/mad.c 		for (i = 0; i < dev->dev->caps.sqp_demux; i++) {
caps             2258 drivers/infiniband/hw/mlx4/mad.c 		for (i = 0; i < dev->dev->caps.sqp_demux; i++) {
caps             2275 drivers/infiniband/hw/mlx4/mad.c 	for (i = 0; i < dev->dev->caps.num_ports; i++)
caps             2299 drivers/infiniband/hw/mlx4/mad.c 	for (i = 0; i < dev->dev->caps.sqp_demux; i++) {
caps             2318 drivers/infiniband/hw/mlx4/mad.c 		     dev->dev->caps.sqp_demux);
caps              101 drivers/infiniband/hw/mlx4/main.c 	int dmfs = dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED;
caps              110 drivers/infiniband/hw/mlx4/main.c 			 (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DMFS_IPOIB)) &&
caps              112 drivers/infiniband/hw/mlx4/main.c 			 (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FS_EN));
caps              243 drivers/infiniband/hw/mlx4/main.c 	if (ibdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2)
caps              481 drivers/infiniband/hw/mlx4/main.c 	props->fw_ver = dev->dev->caps.fw_ver;
caps              487 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_BAD_PKEY_CNTR)
caps              489 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_BAD_QKEY_CNTR)
caps              491 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_APM && have_ib_ports)
caps              493 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_UD_AV_PORT)
caps              495 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_IPOIB_CSUM)
caps              497 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.max_gso_sz &&
caps              499 drivers/infiniband/hw/mlx4/main.c 	    (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_BLH))
caps              501 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.bmme_flags & MLX4_BMME_FLAG_RESERVED_LKEY)
caps              503 drivers/infiniband/hw/mlx4/main.c 	if ((dev->dev->caps.bmme_flags & MLX4_BMME_FLAG_LOCAL_INV) &&
caps              504 drivers/infiniband/hw/mlx4/main.c 	    (dev->dev->caps.bmme_flags & MLX4_BMME_FLAG_REMOTE_INV) &&
caps              505 drivers/infiniband/hw/mlx4/main.c 	    (dev->dev->caps.bmme_flags & MLX4_BMME_FLAG_FAST_REG_WR))
caps              507 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC)
caps              509 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_MEM_WINDOW)
caps              511 drivers/infiniband/hw/mlx4/main.c 	if (dev->dev->caps.bmme_flags & MLX4_BMME_FLAG_TYPE_2_WIN) {
caps              512 drivers/infiniband/hw/mlx4/main.c 		if (dev->dev->caps.bmme_flags & MLX4_BMME_FLAG_WIN_TYPE_2B)
caps              529 drivers/infiniband/hw/mlx4/main.c 	props->page_size_cap	   = dev->dev->caps.page_size_cap;
caps              531 drivers/infiniband/hw/mlx4/main.c 	props->max_qp_wr	   = dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE;
caps              533 drivers/infiniband/hw/mlx4/main.c 		min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg);
caps              535 drivers/infiniband/hw/mlx4/main.c 		min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg);
caps              538 drivers/infiniband/hw/mlx4/main.c 	props->max_cqe		   = dev->dev->caps.max_cqes;
caps              540 drivers/infiniband/hw/mlx4/main.c 	props->max_pd		   = dev->dev->caps.num_pds - dev->dev->caps.reserved_pds;
caps              541 drivers/infiniband/hw/mlx4/main.c 	props->max_qp_rd_atom	   = dev->dev->caps.max_qp_dest_rdma;
caps              542 drivers/infiniband/hw/mlx4/main.c 	props->max_qp_init_rd_atom = dev->dev->caps.max_qp_init_rdma;
caps              545 drivers/infiniband/hw/mlx4/main.c 	props->max_srq_wr	   = dev->dev->caps.max_srq_wqes - 1;
caps              546 drivers/infiniband/hw/mlx4/main.c 	props->max_srq_sge	   = dev->dev->caps.max_srq_sge;
caps              548 drivers/infiniband/hw/mlx4/main.c 	props->local_ca_ack_delay  = dev->dev->caps.local_ca_ack_delay;
caps              549 drivers/infiniband/hw/mlx4/main.c 	props->atomic_cap	   = dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_ATOMIC ?
caps              552 drivers/infiniband/hw/mlx4/main.c 	props->max_pkeys	   = dev->dev->caps.pkey_table_len[1];
caps              553 drivers/infiniband/hw/mlx4/main.c 	props->max_mcast_grp	   = dev->dev->caps.num_mgms + dev->dev->caps.num_amgms;
caps              554 drivers/infiniband/hw/mlx4/main.c 	props->max_mcast_qp_attach = dev->dev->caps.num_qp_per_mgm;
caps              557 drivers/infiniband/hw/mlx4/main.c 	props->max_map_per_fmr = dev->dev->caps.max_fmr_maps;
caps              558 drivers/infiniband/hw/mlx4/main.c 	props->hca_core_clock = dev->dev->caps.hca_core_clock * 1000UL;
caps              564 drivers/infiniband/hw/mlx4/main.c 		if (dev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS) {
caps              568 drivers/infiniband/hw/mlx4/main.c 				dev->dev->caps.max_rss_tbl_sz;
caps              573 drivers/infiniband/hw/mlx4/main.c 		if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_FCS_KEEP)
caps              594 drivers/infiniband/hw/mlx4/main.c 		resp.max_inl_recv_sz  = dev->dev->caps.max_rq_sg *
caps              613 drivers/infiniband/hw/mlx4/main.c 			if (dev->dev->caps.tunnel_offload_mode ==
caps              623 drivers/infiniband/hw/mlx4/main.c 		if (dev->dev->caps.max_gso_sz &&
caps              628 drivers/infiniband/hw/mlx4/main.c 			resp.tso_caps.max_tso = dev->dev->caps.max_gso_sz;
caps              653 drivers/infiniband/hw/mlx4/main.c 	return dev->caps.port_mask[port_num] == MLX4_PORT_TYPE_IB ?
caps              694 drivers/infiniband/hw/mlx4/main.c 		props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port];
caps              695 drivers/infiniband/hw/mlx4/main.c 	props->max_msg_sz	= to_mdev(ibdev)->dev->caps.max_msg_sz;
caps              696 drivers/infiniband/hw/mlx4/main.c 	props->pkey_tbl_len	= to_mdev(ibdev)->dev->caps.pkey_table_len[port];
caps              782 drivers/infiniband/hw/mlx4/main.c 	props->gid_tbl_len	= mdev->dev->caps.gid_table_len[port];
caps              783 drivers/infiniband/hw/mlx4/main.c 	props->max_msg_sz	= mdev->dev->caps.max_msg_sz;
caps              945 drivers/infiniband/hw/mlx4/main.c 	for (i = 1; i <= mdev->dev->caps.num_ports; i++) {
caps              946 drivers/infiniband/hw/mlx4/main.c 		if (mdev->dev->caps.port_type[i] == MLX4_PORT_TYPE_ETH)
caps             1062 drivers/infiniband/hw/mlx4/main.c 	u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH;
caps             1107 drivers/infiniband/hw/mlx4/main.c 		resp_v3.qp_tab_size      = dev->dev->caps.num_qps;
caps             1108 drivers/infiniband/hw/mlx4/main.c 		resp_v3.bf_reg_size      = dev->dev->caps.bf_reg_size;
caps             1109 drivers/infiniband/hw/mlx4/main.c 		resp_v3.bf_regs_per_page = dev->dev->caps.bf_regs_per_page;
caps             1111 drivers/infiniband/hw/mlx4/main.c 		resp.dev_caps	      = dev->dev->caps.userspace_caps;
caps             1112 drivers/infiniband/hw/mlx4/main.c 		resp.qp_tab_size      = dev->dev->caps.num_qps;
caps             1113 drivers/infiniband/hw/mlx4/main.c 		resp.bf_reg_size      = dev->dev->caps.bf_reg_size;
caps             1114 drivers/infiniband/hw/mlx4/main.c 		resp.bf_regs_per_page = dev->dev->caps.bf_regs_per_page;
caps             1115 drivers/infiniband/hw/mlx4/main.c 		resp.cqe_size	      = dev->dev->caps.cqe_size;
caps             1164 drivers/infiniband/hw/mlx4/main.c 		if (dev->dev->caps.bf_reg_size == 0)
caps             1169 drivers/infiniband/hw/mlx4/main.c 				dev->dev->caps.num_uars,
caps             1223 drivers/infiniband/hw/mlx4/main.c 	if (!(to_mdev(ibdev)->dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC))
caps             1638 drivers/infiniband/hw/mlx4/main.c 	if (dev->caps.tunnel_offload_mode != MLX4_TUNNEL_OFFLOAD_MODE_VXLAN ||
caps             1639 drivers/infiniband/hw/mlx4/main.c 	    dev->caps.dmfs_high_steer_mode == MLX4_STEERING_DMFS_A0_STATIC)
caps             1661 drivers/infiniband/hw/mlx4/main.c 	if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER) ||
caps             1662 drivers/infiniband/hw/mlx4/main.c 	    (dev->caps.dmfs_high_steer_mode == MLX4_STEERING_DMFS_A0_STATIC) ||
caps             1866 drivers/infiniband/hw/mlx4/main.c 	if (mdev->dev->caps.steering_mode ==
caps             1945 drivers/infiniband/hw/mlx4/main.c 	if (mdev->dev->caps.steering_mode ==
caps             2166 drivers/infiniband/hw/mlx4/main.c 	if (ibdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DIAG_PER_PORT)
caps             2202 drivers/infiniband/hw/mlx4/main.c 	if (ibdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DIAG_PER_PORT) {
caps             2227 drivers/infiniband/hw/mlx4/main.c 	bool per_port = !!(ibdev->dev->caps.flags2 &
caps             2410 drivers/infiniband/hw/mlx4/main.c 			for (port = 1; port <= ibdev->dev->caps.num_ports; ++port) {
caps             2424 drivers/infiniband/hw/mlx4/main.c 		for (port = 1; port <= ibdev->dev->caps.num_ports; ++port) {
caps             2438 drivers/infiniband/hw/mlx4/main.c 	ibdev->eq_table = kcalloc(dev->caps.num_comp_vectors,
caps             2443 drivers/infiniband/hw/mlx4/main.c 	for (i = 1; i <= dev->caps.num_ports; i++) {
caps             2457 drivers/infiniband/hw/mlx4/main.c 	for (i = eq; i < dev->caps.num_comp_vectors;
caps             2495 drivers/infiniband/hw/mlx4/main.c 		if (mdev->dev->caps.flags & MLX4_DEV_CAP_FLAG_IBOE)
caps             2497 drivers/infiniband/hw/mlx4/main.c 		if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2)
caps             2521 drivers/infiniband/hw/mlx4/main.c 		 (int) (dev->dev->caps.fw_ver >> 32),
caps             2522 drivers/infiniband/hw/mlx4/main.c 		 (int) (dev->dev->caps.fw_ver >> 16) & 0xffff,
caps             2523 drivers/infiniband/hw/mlx4/main.c 		 (int) dev->dev->caps.fw_ver & 0xffff);
caps             2666 drivers/infiniband/hw/mlx4/main.c 	ibdev->ib_dev.local_dma_lkey	= dev->caps.reserved_lkey;
caps             2670 drivers/infiniband/hw/mlx4/main.c 	ibdev->ib_dev.num_comp_vectors	= dev->caps.num_comp_vectors;
caps             2706 drivers/infiniband/hw/mlx4/main.c 	if ((dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS) &&
caps             2723 drivers/infiniband/hw/mlx4/main.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_MEM_WINDOW ||
caps             2724 drivers/infiniband/hw/mlx4/main.c 	    dev->caps.bmme_flags & MLX4_BMME_FLAG_TYPE_2_WIN) {
caps             2731 drivers/infiniband/hw/mlx4/main.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC) {
caps             2746 drivers/infiniband/hw/mlx4/main.c 	if (!dev->caps.userspace_caps)
caps             2838 drivers/infiniband/hw/mlx4/main.c 		if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DMFS_IPOIB) {
caps             2853 drivers/infiniband/hw/mlx4/main.c 	for (j = 1; j <= ibdev->dev->caps.num_ports; j++)
caps             2854 drivers/infiniband/hw/mlx4/main.c 		atomic64_set(&iboe->mac[j - 1], ibdev->dev->caps.def_mac[j]);
caps             2877 drivers/infiniband/hw/mlx4/main.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2) {
caps             3067 drivers/infiniband/hw/mlx4/main.c 	ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
caps             3068 drivers/infiniband/hw/mlx4/main.c 	first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
caps             3275 drivers/infiniband/hw/mlx4/main.c 			    !(ibdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SL_TO_VL_CHANGE_EVENT))
caps              154 drivers/infiniband/hw/mlx4/qp.c 		for (i = 0; i < dev->dev->caps.num_ports; i++) {
caps              155 drivers/infiniband/hw/mlx4/qp.c 			if (qp->mqp.qpn == dev->dev->caps.spec_qps[i].qp0_proxy ||
caps              156 drivers/infiniband/hw/mlx4/qp.c 			    qp->mqp.qpn == dev->dev->caps.spec_qps[i].qp1_proxy) {
caps              182 drivers/infiniband/hw/mlx4/qp.c 		for (i = 0; i < dev->dev->caps.num_ports; i++) {
caps              183 drivers/infiniband/hw/mlx4/qp.c 			if (qp->mqp.qpn == dev->dev->caps.spec_qps[i].qp0_proxy) {
caps              332 drivers/infiniband/hw/mlx4/qp.c 	if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE ||
caps              333 drivers/infiniband/hw/mlx4/qp.c 	    cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg))
caps              342 drivers/infiniband/hw/mlx4/qp.c 		u32 max_inl_recv_sz = dev->dev->caps.max_rq_sg *
caps              363 drivers/infiniband/hw/mlx4/qp.c 			min(dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE, qp->rq.wqe_cnt);
caps              365 drivers/infiniband/hw/mlx4/qp.c 					min(dev->dev->caps.max_sq_sg,
caps              366 drivers/infiniband/hw/mlx4/qp.c 					    dev->dev->caps.max_rq_sg));
caps              378 drivers/infiniband/hw/mlx4/qp.c 	if (cap->max_send_wr  > (dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE) ||
caps              379 drivers/infiniband/hw/mlx4/qp.c 	    cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) ||
caps              381 drivers/infiniband/hw/mlx4/qp.c 	    sizeof (struct mlx4_wqe_inline_seg) > dev->dev->caps.max_sq_desc_sz)
caps              390 drivers/infiniband/hw/mlx4/qp.c 	    cap->max_send_sge + 2 > dev->dev->caps.max_sq_sg)
caps              397 drivers/infiniband/hw/mlx4/qp.c 	if (s > dev->dev->caps.max_sq_desc_sz)
caps              411 drivers/infiniband/hw/mlx4/qp.c 		(min(dev->dev->caps.max_sq_desc_sz,
caps              429 drivers/infiniband/hw/mlx4/qp.c 				min(dev->dev->caps.max_sq_sg,
caps              430 drivers/infiniband/hw/mlx4/qp.c 				    dev->dev->caps.max_rq_sg));
caps              442 drivers/infiniband/hw/mlx4/qp.c 	if ((1 << ucmd->log_sq_bb_count) > dev->dev->caps.max_wqes	 ||
caps              444 drivers/infiniband/hw/mlx4/qp.c 		ilog2(roundup_pow_of_two(dev->dev->caps.max_sq_desc_sz)) ||
caps              520 drivers/infiniband/hw/mlx4/qp.c 	for (i = 0; i < dev->caps.num_ports; i++) {
caps              521 drivers/infiniband/hw/mlx4/qp.c 		if (qpn == dev->caps.spec_qps[i].qp0_proxy)
caps              522 drivers/infiniband/hw/mlx4/qp.c 			return !!dev->caps.spec_qps[i].qp0_qkey;
caps              547 drivers/infiniband/hw/mlx4/qp.c 	    (dev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS_TOP)) {
caps              589 drivers/infiniband/hw/mlx4/qp.c 		if (!(dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_UDP_RSS)) {
caps              625 drivers/infiniband/hw/mlx4/qp.c 		if (dev->dev->caps.tunnel_offload_mode ==
caps              898 drivers/infiniband/hw/mlx4/qp.c 	if (wq.log_range_size > ilog2(dev->dev->caps.max_rss_tbl_sz)) {
caps              900 drivers/infiniband/hw/mlx4/qp.c 			 dev->dev->caps.max_rss_tbl_sz);
caps             1092 drivers/infiniband/hw/mlx4/qp.c 			if (!(dev->dev->caps.flags &
caps             1527 drivers/infiniband/hw/mlx4/qp.c 		return dev->dev->caps.spec_qps[attr->port_num - 1].qp0_proxy;
caps             1529 drivers/infiniband/hw/mlx4/qp.c 		return dev->dev->caps.spec_qps[attr->port_num - 1].qp1_proxy;
caps             1583 drivers/infiniband/hw/mlx4/qp.c 		if (!(to_mdev(pd->device)->dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC))
caps             1661 drivers/infiniband/hw/mlx4/qp.c 		    dev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2) {
caps             1810 drivers/infiniband/hw/mlx4/qp.c 		       !(1 << path->static_rate & dev->dev->caps.stat_rate_support))
caps             1822 drivers/infiniband/hw/mlx4/qp.c 		if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) {
caps             1824 drivers/infiniband/hw/mlx4/qp.c 			       real_sgid_index, dev->dev->caps.gid_table_len[port] - 1);
caps             1982 drivers/infiniband/hw/mlx4/qp.c 	    !(dev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_LB_SRC_CHK))
caps             2219 drivers/infiniband/hw/mlx4/qp.c 					      ilog2(dev->dev->caps.max_gso_sz);
caps             2229 drivers/infiniband/hw/mlx4/qp.c 			ilog2(dev->dev->caps.max_msg_sz);
caps             2358 drivers/infiniband/hw/mlx4/qp.c 		    attr->alt_port_num > dev->dev->caps.num_ports)
caps             2362 drivers/infiniband/hw/mlx4/qp.c 		    dev->dev->caps.pkey_table_len[attr->alt_port_num])
caps             2502 drivers/infiniband/hw/mlx4/qp.c 		if (dev->dev->caps.tunnel_offload_mode ==  MLX4_TUNNEL_OFFLOAD_MODE_VXLAN) {
caps             2793 drivers/infiniband/hw/mlx4/qp.c 		if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) {
caps             2803 drivers/infiniband/hw/mlx4/qp.c 	    attr->max_rd_atomic > dev->dev->caps.max_qp_init_rdma) {
caps             2812 drivers/infiniband/hw/mlx4/qp.c 	    attr->max_dest_rd_atomic > dev->dev->caps.max_qp_dest_rdma) {
caps             2870 drivers/infiniband/hw/mlx4/qp.c 	for (i = 0; i < dev->caps.num_ports; i++) {
caps             2871 drivers/infiniband/hw/mlx4/qp.c 		if (qpn == dev->caps.spec_qps[i].qp0_proxy ||
caps             2872 drivers/infiniband/hw/mlx4/qp.c 		    qpn == dev->caps.spec_qps[i].qp0_tunnel) {
caps             2873 drivers/infiniband/hw/mlx4/qp.c 			*qkey = dev->caps.spec_qps[i].qp0_qkey;
caps             2937 drivers/infiniband/hw/mlx4/qp.c 			cpu_to_be32(mdev->dev->caps.spec_qps[sqp->qp.port - 1].qp0_tunnel);
caps             3400 drivers/infiniband/hw/mlx4/qp.c 		dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp1_tunnel);
caps             3402 drivers/infiniband/hw/mlx4/qp.c 		dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp0_tunnel);
caps             3996 drivers/infiniband/hw/mlx4/qp.c 	if (port_num == 0 || port_num > dev->caps.num_ports)
caps             4165 drivers/infiniband/hw/mlx4/qp.c 	    !(dev->caps.flags & MLX4_DEV_CAP_FLAG_FCS_KEEP)) {
caps               90 drivers/infiniband/hw/mlx4/srq.c 	if (init_attr->attr.max_wr  >= dev->dev->caps.max_srq_wqes ||
caps               91 drivers/infiniband/hw/mlx4/srq.c 	    init_attr->attr.max_sge >  dev->dev->caps.max_srq_sge)
caps              178 drivers/infiniband/hw/mlx4/srq.c 		(u16) dev->dev->caps.reserved_xrcds;
caps              447 drivers/infiniband/hw/mlx4/sysfs.c 	    (p->dev->dev->caps.pkey_table_len[p->port_num]))
caps              471 drivers/infiniband/hw/mlx4/sysfs.c 		 idx >= p->dev->dev->caps.pkey_table_len[p->port_num] ||
caps              661 drivers/infiniband/hw/mlx4/sysfs.c 				  dev->dev->caps.pkey_table_len[port_num]);
caps              694 drivers/infiniband/hw/mlx4/sysfs.c 	for (i = 0; i < dev->dev->caps.pkey_table_len[port_num]; ++i)
caps              736 drivers/infiniband/hw/mlx4/sysfs.c 	for (port = 1; port <= dev->dev->caps.num_ports; ++port) {
caps              859 drivers/infiniband/hw/mlx4/sysfs.c 	for (i = 0; i < device->dev->caps.num_ports; i++) {
caps             1593 drivers/infiniband/hw/mlx5/main.c static void print_lib_caps(struct mlx5_ib_dev *dev, u64 caps)
caps             1596 drivers/infiniband/hw/mlx5/main.c 		    caps & MLX5_LIB_CAP_4K_UAR ? "y" : "n");
caps              331 drivers/infiniband/hw/mlx5/odp.c 	struct ib_odp_caps *caps = &dev->odp_caps;
caps              333 drivers/infiniband/hw/mlx5/odp.c 	memset(caps, 0, sizeof(*caps));
caps              339 drivers/infiniband/hw/mlx5/odp.c 	caps->general_caps = IB_ODP_SUPPORT;
caps              347 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.ud_odp_caps |= IB_ODP_SUPPORT_SEND;
caps              350 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.ud_odp_caps |= IB_ODP_SUPPORT_SRQ_RECV;
caps              353 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_SEND;
caps              356 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_RECV;
caps              359 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_WRITE;
caps              362 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_READ;
caps              365 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_ATOMIC;
caps              368 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_SRQ_RECV;
caps              371 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.xrc_odp_caps |= IB_ODP_SUPPORT_SEND;
caps              374 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.xrc_odp_caps |= IB_ODP_SUPPORT_RECV;
caps              377 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.xrc_odp_caps |= IB_ODP_SUPPORT_WRITE;
caps              380 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.xrc_odp_caps |= IB_ODP_SUPPORT_READ;
caps              383 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.xrc_odp_caps |= IB_ODP_SUPPORT_ATOMIC;
caps              386 drivers/infiniband/hw/mlx5/odp.c 		caps->per_transport_caps.xrc_odp_caps |= IB_ODP_SUPPORT_SRQ_RECV;
caps              392 drivers/infiniband/hw/mlx5/odp.c 		caps->general_caps |= IB_ODP_SUPPORT_IMPLICIT;
caps              123 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c 	if (entries < 1 || entries > dev->dsr->caps.max_cqe)
caps              126 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c 	if (!atomic_add_unless(&dev->num_cqs, 1, dev->dsr->caps.max_cq))
caps              196 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c 	dev->cq_tbl[cq->cq_handle % dev->dsr->caps.max_cq] = cq;
caps              142 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1)
caps              146 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	 (_dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1 ||  \
caps              147 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	  _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2))	\
caps              150 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	((_dev->dsr->caps.mode == PVRDMA_DEVICE_MODE_ROCE) &&		\
caps              287 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_device_caps caps;		/* R: Device capabilities. */
caps               54 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	u32 num = dev->dsr->caps.max_uar;
caps              105 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		 (int) (dev->dsr->caps.fw_ver >> 32),
caps              106 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		 (int) (dev->dsr->caps.fw_ver >> 16) & 0xffff,
caps              107 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		 (int) dev->dsr->caps.fw_ver & 0xffff);
caps              131 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	if (dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1)
caps              133 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	else if (dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2)
caps              203 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->ib_dev.node_guid = dev->dsr->caps.node_guid;
caps              204 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->sys_image_guid = dev->dsr->caps.sys_image_guid;
caps              231 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt;
caps              238 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(struct pvrdma_cq *),
caps              244 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->qp_tbl = kcalloc(dev->dsr->caps.max_qp, sizeof(struct pvrdma_qp *),
caps              251 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	if (dev->dsr->caps.max_srq) {
caps              261 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		dev->srq_tbl = kcalloc(dev->dsr->caps.max_srq,
caps              317 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	qp = dev->qp_tbl[qpn % dev->dsr->caps.max_qp];
caps              343 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	cq = dev->cq_tbl[cqn % dev->dsr->caps.max_cq];
caps              370 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		srq = dev->srq_tbl[srqn % dev->dsr->caps.max_srq];
caps              406 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	if (port < 1 || port > dev->dsr->caps.phys_port_cnt) {
caps              515 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		cq = dev->cq_tbl[cqne->info % dev->dsr->caps.max_cq];
caps             1010 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->sgid_tbl = kcalloc(dev->dsr->caps.gid_tbl_len,
caps             1016 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev_dbg(&pdev->dev, "gid table len %d\n", dev->dsr->caps.gid_tbl_len);
caps              124 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c 	if (length == 0 || length > dev->dsr->caps.max_mr_size) {
caps              131 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr ||
caps              132 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	    req_cap->max_recv_sge > dev->dsr->caps.max_sge) {
caps              156 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr ||
caps              157 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	    req_cap->max_send_sge > dev->dsr->caps.max_sge) {
caps              218 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (is_srq && !dev->dsr->caps.max_srq) {
caps              224 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	if (!atomic_add_unless(&dev->num_qps, 1, dev->dsr->caps.max_qp))
caps              386 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	dev->qp_tbl[qp->qp_handle % dev->dsr->caps.max_qp] = qp;
caps              514 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		if (attr->pkey_index >= dev->dsr->caps.max_pkeys) {
caps              127 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	if (init_attr->attr.max_wr  > dev->dsr->caps.max_srq_wr ||
caps              128 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	    init_attr->attr.max_sge > dev->dsr->caps.max_srq_sge) {
caps              134 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	if (!atomic_add_unless(&dev->num_srqs, 1, dev->dsr->caps.max_srq))
caps              194 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	dev->srq_tbl[srq->srq_handle % dev->dsr->caps.max_srq] = srq;
caps               74 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->fw_ver = dev->dsr->caps.fw_ver;
caps               75 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->sys_image_guid = dev->dsr->caps.sys_image_guid;
caps               76 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_mr_size = dev->dsr->caps.max_mr_size;
caps               77 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->page_size_cap = dev->dsr->caps.page_size_cap;
caps               78 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->vendor_id = dev->dsr->caps.vendor_id;
caps               80 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->hw_ver = dev->dsr->caps.hw_ver;
caps               81 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_qp = dev->dsr->caps.max_qp;
caps               82 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_qp_wr = dev->dsr->caps.max_qp_wr;
caps               83 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->device_cap_flags = dev->dsr->caps.device_cap_flags;
caps               84 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_send_sge = dev->dsr->caps.max_sge;
caps               85 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_recv_sge = dev->dsr->caps.max_sge;
caps               86 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_sge_rd = PVRDMA_GET_CAP(dev, dev->dsr->caps.max_sge,
caps               87 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 					   dev->dsr->caps.max_sge_rd);
caps               88 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_srq = dev->dsr->caps.max_srq;
caps               89 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_srq_wr = dev->dsr->caps.max_srq_wr;
caps               90 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_srq_sge = dev->dsr->caps.max_srq_sge;
caps               91 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_cq = dev->dsr->caps.max_cq;
caps               92 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_cqe = dev->dsr->caps.max_cqe;
caps               93 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_mr = dev->dsr->caps.max_mr;
caps               94 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_pd = dev->dsr->caps.max_pd;
caps               95 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_qp_rd_atom = dev->dsr->caps.max_qp_rd_atom;
caps               96 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_qp_init_rd_atom = dev->dsr->caps.max_qp_init_rd_atom;
caps               98 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 		dev->dsr->caps.atomic_ops &
caps              102 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_ah = dev->dsr->caps.max_ah;
caps              103 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_pkeys = dev->dsr->caps.max_pkeys;
caps              104 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->local_ca_ack_delay = dev->dsr->caps.local_ca_ack_delay;
caps              105 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	if ((dev->dsr->caps.bmme_flags & PVRDMA_BMME_FLAG_LOCAL_INV) &&
caps              106 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	    (dev->dsr->caps.bmme_flags & PVRDMA_BMME_FLAG_REMOTE_INV) &&
caps              107 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	    (dev->dsr->caps.bmme_flags & PVRDMA_BMME_FLAG_FAST_REG_WR)) {
caps              111 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 				dev->dsr->caps.max_fast_reg_page_list_len);
caps              191 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	if (index >= dev->dsr->caps.gid_tbl_len)
caps              350 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	uresp.qp_tab_size = vdev->dsr->caps.max_qp;
caps              442 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	if (!atomic_add_unless(&dev->num_pds, 1, dev->dsr->caps.max_pd))
caps              528 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	if (!atomic_add_unless(&dev->num_ahs, 1, dev->dsr->caps.max_ah))
caps              984 drivers/infiniband/ulp/iser/iscsi_iser.c 	.caps                   = CAP_RECOVERY_L0 | CAP_MULTI_R2T | CAP_TEXT_NEGO,
caps              250 drivers/input/mouse/bcm5974.c 	int caps;		/* device capability bitmask */
caps              540 drivers/input/mouse/bcm5974.c 	if (cfg->caps & HAS_INTEGRATED_BUTTON)
caps              637 drivers/input/mouse/bcm5974.c 	if (c->caps & HAS_INTEGRATED_BUTTON) {
caps              964 drivers/input/mouse/bcm5974.c 	input_dev->id.version = cfg->caps;
caps              335 drivers/iommu/amd_iommu.c 	static const int caps[] = {
caps              346 drivers/iommu/amd_iommu.c 		pos = pci_find_ext_capability(pdev, caps[i]);
caps               46 drivers/irqchip/irq-mvebu-sei.c 	const struct mvebu_sei_caps *caps;
caps              144 drivers/irqchip/irq-mvebu-sei.c 	msg->data = data->hwirq + sei->caps->cp_range.first;
caps              221 drivers/irqchip/irq-mvebu-sei.c 	fwspec.param[0] = hwirq + sei->caps->ap_range.first;
caps              263 drivers/irqchip/irq-mvebu-sei.c 				    sei->caps->cp_range.size);
caps              264 drivers/irqchip/irq-mvebu-sei.c 	if (hwirq < sei->caps->cp_range.size)
caps              268 drivers/irqchip/irq-mvebu-sei.c 	if (hwirq == sei->caps->cp_range.size)
caps              273 drivers/irqchip/irq-mvebu-sei.c 	fwspec.param[0] = hwirq + sei->caps->cp_range.first;
caps              296 drivers/irqchip/irq-mvebu-sei.c 	if (nr_irqs != 1 || d->hwirq >= sei->caps->cp_range.size) {
caps              393 drivers/irqchip/irq-mvebu-sei.c 	sei->caps = of_device_get_match_data(&pdev->dev);
caps              394 drivers/irqchip/irq-mvebu-sei.c 	if (!sei->caps) {
caps              412 drivers/irqchip/irq-mvebu-sei.c 						   (sei->caps->ap_range.size +
caps              413 drivers/irqchip/irq-mvebu-sei.c 						    sei->caps->cp_range.size),
caps              426 drivers/irqchip/irq-mvebu-sei.c 						     sei->caps->ap_range.size,
caps              440 drivers/irqchip/irq-mvebu-sei.c 						     sei->caps->cp_range.size,
caps               78 drivers/media/cec/cec-api.c 	struct cec_caps caps = {};
caps               80 drivers/media/cec/cec-api.c 	strscpy(caps.driver, adap->devnode.dev.parent->driver->name,
caps               81 drivers/media/cec/cec-api.c 		sizeof(caps.driver));
caps               82 drivers/media/cec/cec-api.c 	strscpy(caps.name, adap->name, sizeof(caps.name));
caps               83 drivers/media/cec/cec-api.c 	caps.available_log_addrs = adap->available_log_addrs;
caps               84 drivers/media/cec/cec-api.c 	caps.capabilities = adap->capabilities;
caps               85 drivers/media/cec/cec-api.c 	caps.version = LINUX_VERSION_CODE;
caps               86 drivers/media/cec/cec-api.c 	if (copy_to_user(parg, &caps, sizeof(caps)))
caps              254 drivers/media/cec/cec-core.c 					 void *priv, const char *name, u32 caps,
caps              264 drivers/media/cec/cec-core.c 	caps &= ~CEC_CAP_CONNECTOR_INFO;
caps              266 drivers/media/cec/cec-core.c 	caps &= ~CEC_CAP_RC;
caps              269 drivers/media/cec/cec-core.c 	if (WARN_ON(!caps))
caps              283 drivers/media/cec/cec-core.c 	adap->capabilities = caps;
caps              286 drivers/media/cec/cec-core.c 	adap->needs_hpd = caps & CEC_CAP_NEEDS_HPD;
caps              310 drivers/media/cec/cec-core.c 	if (!(caps & CEC_CAP_RC))
caps             1307 drivers/media/cec/cec-pin.c 					void *priv, const char *name, u32 caps)
caps             1322 drivers/media/cec/cec-pin.c 			    caps | CEC_CAP_MONITOR_ALL | CEC_CAP_MONITOR_PIN,
caps             1578 drivers/media/common/cx2341x.c 	u32 caps = cxhdl->capabilities;
caps             1579 drivers/media/common/cx2341x.c 	int has_sliced_vbi = caps & CX2341X_CAP_HAS_SLICED_VBI;
caps             1580 drivers/media/common/cx2341x.c 	int has_ac3 = caps & CX2341X_CAP_HAS_AC3;
caps             1581 drivers/media/common/cx2341x.c 	int has_ts = caps & CX2341X_CAP_HAS_TS;
caps             1042 drivers/media/common/siano/smsdvb-main.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              648 drivers/media/common/videobuf2/videobuf2-v4l2.c static void fill_buf_caps(struct vb2_queue *q, u32 *caps)
caps              650 drivers/media/common/videobuf2/videobuf2-v4l2.c 	*caps = V4L2_BUF_CAP_SUPPORTS_ORPHANED_BUFS;
caps              652 drivers/media/common/videobuf2/videobuf2-v4l2.c 		*caps |= V4L2_BUF_CAP_SUPPORTS_MMAP;
caps              654 drivers/media/common/videobuf2/videobuf2-v4l2.c 		*caps |= V4L2_BUF_CAP_SUPPORTS_USERPTR;
caps              656 drivers/media/common/videobuf2/videobuf2-v4l2.c 		*caps |= V4L2_BUF_CAP_SUPPORTS_DMABUF;
caps              659 drivers/media/common/videobuf2/videobuf2-v4l2.c 		*caps |= V4L2_BUF_CAP_SUPPORTS_REQUESTS;
caps             1369 drivers/media/dvb-core/dvb_ca_en50221.c 		struct ca_caps *caps = parg;
caps             1371 drivers/media/dvb-core/dvb_ca_en50221.c 		caps->slot_num = ca->slot_count;
caps             1372 drivers/media/dvb-core/dvb_ca_en50221.c 		caps->slot_type = CA_CI_LINK;
caps             1373 drivers/media/dvb-core/dvb_ca_en50221.c 		caps->descr_num = 0;
caps             1374 drivers/media/dvb-core/dvb_ca_en50221.c 		caps->descr_type = 0;
caps              390 drivers/media/dvb-core/dvb_frontend.c 	autoinversion = ((!(fe->ops.info.caps & FE_CAN_INVERSION_AUTO)) &&
caps              526 drivers/media/dvb-core/dvb_frontend.c 		if ((!(fe->ops.info.caps & FE_CAN_INVERSION_AUTO)) &&
caps              550 drivers/media/dvb-core/dvb_frontend.c 	    (fe->ops.info.caps & FE_CAN_RECOVER) && (fepriv->max_drift == 0)) {
caps             2446 drivers/media/dvb-core/dvb_frontend.c 		info->caps = fe->ops.info.caps;
caps             2487 drivers/media/dvb-core/dvb_frontend.c 			info->caps |= FE_CAN_INVERSION_AUTO;
caps             1132 drivers/media/dvb-frontends/af9013.c 		.caps =	FE_CAN_FEC_1_2 |
caps             1017 drivers/media/dvb-frontends/af9033.c 		.caps =	FE_CAN_FEC_1_2 |
caps              416 drivers/media/dvb-frontends/as102_fe.c 		.caps = FE_CAN_INVERSION_AUTO
caps              425 drivers/media/dvb-frontends/atbm8830.c 		.caps =
caps              891 drivers/media/dvb-frontends/au8522_dig.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps              845 drivers/media/dvb-frontends/bcm3510.c 		.caps =
caps              406 drivers/media/dvb-frontends/cx22700.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              616 drivers/media/dvb-frontends/cx22702.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              625 drivers/media/dvb-frontends/cx24110.c 		.caps = FE_CAN_INVERSION_AUTO |
caps             1462 drivers/media/dvb-frontends/cx24116.c 		.caps = FE_CAN_INVERSION_AUTO |
caps             1621 drivers/media/dvb-frontends/cx24117.c 		.caps = FE_CAN_INVERSION_AUTO |
caps             1556 drivers/media/dvb-frontends/cx24120.c 		.caps =	FE_CAN_INVERSION_AUTO |
caps             1111 drivers/media/dvb-frontends/cx24123.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              469 drivers/media/dvb-frontends/cxd2820r_core.c 		.caps =	FE_CAN_FEC_1_2			|
caps               61 drivers/media/dvb-frontends/cxd2841er.c 	enum fe_caps caps;
caps             3941 drivers/media/dvb-frontends/cxd2841er.c 		.caps = FE_CAN_INVERSION_AUTO |
caps             3963 drivers/media/dvb-frontends/cxd2841er.c 		.caps = FE_CAN_FEC_1_2 |
caps             1839 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              788 drivers/media/dvb-frontends/dib3000mb.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              947 drivers/media/dvb-frontends/dib3000mc.c 		.caps = FE_CAN_INVERSION_AUTO |
caps             1446 drivers/media/dvb-frontends/dib7000m.c 		.caps = FE_CAN_INVERSION_AUTO |
caps             2834 drivers/media/dvb-frontends/dib7000p.c 		 .caps = FE_CAN_INVERSION_AUTO |
caps             4393 drivers/media/dvb-frontends/dib8000.c 		 .caps = FE_CAN_INVERSION_AUTO |
caps             2558 drivers/media/dvb-frontends/dib9000.c 		 .caps = FE_CAN_INVERSION_AUTO |
caps             12378 drivers/media/dvb-frontends/drx39xyj/drxj.c 		 .caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps             2892 drivers/media/dvb-frontends/drxd_hard.c 		 .caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps             6739 drivers/media/dvb-frontends/drxk_hard.c 		.caps = FE_CAN_QAM_16 | FE_CAN_QAM_32 | FE_CAN_QAM_64 |
caps             1097 drivers/media/dvb-frontends/ds3000.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              166 drivers/media/dvb-frontends/dvb_dummy_fe.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              199 drivers/media/dvb-frontends/dvb_dummy_fe.c 		.caps = FE_CAN_QAM_16 | FE_CAN_QAM_32 | FE_CAN_QAM_64 |
caps              229 drivers/media/dvb-frontends/dvb_dummy_fe.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              308 drivers/media/dvb-frontends/ec100.c 		.caps =
caps              361 drivers/media/dvb-frontends/gp8psk-fe.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              570 drivers/media/dvb-frontends/l64781.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             1160 drivers/media/dvb-frontends/lgdt3305.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps             1183 drivers/media/dvb-frontends/lgdt3305.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps             2157 drivers/media/dvb-frontends/lgdt3306a.c 		.caps = FE_CAN_QAM_AUTO | FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps              942 drivers/media/dvb-frontends/lgdt330x.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps              964 drivers/media/dvb-frontends/lgdt330x.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps              410 drivers/media/dvb-frontends/lgs8gl5.c 		.caps = FE_CAN_FEC_AUTO |
caps              981 drivers/media/dvb-frontends/lgs8gxx.c 		.caps =
caps             1298 drivers/media/dvb-frontends/m88ds3103.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              757 drivers/media/dvb-frontends/m88rs2000.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             1805 drivers/media/dvb-frontends/mb86a16.c 		.caps			= FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps             2099 drivers/media/dvb-frontends/mb86a20s.c 		.caps = FE_CAN_RECOVER  |
caps              650 drivers/media/dvb-frontends/mn88443x.c 		.caps = FE_CAN_INVERSION_AUTO | FE_CAN_FEC_AUTO |
caps              535 drivers/media/dvb-frontends/mn88472.c 		.caps =	FE_CAN_FEC_1_2                 |
caps              578 drivers/media/dvb-frontends/mn88473.c 		.caps =	FE_CAN_FEC_1_2                 |
caps              753 drivers/media/dvb-frontends/mt312.c 		.caps =
caps              563 drivers/media/dvb-frontends/mt352.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps              792 drivers/media/dvb-frontends/mxl5xx.c 		.caps			= FE_CAN_INVERSION_AUTO |
caps             1208 drivers/media/dvb-frontends/nxt200x.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              594 drivers/media/dvb-frontends/nxt6000.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              578 drivers/media/dvb-frontends/or51132.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              527 drivers/media/dvb-frontends/or51211.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              545 drivers/media/dvb-frontends/rtl2830.c 		.caps = FE_CAN_FEC_1_2 |
caps              834 drivers/media/dvb-frontends/rtl2832.c 		.caps = FE_CAN_FEC_1_2 |
caps              993 drivers/media/dvb-frontends/s5h1409.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps              912 drivers/media/dvb-frontends/s5h1411.c 		.caps = FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps              934 drivers/media/dvb-frontends/s5h1420.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              367 drivers/media/dvb-frontends/s5h1432.c 		 .caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              512 drivers/media/dvb-frontends/s921.c 		.caps =  FE_CAN_INVERSION_AUTO |
caps             1117 drivers/media/dvb-frontends/si2165.c 		.caps = FE_CAN_FEC_1_2 |
caps              635 drivers/media/dvb-frontends/si2168.c 		.caps =	FE_CAN_FEC_1_2 |
caps              874 drivers/media/dvb-frontends/si21xx.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              579 drivers/media/dvb-frontends/sp8870.c 		.caps			= FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps              601 drivers/media/dvb-frontends/sp887x.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             1580 drivers/media/dvb-frontends/stb0899_drv.c 		.caps			= FE_CAN_INVERSION_AUTO	|
caps              530 drivers/media/dvb-frontends/stv0288.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              690 drivers/media/dvb-frontends/stv0297.c 		 .caps = FE_CAN_QAM_16 | FE_CAN_QAM_32 | FE_CAN_QAM_64 |
caps              714 drivers/media/dvb-frontends/stv0299.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             1689 drivers/media/dvb-frontends/stv0367.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps             2864 drivers/media/dvb-frontends/stv0367.c 		.caps = 0x400 |/* FE_CAN_QAM_4 */
caps             3270 drivers/media/dvb-frontends/stv0367.c 		.caps = /* DVB-C */
caps             1874 drivers/media/dvb-frontends/stv0900_core.c 		.caps			= FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps             1943 drivers/media/dvb-frontends/stv0900_core.c 			state->frontend.ops.info.caps |= FE_CAN_MULTISTREAM;
caps             4929 drivers/media/dvb-frontends/stv090x.c 		state->frontend.ops.info.caps |= FE_CAN_MULTISTREAM;
caps             4960 drivers/media/dvb-frontends/stv090x.c 		.caps			= FE_CAN_INVERSION_AUTO |
caps             1732 drivers/media/dvb-frontends/stv0910.c 		.caps			= FE_CAN_INVERSION_AUTO |
caps              719 drivers/media/dvb-frontends/tc90522.c 		.caps = FE_CAN_INVERSION_AUTO | FE_CAN_FEC_AUTO |
caps              740 drivers/media/dvb-frontends/tc90522.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              487 drivers/media/dvb-frontends/tda10021.c 		.caps = 0x400 | //FE_CAN_QAM_4
caps              571 drivers/media/dvb-frontends/tda10023.c 		.caps = 0x400 | //FE_CAN_QAM_4
caps             1150 drivers/media/dvb-frontends/tda10048.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             1242 drivers/media/dvb-frontends/tda1004x.c 		.caps =
caps             1312 drivers/media/dvb-frontends/tda1004x.c 		.caps =
caps             1101 drivers/media/dvb-frontends/tda10071.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              705 drivers/media/dvb-frontends/tda10086.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              450 drivers/media/dvb-frontends/tda8083.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              406 drivers/media/dvb-frontends/ves1820.c 		.caps = FE_CAN_QAM_16 |
caps              513 drivers/media/dvb-frontends/ves1x93.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              276 drivers/media/dvb-frontends/zd1301_demod.c 		.caps = FE_CAN_FEC_1_2 |
caps              631 drivers/media/dvb-frontends/zl10353.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 |
caps              179 drivers/media/firewire/firedtv-fe.c 		fi->caps		= FE_CAN_INVERSION_AUTO |
caps              199 drivers/media/firewire/firedtv-fe.c 		fi->caps		= FE_CAN_INVERSION_AUTO |
caps              219 drivers/media/firewire/firedtv-fe.c 		fi->caps		= FE_CAN_INVERSION_AUTO |
caps              235 drivers/media/firewire/firedtv-fe.c 		fi->caps		= FE_CAN_INVERSION_AUTO		|
caps             1734 drivers/media/pci/bt8xx/dst.c 		.caps = FE_CAN_FEC_AUTO			|
caps             1767 drivers/media/pci/bt8xx/dst.c 		.caps = FE_CAN_FEC_AUTO | FE_CAN_QPSK
caps             1794 drivers/media/pci/bt8xx/dst.c 		.caps = FE_CAN_FEC_AUTO |
caps             1823 drivers/media/pci/bt8xx/dst.c 		.caps = FE_CAN_FEC_AUTO | FE_CAN_QAM_AUTO | FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
caps               47 drivers/media/pci/cx18/cx18-streams.c 	u32 caps;
caps              255 drivers/media/pci/cx18/cx18-streams.c 	s->v4l2_dev_caps = cx18_stream_info[type].caps;
caps              459 drivers/media/pci/ddbridge/ddbridge-sx8.c 		.caps			= FE_CAN_INVERSION_AUTO |
caps              336 drivers/media/pci/ivtv/ivtv-driver.h 	u32 caps;			/* V4L2 capabilities */
caps              446 drivers/media/pci/ivtv/ivtv-ioctl.c 	if (!(s->caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY))
caps              557 drivers/media/pci/ivtv/ivtv-ioctl.c 	if (!(s->caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY))
caps             1389 drivers/media/pci/ivtv/ivtv-ioctl.c 	if (!(s->caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY))
caps             1456 drivers/media/pci/ivtv/ivtv-ioctl.c 	if (!(s->caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY))
caps             1476 drivers/media/pci/ivtv/ivtv-ioctl.c 	if (!(s->caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY))
caps              179 drivers/media/pci/ivtv/ivtv-streams.c 	s->caps = ivtv_stream_info[type].v4l2_caps;
caps              302 drivers/media/pci/ivtv/ivtv-streams.c 	s->vdev.device_caps = s->caps;
caps              286 drivers/media/platform/omap/omap_vout.c 	if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0 &&
caps              712 drivers/media/platform/omap/omap_vout.c 	if (!ret && !(ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA))
caps              737 drivers/media/platform/omap/omap_vout.c 		if (ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA)
caps              779 drivers/media/platform/omap/omap_vout.c 	if (ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA)
caps             1178 drivers/media/platform/omap/omap_vout.c 		if ((ovl->caps & OMAP_DSS_OVL_CAP_ZORDER) == 0)
caps             1340 drivers/media/platform/omap/omap_vout.c 	if (ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) {
caps               68 drivers/media/platform/qcom/venus/core.h 	struct hfi_capability caps[MAX_CAP_ENTRIES];
caps              150 drivers/media/platform/qcom/venus/core.h 	struct venus_caps caps[MAX_CODEC_NUM];
caps              368 drivers/media/platform/qcom/venus/core.h 		if (core->caps[c].codec == codec &&
caps              369 drivers/media/platform/qcom/venus/core.h 		    core->caps[c].domain == domain)
caps              370 drivers/media/platform/qcom/venus/core.h 			return &core->caps[c];
caps              563 drivers/media/platform/qcom/venus/helpers.c 	struct venus_caps *caps;
caps              572 drivers/media/platform/qcom/venus/helpers.c 	caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type);
caps              573 drivers/media/platform/qcom/venus/helpers.c 	if (!caps)
caps              576 drivers/media/platform/qcom/venus/helpers.c 	return caps->cap_bufs_mode_dynamic;
caps             1272 drivers/media/platform/qcom/venus/helpers.c static bool find_fmt_from_caps(struct venus_caps *caps, u32 buftype, u32 fmt)
caps             1276 drivers/media/platform/qcom/venus/helpers.c 	for (i = 0; i < caps->num_fmts; i++) {
caps             1277 drivers/media/platform/qcom/venus/helpers.c 		if (caps->fmts[i].buftype == buftype &&
caps             1278 drivers/media/platform/qcom/venus/helpers.c 		    caps->fmts[i].fmt == fmt)
caps             1289 drivers/media/platform/qcom/venus/helpers.c 	struct venus_caps *caps;
caps             1298 drivers/media/platform/qcom/venus/helpers.c 	caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type);
caps             1299 drivers/media/platform/qcom/venus/helpers.c 	if (!caps)
caps             1304 drivers/media/platform/qcom/venus/helpers.c 		found_ubwc = find_fmt_from_caps(caps, HFI_BUFFER_OUTPUT,
caps             1306 drivers/media/platform/qcom/venus/helpers.c 		found = find_fmt_from_caps(caps, HFI_BUFFER_OUTPUT2, fmt);
caps             1315 drivers/media/platform/qcom/venus/helpers.c 	found = find_fmt_from_caps(caps, HFI_BUFFER_OUTPUT, fmt);
caps             1322 drivers/media/platform/qcom/venus/helpers.c 	found = find_fmt_from_caps(caps, HFI_BUFFER_OUTPUT2, fmt);
caps               19 drivers/media/platform/qcom/venus/hfi_parser.c 	struct venus_caps *caps = core->caps, *cap;
caps               23 drivers/media/platform/qcom/venus/hfi_parser.c 		cap = &caps[core->codecs_count++];
caps               30 drivers/media/platform/qcom/venus/hfi_parser.c 		cap = &caps[core->codecs_count++];
caps               37 drivers/media/platform/qcom/venus/hfi_parser.c static void for_each_codec(struct venus_caps *caps, unsigned int caps_num,
caps               45 drivers/media/platform/qcom/venus/hfi_parser.c 		cap = &caps[i];
caps               77 drivers/media/platform/qcom/venus/hfi_parser.c 			for_each_codec(core->caps, ARRAY_SIZE(core->caps),
caps              105 drivers/media/platform/qcom/venus/hfi_parser.c 	for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain,
caps              112 drivers/media/platform/qcom/venus/hfi_parser.c 	const struct hfi_capability *caps = data;
caps              114 drivers/media/platform/qcom/venus/hfi_parser.c 	memcpy(&cap->caps[cap->num_caps], caps, num * sizeof(*caps));
caps              121 drivers/media/platform/qcom/venus/hfi_parser.c 	struct hfi_capabilities *caps = data;
caps              122 drivers/media/platform/qcom/venus/hfi_parser.c 	struct hfi_capability *cap = caps->data;
caps              123 drivers/media/platform/qcom/venus/hfi_parser.c 	u32 num_caps = caps->num_capabilities;
caps              131 drivers/media/platform/qcom/venus/hfi_parser.c 	for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain,
caps              170 drivers/media/platform/qcom/venus/hfi_parser.c 	for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain,
caps              214 drivers/media/platform/qcom/venus/hfi_parser.c 	struct venus_caps *caps, *cap;
caps              221 drivers/media/platform/qcom/venus/hfi_parser.c 	caps = inst->core->caps;
caps              225 drivers/media/platform/qcom/venus/hfi_parser.c 		cap = &caps[i];
caps               19 drivers/media/platform/qcom/venus/hfi_parser.h 	struct venus_caps *caps;
caps               22 drivers/media/platform/qcom/venus/hfi_parser.h 	caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type);
caps               23 drivers/media/platform/qcom/venus/hfi_parser.h 	if (!caps)
caps               26 drivers/media/platform/qcom/venus/hfi_parser.h 	for (i = 0; i < caps->num_caps; i++) {
caps               27 drivers/media/platform/qcom/venus/hfi_parser.h 		if (caps->caps[i].capability_type == type) {
caps               28 drivers/media/platform/qcom/venus/hfi_parser.h 			cap = &caps->caps[i];
caps              257 drivers/media/platform/stm32/stm32-cec.c 	u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_PHYS_ADDR | CEC_MODE_MONITOR_ALL;
caps              318 drivers/media/platform/stm32/stm32-cec.c 			CEC_NAME, caps,	CEC_MAX_LOG_ADDRS);
caps              280 drivers/media/platform/vivid/vivid-cec.c 	u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_MONITOR_ALL | CEC_CAP_MONITOR_PIN;
caps              286 drivers/media/platform/vivid/vivid-cec.c 		name, caps, 1);
caps             1436 drivers/media/usb/dvb-usb-v2/af9015.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             1444 drivers/media/usb/dvb-usb-v2/af9015.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             1992 drivers/media/usb/dvb-usb-v2/af9035.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             2001 drivers/media/usb/dvb-usb-v2/af9035.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps              173 drivers/media/usb/dvb-usb-v2/dvb_usb.h 	u8 caps;
caps              764 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 				!(adap->props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) {
caps              771 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 				adap->props->caps & DVB_USB_ADAP_HAS_PID_FILTER) ||
caps              772 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 				(adap->props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) {
caps              788 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 				adap->props->caps & DVB_USB_ADAP_HAS_PID_FILTER) {
caps             1243 drivers/media/usb/dvb-usb-v2/lmedm04.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER|
caps              551 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             1877 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps               81 drivers/media/usb/dvb-usb/a800.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps               91 drivers/media/usb/dvb-usb/a800.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             1452 drivers/media/usb/dvb-usb/af9005-fe.c 		 .caps = FE_CAN_INVERSION_AUTO |
caps             1016 drivers/media/usb/dvb-usb/af9005.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1030 drivers/media/usb/dvb-usb/af9005.c 		     .caps =
caps             1097 drivers/media/usb/dvb-usb/az6027.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              291 drivers/media/usb/dvb-usb/cinergyT2-fe.c 		.caps = FE_CAN_INVERSION_AUTO | FE_CAN_FEC_1_2
caps             1767 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1814 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1874 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1941 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1999 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2059 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2112 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2167 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2224 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2269 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2323 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2378 drivers/media/usb/dvb-usb/cxusb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             3920 drivers/media/usb/dvb-usb/dib0700_devices.c 	.caps              = DVB_USB_IS_AN_I2C_ADAPTER, \
caps             3955 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4059 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4071 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4124 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4169 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4250 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4295 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4307 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4352 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4364 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4418 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4430 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4467 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4601 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4651 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4695 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4708 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps             4744 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             4781 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             4818 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             4855 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             4892 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             4929 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             4943 drivers/media/usb/dvb-usb/dib0700_devices.c 				.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             5015 drivers/media/usb/dvb-usb/dib0700_devices.c 					.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             5052 drivers/media/usb/dvb-usb/dib0700_devices.c 					.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             5090 drivers/media/usb/dvb-usb/dib0700_devices.c 					.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps             5105 drivers/media/usb/dvb-usb/dib0700_devices.c 					.caps  = DVB_USB_ADAP_HAS_PID_FILTER |
caps              177 drivers/media/usb/dvb-usb/dibusb-mb.c 	.caps =  DVB_USB_IS_AN_I2C_ADAPTER,
caps              188 drivers/media/usb/dvb-usb/dibusb-mb.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps              268 drivers/media/usb/dvb-usb/dibusb-mb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              278 drivers/media/usb/dvb-usb/dibusb-mb.c 			.caps = DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_ADAP_HAS_PID_FILTER,
caps              336 drivers/media/usb/dvb-usb/dibusb-mb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              347 drivers/media/usb/dvb-usb/dibusb-mb.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps              399 drivers/media/usb/dvb-usb/dibusb-mb.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              410 drivers/media/usb/dvb-usb/dibusb-mb.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps               49 drivers/media/usb/dvb-usb/dibusb-mc.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps               59 drivers/media/usb/dvb-usb/dibusb-mc.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps              298 drivers/media/usb/dvb-usb/digitv.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              233 drivers/media/usb/dvb-usb/dtt200u-fe.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              187 drivers/media/usb/dvb-usb/dtt200u.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_NEED_PID_FILTERING,
caps              239 drivers/media/usb/dvb-usb/dtt200u.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_NEED_PID_FILTERING,
caps              291 drivers/media/usb/dvb-usb/dtt200u.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_NEED_PID_FILTERING,
caps              343 drivers/media/usb/dvb-usb/dtt200u.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_NEED_PID_FILTERING,
caps              169 drivers/media/usb/dvb-usb/dtv5100.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps               50 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 	if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER &&
caps               60 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 		if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER &&
caps               61 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 			adap->props.fe[adap->active_fe].caps &
caps               15 drivers/media/usb/dvb-usb/dvb-usb-i2c.c 	if (!(d->props.caps & DVB_USB_IS_AN_I2C_ADAPTER))
caps               41 drivers/media/usb/dvb-usb/dvb-usb-init.c 			if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) {
caps               46 drivers/media/usb/dvb-usb/dvb-usb-init.c 			if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) ||
caps               47 drivers/media/usb/dvb-usb/dvb-usb-init.c 				(props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) {
caps               59 drivers/media/usb/dvb-usb/dvb-usb-init.c 				props->caps & DVB_USB_ADAP_HAS_PID_FILTER) {
caps               98 drivers/media/usb/dvb-usb/dvb-usb-urb.c 		if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS)
caps              102 drivers/media/usb/dvb-usb/dvb-usb-urb.c 		if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD)
caps              149 drivers/media/usb/dvb-usb/dvb-usb.h 	int caps;
caps              274 drivers/media/usb/dvb-usb/dvb-usb.h 	int caps;
caps             1900 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1956 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2007 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2055 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2144 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2213 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             2262 drivers/media/usb/dvb-usb/dw2102.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps               93 drivers/media/usb/dvb-usb/m920x.c 		flags |= d->adapter[i].props.fe[0].caps;
caps              907 drivers/media/usb/dvb-usb/m920x.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              928 drivers/media/usb/dvb-usb/m920x.c 		.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps              962 drivers/media/usb/dvb-usb/m920x.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              976 drivers/media/usb/dvb-usb/m920x.c 		.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             1018 drivers/media/usb/dvb-usb/m920x.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1039 drivers/media/usb/dvb-usb/m920x.c 		.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             1063 drivers/media/usb/dvb-usb/m920x.c 		.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             1097 drivers/media/usb/dvb-usb/m920x.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1139 drivers/media/usb/dvb-usb/m920x.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1159 drivers/media/usb/dvb-usb/m920x.c 		.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps             1195 drivers/media/usb/dvb-usb/m920x.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps             1216 drivers/media/usb/dvb-usb/m920x.c 		.caps = DVB_USB_ADAP_HAS_PID_FILTER |
caps              169 drivers/media/usb/dvb-usb/nova-t-usb2.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              179 drivers/media/usb/dvb-usb/nova-t-usb2.c 			.caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
caps              496 drivers/media/usb/dvb-usb/opera1.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              521 drivers/media/usb/dvb-usb/opera1.c 			.caps =
caps              948 drivers/media/usb/dvb-usb/pctv452e.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER, /* more ? */
caps             1000 drivers/media/usb/dvb-usb/pctv452e.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER, /* more ? */
caps              700 drivers/media/usb/dvb-usb/technisat-usb2.c 	.caps              = DVB_USB_IS_AN_I2C_ADAPTER,
caps              646 drivers/media/usb/dvb-usb/ttusb2.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              701 drivers/media/usb/dvb-usb/ttusb2.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              756 drivers/media/usb/dvb-usb/ttusb2.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps               92 drivers/media/usb/dvb-usb/umt-010.c 	.caps = DVB_USB_IS_AN_I2C_ADAPTER,
caps              354 drivers/media/usb/dvb-usb/vp702x-fe.c 		.caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              386 drivers/media/usb/dvb-usb/vp702x.c 			.caps             = DVB_USB_ADAP_RECEIVES_204_BYTE_TS,
caps              164 drivers/media/usb/dvb-usb/vp7045-fe.c 		.caps = FE_CAN_INVERSION_AUTO |
caps              650 drivers/media/usb/pulse8-cec/pulse8-cec.c 	u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_PHYS_ADDR | CEC_CAP_MONITOR_ALL;
caps              663 drivers/media/usb/pulse8-cec/pulse8-cec.c 					    dev_name(&serio->dev), caps, 1);
caps             1192 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	u32 caps = V4L2_CAP_TUNER | V4L2_CAP_READWRITE;
caps             1204 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		caps |= V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_AUDIO;
caps             1215 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		caps |= V4L2_CAP_VBI_CAPTURE;
caps             1222 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		caps |= V4L2_CAP_RADIO;
caps             1233 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->devbase.device_caps = caps;
caps              308 drivers/media/usb/rainshadow-cec/rainshadow-cec.c 	u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_PHYS_ADDR | CEC_CAP_MONITOR_ALL;
caps              321 drivers/media/usb/rainshadow-cec/rainshadow-cec.c 					  dev_name(&serio->dev), caps, 1);
caps               60 drivers/media/usb/tm6000/tm6000-cards.c 	struct tm6000_capabilities caps;
caps               78 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              105 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              131 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              159 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              198 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              224 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              249 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              276 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              306 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              340 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              377 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              414 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              451 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              513 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              550 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              579 drivers/media/usb/tm6000/tm6000-cards.c 		.caps = {
caps              900 drivers/media/usb/tm6000/tm6000-cards.c 	if (dev->caps.has_tuner)
caps              983 drivers/media/usb/tm6000/tm6000-cards.c 	dev->caps = tm6000_boards[dev->model].caps;
caps             1050 drivers/media/usb/tm6000/tm6000-cards.c 	if (dev->caps.has_dvb)
caps             1117 drivers/media/usb/tm6000/tm6000-cards.c 	if (dev->caps.has_tda9874)
caps              225 drivers/media/usb/tm6000/tm6000-dvb.c 	if (dev->caps.has_zl10353) {
caps              393 drivers/media/usb/tm6000/tm6000-dvb.c 	if (!dev->caps.has_dvb)
caps              422 drivers/media/usb/tm6000/tm6000-dvb.c 	if (!dev->caps.has_dvb)
caps               84 drivers/media/usb/tm6000/tm6000-i2c.c 	if ((dev->caps.has_zl10353) && (dev->demod_addr << 1 == addr) && (reg % 2 == 0)) {
caps              409 drivers/media/usb/tm6000/tm6000-input.c 	if (!dev->caps.has_remote)
caps              863 drivers/media/usb/tm6000/tm6000-video.c 	if (dev->caps.has_radio)
caps             1653 drivers/media/usb/tm6000/tm6000-video.c 	if (dev->caps.has_radio) {
caps              176 drivers/media/usb/tm6000/tm6000.h 	struct tm6000_capabilities	caps;
caps              243 drivers/media/usb/ttusb-dec/ttusbdecfe.c 		.caps =	FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps              268 drivers/media/usb/ttusb-dec/ttusbdecfe.c 		.caps =	FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
caps             2042 drivers/media/usb/uvc/uvc_driver.c 		stream->chain->caps |= V4L2_CAP_VIDEO_CAPTURE
caps             2045 drivers/media/usb/uvc/uvc_driver.c 		stream->chain->caps |= V4L2_CAP_VIDEO_OUTPUT;
caps               36 drivers/media/usb/uvc/uvc_metadata.c 			  | chain->caps;
caps              591 drivers/media/usb/uvc/uvc_v4l2.c 			  | chain->caps;
caps              447 drivers/media/usb/uvc/uvcvideo.h 	u32 caps;				/* V4L2 chain-wide caps */
caps              147 drivers/media/v4l2-core/v4l2-dv-timings.c 	u32 caps = cap->capabilities;
caps              158 drivers/media/v4l2-core/v4l2-dv-timings.c 	    (!(caps & V4L2_DV_BT_CAP_CUSTOM) &&
caps              161 drivers/media/v4l2-core/v4l2-dv-timings.c 	    (bt->interlaced && !(caps & V4L2_DV_BT_CAP_INTERLACED)) ||
caps              162 drivers/media/v4l2-core/v4l2-dv-timings.c 	    (!bt->interlaced && !(caps & V4L2_DV_BT_CAP_PROGRESSIVE)))
caps               60 drivers/memory/atmel-ebi.c 	const struct atmel_ebi_caps *caps;
caps              300 drivers/memory/atmel-ebi.c 	const struct atmel_ebi_caps *caps = ebi->caps;
caps              318 drivers/memory/atmel-ebi.c 		    !(ebi->caps->available_cs & BIT(cs))) {
caps              340 drivers/memory/atmel-ebi.c 	ret = caps->xlate_config(ebid, np, &conf);
caps              352 drivers/memory/atmel-ebi.c 			caps->apply_config(ebid, &conf);
caps              355 drivers/memory/atmel-ebi.c 		caps->get_config(ebid, &ebid->configs[i]);
caps              361 drivers/memory/atmel-ebi.c 		if (ebi->caps->ebi_csa_offs && apply)
caps              363 drivers/memory/atmel-ebi.c 					   ebi->caps->ebi_csa_offs,
caps              536 drivers/memory/atmel-ebi.c 	ebi->caps = match->data;
caps              570 drivers/memory/atmel-ebi.c 	if (ebi->caps->ebi_csa_offs) {
caps              573 drivers/memory/atmel-ebi.c 							ebi->caps->regmap_name);
caps              621 drivers/memory/atmel-ebi.c 			ebid->ebi->caps->apply_config(ebid, &ebid->configs[i]);
caps               44 drivers/memory/atmel-sdramc.c 	const struct at91_ramc_caps *caps;
caps               47 drivers/memory/atmel-sdramc.c 	caps = of_device_get_match_data(&pdev->dev);
caps               49 drivers/memory/atmel-sdramc.c 	if (caps->has_ddrck) {
caps               56 drivers/memory/atmel-sdramc.c 	if (caps->has_mpddr_clk) {
caps              270 drivers/memstick/core/ms_block.c 	if ((msb->caps & MEMSTICK_CAP_AUTO_GET_INT) &&
caps              781 drivers/memstick/core/ms_block.c 	msb->caps |= MEMSTICK_CAP_AUTO_GET_INT;
caps             1697 drivers/memstick/core/ms_block.c 	msb->caps = 0;
caps             1711 drivers/memstick/core/ms_block.c 	if (host->caps & MEMSTICK_CAP_PAR4)
caps             1754 drivers/memstick/core/ms_block.c 		msb->caps |= MEMSTICK_CAP_PAR4;
caps             1762 drivers/memstick/core/ms_block.c 	dbg("Parallel mode supported: %d", !!(msb->caps & MEMSTICK_CAP_PAR4));
caps             1767 drivers/memstick/core/ms_block.c 	if (host->caps & msb->caps & MEMSTICK_CAP_PAR4)
caps              155 drivers/memstick/core/ms_block.h 	int				caps;
caps              137 drivers/memstick/core/mspro_block.c 	unsigned int          caps;
caps              593 drivers/memstick/core/mspro_block.c 		if (msb->caps & MEMSTICK_CAP_AUTO_GET_INT)
caps              648 drivers/memstick/core/mspro_block.c 		if (msb->caps & MEMSTICK_CAP_AUTO_GET_INT) {
caps              896 drivers/memstick/core/mspro_block.c 	if (msb->caps & MEMSTICK_CAP_PAR4)
caps              913 drivers/memstick/core/mspro_block.c 	if (msb->caps & MEMSTICK_CAP_PAR8) {
caps              956 drivers/memstick/core/mspro_block.c 			if (msb->caps & MEMSTICK_CAP_PAR8) {
caps              957 drivers/memstick/core/mspro_block.c 				msb->caps &= ~MEMSTICK_CAP_PAR8;
caps             1135 drivers/memstick/core/mspro_block.c 	msb->caps = host->caps;
caps             1148 drivers/memstick/core/mspro_block.c 		msb->caps |= MEMSTICK_CAP_AUTO_GET_INT;
caps              892 drivers/memstick/host/jmb38x_ms.c 	msh->caps = MEMSTICK_CAP_PAR4 | MEMSTICK_CAP_PAR8;
caps              773 drivers/memstick/host/r592.c 	host->caps = MEMSTICK_CAP_PAR4;
caps              566 drivers/memstick/host/rtsx_pci_ms.c 	msh->caps = MEMSTICK_CAP_PAR4;
caps              788 drivers/memstick/host/rtsx_usb_ms.c 	msh->caps = MEMSTICK_CAP_PAR4;
caps              581 drivers/memstick/host/tifm_ms.c 		msh->caps |= MEMSTICK_CAP_PAR4;
caps               82 drivers/mfd/intel-lpss.c 	u32 caps;
caps              148 drivers/mfd/intel-lpss.c 	debugfs_create_x32("capabilities", S_IRUGO, dir, &lpss->caps);
caps              213 drivers/mfd/intel-lpss.c 	type = lpss->caps & LPSS_PRIV_CAPS_TYPE_MASK;
caps              241 drivers/mfd/intel-lpss.c 	return (lpss->caps & LPSS_PRIV_CAPS_NO_IDMA) == 0;
caps              394 drivers/mfd/intel-lpss.c 	lpss->caps = readl(lpss->priv + LPSS_PRIV_CAPS);
caps              861 drivers/mmc/core/core.c 		if (host->caps & MMC_CAP_SYNC_RUNTIME_PM)
caps             1298 drivers/mmc/core/core.c 	if (host->caps & MMC_CAP_DRIVER_TYPE_A)
caps             1301 drivers/mmc/core/core.c 	if (host->caps & MMC_CAP_DRIVER_TYPE_C)
caps             1304 drivers/mmc/core/core.c 	if (host->caps & MMC_CAP_DRIVER_TYPE_D)
caps             1478 drivers/mmc/core/core.c 	if (cd_irq && !(host->caps & MMC_CAP_NEEDS_POLL) &&
caps             1738 drivers/mmc/core/core.c 	if (!(card->host->caps & MMC_CAP_NEED_RSP_BUSY) &&
caps             1763 drivers/mmc/core/core.c 	if ((card->host->caps & MMC_CAP_WAIT_WHILE_BUSY) && use_r1b_resp)
caps             1867 drivers/mmc/core/core.c 	if (!(card->host->caps & MMC_CAP_ERASE) ||
caps             1924 drivers/mmc/core/core.c 	if ((card->host->caps & MMC_CAP_ERASE) &&
caps             2113 drivers/mmc/core/core.c 	if (!(host->caps & MMC_CAP_HW_RESET) || !host->ops->hw_reset)
caps             2259 drivers/mmc/core/core.c 	if (!host->detect_change && !(host->caps & MMC_CAP_NEEDS_POLL))
caps             2265 drivers/mmc/core/core.c 		if (ret && (host->caps & MMC_CAP_NEEDS_POLL)) {
caps             2344 drivers/mmc/core/core.c 	if (host->caps & MMC_CAP_NEEDS_POLL)
caps              233 drivers/mmc/core/debugfs.c 	debugfs_create_x32("caps", S_IRUSR, root, &host->caps);
caps              192 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_8_BIT_DATA;
caps              195 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_4_BIT_DATA;
caps              222 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_NONREMOVABLE;
caps              231 drivers/mmc/core/host.c 			host->caps |= MMC_CAP_NEEDS_POLL;
caps              271 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_SD_HIGHSPEED;
caps              273 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_MMC_HIGHSPEED;
caps              275 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_UHS_SDR12;
caps              277 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_UHS_SDR25;
caps              279 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_UHS_SDR50;
caps              281 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_UHS_SDR104;
caps              283 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_UHS_DDR50;
caps              285 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_POWER_OFF_CARD;
caps              287 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_HW_RESET;
caps              289 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_SDIO_IRQ;
caps              298 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_3_3V_DDR;
caps              300 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_1_8V_DDR;
caps              302 drivers/mmc/core/host.c 		host->caps |= MMC_CAP_1_2V_DDR;
caps              322 drivers/mmc/core/host.c 		if (host->caps & MMC_CAP_NONREMOVABLE)
caps              466 drivers/mmc/core/host.c 	WARN_ON((host->caps & MMC_CAP_SDIO_IRQ) &&
caps               38 drivers/mmc/core/host.h 	return host->caps & MMC_CAP_CMD23;
caps               43 drivers/mmc/core/host.h 	return host->caps & MMC_CAP_DONE_COMPLETE;
caps               53 drivers/mmc/core/host.h 	return host->caps &
caps               57 drivers/mmc/core/host.h 	       host->caps & MMC_CAP_4_BIT_DATA;
caps              189 drivers/mmc/core/mmc.c 	u32 caps = host->caps, caps2 = host->caps2;
caps              193 drivers/mmc/core/mmc.c 	if (caps & MMC_CAP_MMC_HIGHSPEED &&
caps              199 drivers/mmc/core/mmc.c 	if (caps & MMC_CAP_MMC_HIGHSPEED &&
caps              205 drivers/mmc/core/mmc.c 	if (caps & (MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR) &&
caps              211 drivers/mmc/core/mmc.c 	if (caps & MMC_CAP_1_2V_DDR &&
caps              998 drivers/mmc/core/mmc.c 	    !(host->caps & (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA)))
caps             1001 drivers/mmc/core/mmc.c 	idx = (host->caps & MMC_CAP_8_BIT_DATA) ? 0 : 1;
caps             1032 drivers/mmc/core/mmc.c 		if (!(host->caps & MMC_CAP_BUS_WIDTH_TEST))
caps             1130 drivers/mmc/core/mmc.c 	    host->caps & MMC_CAP_1_8V_DDR)
caps             1335 drivers/mmc/core/mmc.c 	if (!(host->caps & MMC_CAP_8_BIT_DATA)) {
caps             1918 drivers/mmc/core/mmc.c 	if (!(host->caps & MMC_CAP_NEED_RSP_BUSY) && host->max_busy_timeout &&
caps             1936 drivers/mmc/core/mmc.c 	if (!cmd.busy_timeout || !(host->caps & MMC_CAP_WAIT_WHILE_BUSY))
caps             2123 drivers/mmc/core/mmc.c 	if (!(host->caps & MMC_CAP_AGGRESSIVE_PM))
caps             2169 drivers/mmc/core/mmc.c 	if ((host->caps & MMC_CAP_HW_RESET) && host->ops->hw_reset &&
caps              545 drivers/mmc/core/mmc_ops.c 	if (!(host->caps & MMC_CAP_NEED_RSP_BUSY) && timeout_ms &&
caps              578 drivers/mmc/core/mmc_ops.c 	if (((host->caps & MMC_CAP_WAIT_WHILE_BUSY) && use_r1b_resp) ||
caps              276 drivers/mmc/core/mmc_test.c 			if (test->card->host->caps & MMC_CAP_WAIT_WHILE_BUSY)
caps             2468 drivers/mmc/core/mmc_test.c 	if (!(test->card->host->caps & MMC_CAP_CMD_DURING_TFR))
caps              369 drivers/mmc/core/sd.c 	if (!(card->host->caps & MMC_CAP_SD_HIGHSPEED))
caps              439 drivers/mmc/core/sd.c 	if ((card->host->caps & MMC_CAP_UHS_SDR104) &&
caps              442 drivers/mmc/core/sd.c 	} else if ((card->host->caps & MMC_CAP_UHS_DDR50) &&
caps              445 drivers/mmc/core/sd.c 	} else if ((card->host->caps & (MMC_CAP_UHS_SDR104 |
caps              449 drivers/mmc/core/sd.c 	} else if ((card->host->caps & (MMC_CAP_UHS_SDR104 |
caps              453 drivers/mmc/core/sd.c 	} else if ((card->host->caps & (MMC_CAP_UHS_SDR104 |
caps             1075 drivers/mmc/core/sd.c 		if ((host->caps & MMC_CAP_4_BIT_DATA) &&
caps             1222 drivers/mmc/core/sd.c 	if (!(host->caps & MMC_CAP_AGGRESSIVE_PM))
caps              206 drivers/mmc/core/sdio.c 	if (!(card->host->caps & MMC_CAP_4_BIT_DATA))
caps              263 drivers/mmc/core/sdio.c 	if (!(card->host->caps & MMC_CAP_4_BIT_DATA))
caps              295 drivers/mmc/core/sdio.c 	else if ((card->host->caps & MMC_CAP_4_BIT_DATA) &&
caps              323 drivers/mmc/core/sdio.c 	if (!(card->host->caps & MMC_CAP_SD_HIGHSPEED))
caps              454 drivers/mmc/core/sdio.c 	if ((card->host->caps & MMC_CAP_UHS_SDR104) &&
caps              460 drivers/mmc/core/sdio.c 	} else if ((card->host->caps & MMC_CAP_UHS_DDR50) &&
caps              466 drivers/mmc/core/sdio.c 	} else if ((card->host->caps & (MMC_CAP_UHS_SDR104 |
caps              473 drivers/mmc/core/sdio.c 	} else if ((card->host->caps & (MMC_CAP_UHS_SDR104 |
caps              480 drivers/mmc/core/sdio.c 	} else if ((card->host->caps & (MMC_CAP_UHS_SDR104 |
caps              878 drivers/mmc/core/sdio.c 	if (host->caps & MMC_CAP_POWER_OFF_CARD) {
caps              906 drivers/mmc/core/sdio.c 	if (host->caps & MMC_CAP_POWER_OFF_CARD)
caps              992 drivers/mmc/core/sdio.c 		if (host->caps & MMC_CAP_POWER_OFF_CARD) {
caps             1012 drivers/mmc/core/sdio.c 		else if (host->caps & MMC_CAP_SDIO_IRQ)
caps             1146 drivers/mmc/core/sdio.c 	if (host->caps & MMC_CAP_POWER_OFF_CARD) {
caps             1184 drivers/mmc/core/sdio.c 		if (host->caps & MMC_CAP_POWER_OFF_CARD)
caps             1205 drivers/mmc/core/sdio.c 	if (host->caps & MMC_CAP_POWER_OFF_CARD)
caps              149 drivers/mmc/core/sdio_bus.c 	if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) {
caps              174 drivers/mmc/core/sdio_bus.c 	if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
caps              186 drivers/mmc/core/sdio_bus.c 	if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
caps              201 drivers/mmc/core/sdio_bus.c 	if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
caps              205 drivers/mmc/core/sdio_bus.c 	if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
caps               45 drivers/mmc/core/sdio_irq.c 	    !(host->caps & MMC_CAP_SDIO_IRQ)) {
caps              155 drivers/mmc/core/sdio_irq.c 	period = (host->caps & MMC_CAP_SDIO_IRQ) ?
caps              198 drivers/mmc/core/sdio_irq.c 		if (!(host->caps & MMC_CAP_SDIO_IRQ)) {
caps              209 drivers/mmc/core/sdio_irq.c 		if (host->caps & MMC_CAP_SDIO_IRQ)
caps              216 drivers/mmc/core/sdio_irq.c 	if (host->caps & MMC_CAP_SDIO_IRQ)
caps              242 drivers/mmc/core/sdio_irq.c 		} else if (host->caps & MMC_CAP_SDIO_IRQ) {
caps              263 drivers/mmc/core/sdio_irq.c 		} else if (host->caps & MMC_CAP_SDIO_IRQ) {
caps              278 drivers/mmc/core/sdio_irq.c 	if ((card->host->caps & MMC_CAP_SDIO_IRQ) &&
caps              109 drivers/mmc/core/slot-gpio.c 	if (!(host->caps & MMC_CAP_NEEDS_POLL))
caps              126 drivers/mmc/core/slot-gpio.c 		host->caps |= MMC_CAP_NEEDS_POLL;
caps              134 drivers/mmc/core/slot-gpio.c 	if (!(host->caps & MMC_CAP_CD_WAKE) ||
caps             1055 drivers/mmc/host/alcor.c 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED
caps              484 drivers/mmc/host/android-goldfish.c 	mmc->caps = MMC_CAP_4_BIT_DATA;
caps              346 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_caps   caps;
caps              523 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_odd_clk_div)
caps              537 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_cstor_reg)
caps              545 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_dma_conf_reg) {
caps              555 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_cfg_reg) {
caps              852 drivers/mmc/host/atmel-mci.c 	if (!host->caps.has_rwproof) {
caps              916 drivers/mmc/host/atmel-mci.c 	if ((!host->caps.has_rwproof)
caps              918 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_bad_data_ordering)
caps              952 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_dma_conf_reg)
caps             1066 drivers/mmc/host/atmel-mci.c 	if ((!host->caps.has_rwproof)
caps             1070 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_bad_data_ordering)
caps             1134 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_dma_conf_reg)
caps             1245 drivers/mmc/host/atmel-mci.c 	if (host->need_reset || host->caps.need_reset_after_xfer) {
caps             1251 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_cfg_reg)
caps             1399 drivers/mmc/host/atmel-mci.c 			if (host->caps.has_cfg_reg)
caps             1415 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_odd_clk_div) {
caps             1446 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_rwproof)
caps             1449 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_cfg_reg) {
caps             1459 drivers/mmc/host/atmel-mci.c 			if (host->caps.has_cfg_reg)
caps             1567 drivers/mmc/host/atmel-mci.c 		if (host->caps.has_cfg_reg)
caps             1611 drivers/mmc/host/atmel-mci.c 		if (host->caps.need_blksz_mul_4) {
caps             1668 drivers/mmc/host/atmel-mci.c 				if (host->caps.has_cfg_reg)
caps             1810 drivers/mmc/host/atmel-mci.c 			if (host->caps.need_notbusy_for_read_ops ||
caps             2246 drivers/mmc/host/atmel-mci.c 		mmc->caps |= MMC_CAP_SDIO_IRQ;
caps             2247 drivers/mmc/host/atmel-mci.c 	if (host->caps.has_highspeed)
caps             2248 drivers/mmc/host/atmel-mci.c 		mmc->caps |= MMC_CAP_SD_HIGHSPEED;
caps             2254 drivers/mmc/host/atmel-mci.c 	if ((slot_data->bus_width >= 4) && host->caps.has_rwproof) {
caps             2255 drivers/mmc/host/atmel-mci.c 		mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             2257 drivers/mmc/host/atmel-mci.c 			mmc->caps |= MMC_CAP_8_BIT_DATA;
caps             2288 drivers/mmc/host/atmel-mci.c 			mmc->caps |= MMC_CAP_NONREMOVABLE;
caps             2290 drivers/mmc/host/atmel-mci.c 			mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             2399 drivers/mmc/host/atmel-mci.c 	host->caps.has_dma_conf_reg = 0;
caps             2400 drivers/mmc/host/atmel-mci.c 	host->caps.has_pdc = 1;
caps             2401 drivers/mmc/host/atmel-mci.c 	host->caps.has_cfg_reg = 0;
caps             2402 drivers/mmc/host/atmel-mci.c 	host->caps.has_cstor_reg = 0;
caps             2403 drivers/mmc/host/atmel-mci.c 	host->caps.has_highspeed = 0;
caps             2404 drivers/mmc/host/atmel-mci.c 	host->caps.has_rwproof = 0;
caps             2405 drivers/mmc/host/atmel-mci.c 	host->caps.has_odd_clk_div = 0;
caps             2406 drivers/mmc/host/atmel-mci.c 	host->caps.has_bad_data_ordering = 1;
caps             2407 drivers/mmc/host/atmel-mci.c 	host->caps.need_reset_after_xfer = 1;
caps             2408 drivers/mmc/host/atmel-mci.c 	host->caps.need_blksz_mul_4 = 1;
caps             2409 drivers/mmc/host/atmel-mci.c 	host->caps.need_notbusy_for_read_ops = 0;
caps             2415 drivers/mmc/host/atmel-mci.c 		host->caps.has_odd_clk_div = 1;
caps             2419 drivers/mmc/host/atmel-mci.c 		host->caps.has_dma_conf_reg = 1;
caps             2420 drivers/mmc/host/atmel-mci.c 		host->caps.has_pdc = 0;
caps             2421 drivers/mmc/host/atmel-mci.c 		host->caps.has_cfg_reg = 1;
caps             2422 drivers/mmc/host/atmel-mci.c 		host->caps.has_cstor_reg = 1;
caps             2423 drivers/mmc/host/atmel-mci.c 		host->caps.has_highspeed = 1;
caps             2426 drivers/mmc/host/atmel-mci.c 		host->caps.has_rwproof = 1;
caps             2427 drivers/mmc/host/atmel-mci.c 		host->caps.need_blksz_mul_4 = 0;
caps             2428 drivers/mmc/host/atmel-mci.c 		host->caps.need_notbusy_for_read_ops = 1;
caps             2431 drivers/mmc/host/atmel-mci.c 		host->caps.has_bad_data_ordering = 0;
caps             2432 drivers/mmc/host/atmel-mci.c 		host->caps.need_reset_after_xfer = 0;
caps             2437 drivers/mmc/host/atmel-mci.c 		host->caps.has_pdc = 0;
caps             2511 drivers/mmc/host/atmel-mci.c 	} else if (host->caps.has_pdc) {
caps             2560 drivers/mmc/host/atmel-mci.c 	if (!host->caps.has_rwproof) {
caps             1003 drivers/mmc/host/au1xmmc.c 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
caps             1020 drivers/mmc/host/au1xmmc.c 			mmc->caps |= MMC_CAP_8_BIT_DATA;
caps             1050 drivers/mmc/host/au1xmmc.c 			mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             1053 drivers/mmc/host/au1xmmc.c 		mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             1057 drivers/mmc/host/au1xmmc.c 		mmc->caps &= ~(host->platdata->mask_host_caps);
caps             1117 drivers/mmc/host/au1xmmc.c 	    !(mmc->caps & MMC_CAP_NEEDS_POLL))
caps             1148 drivers/mmc/host/au1xmmc.c 		    !(host->mmc->caps & MMC_CAP_NEEDS_POLL))
caps             1151 drivers/mmc/host/bcm2835.c 		((mmc->caps & MMC_CAP_4_BIT_DATA) ? 8 : 32);
caps             1282 drivers/mmc/host/bcm2835.c 	mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
caps              986 drivers/mmc/host/cavium.c 	if (!(mmc->caps & (MMC_CAP_8_BIT_DATA | MMC_CAP_4_BIT_DATA))) {
caps              989 drivers/mmc/host/cavium.c 			mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_4_BIT_DATA;
caps              991 drivers/mmc/host/cavium.c 			mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             1040 drivers/mmc/host/cavium.c 	mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
caps              709 drivers/mmc/host/cb710-mmc.c 	mmc->caps = MMC_CAP_4_BIT_DATA;
caps              167 drivers/mmc/host/cqhci.c 	if (cq_host->caps & CQHCI_TASK_DESC_SZ_128) {
caps              258 drivers/mmc/host/cqhci.c 	if (cq_host->caps & CQHCI_TASK_DESC_SZ_128)
caps              162 drivers/mmc/host/cqhci.h 	u32 caps;
caps              770 drivers/mmc/host/davinci_mmc.c 	if (host->mmc->caps & MMC_CAP_SDIO_IRQ) {
caps             1164 drivers/mmc/host/davinci_mmc.c 		mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             1167 drivers/mmc/host/davinci_mmc.c 		mmc->caps |= (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA);
caps             1173 drivers/mmc/host/davinci_mmc.c 	if (pdata && pdata->caps)
caps             1174 drivers/mmc/host/davinci_mmc.c 		mmc->caps |= pdata->caps;
caps             1181 drivers/mmc/host/davinci_mmc.c 		mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             1273 drivers/mmc/host/davinci_mmc.c 	mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
caps             1323 drivers/mmc/host/davinci_mmc.c 			mmc->caps |= MMC_CAP_SDIO_IRQ;
caps             1330 drivers/mmc/host/davinci_mmc.c 		(mmc->caps & MMC_CAP_4_BIT_DATA) ? 4 : 1);
caps              520 drivers/mmc/host/dw_mmc-exynos.c 	.caps			= exynos_dwmmc_caps,
caps              169 drivers/mmc/host/dw_mmc-hi3798cv200.c 	.caps = dw_mci_hi3798cv200_caps,
caps              208 drivers/mmc/host/dw_mmc-k3.c 	.caps			= dw_mci_hi6220_caps,
caps               28 drivers/mmc/host/dw_mmc-pci.c 	.caps				= DW_MCI_CAPABILITIES,
caps              316 drivers/mmc/host/dw_mmc-rockchip.c 	.caps			= dw_mci_rk3288_dwmmc_caps,
caps              193 drivers/mmc/host/dw_mmc-zx.c 	.caps			= zx_dwmmc_caps,
caps              949 drivers/mmc/host/dw_mmc.c 	if (((mmc->caps & MMC_CAP_NEEDS_POLL)
caps              954 drivers/mmc/host/dw_mmc.c 			if (mmc->caps & MMC_CAP_NEEDS_POLL) {
caps             1239 drivers/mmc/host/dw_mmc.c 			if (slot->mmc->caps & MMC_CAP_NEEDS_POLL &&
caps             1617 drivers/mmc/host/dw_mmc.c 	if (mmc->caps & MMC_CAP_SDIO_IRQ) {
caps             2750 drivers/mmc/host/dw_mmc.c 	if (host->pdata->caps)
caps             2751 drivers/mmc/host/dw_mmc.c 		mmc->caps = host->pdata->caps;
caps             2757 drivers/mmc/host/dw_mmc.c 	mmc->caps |= MMC_CAP_ERASE;
caps             2770 drivers/mmc/host/dw_mmc.c 	if (drv_data && drv_data->caps) {
caps             2776 drivers/mmc/host/dw_mmc.c 		mmc->caps |= drv_data->caps[ctrl_id];
caps             2787 drivers/mmc/host/dw_mmc.c 	if (mmc->caps & MMC_CAP_SDIO_IRQ)
caps             3149 drivers/mmc/host/dw_mmc.c 	if (host->slot->mmc->caps & MMC_CAP_NEEDS_POLL)
caps              252 drivers/mmc/host/dw_mmc.h 	u32 caps;	/* Capabilities */
caps              556 drivers/mmc/host/dw_mmc.h 	unsigned long	*caps;
caps             1032 drivers/mmc/host/jz4740_mmc.c 		 (mmc->caps & MMC_CAP_4_BIT_DATA) ? 4 : 1);
caps             1152 drivers/mmc/host/meson-gx-mmc.c 	mmc->caps |= MMC_CAP_CMD23;
caps              564 drivers/mmc/host/meson-mx-sdio.c 	mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23 | MMC_CAP_WAIT_WHILE_BUSY;
caps             1337 drivers/mmc/host/mmc_spi.c 	mmc->caps = MMC_CAP_SPI;
caps             1417 drivers/mmc/host/mmc_spi.c 		mmc->caps |= host->pdata->caps;
caps             1438 drivers/mmc/host/mmc_spi.c 		mmc->caps &= ~MMC_CAP_NEEDS_POLL;
caps             1456 drivers/mmc/host/mmc_spi.c 			(mmc->caps & MMC_CAP_NEEDS_POLL)
caps             1781 drivers/mmc/host/mmci.c 		mmc->caps |= MMC_CAP_MMC_HIGHSPEED;
caps             1783 drivers/mmc/host/mmci.c 		mmc->caps |= MMC_CAP_SD_HIGHSPEED;
caps             1945 drivers/mmc/host/mmci.c 	mmc->caps |= MMC_CAP_CMD23;
caps             1959 drivers/mmc/host/mmci.c 		mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
caps              650 drivers/mmc/host/moxart-mmc.c 		mmc->caps |= MMC_CAP_4_BIT_DATA;
caps              653 drivers/mmc/host/moxart-mmc.c 		mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA;
caps             2124 drivers/mmc/host/mtk-sd.c 	if (mmc->caps & MMC_CAP_NONREMOVABLE)
caps             2275 drivers/mmc/host/mtk-sd.c 	if (!(mmc->caps & MMC_CAP_NONREMOVABLE) &&
caps             2285 drivers/mmc/host/mtk-sd.c 	if (mmc->caps & MMC_CAP_SDIO_IRQ)
caps             2288 drivers/mmc/host/mtk-sd.c 	mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23;
caps              757 drivers/mmc/host/mvsdio.c 	mmc->caps |= MMC_CAP_ERASE;
caps              786 drivers/mmc/host/mvsdio.c 	if (!(mmc->caps & MMC_CAP_NEEDS_POLL))
caps              943 drivers/mmc/host/mxcmmc.c 		host->caps &= ~MMC_CAP_4_BIT_DATA;
caps              945 drivers/mmc/host/mxcmmc.c 		host->caps |= MMC_CAP_4_BIT_DATA;
caps             1037 drivers/mmc/host/mxcmmc.c 		mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
caps             1039 drivers/mmc/host/mxcmmc.c 		mmc->caps |= MMC_CAP_SDIO_IRQ;
caps               75 drivers/mmc/host/mxs-mmc.c 	present = mmc->caps & MMC_CAP_NEEDS_POLL ||
caps              636 drivers/mmc/host/mxs-mmc.c 	mmc->caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
caps               76 drivers/mmc/host/of_mmc_spi.c 		oms->pdata.caps |= MMC_CAP_NEEDS_POLL;
caps             1245 drivers/mmc/host/omap.c 	mmc->caps = 0;
caps             1247 drivers/mmc/host/omap.c 		mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_ERASE;
caps              655 drivers/mmc/host/omap_hsmmc.c 	if (host->mmc->caps & MMC_CAP_SDIO_IRQ)
caps             1692 drivers/mmc/host/omap_hsmmc.c 		   (mmc->caps & MMC_CAP_SDIO_IRQ) ? "interrupt" : "polling");
caps             1694 drivers/mmc/host/omap_hsmmc.c 	if (mmc->caps & MMC_CAP_SDIO_IRQ) {
caps             1933 drivers/mmc/host/omap_hsmmc.c 	mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
caps             1936 drivers/mmc/host/omap_hsmmc.c 	mmc->caps |= mmc_pdata(host)->caps;
caps             1937 drivers/mmc/host/omap_hsmmc.c 	if (mmc->caps & MMC_CAP_8_BIT_DATA)
caps             1938 drivers/mmc/host/omap_hsmmc.c 		mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             1941 drivers/mmc/host/omap_hsmmc.c 		mmc->caps |= MMC_CAP_NONREMOVABLE;
caps             1999 drivers/mmc/host/omap_hsmmc.c 		mmc->caps |= MMC_CAP_SDIO_IRQ;
caps             2115 drivers/mmc/host/omap_hsmmc.c 	if ((host->mmc->caps & MMC_CAP_SDIO_IRQ) &&
caps             2156 drivers/mmc/host/omap_hsmmc.c 	if ((host->mmc->caps & MMC_CAP_SDIO_IRQ) &&
caps              677 drivers/mmc/host/pxamci.c 	mmc->caps = 0;
caps              680 drivers/mmc/host/pxamci.c 		mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
caps              683 drivers/mmc/host/pxamci.c 			mmc->caps |= MMC_CAP_MMC_HIGHSPEED |
caps              745 drivers/mmc/host/renesas_sdhi_core.c 			host->mmc->caps |= MMC_CAP_HW_RESET;
caps              799 drivers/mmc/host/renesas_sdhi_core.c 	    (host->mmc->caps & MMC_CAP_UHS_SDR104 ||
caps             1330 drivers/mmc/host/rtsx_pci_sdmmc.c 		mmc->caps |= MMC_CAP_UHS_SDR50;
caps             1332 drivers/mmc/host/rtsx_pci_sdmmc.c 		mmc->caps |= MMC_CAP_UHS_SDR104;
caps             1334 drivers/mmc/host/rtsx_pci_sdmmc.c 		mmc->caps |= MMC_CAP_UHS_DDR50;
caps             1336 drivers/mmc/host/rtsx_pci_sdmmc.c 		mmc->caps |= MMC_CAP_1_8V_DDR;
caps             1338 drivers/mmc/host/rtsx_pci_sdmmc.c 		mmc->caps |= MMC_CAP_8_BIT_DATA;
caps             1348 drivers/mmc/host/rtsx_pci_sdmmc.c 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED |
caps             1314 drivers/mmc/host/rtsx_usb_sdmmc.c 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED |
caps             1427 drivers/mmc/host/rtsx_usb_sdmmc.c 	host->mmc->caps &= ~MMC_CAP_NEEDS_POLL;
caps             1435 drivers/mmc/host/rtsx_usb_sdmmc.c 	host->mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             1502 drivers/mmc/host/s3cmci.c 		mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             1664 drivers/mmc/host/s3cmci.c 	mmc->caps	= MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
caps             1666 drivers/mmc/host/s3cmci.c 	mmc->caps	= MMC_CAP_4_BIT_DATA;
caps             1703 drivers/mmc/host/s3cmci.c 		 mmc->caps & MMC_CAP_SDIO_IRQ ? "hw" : "sw");
caps               50 drivers/mmc/host/sdhci-acpi.c 	unsigned long	caps;
caps               59 drivers/mmc/host/sdhci-acpi.c 	unsigned long	caps;
caps              407 drivers/mmc/host/sdhci-acpi.c 		c->host->mmc->caps &= ~MMC_CAP_UHS_SDR25;
caps              410 drivers/mmc/host/sdhci-acpi.c 		c->host->mmc->caps &= ~MMC_CAP_UHS_SDR50;
caps              413 drivers/mmc/host/sdhci-acpi.c 		c->host->mmc->caps &= ~MMC_CAP_UHS_DDR50;
caps              416 drivers/mmc/host/sdhci-acpi.c 		c->host->mmc->caps &= ~MMC_CAP_UHS_SDR104;
caps              423 drivers/mmc/host/sdhci-acpi.c 	.caps    = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE |
caps              442 drivers/mmc/host/sdhci-acpi.c 	.caps    = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD |
caps              458 drivers/mmc/host/sdhci-acpi.c 	.caps    = MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_AGGRESSIVE_PM,
caps              524 drivers/mmc/host/sdhci-acpi.c 	.caps    = MMC_CAP_NONREMOVABLE,
caps              532 drivers/mmc/host/sdhci-acpi.c 	.caps    = MMC_CAP_NONREMOVABLE,
caps              593 drivers/mmc/host/sdhci-acpi.c 		host->mmc->caps = MMC_CAP_1_8V_DDR;
caps              596 drivers/mmc/host/sdhci-acpi.c 	    (host->mmc->caps & MMC_CAP_1_8V_DDR))
caps              606 drivers/mmc/host/sdhci-acpi.c 	.caps		= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE,
caps              758 drivers/mmc/host/sdhci-acpi.c 			host->mmc->caps     |= c->slot->chip->caps;
caps              764 drivers/mmc/host/sdhci-acpi.c 		host->mmc->caps     |= c->slot->caps;
caps              276 drivers/mmc/host/sdhci-bcm-kona.c 		(host->mmc->caps & MMC_CAP_8_BIT_DATA) ? 'Y' : 'N');
caps               58 drivers/mmc/host/sdhci-brcmstb.c 	host->caps = sdhci_readl(host, SDHCI_CAPABILITIES);
caps               60 drivers/mmc/host/sdhci-brcmstb.c 		host->caps &= ~SDHCI_CAN_64BIT;
caps             1411 drivers/mmc/host/sdhci-esdhc-imx.c 		host->mmc->caps |= MMC_CAP_NONREMOVABLE;
caps             1420 drivers/mmc/host/sdhci-esdhc-imx.c 		host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_4_BIT_DATA;
caps             1423 drivers/mmc/host/sdhci-esdhc-imx.c 		host->mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             1503 drivers/mmc/host/sdhci-esdhc-imx.c 		host->mmc->caps |= MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR;
caps               28 drivers/mmc/host/sdhci-iproc.c 	u32 caps;
caps              207 drivers/mmc/host/sdhci-iproc.c 	.caps = ((0x1 << SDHCI_MAX_BLOCK_SHIFT)
caps              231 drivers/mmc/host/sdhci-iproc.c 	.caps = ((0x1 << SDHCI_MAX_BLOCK_SHIFT)
caps              255 drivers/mmc/host/sdhci-iproc.c 	.caps = ((0x1 << SDHCI_MAX_BLOCK_SHIFT)
caps              317 drivers/mmc/host/sdhci-iproc.c 	host->mmc->caps |= iproc_host->data->mmc_caps;
caps              333 drivers/mmc/host/sdhci-iproc.c 		host->caps = iproc_host->data->caps;
caps             1656 drivers/mmc/host/sdhci-msm.c 	u32 caps = 0, config;
caps             1662 drivers/mmc/host/sdhci-msm.c 			caps |= CORE_1_8V_SUPPORT;
caps             1664 drivers/mmc/host/sdhci-msm.c 			caps |= CORE_3_0V_SUPPORT;
caps             1666 drivers/mmc/host/sdhci-msm.c 		if (!caps)
caps             1671 drivers/mmc/host/sdhci-msm.c 	if (caps) {
caps             1682 drivers/mmc/host/sdhci-msm.c 		if ((io_level & REQ_IO_HIGH) && (caps &	CORE_3_0V_SUPPORT))
caps             1684 drivers/mmc/host/sdhci-msm.c 		else if ((io_level & REQ_IO_LOW) || (caps & CORE_1_8V_SUPPORT))
caps             1690 drivers/mmc/host/sdhci-msm.c 	msm_host->caps_0 |= caps;
caps             1691 drivers/mmc/host/sdhci-msm.c 	pr_debug("%s: supported caps: 0x%08x\n", mmc_hostname(mmc), caps);
caps             1953 drivers/mmc/host/sdhci-msm.c 	msm_host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_NEED_RSP_BUSY;
caps              715 drivers/mmc/host/sdhci-of-arasan.c 		cq_host->caps |= CQHCI_TASK_DESC_SZ_128;
caps              121 drivers/mmc/host/sdhci-of-at91.c 	if ((host->mmc->caps & MMC_CAP_NONREMOVABLE)
caps              386 drivers/mmc/host/sdhci-of-at91.c 		host->mmc->caps |= MMC_CAP_NEEDS_POLL;
caps              404 drivers/mmc/host/sdhci-of-at91.c 	if ((host->mmc->caps & MMC_CAP_NONREMOVABLE)
caps              900 drivers/mmc/host/sdhci-omap.c 				  u32 *caps, u32 capmask)
caps              907 drivers/mmc/host/sdhci-omap.c 	if (!(*caps & capmask))
caps              920 drivers/mmc/host/sdhci-omap.c 		*caps &= ~capmask;
caps              933 drivers/mmc/host/sdhci-omap.c 	u32 *caps = &mmc->caps;
caps              961 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "sdr104", caps,
caps              966 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "ddr50", caps,
caps              971 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "sdr50", caps,
caps              976 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "sdr25", caps,
caps              981 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "sdr12", caps,
caps              986 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "ddr_1_8v", caps,
caps              992 drivers/mmc/host/sdhci-omap.c 							 caps,
caps              998 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs", caps,
caps             1003 drivers/mmc/host/sdhci-omap.c 	state = sdhci_omap_iodelay_pinctrl_state(omap_host, "hs", caps,
caps             1138 drivers/mmc/host/sdhci-omap.c 	mmc->caps |= MMC_CAP_NEED_RSP_BUSY;
caps              304 drivers/mmc/host/sdhci-pci-arasan.c 	slot->host->mmc->caps |= MMC_CAP_NONREMOVABLE | MMC_CAP_8_BIT_DATA;
caps               55 drivers/mmc/host/sdhci-pci-core.c 			if (slot->host->mmc->caps & MMC_CAP_CD_WAKE)
caps              251 drivers/mmc/host/sdhci-pci-core.c 	slot->host->caps =
caps              318 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA;
caps              338 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA;
caps              411 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE;
caps              418 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE;
caps              778 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE |
caps              843 drivers/mmc/host/sdhci-pci-core.c 		cq_host->caps |= CQHCI_TASK_DESC_SZ_128;
caps              966 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE |
caps              974 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE |
caps              982 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY |
caps             1144 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps |= MMC_CAP_NONREMOVABLE |
caps             1154 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps |= MMC_CAP_NONREMOVABLE |
caps             1311 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_BUS_WIDTH_TEST;
caps             1977 drivers/mmc/host/sdhci-pci-core.c 			slot->host->mmc->caps |= MMC_CAP_HW_RESET;
caps             1992 drivers/mmc/host/sdhci-pci-core.c 	if (host->mmc->caps & MMC_CAP_CD_WAKE)
caps              517 drivers/mmc/host/sdhci-pci-o2micro.c 	u32 reg, caps;
caps              524 drivers/mmc/host/sdhci-pci-o2micro.c 	caps = sdhci_readl(host, SDHCI_CAPABILITIES);
caps              530 drivers/mmc/host/sdhci-pci-o2micro.c 	if (caps & SDHCI_CAN_DO_8BIT)
caps              531 drivers/mmc/host/sdhci-pci-o2micro.c 		host->mmc->caps |= MMC_CAP_8_BIT_DATA;
caps              132 drivers/mmc/host/sdhci-pic32.c 	host->caps = readl(host->ioaddr + SDHCI_CAPABILITIES);
caps              133 drivers/mmc/host/sdhci-pic32.c 	caps_slot_type = (host->caps & SDH_CAPS_SDH_SLOT_TYPE_MASK) >> 30;
caps              196 drivers/mmc/host/sdhci-pxav2.c 			host->mmc->caps |= MMC_CAP_NONREMOVABLE;
caps              201 drivers/mmc/host/sdhci-pxav2.c 			host->mmc->caps |= MMC_CAP_8_BIT_DATA;
caps              206 drivers/mmc/host/sdhci-pxav2.c 			host->mmc->caps |= pdata->host_caps;
caps              129 drivers/mmc/host/sdhci-pxav3.c 	host->caps = sdhci_readl(host, SDHCI_CAPABILITIES);
caps              156 drivers/mmc/host/sdhci-pxav3.c 		host->caps &= ~SDHCI_CAN_VDD_180;
caps              157 drivers/mmc/host/sdhci-pxav3.c 		host->mmc->caps &= ~MMC_CAP_1_8V_DDR;
caps              159 drivers/mmc/host/sdhci-pxav3.c 		host->caps &= ~SDHCI_CAN_VDD_330;
caps              405 drivers/mmc/host/sdhci-pxav3.c 	host->mmc->caps |= MMC_CAP_1_8V_DDR;
caps              427 drivers/mmc/host/sdhci-pxav3.c 			host->mmc->caps |= MMC_CAP_NONREMOVABLE;
caps              431 drivers/mmc/host/sdhci-pxav3.c 			host->mmc->caps |= MMC_CAP_8_BIT_DATA;
caps              438 drivers/mmc/host/sdhci-pxav3.c 			host->mmc->caps |= pdata->host_caps;
caps              607 drivers/mmc/host/sdhci-s3c.c 		host->mmc->caps = MMC_CAP_NONREMOVABLE;
caps              611 drivers/mmc/host/sdhci-s3c.c 		host->mmc->caps |= MMC_CAP_8_BIT_DATA;
caps              614 drivers/mmc/host/sdhci-s3c.c 		host->mmc->caps |= MMC_CAP_4_BIT_DATA;
caps              639 drivers/mmc/host/sdhci-s3c.c 		host->mmc->caps |= pdata->host_caps;
caps               45 drivers/mmc/host/sdhci-sirf.c 			(host->mmc->caps & MMC_CAP_UHS_SDR50))) {
caps              545 drivers/mmc/host/sdhci-sprd.c 	host->mmc->caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
caps              623 drivers/mmc/host/sdhci-sprd.c 	host->caps = sdhci_readl(host, SDHCI_CAPABILITIES);
caps              185 drivers/mmc/host/sdhci-st.c 	if (mhost->caps & MMC_CAP_UHS_SDR50) {
caps              195 drivers/mmc/host/sdhci-st.c 	if (mhost->caps & MMC_CAP_UHS_SDR104) {
caps              206 drivers/mmc/host/sdhci-st.c 	if (mhost->caps & MMC_CAP_UHS_DDR50)
caps             1487 drivers/mmc/host/sdhci-tegra.c 		cq_host->caps |= CQHCI_TASK_DESC_SZ_128;
caps             1553 drivers/mmc/host/sdhci-tegra.c 		host->mmc->caps |= MMC_CAP_1_8V_DDR;
caps             1556 drivers/mmc/host/sdhci-tegra.c 	host->mmc->caps |= MMC_CAP_NEED_RSP_BUSY;
caps               91 drivers/mmc/host/sdhci-xenon.c 	host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
caps               96 drivers/mmc/host/sdhci-xenon.c 	host->mmc->caps &= ~MMC_CAP_BUS_WIDTH_TEST;
caps             1854 drivers/mmc/host/sdhci.c 		if (host->mmc->caps & MMC_CAP_8_BIT_DATA)
caps             3594 drivers/mmc/host/sdhci.c 		       const u32 *caps, const u32 *caps1)
caps             3627 drivers/mmc/host/sdhci.c 	if (caps) {
caps             3628 drivers/mmc/host/sdhci.c 		host->caps = *caps;
caps             3630 drivers/mmc/host/sdhci.c 		host->caps = sdhci_readl(host, SDHCI_CAPABILITIES);
caps             3631 drivers/mmc/host/sdhci.c 		host->caps &= ~lower_32_bits(dt_caps_mask);
caps             3632 drivers/mmc/host/sdhci.c 		host->caps |= lower_32_bits(dt_caps);
caps             3716 drivers/mmc/host/sdhci.c 		return host->caps & SDHCI_CAN_64BIT_V4;
caps             3718 drivers/mmc/host/sdhci.c 	return host->caps & SDHCI_CAN_64BIT;
caps             3767 drivers/mmc/host/sdhci.c 	else if (!(host->caps & SDHCI_CAN_DO_SDMA))
caps             3779 drivers/mmc/host/sdhci.c 		(host->caps & SDHCI_CAN_DO_ADMA2))
caps             3866 drivers/mmc/host/sdhci.c 		host->max_clk = (host->caps & SDHCI_CLOCK_V3_BASE_MASK)
caps             3869 drivers/mmc/host/sdhci.c 		host->max_clk = (host->caps & SDHCI_CLOCK_BASE_MASK)
caps             3922 drivers/mmc/host/sdhci.c 		host->timeout_clk = (host->caps & SDHCI_TIMEOUT_CLK_MASK) >>
caps             3925 drivers/mmc/host/sdhci.c 		if (host->caps & SDHCI_TIMEOUT_CLK_UNIT)
caps             3953 drivers/mmc/host/sdhci.c 	mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE | MMC_CAP_CMD23;
caps             3981 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             3984 drivers/mmc/host/sdhci.c 		mmc->caps &= ~MMC_CAP_CMD23;
caps             3986 drivers/mmc/host/sdhci.c 	if (host->caps & SDHCI_CAN_DO_HISPD)
caps             3987 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
caps             3992 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             4028 drivers/mmc/host/sdhci.c 		mmc->caps &= ~(MMC_CAP_1_8V_DDR | MMC_CAP_UHS);
caps             4034 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25;
caps             4038 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_UHS_SDR104 | MMC_CAP_UHS_SDR50;
caps             4045 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_UHS_SDR50;
caps             4060 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_UHS_DDR50;
caps             4068 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_DRIVER_TYPE_A;
caps             4070 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_DRIVER_TYPE_C;
caps             4072 drivers/mmc/host/sdhci.c 		mmc->caps |= MMC_CAP_DRIVER_TYPE_D;
caps             4115 drivers/mmc/host/sdhci.c 	if (host->caps & SDHCI_CAN_VDD_330) {
caps             4123 drivers/mmc/host/sdhci.c 	if (host->caps & SDHCI_CAN_VDD_300) {
caps             4131 drivers/mmc/host/sdhci.c 	if (host->caps & SDHCI_CAN_VDD_180) {
caps             4168 drivers/mmc/host/sdhci.c 	if ((mmc->caps & (MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 |
caps             4225 drivers/mmc/host/sdhci.c 		mmc->max_blk_size = (host->caps & SDHCI_MAX_BLOCK_MASK) >>
caps              567 drivers/mmc/host/sdhci.h 	u32 caps;		/* CAPABILITY_0 */
caps              745 drivers/mmc/host/sdhci.h 		       const u32 *caps, const u32 *caps1);
caps              354 drivers/mmc/host/sdhci_am654.c 	if (host->mmc->caps & MMC_CAP_NONREMOVABLE)
caps              428 drivers/mmc/host/sdricoh_cs.c 	mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             1427 drivers/mmc/host/sh_mmcif.c 	mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_WAIT_WHILE_BUSY;
caps             1431 drivers/mmc/host/sh_mmcif.c 	if (pd && pd->caps)
caps             1432 drivers/mmc/host/sh_mmcif.c 		mmc->caps |= pd->caps;
caps             1393 drivers/mmc/host/sunxi-mmc.c 	mmc->caps	       |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
caps             1406 drivers/mmc/host/sunxi-mmc.c 		mmc->caps      |= MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR;
caps             1419 drivers/mmc/host/sunxi-mmc.c 		mmc->caps &= ~(MMC_CAP_3_3V_DDR | MMC_CAP_1_8V_DDR |
caps              970 drivers/mmc/host/tifm_sd.c 	mmc->caps = MMC_CAP_4_BIT_DATA;
caps              652 drivers/mmc/host/tmio_mmc_core.c 	if (mmc->caps & MMC_CAP_SDIO_IRQ && ireg & TMIO_SDIO_STAT_IOIRQ)
caps             1187 drivers/mmc/host/tmio_mmc_core.c 	mmc->caps |= MMC_CAP_ERASE | MMC_CAP_4_BIT_DATA | pdata->capabilities;
caps             1205 drivers/mmc/host/tmio_mmc_core.c 				  mmc->caps & MMC_CAP_NEEDS_POLL ||
caps              639 drivers/mmc/host/toshsd.c 	mmc->caps = MMC_CAP_4_BIT_DATA;
caps               71 drivers/mmc/host/uniphier-sd.c 	unsigned long caps;
caps              308 drivers/mmc/host/uniphier-sd.c 	if (!(priv->caps & UNIPHIER_SD_CAP_BROKEN_DMA_RX))
caps              381 drivers/mmc/host/uniphier-sd.c 	if (priv->caps & UNIPHIER_SD_CAP_EXTENDED_IP)
caps              457 drivers/mmc/host/uniphier-sd.c 	else if (priv->caps & UNIPHIER_SD_CAP_EXTENDED_IP && divisor > 512)
caps              480 drivers/mmc/host/uniphier-sd.c 	if (priv->caps & UNIPHIER_SD_CAP_EXTENDED_IP)
caps              492 drivers/mmc/host/uniphier-sd.c 	if (priv->caps & UNIPHIER_SD_CAP_EXTENDED_IP)
caps              567 drivers/mmc/host/uniphier-sd.c 	priv->caps = (unsigned long)of_device_get_match_data(dev);
caps              582 drivers/mmc/host/uniphier-sd.c 	if (!(priv->caps & UNIPHIER_SD_CAP_EXTENDED_IP)) {
caps              597 drivers/mmc/host/uniphier-sd.c 	if (host->mmc->caps & MMC_CAP_HW_RESET) {
caps              607 drivers/mmc/host/uniphier-sd.c 	if (host->mmc->caps & MMC_CAP_UHS) {
caps              613 drivers/mmc/host/uniphier-sd.c 			host->mmc->caps &= ~MMC_CAP_UHS;
caps              617 drivers/mmc/host/uniphier-sd.c 	if (priv->caps & UNIPHIER_SD_CAP_EXTENDED_IP)
caps              634 drivers/mmc/host/uniphier-sd.c 	if (host->mmc->caps & MMC_CAP_UHS)
caps             1821 drivers/mmc/host/usdhi6rol0.c 		mmc->caps |= MMC_CAP_NEEDS_POLL;
caps             1839 drivers/mmc/host/usdhi6rol0.c 	mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
caps              106 drivers/mmc/host/ushc.c 	u32 caps;
caps              133 drivers/mmc/host/ushc.c 			      0, 0, &ushc->caps, sizeof(ushc->caps), 100);
caps              137 drivers/mmc/host/ushc.c 	ushc->caps = le32_to_cpu(ushc->caps);
caps              139 drivers/mmc/host/ushc.c 	version = ushc->caps & USHC_GET_CAPS_VERSION_MASK;
caps              453 drivers/mmc/host/ushc.c 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
caps              454 drivers/mmc/host/ushc.c 	mmc->caps |= (ushc->caps & USHC_GET_CAPS_HIGH_SPD) ? MMC_CAP_SD_HIGHSPEED : 0;
caps             1034 drivers/mmc/host/via-sdmmc.c 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED;
caps             2128 drivers/mmc/host/vub300.c 	mmc->caps = 0;
caps             2130 drivers/mmc/host/vub300.c 		mmc->caps |= MMC_CAP_4_BIT_DATA;
caps             2132 drivers/mmc/host/vub300.c 		mmc->caps |= MMC_CAP_SDIO_IRQ;
caps             2133 drivers/mmc/host/vub300.c 	mmc->caps &= ~MMC_CAP_NEEDS_POLL;
caps             2140 drivers/mmc/host/vub300.c 		mmc->caps |= MMC_CAP_MMC_HIGHSPEED;
caps             2141 drivers/mmc/host/vub300.c 		mmc->caps |= MMC_CAP_SD_HIGHSPEED;
caps             2145 drivers/mmc/host/vub300.c 		mmc->caps |= MMC_CAP_MMC_HIGHSPEED;
caps             2146 drivers/mmc/host/vub300.c 		mmc->caps |= MMC_CAP_SD_HIGHSPEED;
caps             2297 drivers/mmc/host/vub300.c 		 (mmc->caps & MMC_CAP_SDIO_IRQ) ? "IRQs" : "POLL",
caps             2298 drivers/mmc/host/vub300.c 		 (mmc->caps & MMC_CAP_4_BIT_DATA) ? "4-bit" : "1-bit",
caps             1207 drivers/mmc/host/wbsd.c 	mmc->caps = MMC_CAP_4_BIT_DATA;
caps              179 drivers/mmc/host/wmt-sdmmc.c 	u32		caps;
caps              737 drivers/mmc/host/wmt-sdmmc.c 	.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED |
caps              792 drivers/mmc/host/wmt-sdmmc.c 	mmc->caps = wmt_caps->caps;
caps               31 drivers/mtd/devices/mchp23k256.c 	const struct mchp23_caps	*caps;
caps               51 drivers/mtd/devices/mchp23k256.c 	for (i = flash->caps->addr_width; i > 0; i--, addr >>= 8)
caps               57 drivers/mtd/devices/mchp23k256.c 	return 1 + flash->caps->addr_width;
caps              191 drivers/mtd/devices/mchp23k256.c 	flash->caps = of_device_get_match_data(&spi->dev);
caps              192 drivers/mtd/devices/mchp23k256.c 	if (!flash->caps)
caps              193 drivers/mtd/devices/mchp23k256.c 		flash->caps = &mchp23k256_caps;
caps              200 drivers/mtd/devices/mchp23k256.c 	flash->mtd.size		= flash->caps->size;
caps              198 drivers/mtd/nand/raw/atmel/nand-controller.c 		     const struct atmel_nand_controller_caps *caps);
caps              218 drivers/mtd/nand/raw/atmel/nand-controller.c 	const struct atmel_nand_controller_caps *caps;
caps              641 drivers/mtd/nand/raw/atmel/nand-controller.c 		writeb(cmd, nand->activecs->io.virt + nc->caps->ale_offs);
caps              643 drivers/mtd/nand/raw/atmel/nand-controller.c 		writeb(cmd, nand->activecs->io.virt + nc->caps->cle_offs);
caps             1058 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->caps->legacy_of_bindings) {
caps             1467 drivers/mtd/nand/raw/atmel/nand-controller.c 	return nc->caps->ops->setup_data_interface(nand, csline, conf);
caps             1486 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (!nc->mck || !nc->caps->ops->setup_data_interface)
caps             1677 drivers/mtd/nand/raw/atmel/nand-controller.c 	nc->caps->ops->nand_init(nc, nand);
caps             1796 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->caps->legacy_of_bindings)
caps             1923 drivers/mtd/nand/raw/atmel/nand-controller.c 	ret = nc->caps->ops->ecc_init(chip);
caps             1927 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->caps->legacy_of_bindings || !nc->dev->of_node) {
caps             1964 drivers/mtd/nand/raw/atmel/nand-controller.c 				const struct atmel_nand_controller_caps *caps)
caps             1974 drivers/mtd/nand/raw/atmel/nand-controller.c 	nc->caps = caps;
caps             1987 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->caps->has_dma && !atmel_nand_avoid_dma) {
caps             1999 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->caps->legacy_of_bindings)
caps             2034 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->base.caps->legacy_of_bindings)
caps             2038 drivers/mtd/nand/raw/atmel/nand-controller.c 			      nc->base.caps->ebi_csa_regmap_name, 0);
caps             2267 drivers/mtd/nand/raw/atmel/nand-controller.c 				const struct atmel_nand_controller_caps *caps)
caps             2277 drivers/mtd/nand/raw/atmel/nand-controller.c 	ret = atmel_nand_controller_init(&nc->base, pdev, caps);
caps             2281 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (caps->legacy_of_bindings)
caps             2341 drivers/mtd/nand/raw/atmel/nand-controller.c 				const struct atmel_nand_controller_caps *caps)
caps             2351 drivers/mtd/nand/raw/atmel/nand-controller.c 	ret = atmel_nand_controller_init(&nc->base, pdev, caps);
caps             2502 drivers/mtd/nand/raw/atmel/nand-controller.c 	const struct atmel_nand_controller_caps *caps;
caps             2505 drivers/mtd/nand/raw/atmel/nand-controller.c 		caps = (void *)pdev->id_entry->driver_data;
caps             2507 drivers/mtd/nand/raw/atmel/nand-controller.c 		caps = of_device_get_match_data(&pdev->dev);
caps             2509 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (!caps) {
caps             2514 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (caps->legacy_of_bindings) {
caps             2525 drivers/mtd/nand/raw/atmel/nand-controller.c 			caps = &atmel_sama5_nand_caps;
caps             2535 drivers/mtd/nand/raw/atmel/nand-controller.c 		if (!caps->has_dma &&
caps             2538 drivers/mtd/nand/raw/atmel/nand-controller.c 			caps = &atmel_sam9g45_nand_caps;
caps             2548 drivers/mtd/nand/raw/atmel/nand-controller.c 			caps = &atmel_sam9261_nand_caps;
caps             2551 drivers/mtd/nand/raw/atmel/nand-controller.c 	return caps->ops->probe(pdev, caps);
caps             2558 drivers/mtd/nand/raw/atmel/nand-controller.c 	return nc->caps->ops->remove(nc);
caps              150 drivers/mtd/nand/raw/atmel/pmecc.c 	const struct atmel_pmecc_caps *caps;
caps              309 drivers/mtd/nand/raw/atmel/pmecc.c 	for (i = 0; i < pmecc->caps->nstrengths; i++) {
caps              310 drivers/mtd/nand/raw/atmel/pmecc.c 		int nbytes, strength = pmecc->caps->strengths[i];
caps              392 drivers/mtd/nand/raw/atmel/pmecc.c 	for (strength = 0; strength < pmecc->caps->nstrengths; strength++) {
caps              393 drivers/mtd/nand/raw/atmel/pmecc.c 		if (pmecc->caps->strengths[strength] == req->ecc.strength)
caps              419 drivers/mtd/nand/raw/atmel/pmecc.c 	const int *strengths = user->pmecc->caps->strengths;
caps              716 drivers/mtd/nand/raw/atmel/pmecc.c 				ATMEL_PMERRLOC_EL(pmecc->caps->el_offset, i));
caps              748 drivers/mtd/nand/raw/atmel/pmecc.c 	return user->pmecc->caps->correct_erased_chunks;
caps              832 drivers/mtd/nand/raw/atmel/pmecc.c 					const struct atmel_pmecc_caps *caps,
caps              843 drivers/mtd/nand/raw/atmel/pmecc.c 	pmecc->caps = caps;
caps              954 drivers/mtd/nand/raw/atmel/pmecc.c 		const struct atmel_pmecc_caps *caps;
caps              962 drivers/mtd/nand/raw/atmel/pmecc.c 		caps = &at91sam9g45_caps;
caps              968 drivers/mtd/nand/raw/atmel/pmecc.c 			caps = match->data;
caps              970 drivers/mtd/nand/raw/atmel/pmecc.c 		pmecc = atmel_pmecc_create(pdev, caps, 1, 2);
caps              988 drivers/mtd/nand/raw/atmel/pmecc.c 	const struct atmel_pmecc_caps *caps;
caps              991 drivers/mtd/nand/raw/atmel/pmecc.c 	caps = of_device_get_match_data(&pdev->dev);
caps              992 drivers/mtd/nand/raw/atmel/pmecc.c 	if (!caps) {
caps              997 drivers/mtd/nand/raw/atmel/pmecc.c 	pmecc = atmel_pmecc_create(pdev, caps, 0, 1);
caps              604 drivers/mtd/nand/raw/denali.c 	if (denali->caps & DENALI_CAP_HW_ECC_FIXUP)
caps              676 drivers/mtd/nand/raw/denali.c 	} else if (denali->caps & DENALI_CAP_HW_ECC_FIXUP) {
caps              737 drivers/mtd/nand/raw/denali.c 	if (denali->caps & DENALI_CAP_HW_ECC_FIXUP)
caps             1278 drivers/mtd/nand/raw/denali.c 		int dma_bit = denali->caps & DENALI_CAP_DMA_64BIT ? 64 : 32;
caps             1289 drivers/mtd/nand/raw/denali.c 		if (denali->caps & DENALI_CAP_DMA_64BIT)
caps              380 drivers/mtd/nand/raw/denali.h 	unsigned int caps;
caps               29 drivers/mtd/nand/raw/denali_dt.c 	unsigned int caps;
caps               36 drivers/mtd/nand/raw/denali_dt.c 	.caps = DENALI_CAP_HW_ECC_FIXUP,
caps               43 drivers/mtd/nand/raw/denali_dt.c 	.caps = DENALI_CAP_HW_ECC_FIXUP |
caps               52 drivers/mtd/nand/raw/denali_dt.c 	.caps = DENALI_CAP_HW_ECC_FIXUP |
caps              164 drivers/mtd/nand/raw/denali_dt.c 		denali->caps = data->caps;
caps              400 drivers/mtd/nand/raw/marvell_nand.c 	const struct marvell_nfc_caps *caps;
caps              644 drivers/mtd/nand/raw/marvell_nand.c 		if (!WARN_ON_ONCE(!nfc->caps->is_nfcv2))
caps             1003 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->is_nfcv2)
caps             1115 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->is_nfcv2)
caps             1693 drivers/mtd/nand/raw/marvell_nand.c 			if (nfc->caps->is_nfcv2) {
caps             1707 drivers/mtd/nand/raw/marvell_nand.c 			if (nfc->caps->is_nfcv2) {
caps             2112 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->is_nfcv2)
caps             2177 drivers/mtd/nand/raw/marvell_nand.c 	if (!nfc->caps->is_nfcv2 &&
caps             2196 drivers/mtd/nand/raw/marvell_nand.c 	    (!nfc->caps->is_nfcv2 && ecc->strength > 1)) {
caps             2271 drivers/mtd/nand/raw/marvell_nand.c 		if (!nfc->caps->is_nfcv2 && mtd->writesize != SZ_512 &&
caps             2365 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->is_nfcv2) {
caps             2393 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->is_nfcv2) {
caps             2478 drivers/mtd/nand/raw/marvell_nand.c 	if (pdata || nfc->caps->legacy_of_bindings) {
caps             2533 drivers/mtd/nand/raw/marvell_nand.c 	if (pdata || nfc->caps->legacy_of_bindings) {
caps             2556 drivers/mtd/nand/raw/marvell_nand.c 		if (pdata || nfc->caps->legacy_of_bindings) {
caps             2572 drivers/mtd/nand/raw/marvell_nand.c 		if (cs >= nfc->caps->max_cs_nb) {
caps             2574 drivers/mtd/nand/raw/marvell_nand.c 				cs, nfc->caps->max_cs_nb);
caps             2606 drivers/mtd/nand/raw/marvell_nand.c 		if (pdata || nfc->caps->legacy_of_bindings) {
caps             2620 drivers/mtd/nand/raw/marvell_nand.c 		if (rb >= nfc->caps->max_rb_nb) {
caps             2622 drivers/mtd/nand/raw/marvell_nand.c 				rb, nfc->caps->max_rb_nb);
caps             2680 drivers/mtd/nand/raw/marvell_nand.c 	int max_cs = nfc->caps->max_cs_nb;
caps             2701 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->legacy_of_bindings) {
caps             2809 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->caps->need_system_controller) {
caps             2833 drivers/mtd/nand/raw/marvell_nand.c 	if (!nfc->caps->is_nfcv2)
caps             2906 drivers/mtd/nand/raw/marvell_nand.c 		nfc->caps = (void *)pdev->id_entry->driver_data;
caps             2908 drivers/mtd/nand/raw/marvell_nand.c 		nfc->caps = of_device_get_match_data(&pdev->dev);
caps             2910 drivers/mtd/nand/raw/marvell_nand.c 	if (!nfc->caps) {
caps               56 drivers/mtd/nand/raw/mtk_ecc.c 	const struct mtk_ecc_caps *caps;
caps              138 drivers/mtd/nand/raw/mtk_ecc.c 	dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA])
caps              141 drivers/mtd/nand/raw/mtk_ecc.c 		dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]);
caps              147 drivers/mtd/nand/raw/mtk_ecc.c 			readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]);
caps              154 drivers/mtd/nand/raw/mtk_ecc.c 		enc = readl(ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_STA])
caps              170 drivers/mtd/nand/raw/mtk_ecc.c 	for (i = 0; i < ecc->caps->num_ecc_strength; i++) {
caps              171 drivers/mtd/nand/raw/mtk_ecc.c 		if (ecc->caps->ecc_strength[i] == config->strength)
caps              175 drivers/mtd/nand/raw/mtk_ecc.c 	if (i == ecc->caps->num_ecc_strength) {
caps              187 drivers/mtd/nand/raw/mtk_ecc.c 		reg = ecc_bit | (config->mode << ecc->caps->ecc_mode_shift);
caps              198 drivers/mtd/nand/raw/mtk_ecc.c 			 config->strength * ecc->caps->parity_bits;
caps              200 drivers/mtd/nand/raw/mtk_ecc.c 		reg = ecc_bit | (config->mode << ecc->caps->ecc_mode_shift);
caps              225 drivers/mtd/nand/raw/mtk_ecc.c 		err &= ecc->caps->err_mask;
caps              226 drivers/mtd/nand/raw/mtk_ecc.c 		if (err == ecc->caps->err_mask) {
caps              320 drivers/mtd/nand/raw/mtk_ecc.c 		if (ecc->caps->pg_irq_sel && config->mode == ECC_NFI_MODE)
caps              324 drivers/mtd/nand/raw/mtk_ecc.c 			       ecc->caps->ecc_regs[ECC_ENCIRQ_EN]);
caps              327 drivers/mtd/nand/raw/mtk_ecc.c 			       ecc->caps->ecc_regs[ECC_DECIRQ_EN]);
caps              351 drivers/mtd/nand/raw/mtk_ecc.c 		readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]);
caps              352 drivers/mtd/nand/raw/mtk_ecc.c 		writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_EN]);
caps              354 drivers/mtd/nand/raw/mtk_ecc.c 		writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_EN]);
caps              407 drivers/mtd/nand/raw/mtk_ecc.c 	len = (config->strength * ecc->caps->parity_bits + 7) >> 3;
caps              411 drivers/mtd/nand/raw/mtk_ecc.c 			ecc->regs + ecc->caps->ecc_regs[ECC_ENCPAR00],
caps              427 drivers/mtd/nand/raw/mtk_ecc.c 	const u8 *ecc_strength = ecc->caps->ecc_strength;
caps              430 drivers/mtd/nand/raw/mtk_ecc.c 	for (i = 0; i < ecc->caps->num_ecc_strength; i++) {
caps              440 drivers/mtd/nand/raw/mtk_ecc.c 	*p = ecc_strength[ecc->caps->num_ecc_strength - 1];
caps              446 drivers/mtd/nand/raw/mtk_ecc.c 	return ecc->caps->parity_bits;
caps              506 drivers/mtd/nand/raw/mtk_ecc.c 	ecc->caps = of_device_get_match_data(dev);
caps              508 drivers/mtd/nand/raw/mtk_ecc.c 	max_eccdata_size = ecc->caps->num_ecc_strength - 1;
caps              509 drivers/mtd/nand/raw/mtk_ecc.c 	max_eccdata_size = ecc->caps->ecc_strength[max_eccdata_size];
caps              510 drivers/mtd/nand/raw/mtk_ecc.c 	max_eccdata_size = (max_eccdata_size * ecc->caps->parity_bits + 7) >> 3;
caps              150 drivers/mtd/nand/raw/mtk_nand.c 	const struct mtk_nfc_caps *caps;
caps              368 drivers/mtd/nand/raw/mtk_nand.c 	for (i = 0; i < nfc->caps->num_spare_size; i++) {
caps              369 drivers/mtd/nand/raw/mtk_nand.c 		if (nfc->caps->spare_size[i] == spare)
caps              373 drivers/mtd/nand/raw/mtk_nand.c 	if (i == nfc->caps->num_spare_size) {
caps              378 drivers/mtd/nand/raw/mtk_nand.c 	fmt |= i << nfc->caps->pageformat_spare_shift;
caps              455 drivers/mtd/nand/raw/mtk_nand.c 		reg = (nfc->caps->max_sector << CON_SEC_SHIFT) | CON_BRD;
caps              486 drivers/mtd/nand/raw/mtk_nand.c 		reg = nfc->caps->max_sector << CON_SEC_SHIFT | CON_BWR;
caps              521 drivers/mtd/nand/raw/mtk_nand.c 	rate /= nfc->caps->nfi_clk_div;
caps             1193 drivers/mtd/nand/raw/mtk_nand.c 	const u8 *spare = nfc->caps->spare_size;
caps             1205 drivers/mtd/nand/raw/mtk_nand.c 	for (i = 0; i < nfc->caps->num_spare_size; i++) {
caps             1246 drivers/mtd/nand/raw/mtk_nand.c 			    nfc->caps->max_sector_size > 512) {
caps             1513 drivers/mtd/nand/raw/mtk_nand.c 	nfc->caps = of_device_get_match_data(dev);
caps             5194 drivers/mtd/nand/raw/nand_base.c 		    const struct nand_ecc_caps *caps, int oobavail)
caps             5203 drivers/mtd/nand/raw/nand_base.c 	for (i = 0; i < caps->nstepinfos; i++) {
caps             5204 drivers/mtd/nand/raw/nand_base.c 		stepinfo = &caps->stepinfos[i];
caps             5213 drivers/mtd/nand/raw/nand_base.c 			ecc_bytes = caps->calc_ecc_bytes(preset_step,
caps             5248 drivers/mtd/nand/raw/nand_base.c 		   const struct nand_ecc_caps *caps, int oobavail)
caps             5266 drivers/mtd/nand/raw/nand_base.c 	for (i = 0; i < caps->nstepinfos; i++) {
caps             5267 drivers/mtd/nand/raw/nand_base.c 		stepinfo = &caps->stepinfos[i];
caps             5286 drivers/mtd/nand/raw/nand_base.c 			ecc_bytes = caps->calc_ecc_bytes(step_size, strength);
caps             5329 drivers/mtd/nand/raw/nand_base.c 		  const struct nand_ecc_caps *caps, int oobavail)
caps             5339 drivers/mtd/nand/raw/nand_base.c 	for (i = 0; i < caps->nstepinfos; i++) {
caps             5340 drivers/mtd/nand/raw/nand_base.c 		stepinfo = &caps->stepinfos[i];
caps             5355 drivers/mtd/nand/raw/nand_base.c 			ecc_bytes = caps->calc_ecc_bytes(step_size, strength);
caps             5406 drivers/mtd/nand/raw/nand_base.c 			 const struct nand_ecc_caps *caps, int oobavail)
caps             5414 drivers/mtd/nand/raw/nand_base.c 		return nand_check_ecc_caps(chip, caps, oobavail);
caps             5417 drivers/mtd/nand/raw/nand_base.c 		return nand_maximize_ecc(chip, caps, oobavail);
caps             5419 drivers/mtd/nand/raw/nand_base.c 	if (!nand_match_ecc_req(chip, caps, oobavail))
caps             5422 drivers/mtd/nand/raw/nand_base.c 	return nand_maximize_ecc(chip, caps, oobavail);
caps              249 drivers/mtd/nand/raw/sunxi_nand.c 	const struct sunxi_nfc_caps *caps;
caps              376 drivers/mtd/nand/raw/sunxi_nand.c 	if (nfc->caps->extra_mbus_conf)
caps             2112 drivers/mtd/nand/raw/sunxi_nand.c 	nfc->caps = of_device_get_match_data(&pdev->dev);
caps             2113 drivers/mtd/nand/raw/sunxi_nand.c 	if (!nfc->caps) {
caps             2132 drivers/mtd/nand/raw/sunxi_nand.c 		dmac_cfg.src_addr = r->start + nfc->caps->reg_io_data;
caps             2136 drivers/mtd/nand/raw/sunxi_nand.c 		dmac_cfg.src_maxburst = nfc->caps->dma_maxburst;
caps             2137 drivers/mtd/nand/raw/sunxi_nand.c 		dmac_cfg.dst_maxburst = nfc->caps->dma_maxburst;
caps             2140 drivers/mtd/nand/raw/sunxi_nand.c 		if (nfc->caps->extra_mbus_conf)
caps             1561 drivers/net/ethernet/amazon/ena/ena_com.c 	u32 caps = ena_com_reg_bar_read32(ena_dev, ENA_REGS_CAPS_OFF);
caps             1564 drivers/net/ethernet/amazon/ena/ena_com.c 	if (unlikely(caps == ENA_MMIO_READ_TIMEOUT)) {
caps             1569 drivers/net/ethernet/amazon/ena/ena_com.c 	width = (caps & ENA_REGS_CAPS_DMA_ADDR_WIDTH_MASK) >>
caps               78 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c 				     const struct aq_hw_caps_s **caps)
caps               90 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c 			*caps = hw_atl_boards[i].caps;
caps               19 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h 	const struct aq_hw_caps_s *caps;
caps             4488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	u16 caps = 0;
caps             4512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY;
caps             4515 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY;
caps             4518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY;
caps             4521 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY;
caps             4524 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY;
caps             4527 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY;
caps             4530 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY;
caps             4533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY;
caps             4536 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY;
caps             4550 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 		caps |= ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY;
caps             4553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	data->capabilities = cpu_to_le16(caps);
caps              260 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->vfdev_info.caps |= VF_CAP_SUPPORT_EXT_BULLETIN;
caps              262 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	req->vfdev_info.caps |= VF_CAP_SUPPORT_VLAN_FILTER;
caps             1446 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	if (acquire->vfdev_info.caps & VF_CAP_SUPPORT_EXT_BULLETIN) {
caps             1454 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	if (acquire->vfdev_info.caps & VF_CAP_SUPPORT_VLAN_FILTER) {
caps              136 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h 		u8 caps;
caps             8837 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			__le16 caps = led->led_state_caps;
caps             8840 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			    !BNXT_LED_ALT_BLINK_CAP(caps)) {
caps             1094 drivers/net/ethernet/cadence/macb.h 	u32			caps;
caps             1193 drivers/net/ethernet/cadence/macb.h 	u32			caps;
caps             1284 drivers/net/ethernet/cadence/macb.h 	return !!(bp->caps & MACB_CAPS_MACB_IS_GEM);
caps             1289 drivers/net/ethernet/cadence/macb.h 	return !!(bp->caps & MACB_CAPS_GEM_HAS_PTP);
caps              467 drivers/net/ethernet/cadence/macb_main.c 			    bp->caps & MACB_CAPS_GIGABIT_MODE_AVAILABLE)
caps              568 drivers/net/ethernet/cadence/macb_main.c 	if (macb_is_gem(bp) && bp->caps & MACB_CAPS_GIGABIT_MODE_AVAILABLE)
caps              573 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_NO_GIGABIT_HALF)
caps              846 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1289 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1359 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1386 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1403 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1416 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1445 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1456 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             1464 drivers/net/ethernet/cadence/macb_main.c 			if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             2108 drivers/net/ethernet/cadence/macb_main.c 		if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
caps             2244 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_JUMBO)
caps             2256 drivers/net/ethernet/cadence/macb_main.c 	if ((bp->caps & MACB_CAPS_JUMBO) && bp->jumbo_max_len)
caps             2261 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_JUMBO)
caps             2698 drivers/net/ethernet/cadence/macb_main.c 	if (!(bp->caps & MACB_CAPS_USRIO_DISABLED))
caps             3325 drivers/net/ethernet/cadence/macb_main.c 		bp->caps = dt_conf->caps;
caps             3328 drivers/net/ethernet/cadence/macb_main.c 		bp->caps |= MACB_CAPS_MACB_IS_GEM;
caps             3332 drivers/net/ethernet/cadence/macb_main.c 			bp->caps |= MACB_CAPS_ISR_CLEAR_ON_WRITE;
caps             3335 drivers/net/ethernet/cadence/macb_main.c 			bp->caps |= MACB_CAPS_FIFO_MODE;
caps             3348 drivers/net/ethernet/cadence/macb_main.c 	dev_dbg(&bp->pdev->dev, "Cadence caps 0x%08x\n", bp->caps);
caps             3572 drivers/net/ethernet/cadence/macb_main.c 	if (macb_is_gem(bp) && !(bp->caps & MACB_CAPS_FIFO_MODE))
caps             3574 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_SG_DISABLED)
caps             3602 drivers/net/ethernet/cadence/macb_main.c 	if (!(bp->caps & MACB_CAPS_USRIO_DISABLED)) {
caps             3607 drivers/net/ethernet/cadence/macb_main.c 			 (bp->caps & MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII))
caps             3609 drivers/net/ethernet/cadence/macb_main.c 		else if (!(bp->caps & MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII))
caps             3612 drivers/net/ethernet/cadence/macb_main.c 		if (bp->caps & MACB_CAPS_USRIO_HAS_CLKEN)
caps             4065 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO |
caps             4074 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
caps             4080 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_SG_DISABLED
caps             4087 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE,
caps             4094 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
caps             4101 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE
caps             4110 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
caps             4117 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_NEEDS_RSTONUBR,
caps             4123 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_USRIO_DISABLED,
caps             4129 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE |
caps             4139 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_NO_GIGABIT_HALF |
caps             4169 drivers/net/ethernet/cadence/macb_main.c 	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE |
caps             4286 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_JUMBO)
caps             4291 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_BD_RD_PREFETCH) {
caps             4304 drivers/net/ethernet/cadence/macb_main.c 	if (bp->caps & MACB_CAPS_NEEDS_RSTONUBR)
caps             4446 drivers/net/ethernet/cadence/macb_main.c 		if (!(bp->caps & MACB_CAPS_USRIO_DISABLED))
caps             4483 drivers/net/ethernet/cadence/macb_main.c 		if (!(bp->caps & MACB_CAPS_USRIO_DISABLED))
caps              276 drivers/net/ethernet/chelsio/cxgb/common.h 	unsigned long           caps;
caps              322 drivers/net/ethernet/chelsio/cxgb/common.h #define is_10G(adapter) (board_info(adapter)->caps & SUPPORTED_10000baseT_Full)
caps              369 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c 	if ((board_info(adapter)->caps & SUPPORTED_TP) &&
caps              274 drivers/net/ethernet/chelsio/cxgb/subr.c 	if (!(bi->caps & SUPPORTED_10000baseT_Full))
caps              395 drivers/net/ethernet/chelsio/cxgb/subr.c 		.caps		= SUPPORTED_10000baseT_Full,
caps              417 drivers/net/ethernet/chelsio/cxgb/subr.c 		.caps		= SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE,
caps              437 drivers/net/ethernet/chelsio/cxgb/subr.c 		.caps		= SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE,
caps              457 drivers/net/ethernet/chelsio/cxgb/subr.c 		.caps		= SUPPORTED_10000baseT_Full,
caps              479 drivers/net/ethernet/chelsio/cxgb/subr.c 		.caps		= SUPPORTED_10000baseT_Full,
caps              502 drivers/net/ethernet/chelsio/cxgb/subr.c 		.caps		= SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full
caps             1033 drivers/net/ethernet/chelsio/cxgb/subr.c 	lc->supported = bi->caps;
caps              170 drivers/net/ethernet/chelsio/cxgb3/common.h 	unsigned long caps;	/* adapter capabilities */
caps              551 drivers/net/ethernet/chelsio/cxgb3/common.h 	unsigned int caps;		/* PHY capabilities */
caps              580 drivers/net/ethernet/chelsio/cxgb3/common.h 			      unsigned int caps, const char *desc)
caps              582 drivers/net/ethernet/chelsio/cxgb3/common.h 	phy->caps = caps;
caps              619 drivers/net/ethernet/chelsio/cxgb3/common.h 	return adapter_info(adap)->caps & SUPPORTED_AUI;
caps              624 drivers/net/ethernet/chelsio/cxgb3/common.h 	return adapter_info(adap)->caps & SUPPORTED_10000baseT_Full;
caps             2673 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		if (!(p->phy.caps & SUPPORTED_IRQ) && netif_running(dev)) {
caps             1900 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (!(p->phy.caps & SUPPORTED_IRQ))
caps             1979 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if ((adap2pinfo(adap, i)->phy.caps & SUPPORTED_IRQ) &&
caps             3492 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static void init_link_config(struct link_config *lc, unsigned int caps)
caps             3494 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	lc->supported = caps;
caps             3762 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		init_link_config(&p->link_config, p->phy.caps);
caps             3770 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (!(p->phy.caps & SUPPORTED_IRQ) &&
caps              388 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c 	phy->caps = SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg |
caps              686 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c static u8 cxgb4_getcap(struct net_device *dev, int cap_id, u8 *caps)
caps              693 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = true;
caps              698 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = 0x80;
caps              703 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = 0x80;
caps              707 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = true;
caps              712 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = false;
caps              716 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = pi->dcb.supported;
caps              720 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*caps = false;
caps             8468 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c static unsigned int fwcap_to_speed(fw_port_cap32_t caps)
caps             8472 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 			if (caps & FW_PORT_CAP32_SPEED_##__caps_speed) \
caps              395 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c static unsigned int fwcap_to_speed(fw_port_cap32_t caps)
caps              399 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 			if (caps & FW_PORT_CAP32_SPEED_##__caps_speed) \
caps               19 drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c 	struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps);
caps              130 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	u32 caps;
caps              132 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	caps = VIRTCHNL_VF_OFFLOAD_L2 |
caps              148 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 					(u8 *)&caps, sizeof(caps));
caps              926 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h 	u8 caps;
caps              997 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h 	u8 caps;
caps             1630 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_hw_common_caps *caps;
caps             1641 drivers/net/ethernet/intel/ice/ice_common.c 		caps = &dev_p->common_cap;
caps             1645 drivers/net/ethernet/intel/ice/ice_common.c 		caps = &func_p->common_cap;
caps             1652 drivers/net/ethernet/intel/ice/ice_common.c 	for (i = 0; caps && i < cap_count; i++, cap_resp++) {
caps             1660 drivers/net/ethernet/intel/ice/ice_common.c 			caps->valid_functions = number;
caps             1663 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->valid_functions);
caps             1666 drivers/net/ethernet/intel/ice/ice_common.c 			caps->sr_iov_1_1 = (number == 1);
caps             1669 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->sr_iov_1_1);
caps             1707 drivers/net/ethernet/intel/ice/ice_common.c 			caps->dcb = (number == 1);
caps             1708 drivers/net/ethernet/intel/ice/ice_common.c 			caps->active_tc_bitmap = logical_id;
caps             1709 drivers/net/ethernet/intel/ice/ice_common.c 			caps->maxtc = phys_id;
caps             1711 drivers/net/ethernet/intel/ice/ice_common.c 				  "%s: dcb = %d\n", prefix, caps->dcb);
caps             1714 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->active_tc_bitmap);
caps             1716 drivers/net/ethernet/intel/ice/ice_common.c 				  "%s: maxtc = %d\n", prefix, caps->maxtc);
caps             1719 drivers/net/ethernet/intel/ice/ice_common.c 			caps->rss_table_size = number;
caps             1720 drivers/net/ethernet/intel/ice/ice_common.c 			caps->rss_table_entry_width = logical_id;
caps             1723 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->rss_table_size);
caps             1726 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->rss_table_entry_width);
caps             1729 drivers/net/ethernet/intel/ice/ice_common.c 			caps->num_rxq = number;
caps             1730 drivers/net/ethernet/intel/ice/ice_common.c 			caps->rxq_first_id = phys_id;
caps             1733 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->num_rxq);
caps             1736 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->rxq_first_id);
caps             1739 drivers/net/ethernet/intel/ice/ice_common.c 			caps->num_txq = number;
caps             1740 drivers/net/ethernet/intel/ice/ice_common.c 			caps->txq_first_id = phys_id;
caps             1743 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->num_txq);
caps             1746 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->txq_first_id);
caps             1749 drivers/net/ethernet/intel/ice/ice_common.c 			caps->num_msix_vectors = number;
caps             1750 drivers/net/ethernet/intel/ice/ice_common.c 			caps->msix_vector_first_id = phys_id;
caps             1753 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->num_msix_vectors);
caps             1756 drivers/net/ethernet/intel/ice/ice_common.c 				  caps->msix_vector_first_id);
caps             1759 drivers/net/ethernet/intel/ice/ice_common.c 			caps->max_mtu = number;
caps             1761 drivers/net/ethernet/intel/ice/ice_common.c 				  prefix, caps->max_mtu);
caps             2195 drivers/net/ethernet/intel/ice/ice_common.c 	if (cfg->caps & ~ICE_AQ_PHY_ENA_VALID_MASK) {
caps             2198 drivers/net/ethernet/intel/ice/ice_common.c 			  cfg->caps);
caps             2200 drivers/net/ethernet/intel/ice/ice_common.c 		cfg->caps &= ICE_AQ_PHY_ENA_VALID_MASK;
caps             2211 drivers/net/ethernet/intel/ice/ice_common.c 	ice_debug(hw, ICE_DBG_LINK, "caps = 0x%x\n", cfg->caps);
caps             2311 drivers/net/ethernet/intel/ice/ice_common.c 	cfg.caps = pcaps->caps & ~(ICE_AQC_PHY_EN_TX_LINK_PAUSE |
caps             2315 drivers/net/ethernet/intel/ice/ice_common.c 	cfg.caps |= pause_mask;
caps             2318 drivers/net/ethernet/intel/ice/ice_common.c 	if (cfg.caps != pcaps->caps) {
caps             2323 drivers/net/ethernet/intel/ice/ice_common.c 			cfg.caps |= ICE_AQ_PHY_ENA_AUTO_LINK_UPDT;
caps             2370 drivers/net/ethernet/intel/ice/ice_common.c ice_copy_phy_caps_to_cfg(struct ice_aqc_get_phy_caps_data *caps,
caps             2373 drivers/net/ethernet/intel/ice/ice_common.c 	if (!caps || !cfg)
caps             2376 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->phy_type_low = caps->phy_type_low;
caps             2377 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->phy_type_high = caps->phy_type_high;
caps             2378 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->caps = caps->caps;
caps             2379 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->low_power_ctrl = caps->low_power_ctrl;
caps             2380 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->eee_cap = caps->eee_cap;
caps             2381 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->eeer_value = caps->eeer_value;
caps             2382 drivers/net/ethernet/intel/ice/ice_common.c 	cfg->link_fec_opt = caps->link_fec_options;
caps             2421 drivers/net/ethernet/intel/ice/ice_common.c 		cfg->caps &= ICE_AQC_PHY_CAPS_MASK;
caps               85 drivers/net/ethernet/intel/ice/ice_common.h 		    struct ice_aqc_get_phy_caps_data *caps,
caps              103 drivers/net/ethernet/intel/ice/ice_common.h ice_copy_phy_caps_to_cfg(struct ice_aqc_get_phy_caps_data *caps,
caps              946 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ice_aqc_get_phy_caps_data *caps;
caps              964 drivers/net/ethernet/intel/ice/ice_ethtool.c 	caps = devm_kzalloc(&vsi->back->pdev->dev, sizeof(*caps), GFP_KERNEL);
caps              965 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (!caps)
caps              969 drivers/net/ethernet/intel/ice/ice_ethtool.c 				     caps, NULL);
caps              976 drivers/net/ethernet/intel/ice/ice_ethtool.c 	ice_copy_phy_caps_to_cfg(caps, &config);
caps              977 drivers/net/ethernet/intel/ice/ice_ethtool.c 	sw_cfg_caps = caps->caps;
caps              978 drivers/net/ethernet/intel/ice/ice_ethtool.c 	sw_cfg_fec = caps->link_fec_options;
caps              981 drivers/net/ethernet/intel/ice/ice_ethtool.c 	memset(caps, 0, sizeof(*caps));
caps              984 drivers/net/ethernet/intel/ice/ice_ethtool.c 				     caps, NULL);
caps              990 drivers/net/ethernet/intel/ice/ice_ethtool.c 	config.caps |= (caps->caps & ICE_AQC_PHY_EN_AUTO_FEC);
caps              991 drivers/net/ethernet/intel/ice/ice_ethtool.c 	config.link_fec_opt = caps->link_fec_options;
caps              996 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if ((config.caps & ICE_AQ_PHY_ENA_AUTO_FEC) !=
caps              999 drivers/net/ethernet/intel/ice/ice_ethtool.c 		if (caps->caps & ICE_AQC_PHY_AN_MODE)
caps             1000 drivers/net/ethernet/intel/ice/ice_ethtool.c 			config.caps |= ICE_AQ_PHY_ENA_AUTO_LINK_UPDT;
caps             1009 drivers/net/ethernet/intel/ice/ice_ethtool.c 	devm_kfree(&vsi->back->pdev->dev, caps);
caps             1057 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ice_aqc_get_phy_caps_data *caps;
caps             1085 drivers/net/ethernet/intel/ice/ice_ethtool.c 	caps = devm_kzalloc(&vsi->back->pdev->dev, sizeof(*caps), GFP_KERNEL);
caps             1086 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (!caps)
caps             1090 drivers/net/ethernet/intel/ice/ice_ethtool.c 				     caps, NULL);
caps             1097 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->caps & ICE_AQC_PHY_EN_AUTO_FEC)
caps             1099 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN ||
caps             1100 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ ||
caps             1101 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN ||
caps             1102 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_KR_REQ)
caps             1104 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_528_REQ ||
caps             1105 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_544_REQ ||
caps             1106 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN)
caps             1108 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options == 0)
caps             1112 drivers/net/ethernet/intel/ice/ice_ethtool.c 	devm_kfree(&vsi->back->pdev->dev, caps);
caps             2090 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ice_aqc_get_phy_caps_data *caps;
caps             2143 drivers/net/ethernet/intel/ice/ice_ethtool.c 	caps = devm_kzalloc(&vsi->back->pdev->dev, sizeof(*caps), GFP_KERNEL);
caps             2144 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (!caps)
caps             2148 drivers/net/ethernet/intel/ice/ice_ethtool.c 				     ICE_AQC_REPORT_SW_CFG, caps, NULL);
caps             2155 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if ((caps->caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) &&
caps             2156 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    (caps->caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE)) {
caps             2160 drivers/net/ethernet/intel/ice/ice_ethtool.c 	} else if (caps->caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE) {
caps             2163 drivers/net/ethernet/intel/ice/ice_ethtool.c 	} else if (caps->caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE) {
caps             2176 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ ||
caps             2177 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_KR_REQ)
caps             2180 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_528_REQ ||
caps             2181 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_544_REQ)
caps             2185 drivers/net/ethernet/intel/ice/ice_ethtool.c 				     ICE_AQC_REPORT_TOPO_CAP, caps, NULL);
caps             2194 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_10G_KR_40G_KR4_EN ||
caps             2195 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_KR_CLAUSE74_EN)
caps             2197 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_CLAUSE91_EN)
caps             2201 drivers/net/ethernet/intel/ice/ice_ethtool.c 	devm_kfree(&vsi->back->pdev->dev, caps);
caps             2314 drivers/net/ethernet/intel/ice/ice_ethtool.c 				config->caps |= ICE_AQ_PHY_ENA_AUTO_LINK_UPDT;
caps             2331 drivers/net/ethernet/intel/ice/ice_ethtool.c 				config->caps &= ~ICE_AQ_PHY_ENA_AUTO_LINK_UPDT;
caps             2445 drivers/net/ethernet/intel/ice/ice_ethtool.c 	config.caps = abilities->caps & ~ICE_AQC_PHY_AN_MODE;
caps             2446 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (abilities->caps & ICE_AQC_PHY_AN_MODE)
caps             2447 drivers/net/ethernet/intel/ice/ice_ethtool.c 		config.caps |= ICE_AQ_PHY_ENA_AUTO_LINK_UPDT;
caps             2492 drivers/net/ethernet/intel/ice/ice_ethtool.c 	config.caps |= ICE_AQ_PHY_ENA_LINK;
caps             2818 drivers/net/ethernet/intel/ice/ice_ethtool.c 	pause->autoneg = ((pcaps->caps & ICE_AQC_PHY_AN_MODE) ?
caps             2825 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (pcaps->caps & ICE_AQC_PHY_EN_TX_LINK_PAUSE)
caps             2827 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (pcaps->caps & ICE_AQC_PHY_EN_RX_LINK_PAUSE)
caps             2887 drivers/net/ethernet/intel/ice/ice_ethtool.c 	is_an = ((pcaps->caps & ICE_AQC_PHY_AN_MODE) ?
caps              653 drivers/net/ethernet/intel/ice/ice_main.c 	struct ice_aqc_get_phy_caps_data *caps;
caps              750 drivers/net/ethernet/intel/ice/ice_main.c 	caps = devm_kzalloc(&vsi->back->pdev->dev, sizeof(*caps), GFP_KERNEL);
caps              751 drivers/net/ethernet/intel/ice/ice_main.c 	if (!caps) {
caps              757 drivers/net/ethernet/intel/ice/ice_main.c 				     ICE_AQC_REPORT_SW_CFG, caps, NULL);
caps              761 drivers/net/ethernet/intel/ice/ice_main.c 	if (caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_528_REQ ||
caps              762 drivers/net/ethernet/intel/ice/ice_main.c 	    caps->link_fec_options & ICE_AQC_PHY_FEC_25G_RS_544_REQ)
caps              764 drivers/net/ethernet/intel/ice/ice_main.c 	else if (caps->link_fec_options & ICE_AQC_PHY_FEC_10G_KR_40G_KR4_REQ ||
caps              765 drivers/net/ethernet/intel/ice/ice_main.c 		 caps->link_fec_options & ICE_AQC_PHY_FEC_25G_KR_REQ)
caps              770 drivers/net/ethernet/intel/ice/ice_main.c 	devm_kfree(&vsi->back->pdev->dev, caps);
caps             1411 drivers/net/ethernet/intel/ice/ice_main.c 	if (link_up == !!(pcaps->caps & ICE_AQC_PHY_EN_LINK) &&
caps             1423 drivers/net/ethernet/intel/ice/ice_main.c 	cfg->caps = pcaps->caps | ICE_AQ_PHY_ENA_AUTO_LINK_UPDT;
caps             1429 drivers/net/ethernet/intel/ice/ice_main.c 		cfg->caps |= ICE_AQ_PHY_ENA_LINK;
caps             1431 drivers/net/ethernet/intel/ice/ice_main.c 		cfg->caps &= ~ICE_AQ_PHY_ENA_LINK;
caps             3400 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	u16 offset, caps;
caps             3418 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	if (hw->eeprom.ops.read(hw, offset, &caps))
caps             3420 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	if (!(caps & IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN))
caps              217 drivers/net/ethernet/mediatek/mtk_eth_path.c 	if (!MTK_HAS_CAPS(eth->soc->caps, path)) {
caps              223 drivers/net/ethernet/mediatek/mtk_eth_path.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_MUX))
caps              228 drivers/net/ethernet/mediatek/mtk_eth_path.c 		if (MTK_HAS_CAPS(eth->soc->caps, mtk_eth_muxc[i].cap_bit)) {
caps              211 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628) &&
caps              218 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (!MTK_HAS_CAPS(mac->hw->soc->caps,
caps              229 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_RGMII)) {
caps              238 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_SGMII)) {
caps              245 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_GEPHY)) {
caps              258 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		    MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GMAC1_TRGMII)) {
caps              259 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(mac->hw->soc->caps,
caps              323 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ?
caps              462 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	    !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII) &&
caps              464 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	    !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_TRGMII) &&
caps              466 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	    !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_SGMII) &&
caps              509 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_SGMII)) {
caps              514 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII)) {
caps              519 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GEPHY)) {
caps              648 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
caps              849 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps              888 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps              971 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA) ||
caps             1023 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             1041 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             1061 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (!MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
caps             1254 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
caps             1319 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628))
caps             1437 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
caps             1473 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
caps             1560 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             1584 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             1689 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628))
caps             2008 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             2034 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             2047 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             2068 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             2184 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             2282 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
caps             2345 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
caps             2896 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
caps             2904 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
caps             2915 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
caps             2924 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_INFRA)) {
caps             2933 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SGMII)) {
caps             2956 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_INT) && i > 0)
caps             2987 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	eth->hwlro = MTK_HAS_CAPS(eth->soc->caps, MTK_HWLRO);
caps             3004 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_INT)) {
caps             3023 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
caps             3092 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	.caps = MT7623_CAPS | MTK_HWLRO,
caps             3099 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	.caps = MT7621_CAPS,
caps             3107 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	.caps = MT7622_CAPS | MTK_HWLRO,
caps             3114 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	.caps = MT7623_CAPS | MTK_HWLRO,
caps             3122 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	.caps = MT7629_CAPS | MTK_HWLRO,
caps             3129 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	.caps = MT7628_CAPS,
caps              759 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define MTK_HAS_CAPS(caps, _x)		(((caps) & (_x)) == (_x))
caps              794 drivers/net/ethernet/mediatek/mtk_eth_soc.h 	u32		caps;
caps              117 drivers/net/ethernet/mediatek/mtk_sgmii.c 	sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ?
caps              113 drivers/net/ethernet/mellanox/mlx4/catas.c 	if (!(dev->caps.vf_caps & MLX4_VF_CAP_FLAG_RESET)) {
caps              530 drivers/net/ethernet/mellanox/mlx4/cmd.c 		ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr);
caps              828 drivers/net/ethernet/mellanox/mlx4/cmd.c 		out_param = (u64) dev->caps.function | master_addr;
caps              830 drivers/net/ethernet/mellanox/mlx4/cmd.c 		in_param = (u64) dev->caps.function | master_addr;
caps              872 drivers/net/ethernet/mellanox/mlx4/cmd.c 	for (i = 0; i < dev->caps.pkey_table_len[port]; i += 32) {
caps              925 drivers/net/ethernet/mellanox/mlx4/cmd.c 				if (port < 1 || port > dev->caps.num_ports)
caps              927 drivers/net/ethernet/mellanox/mlx4/cmd.c 				table = kcalloc((dev->caps.pkey_table_len[port] / 32) + 1,
caps             1862 drivers/net/ethernet/mellanox/mlx4/cmd.c 	      dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_UPDATE_QP)) {
caps             2005 drivers/net/ethernet/mellanox/mlx4/cmd.c 				      priv->dev.caps.num_ports) + 1;
caps             2007 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
caps             2071 drivers/net/ethernet/mellanox/mlx4/cmd.c 				      priv->dev.caps.num_ports) + 1;
caps             2073 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
caps             2435 drivers/net/ethernet/mellanox/mlx4/cmd.c 		if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QOS_VPP) {
caps             2436 drivers/net/ethernet/mellanox/mlx4/cmd.c 			for (port = 1; port <= dev->caps.num_ports; port++) {
caps             2777 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_fill(actv_ports.ports, dev->caps.num_ports);
caps             2787 drivers/net/ethernet/mellanox/mlx4/cmd.c 		   dev->caps.num_ports));
caps             2797 drivers/net/ethernet/mellanox/mlx4/cmd.c 	unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
caps             2802 drivers/net/ethernet/mellanox/mlx4/cmd.c 	n = find_first_bit(actv_ports.ports, dev->caps.num_ports);
caps             2815 drivers/net/ethernet/mellanox/mlx4/cmd.c 			find_first_bit(actv_ports.ports, dev->caps.num_ports);
caps             2829 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if (port <= 0 || port > dev->caps.num_ports)
caps             2856 drivers/net/ethernet/mellanox/mlx4/cmd.c 				 dev->caps.num_ports))
caps             2867 drivers/net/ethernet/mellanox/mlx4/cmd.c 	int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports)
caps             2870 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, dev->caps.num_ports);
caps             2933 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    !(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QOS_VPP))
caps             3019 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    !(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_VLAN_CONTROL))
caps             3026 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    !(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SVLAN_BY_QP))
caps             3090 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    !(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QOS_VPP))
caps             3137 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_UPDATE_QP)
caps             3177 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    !(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FSM))
caps             3410 drivers/net/ethernet/mellanox/mlx4/cmd.c 				      priv->dev.caps.num_ports) + 1;
caps             3412 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
caps             3422 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if (min_port == max_port && dev->caps.num_ports > 1) {
caps              110 drivers/net/ethernet/mellanox/mlx4/cq.c 			       cqn & (dev->caps.num_cqs - 1));
caps              132 drivers/net/ethernet/mellanox/mlx4/cq.c 	cq = radix_tree_lookup(&cq_table->tree, cqn & (dev->caps.num_cqs - 1));
caps              346 drivers/net/ethernet/mellanox/mlx4/cq.c 	bool sw_cq_init = dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SW_CQ_INIT;
caps              354 drivers/net/ethernet/mellanox/mlx4/cq.c 	if (vector >= dev->caps.num_comp_vectors)
caps              394 drivers/net/ethernet/mellanox/mlx4/cq.c 						  dev->caps.cqe_size);
caps              399 drivers/net/ethernet/mellanox/mlx4/cq.c 					      dev->caps.cqe_size);
caps              472 drivers/net/ethernet/mellanox/mlx4/cq.c 	err = mlx4_bitmap_init(&cq_table->bitmap, dev->caps.num_cqs,
caps              473 drivers/net/ethernet/mellanox/mlx4/cq.c 			       dev->caps.num_cqs - 1, dev->caps.reserved_cqs, 0);
caps               60 drivers/net/ethernet/mellanox/mlx4/crdump.c 	writel(swab32(1), cr_space + dev->caps.health_buffer_addrs +
caps               68 drivers/net/ethernet/mellanox/mlx4/crdump.c 	writel(0, cr_space + dev->caps.health_buffer_addrs +
caps              134 drivers/net/ethernet/mellanox/mlx4/crdump.c 				cr_space + dev->caps.health_buffer_addrs;
caps              164 drivers/net/ethernet/mellanox/mlx4/crdump.c 	if (!dev->caps.health_buffer_addrs) {
caps              280 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	mdev->cycles.shift = freq_to_shift(dev->caps.hca_core_clock);
caps              282 drivers/net/ethernet/mellanox/mlx4/en_clock.c 		clocksource_khz2mult(1000 * dev->caps.hca_core_clock, mdev->cycles.shift);
caps               62 drivers/net/ethernet/mellanox/mlx4/en_cq.c 	cq->buf_size = cq->size * mdev->dev->caps.cqe_size;
caps               66 drivers/net/ethernet/mellanox/mlx4/en_cq.c 	cq->vector = mdev->dev->caps.num_comp_vectors;
caps              172 drivers/net/ethernet/mellanox/mlx4/en_cq.c 	cq->vector = mdev->dev->caps.num_comp_vectors;
caps              551 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c 	if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QCN))
caps              616 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c 	if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QCN))
caps              677 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c 	if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QCN))
caps               96 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		(u16) (mdev->dev->caps.fw_ver >> 32),
caps               97 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		(u16) ((mdev->dev->caps.fw_ver >> 16) & 0xffff),
caps               98 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		(u16) (mdev->dev->caps.fw_ver & 0xffff));
caps              230 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	struct mlx4_caps *caps = &priv->mdev->dev->caps;
caps              243 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (!(caps->flags & mask)) {
caps              249 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (caps->wol_port[priv->port])
caps              280 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (!(priv->mdev->dev->caps.flags & mask))
caps              354 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		return MLX4_EN_NUM_SELF_TEST - !(priv->mdev->dev->caps.flags
caps              458 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (priv->mdev->dev->caps.flags & MLX4_DEV_CAP_FLAG_UC_LOOPBACK)
caps              543 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if ((mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP) &&
caps              879 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL)
caps              934 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (!(priv->mdev->dev->caps.flags2 &
caps             1216 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS_TOP))
caps             1222 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS_XOR))
caps             1733 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	    (mdev->dev->caps.steering_mode !=
caps             1771 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (mdev->dev->caps.steering_mode !=
caps             1889 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS) {
caps             2105 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PORT_BEACON))
caps              128 drivers/net/ethernet/mellanox/mlx4/en_main.c 	if ((priv->mdev->dev->caps.flags2 &
caps              160 drivers/net/ethernet/mellanox/mlx4/en_main.c 	if (params->udp_rss && !(mdev->dev->caps.flags
caps              219 drivers/net/ethernet/mellanox/mlx4/en_main.c 		if (port < 1 || port > dev->caps.num_ports ||
caps              299 drivers/net/ethernet/mellanox/mlx4/en_main.c 	mdev->LSO_support = !!(dev->caps.flags & (1 << 15));
caps              542 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (priv->mdev->dev->caps.tunnel_offload_mode != MLX4_TUNNEL_OFFLOAD_MODE_VXLAN ||
caps              543 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	    priv->mdev->dev->caps.dmfs_high_steer_mode == MLX4_STEERING_DMFS_A0_STATIC)
caps              564 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	switch (dev->caps.steering_mode) {
caps              615 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	switch (dev->caps.steering_mode) {
caps              655 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	en_info(priv, "Steering Mode %d\n", dev->caps.steering_mode);
caps              657 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (dev->caps.steering_mode == MLX4_STEERING_MODE_A0) {
caps              681 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (dev->caps.steering_mode == MLX4_STEERING_MODE_A0) {
caps              702 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (dev->caps.steering_mode != MLX4_STEERING_MODE_A0) {
caps              750 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_USER_MAC_EN))
caps              901 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		switch (mdev->dev->caps.steering_mode) {
caps              960 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	switch (mdev->dev->caps.steering_mode) {
caps             1015 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			switch (mdev->dev->caps.steering_mode) {
caps             1039 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 			switch (mdev->dev->caps.steering_mode) {
caps             1553 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
caps             1787 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.tunnel_offload_mode == MLX4_TUNNEL_OFFLOAD_MODE_VXLAN) {
caps             1805 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.steering_mode != MLX4_STEERING_MODE_A0 &&
caps             1823 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (priv->mdev->dev->caps.tunnel_offload_mode == MLX4_TUNNEL_OFFLOAD_MODE_VXLAN)
caps             1908 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.steering_mode ==
caps             1956 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.steering_mode ==
caps             1981 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.steering_mode != MLX4_STEERING_MODE_A0)
caps             1989 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_REASSIGN_MAC_EN))
caps             2340 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
caps             2420 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS))
caps             2497 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	    !(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN))
caps             2627 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	u64 phys_port_id = mdev->caps.phys_port_id[priv->port];
caps             2685 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (priv->mdev->dev->caps.tunnel_offload_mode != MLX4_TUNNEL_OFFLOAD_MODE_VXLAN)
caps             2712 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (priv->mdev->dev->caps.tunnel_offload_mode != MLX4_TUNNEL_OFFLOAD_MODE_VXLAN)
caps             2755 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QP_RATE_LIMIT))
caps             3157 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	    (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN)) {
caps             3312 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	priv->cqe_factor = (mdev->dev->caps.cqe_size == 64) ? 1 : 0;
caps             3313 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	priv->cqe_size = mdev->dev->caps.cqe_size;
caps             3333 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETS_CFG) {
caps             3346 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	priv->max_mtu = mdev->dev->caps.eth_mtu_cap[priv->port];
caps             3348 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.rx_checksum_flags_port[priv->port] &
caps             3354 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	mlx4_en_u64_to_mac(dev->dev_addr, mdev->dev->caps.def_mac[priv->port]);
caps             3411 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.tunnel_offload_mode ==
caps             3437 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN)) {
caps             3465 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PHV_EN &&
caps             3466 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		    !(mdev->dev->caps.flags2 &
caps             3471 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.flags & MLX4_DEV_CAP_FLAG_FCS_KEEP)
caps             3474 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_IGNORE_FCS)
caps             3477 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.steering_mode ==
caps             3479 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	    mdev->dev->caps.dmfs_high_steer_mode != MLX4_STEERING_DMFS_A0_STATIC)
caps             3482 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.steering_mode != MLX4_STEERING_MODE_A0)
caps             3486 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS_TOP) {
caps             3488 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	} else if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RSS_XOR) {
caps             3523 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.tunnel_offload_mode == MLX4_TUNNEL_OFFLOAD_MODE_VXLAN) {
caps             3542 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
caps              225 drivers/net/ethernet/mellanox/mlx4/en_port.c 	if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN) {
caps               55 drivers/net/ethernet/mellanox/mlx4/en_resources.c 		if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PORT_REMAP)
caps               75 drivers/net/ethernet/mellanox/mlx4/en_resources.c 	    (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_LB_SRC_CHK) &&
caps               88 drivers/net/ethernet/mellanox/mlx4/en_resources.c 	    (mdev->dev->caps.tunnel_offload_mode ==  MLX4_TUNNEL_OFFLOAD_MODE_VXLAN)) {
caps             1082 drivers/net/ethernet/mellanox/mlx4/en_rx.c 	if (mdev->dev->caps.flags & MLX4_DEV_CAP_FLAG_FCS_KEEP) {
caps             1213 drivers/net/ethernet/mellanox/mlx4/en_rx.c 	if (mdev->dev->caps.tunnel_offload_mode == MLX4_TUNNEL_OFFLOAD_MODE_VXLAN) {
caps              185 drivers/net/ethernet/mellanox/mlx4/en_selftest.c 		if (priv->mdev->dev->caps.flags &
caps               89 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV)
caps               91 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RECOVERABLE_ERROR_EVENT)
caps              229 drivers/net/ethernet/mellanox/mlx4/eq.c 	    slave == dev->caps.function ||
caps              317 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (slave >= dev->num_slaves || port > dev->caps.num_ports ||
caps              334 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (slave >= dev->num_slaves || port > dev->caps.num_ports ||
caps              380 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (slave >= dev->num_slaves || port > dev->caps.num_ports ||
caps              510 drivers/net/ethernet/mellanox/mlx4/eq.c 	int eqe_size = dev->caps.eqe_size;
caps              512 drivers/net/ethernet/mellanox/mlx4/eq.c 	while ((eqe = next_eqe_sw(eq, dev->caps.eqe_factor, eqe_size))) {
caps              547 drivers/net/ethernet/mellanox/mlx4/eq.c 				if (!ret && slave != dev->caps.function) {
caps              583 drivers/net/ethernet/mellanox/mlx4/eq.c 				if (!ret && slave != dev->caps.function) {
caps              620 drivers/net/ethernet/mellanox/mlx4/eq.c 					if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) {
caps              656 drivers/net/ethernet/mellanox/mlx4/eq.c 				if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH)
caps              701 drivers/net/ethernet/mellanox/mlx4/eq.c 				if (!ret && slave != dev->caps.function) {
caps              772 drivers/net/ethernet/mellanox/mlx4/eq.c 						if (i == dev->caps.function)
caps              857 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i)
caps              889 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (slave == dev->caps.function)
caps              930 drivers/net/ethernet/mellanox/mlx4/eq.c 	return (dev->caps.num_comp_vectors + 1 + dev->caps.reserved_eqs) / 4 -
caps              931 drivers/net/ethernet/mellanox/mlx4/eq.c 		dev->caps.reserved_eqs / 4 + 1;
caps              939 drivers/net/ethernet/mellanox/mlx4/eq.c 	index = eq->eqn / 4 - dev->caps.reserved_eqs / 4;
caps              987 drivers/net/ethernet/mellanox/mlx4/eq.c 	npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE;
caps             1097 drivers/net/ethernet/mellanox/mlx4/eq.c 	int npages = PAGE_ALIGN(dev->caps.eqe_size  * eq->nent) / PAGE_SIZE;
caps             1124 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i)
caps             1163 drivers/net/ethernet/mellanox/mlx4/eq.c 	priv->eq_table.eq = kcalloc(dev->caps.num_eqs - dev->caps.reserved_eqs,
caps             1191 drivers/net/ethernet/mellanox/mlx4/eq.c 			       roundup_pow_of_two(dev->caps.num_eqs),
caps             1192 drivers/net/ethernet/mellanox/mlx4/eq.c 			       dev->caps.num_eqs - 1,
caps             1193 drivers/net/ethernet/mellanox/mlx4/eq.c 			       dev->caps.reserved_eqs,
caps             1194 drivers/net/ethernet/mellanox/mlx4/eq.c 			       roundup_pow_of_two(dev->caps.num_eqs) -
caps             1195 drivers/net/ethernet/mellanox/mlx4/eq.c 			       dev->caps.num_eqs);
caps             1215 drivers/net/ethernet/mellanox/mlx4/eq.c 			      (dev->caps.num_comp_vectors + 1),
caps             1222 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) {
caps             1231 drivers/net/ethernet/mellanox/mlx4/eq.c 						  dev->caps.num_ports) + 1;
caps             1233 drivers/net/ethernet/mellanox/mlx4/eq.c 			if (port <= dev->caps.num_ports) {
caps             1309 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 1; i <= dev->caps.num_ports; i++) {
caps             1341 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 1; i <= dev->caps.num_ports; i++) {
caps             1350 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i)
caps             1411 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (vector < 0 || (vector >= dev->caps.num_comp_vectors + 1) ||
caps             1425 drivers/net/ethernet/mellanox/mlx4/eq.c 	for (i = 0; i < dev->caps.num_comp_vectors + 1; i++)
caps             1438 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (vector <= 0 || (vector >= dev->caps.num_comp_vectors + 1))
caps             1442 drivers/net/ethernet/mellanox/mlx4/eq.c 				dev->caps.num_ports) > 1);
caps             1462 drivers/net/ethernet/mellanox/mlx4/eq.c 	if (requested_vector < (dev->caps.num_comp_vectors + 1) &&
caps             1476 drivers/net/ethernet/mellanox/mlx4/eq.c 			if (requested_vector < dev->caps.num_comp_vectors + 1 &&
caps             1485 drivers/net/ethernet/mellanox/mlx4/eq.c 		for (i = 0; min_ref_count_val && i < dev->caps.num_comp_vectors + 1;
caps              407 drivers/net/ethernet/mellanox/mlx4/fw.c 			find_first_bit(actv_ports.ports, dev->caps.num_ports);
caps              435 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier],
caps              444 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (dev->caps.phv_bit[port])
caps              465 drivers/net/ethernet/mellanox/mlx4/fw.c 			bitmap_weight(actv_ports.ports, dev->caps.num_ports),
caps              466 drivers/net/ethernet/mellanox/mlx4/fw.c 			dev->caps.num_ports);
caps              469 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.function_caps; /* set PF behaviours */
caps              477 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.num_qps;
caps              482 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.num_srqs;
caps              487 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.num_cqs;
caps              490 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) ||
caps              494 drivers/net/ethernet/mellanox/mlx4/fw.c 				dev->caps.num_eqs :
caps              495 drivers/net/ethernet/mellanox/mlx4/fw.c 				rounddown_pow_of_two(dev->caps.num_eqs);
caps              497 drivers/net/ethernet/mellanox/mlx4/fw.c 			size = dev->caps.reserved_eqs;
caps              511 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.num_mpts;
caps              516 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.num_mtts;
caps              519 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.num_mgms + dev->caps.num_amgms;
caps              527 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->caps.reserved_lkey + ((slave << 8) & 0xFF00);
caps              651 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (gen_or_port > dev->caps.num_ports) {
caps              657 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) {
caps              669 drivers/net/ethernet/mellanox/mlx4/fw.c 	} else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) {
caps             1298 drivers/net/ethernet/mellanox/mlx4/fw.c 	first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
caps             1301 drivers/net/ethernet/mellanox/mlx4/fw.c 	     bitmap_weight(actv_ports.ports, dev->caps.num_ports);
caps             1308 drivers/net/ethernet/mellanox/mlx4/fw.c 	for (; slave_port < dev->caps.num_ports; ++slave_port)
caps             1317 drivers/net/ethernet/mellanox/mlx4/fw.c 	field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F;
caps             1347 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED) {
caps             1438 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (!err && dev->caps.function != slave) {
caps             1449 drivers/net/ethernet/mellanox/mlx4/fw.c 		port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3);
caps             1469 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (dev->caps.port_type[vhcr->in_modifier] == MLX4_PORT_TYPE_ETH)
caps             1476 drivers/net/ethernet/mellanox/mlx4/fw.c 		short_field = dev->caps.pkey_table_len[vhcr->in_modifier];
caps             1660 drivers/net/ethernet/mellanox/mlx4/fw.c 	dev->caps.fw_ver = (fw_ver & 0xffff00000000ull) |
caps             1665 drivers/net/ethernet/mellanox/mlx4/fw.c 	dev->caps.function = lg;
caps             1677 drivers/net/ethernet/mellanox/mlx4/fw.c 			 (int) (dev->caps.fw_ver >> 32),
caps             1678 drivers/net/ethernet/mellanox/mlx4/fw.c 			 (int) (dev->caps.fw_ver >> 16) & 0xffff,
caps             1679 drivers/net/ethernet/mellanox/mlx4/fw.c 			 (int) dev->caps.fw_ver & 0xffff);
caps             1693 drivers/net/ethernet/mellanox/mlx4/fw.c 		 (int) (dev->caps.fw_ver >> 32),
caps             1694 drivers/net/ethernet/mellanox/mlx4/fw.c 		 (int) (dev->caps.fw_ver >> 16) & 0xffff,
caps             1695 drivers/net/ethernet/mellanox/mlx4/fw.c 		 (int) dev->caps.fw_ver & 0xffff,
caps             1914 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_IPOIB_CSUM)
caps             1918 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETS_CFG && enable_qos)
caps             1922 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_COUNTERS)
caps             1926 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_RSS_IP_FRAG)
caps             1930 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_64B_EQE) {
caps             1932 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.eqe_size   = 64;
caps             1933 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.eqe_factor = 1;
caps             1935 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.eqe_size   = 32;
caps             1936 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.eqe_factor = 0;
caps             1939 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags & MLX4_DEV_CAP_FLAG_64B_CQE) {
caps             1941 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.cqe_size   = 64;
caps             1942 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.userspace_caps |= MLX4_USER_DEV_CAP_LARGE_CQE;
caps             1944 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.cqe_size   = 32;
caps             1948 drivers/net/ethernet/mellanox/mlx4/fw.c 	if ((dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_EQE_STRIDE) &&
caps             1949 drivers/net/ethernet/mellanox/mlx4/fw.c 	    (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_CQE_STRIDE)) {
caps             1950 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.eqe_size = cache_line_size();
caps             1951 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.cqe_size = cache_line_size();
caps             1952 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.eqe_factor = 0;
caps             1953 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 |
caps             1954 drivers/net/ethernet/mellanox/mlx4/fw.c 				      (ilog2(dev->caps.eqe_size) - 5)),
caps             1958 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev->caps.userspace_caps |= MLX4_USER_DEV_CAP_LARGE_CQE;
caps             1961 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RECOVERABLE_ERROR_EVENT)
caps             1964 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DRIVER_VERSION_TO_FW) {
caps             1988 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.steering_mode ==
caps             2002 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (dev->caps.dmfs_high_steer_mode !=
caps             2017 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (dev->caps.dmfs_high_steer_mode !=
caps             2020 drivers/net/ethernet/mellanox/mlx4/fw.c 				 ((u8)(a0_dmfs_hw_steering[dev->caps.dmfs_high_steer_mode]
caps             2031 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (dev->caps.steering_mode == MLX4_STEERING_MODE_B0)
caps             2050 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_VXLAN_OFFLOADS) {
caps             2229 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_GET(dev->caps.hca_core_clock, outbox, QUERY_HCA_CORE_CLOCK_OFFSET);
caps             2266 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) {
caps             2322 drivers/net/ethernet/mellanox/mlx4/fw.c 		flags |= (dev->caps.vl_cap[port] & 0xf) << INIT_PORT_VL_SHIFT;
caps             2323 drivers/net/ethernet/mellanox/mlx4/fw.c 		flags |= (dev->caps.port_width_cap[port] & 0xf) << INIT_PORT_PORT_WIDTH_SHIFT;
caps             2326 drivers/net/ethernet/mellanox/mlx4/fw.c 		field = 128 << dev->caps.ib_mtu_cap[port];
caps             2328 drivers/net/ethernet/mellanox/mlx4/fw.c 		field = dev->caps.gid_table_len[port];
caps             2330 drivers/net/ethernet/mellanox/mlx4/fw.c 		field = dev->caps.pkey_table_len[port];
caps             2365 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) {
caps             2485 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_CONFIG_DEV))
caps             2654 drivers/net/ethernet/mellanox/mlx4/fw.c 	for (port = 1; port <= dev->caps.num_ports; port++) {
caps             2666 drivers/net/ethernet/mellanox/mlx4/fw.c 			dev->caps.phys_port_id[port] = (u64)guid_lo |
caps             2746 drivers/net/ethernet/mellanox/mlx4/fw.c 			if (dev->caps.steering_mode ==
caps             2841 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_MAD_DEMUX))
caps             3066 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PHV_EN &&
caps             3067 drivers/net/ethernet/mellanox/mlx4/fw.c 	    !(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN)) {
caps             3070 drivers/net/ethernet/mellanox/mlx4/fw.c 			dev->caps.phv_bit[port] = new_val;
caps             3100 drivers/net/ethernet/mellanox/mlx4/fw.c 	for (i = 1; i <= dev->caps.num_ports; ++i)
caps             3101 drivers/net/ethernet/mellanox/mlx4/fw.c 		if (!dev->caps.def_mac[i] &&
caps             3102 drivers/net/ethernet/mellanox/mlx4/fw.c 		    dev->caps.port_type[i] == MLX4_PORT_TYPE_ETH) {
caps             3105 drivers/net/ethernet/mellanox/mlx4/fw.c 			dev->caps.def_mac[i] = mlx4_mac_to_u64(mac_addr);
caps              138 drivers/net/ethernet/mellanox/mlx4/intf.c 	if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PORT_REMAP))
caps              300 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_uars	=
caps              312 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_DPDP)) {
caps              313 drivers/net/ethernet/mellanox/mlx4/main.c 		for (i = 0; i < dev->caps.num_ports - 1; i++) {
caps              321 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 0; i < dev->caps.num_ports; i++) {
caps              322 drivers/net/ethernet/mellanox/mlx4/main.c 		if (!(port_type[i] & dev->caps.supported_type[i+1])) {
caps              335 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 1; i <= dev->caps.num_ports; ++i)
caps              336 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.port_mask[i] = dev->caps.port_type[i];
caps              348 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) {
caps              364 drivers/net/ethernet/mellanox/mlx4/main.c 	struct mlx4_caps *dev_cap = &dev->caps;
caps              400 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.vl_cap[port]	    = port_cap->max_vl;
caps              401 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.ib_mtu_cap[port]	    = port_cap->ib_mtu;
caps              407 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.gid_table_len[port]  = port_cap->max_gids;
caps              408 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.pkey_table_len[port] = port_cap->max_pkeys;
caps              409 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.port_width_cap[port] = port_cap->max_port_width;
caps              410 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.eth_mtu_cap[port]    = port_cap->eth_mtu;
caps              411 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_tc_eth	       = port_cap->max_tc_eth;
caps              412 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.def_mac[port]        = port_cap->def_mac;
caps              413 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.supported_type[port] = port_cap->supported_port_types;
caps              414 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.suggested_type[port] = port_cap->suggested_type;
caps              415 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.default_sense[port] = port_cap->default_sense;
caps              416 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.trans_type[port]	    = port_cap->trans_type;
caps              417 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.vendor_oui[port]     = port_cap->vendor_oui;
caps              418 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.wavelength[port]     = port_cap->wavelength;
caps              419 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.trans_code[port]     = port_cap->trans_code;
caps              439 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_IGNORE_FCS))
caps              444 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS;
caps              448 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_FCS_KEEP)) {
caps              451 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS;
caps              488 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_ports	     = dev_cap->num_ports;
caps              489 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_sys_eqs = dev_cap->num_sys_eqs;
caps              491 drivers/net/ethernet/mellanox/mlx4/main.c 				      dev->caps.num_sys_eqs :
caps              493 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 1; i <= dev->caps.num_ports; ++i) {
caps              501 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.uar_page_size	     = PAGE_SIZE;
caps              502 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_uars	     = dev_cap->uar_size / PAGE_SIZE;
caps              503 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.local_ca_ack_delay = dev_cap->local_ca_ack_delay;
caps              504 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.bf_reg_size	     = dev_cap->bf_reg_size;
caps              505 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.bf_regs_per_page   = dev_cap->bf_regs_per_page;
caps              506 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_sq_sg	     = dev_cap->max_sq_sg;
caps              507 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_rq_sg	     = dev_cap->max_rq_sg;
caps              508 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_wqes	     = dev_cap->max_qp_sz;
caps              509 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_qp_init_rdma   = dev_cap->max_requester_per_qp;
caps              510 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_srq_wqes	     = dev_cap->max_srq_sz;
caps              511 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_srq_sge	     = dev_cap->max_rq_sg - 1;
caps              512 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_srqs	     = dev_cap->reserved_srqs;
caps              513 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_sq_desc_sz     = dev_cap->max_sq_desc_sz;
caps              514 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_rq_desc_sz     = dev_cap->max_rq_desc_sz;
caps              519 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_cqes	     = dev_cap->max_cq_sz - 1;
caps              520 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_cqs	     = dev_cap->reserved_cqs;
caps              521 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_eqs	     = dev_cap->reserved_eqs;
caps              522 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_mtts      = dev_cap->reserved_mtts;
caps              523 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_mrws	     = dev_cap->reserved_mrws;
caps              525 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_pds	     = dev_cap->reserved_pds;
caps              526 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_xrcds     = (dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC) ?
caps              528 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_xrcds          = (dev->caps.flags & MLX4_DEV_CAP_FLAG_XRC) ?
caps              530 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.mtt_entry_sz       = dev_cap->mtt_entry_sz;
caps              532 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_msg_sz         = dev_cap->max_msg_sz;
caps              533 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.page_size_cap	     = ~(u32) (dev_cap->min_page_sz - 1);
caps              534 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.flags		     = dev_cap->flags;
caps              535 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.flags2	     = dev_cap->flags2;
caps              536 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.bmme_flags	     = dev_cap->bmme_flags;
caps              537 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_lkey	     = dev_cap->reserved_lkey;
caps              538 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.stat_rate_support  = dev_cap->stat_rate_support;
caps              539 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_gso_sz	     = dev_cap->max_gso_sz;
caps              540 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_rss_tbl_sz     = dev_cap->max_rss_tbl_sz;
caps              541 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.wol_port[1]          = dev_cap->wol_port[1];
caps              542 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.wol_port[2]          = dev_cap->wol_port[2];
caps              543 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.health_buffer_addrs  = dev_cap->health_buffer_addrs;
caps              558 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PHV_EN) {
caps              570 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_PHV_EN;
caps              575 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.flags |= MLX4_DEV_CAP_FLAG_SENSE_SUPPORT;
caps              578 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.flags &= ~MLX4_DEV_CAP_FLAG_SENSE_SUPPORT;
caps              581 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.log_num_macs  = MLX4_MIN_LOG_NUM_MAC;
caps              582 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.log_num_vlans = MLX4_MIN_LOG_NUM_VLANS;
caps              584 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.log_num_macs  = log_num_mac;
caps              585 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.log_num_vlans = MLX4_LOG_NUM_VLANS;
caps              588 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 1; i <= dev->caps.num_ports; ++i) {
caps              589 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE;
caps              590 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.supported_type[i]) {
caps              592 drivers/net/ethernet/mellanox/mlx4/main.c 			if (dev->caps.supported_type[i] == MLX4_PORT_TYPE_ETH)
caps              593 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH;
caps              595 drivers/net/ethernet/mellanox/mlx4/main.c 			else if (dev->caps.supported_type[i] ==
caps              597 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.port_type[i] = MLX4_PORT_TYPE_IB;
caps              603 drivers/net/ethernet/mellanox/mlx4/main.c 					dev->caps.port_type[i] = dev->caps.suggested_type[i] ?
caps              606 drivers/net/ethernet/mellanox/mlx4/main.c 					dev->caps.port_type[i] = port_type_array[i - 1];
caps              616 drivers/net/ethernet/mellanox/mlx4/main.c 			((dev->caps.supported_type[i] == MLX4_PORT_TYPE_AUTO) &&
caps              617 drivers/net/ethernet/mellanox/mlx4/main.c 			 (dev->caps.flags & MLX4_DEV_CAP_FLAG_DPDP) &&
caps              618 drivers/net/ethernet/mellanox/mlx4/main.c 			 (dev->caps.flags & MLX4_DEV_CAP_FLAG_SENSE_SUPPORT));
caps              625 drivers/net/ethernet/mellanox/mlx4/main.c 		if (mlx4_priv(dev)->sense.sense_allowed[i] && dev->caps.default_sense[i]) {
caps              627 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.possible_type[i] = MLX4_PORT_TYPE_AUTO;
caps              630 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.port_type[i] = sensed_port;
caps              632 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.possible_type[i] = dev->caps.port_type[i];
caps              635 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.log_num_macs > dev_cap->port_cap[i].log_max_macs) {
caps              636 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.log_num_macs = dev_cap->port_cap[i].log_max_macs;
caps              638 drivers/net/ethernet/mellanox/mlx4/main.c 				  i, 1 << dev->caps.log_num_macs);
caps              640 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.log_num_vlans > dev_cap->port_cap[i].log_max_vlans) {
caps              641 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.log_num_vlans = dev_cap->port_cap[i].log_max_vlans;
caps              643 drivers/net/ethernet/mellanox/mlx4/main.c 				  i, 1 << dev->caps.log_num_vlans);
caps              647 drivers/net/ethernet/mellanox/mlx4/main.c 	if (mlx4_is_master(dev) && (dev->caps.num_ports == 2) &&
caps              652 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_QOS_VPP;
caps              655 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_counters = dev_cap->max_counters;
caps              657 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW] = dev_cap->reserved_qps;
caps              658 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_qps_cnt[MLX4_QP_REGION_ETH_ADDR] =
caps              659 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FC_ADDR] =
caps              660 drivers/net/ethernet/mellanox/mlx4/main.c 		(1 << dev->caps.log_num_macs) *
caps              661 drivers/net/ethernet/mellanox/mlx4/main.c 		(1 << dev->caps.log_num_vlans) *
caps              662 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_ports;
caps              663 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FC_EXCH] = MLX4_NUM_FEXCH;
caps              666 drivers/net/ethernet/mellanox/mlx4/main.c 	    dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FS_EN)
caps              667 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_rate_qpn_base = dev_cap->dmfs_high_rate_qpn_base;
caps              669 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_rate_qpn_base =
caps              670 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW];
caps              673 drivers/net/ethernet/mellanox/mlx4/main.c 	    dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FS_EN) {
caps              674 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_rate_qpn_range = dev_cap->dmfs_high_rate_qpn_range;
caps              675 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_steer_mode = MLX4_STEERING_DMFS_A0_DEFAULT;
caps              676 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.flags2 |= MLX4_DEV_CAP_FLAG2_FS_A0;
caps              678 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_steer_mode = MLX4_STEERING_DMFS_A0_NOT_SUPPORTED;
caps              679 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_rate_qpn_base =
caps              680 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW];
caps              681 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_rate_qpn_range = MLX4_A0_STEERING_TABLE_SIZE;
caps              684 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.rl_caps = dev_cap->rl_caps;
caps              686 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_qps_cnt[MLX4_QP_REGION_RSS_RAW_ETH] =
caps              687 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.dmfs_high_rate_qpn_range;
caps              689 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_qps = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW] +
caps              690 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.reserved_qps_cnt[MLX4_QP_REGION_ETH_ADDR] +
caps              691 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FC_ADDR] +
caps              692 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FC_EXCH];
caps              694 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.sqp_demux = (mlx4_is_master(dev)) ? MLX4_MAX_NUM_SLAVES : 0;
caps              700 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.flags &= ~MLX4_DEV_CAP_FLAG_64B_CQE;
caps              701 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.flags &= ~MLX4_DEV_CAP_FLAG_64B_EQE;
caps              713 drivers/net/ethernet/mellanox/mlx4/main.c 	if ((dev->caps.flags &
caps              716 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.function_caps |= MLX4_FUNC_CAP_64B_EQE_CQE;
caps              720 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.alloc_res_qp_mask =
caps              721 drivers/net/ethernet/mellanox/mlx4/main.c 			(dev->caps.bf_reg_size ? MLX4_RESERVE_ETH_BF_QP : 0) |
caps              724 drivers/net/ethernet/mellanox/mlx4/main.c 		if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETS_CFG) &&
caps              725 drivers/net/ethernet/mellanox/mlx4/main.c 		    dev->caps.flags & MLX4_DEV_CAP_FLAG_SET_ETH_SCHED) {
caps              728 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.flags2 |= MLX4_DEV_CAP_FLAG2_ETS_CFG;
caps              732 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.alloc_res_qp_mask = 0;
caps              845 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.steering_mode = hca_param->steering_mode;
caps              846 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) {
caps              847 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_qp_per_mgm = dev_cap->fs_max_num_qp_per_entry;
caps              848 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.fs_log_max_ucast_qp_range_size =
caps              851 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_qp_per_mgm =
caps              855 drivers/net/ethernet/mellanox/mlx4/main.c 		 mlx4_steering_mode_str(dev->caps.steering_mode));
caps              860 drivers/net/ethernet/mellanox/mlx4/main.c 	kfree(dev->caps.spec_qps);
caps              861 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.spec_qps = NULL;
caps              867 drivers/net/ethernet/mellanox/mlx4/main.c 	struct mlx4_caps *caps = &dev->caps;
caps              871 drivers/net/ethernet/mellanox/mlx4/main.c 	caps->spec_qps = kcalloc(caps->num_ports, sizeof(*caps->spec_qps), GFP_KERNEL);
caps              873 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!func_cap || !caps->spec_qps) {
caps              879 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 1; i <= caps->num_ports; ++i) {
caps              886 drivers/net/ethernet/mellanox/mlx4/main.c 		caps->spec_qps[i - 1] = func_cap->spec_qps;
caps              887 drivers/net/ethernet/mellanox/mlx4/main.c 		caps->port_mask[i] = caps->port_type[i];
caps              888 drivers/net/ethernet/mellanox/mlx4/main.c 		caps->phys_port_id[i] = func_cap->phys_port_id;
caps              890 drivers/net/ethernet/mellanox/mlx4/main.c 						      &caps->gid_table_len[i],
caps              891 drivers/net/ethernet/mellanox/mlx4/main.c 						      &caps->pkey_table_len[i]);
caps              938 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.hca_core_clock = hca_param->hca_core_clock;
caps              940 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.max_qp_dest_rdma = 1 << hca_param->log_rd_per_qp;
caps              951 drivers/net/ethernet/mellanox/mlx4/main.c 	page_size = ~dev->caps.page_size_cap + 1;
caps              978 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.uar_page_size = PAGE_SIZE;
caps              996 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_ports		= func_cap->num_ports;
caps             1002 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_qps		= 1 << hca_param->log_num_qps;
caps             1003 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_srqs		= 1 << hca_param->log_num_srqs;
caps             1004 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_cqs		= 1 << hca_param->log_num_cqs;
caps             1005 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_mpts		= 1 << hca_param->log_mpt_sz;
caps             1006 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_eqs		= func_cap->max_eq;
caps             1007 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_eqs		= func_cap->reserved_eq;
caps             1008 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_lkey		= func_cap->reserved_lkey;
caps             1009 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_pds               = MLX4_NUM_PDS;
caps             1010 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_mgms              = 0;
caps             1011 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_amgms             = 0;
caps             1013 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.num_ports > MLX4_MAX_PORTS) {
caps             1015 drivers/net/ethernet/mellanox/mlx4/main.c 			 dev->caps.num_ports, MLX4_MAX_PORTS);
caps             1028 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.uar_page_size * (dev->caps.num_uars -
caps             1029 drivers/net/ethernet/mellanox/mlx4/main.c 				       dev->caps.reserved_uars) >
caps             1033 drivers/net/ethernet/mellanox/mlx4/main.c 			 dev->caps.uar_page_size * dev->caps.num_uars,
caps             1041 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.eqe_size   = 64;
caps             1042 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.eqe_factor = 1;
caps             1044 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.eqe_size   = 32;
caps             1045 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.eqe_factor = 0;
caps             1049 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.cqe_size   = 64;
caps             1050 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.userspace_caps |= MLX4_USER_DEV_CAP_LARGE_CQE;
caps             1052 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.cqe_size   = 32;
caps             1056 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.eqe_size = hca_param->eqe_size;
caps             1057 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.eqe_factor = 0;
caps             1061 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.cqe_size = hca_param->cqe_size;
caps             1063 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.userspace_caps |= MLX4_USER_DEV_CAP_LARGE_CQE;
caps             1066 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_TS;
caps             1069 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_USER_MAC_EN;
caps             1077 drivers/net/ethernet/mellanox/mlx4/main.c 	    dev->caps.bf_reg_size)
caps             1078 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.alloc_res_qp_mask |= MLX4_RESERVE_ETH_BF_QP;
caps             1081 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.alloc_res_qp_mask |= MLX4_RESERVE_A0_QP;
caps             1101 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 1; port <= dev->caps.num_ports; port++) {
caps             1102 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.port_type[port] == MLX4_PORT_TYPE_IB)
caps             1104 drivers/net/ethernet/mellanox/mlx4/main.c 		else if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH)
caps             1110 drivers/net/ethernet/mellanox/mlx4/main.c 	if (has_ib_port || (dev->caps.flags & MLX4_DEV_CAP_FLAG_IBOE))
caps             1125 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 0; port <  dev->caps.num_ports; port++) {
caps             1128 drivers/net/ethernet/mellanox/mlx4/main.c 		if (port_types[port] != dev->caps.port_type[port + 1])
caps             1133 drivers/net/ethernet/mellanox/mlx4/main.c 		for (port = 1; port <= dev->caps.num_ports; port++) {
caps             1135 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.port_type[port] = port_types[port - 1];
caps             1166 drivers/net/ethernet/mellanox/mlx4/main.c 		(mdev->caps.port_type[info->port] == MLX4_PORT_TYPE_IB) ?
caps             1168 drivers/net/ethernet/mellanox/mlx4/main.c 	if (mdev->caps.possible_type[info->port] == MLX4_PORT_TYPE_AUTO)
caps             1186 drivers/net/ethernet/mellanox/mlx4/main.c 	if ((port_type & mdev->caps.supported_type[info->port]) != port_type) {
caps             1198 drivers/net/ethernet/mellanox/mlx4/main.c 	mdev->caps.possible_type[info->port] = info->tmp_type;
caps             1200 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 0; i < mdev->caps.num_ports; i++) {
caps             1202 drivers/net/ethernet/mellanox/mlx4/main.c 					mdev->caps.possible_type[i+1];
caps             1204 drivers/net/ethernet/mellanox/mlx4/main.c 			types[i] = mdev->caps.port_type[i+1];
caps             1207 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(mdev->caps.flags & MLX4_DEV_CAP_FLAG_DPDP) &&
caps             1208 drivers/net/ethernet/mellanox/mlx4/main.c 	    !(mdev->caps.flags & MLX4_DEV_CAP_FLAG_SENSE_SUPPORT)) {
caps             1209 drivers/net/ethernet/mellanox/mlx4/main.c 		for (i = 1; i <= mdev->caps.num_ports; i++) {
caps             1210 drivers/net/ethernet/mellanox/mlx4/main.c 			if (mdev->caps.possible_type[i] == MLX4_PORT_TYPE_AUTO) {
caps             1211 drivers/net/ethernet/mellanox/mlx4/main.c 				mdev->caps.possible_type[i] = mdev->caps.port_type[i];
caps             1230 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 0; i < mdev->caps.num_ports; i++)
caps             1315 drivers/net/ethernet/mellanox/mlx4/main.c 	if (mdev->caps.port_type[info->port] == MLX4_PORT_TYPE_ETH)
caps             1319 drivers/net/ethernet/mellanox/mlx4/main.c 			ibta_mtu_to_int(mdev->caps.port_ib_mtu[info->port]));
caps             1333 drivers/net/ethernet/mellanox/mlx4/main.c 	if (mdev->caps.port_type[info->port] == MLX4_PORT_TYPE_ETH) {
caps             1347 drivers/net/ethernet/mellanox/mlx4/main.c 	mdev->caps.port_ib_mtu[info->port] = ibta_mtu;
caps             1352 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 1; port <= mdev->caps.num_ports; port++) {
caps             1403 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED) {
caps             1511 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PORT_REMAP))
caps             1593 drivers/net/ethernet/mellanox/mlx4/main.c 				  cmpt_entry_sz, dev->caps.num_qps,
caps             1594 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW],
caps             1603 drivers/net/ethernet/mellanox/mlx4/main.c 				  cmpt_entry_sz, dev->caps.num_srqs,
caps             1604 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_srqs, 0, 0);
caps             1612 drivers/net/ethernet/mellanox/mlx4/main.c 				  cmpt_entry_sz, dev->caps.num_cqs,
caps             1613 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_cqs, 0, 0);
caps             1695 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.reserved_mtts =
caps             1696 drivers/net/ethernet/mellanox/mlx4/main.c 		ALIGN(dev->caps.reserved_mtts * dev->caps.mtt_entry_sz,
caps             1697 drivers/net/ethernet/mellanox/mlx4/main.c 		      dma_get_cache_alignment()) / dev->caps.mtt_entry_sz;
caps             1701 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.mtt_entry_sz,
caps             1702 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_mtts,
caps             1703 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_mtts, 1, 0);
caps             1712 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_mpts,
caps             1713 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_mrws, 1, 1);
caps             1722 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_qps,
caps             1723 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW],
caps             1733 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_qps,
caps             1734 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW],
caps             1744 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_qps,
caps             1745 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW],
caps             1755 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_qps,
caps             1756 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW],
caps             1766 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_cqs,
caps             1767 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_cqs, 0, 0);
caps             1776 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_srqs,
caps             1777 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.reserved_srqs, 0, 0);
caps             1793 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_mgms + dev->caps.num_amgms,
caps             1794 drivers/net/ethernet/mellanox/mlx4/main.c 				  dev->caps.num_mgms + dev->caps.num_amgms,
caps             1886 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!dev->caps.bf_reg_size)
caps             1890 drivers/net/ethernet/mellanox/mlx4/main.c 			(dev->caps.num_uars << PAGE_SHIFT);
caps             1892 drivers/net/ethernet/mellanox/mlx4/main.c 			(dev->caps.num_uars << PAGE_SHIFT);
caps             2039 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.vf_caps |= MLX4_VF_CAP_FLAG_RESET;
caps             2116 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 1; i <= dev->caps.num_ports; i++) {
caps             2117 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.port_type[i] == MLX4_PORT_TYPE_ETH)
caps             2118 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.gid_table_len[i] =
caps             2121 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.gid_table_len[i] = 1;
caps             2122 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.pkey_table_len[i] =
caps             2170 drivers/net/ethernet/mellanox/mlx4/main.c 			if (dev->caps.dmfs_high_steer_mode ==
caps             2174 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.dmfs_high_steer_mode =
caps             2188 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.steering_mode = MLX4_STEERING_MODE_DEVICE_MANAGED;
caps             2189 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_qp_per_mgm = dev_cap->fs_max_num_qp_per_entry;
caps             2190 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.fs_log_max_ucast_qp_range_size =
caps             2193 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.dmfs_high_steer_mode !=
caps             2195 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.dmfs_high_steer_mode = MLX4_STEERING_DMFS_A0_DISABLE;
caps             2196 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_UC_STEER &&
caps             2197 drivers/net/ethernet/mellanox/mlx4/main.c 		    dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_MC_STEER)
caps             2198 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.steering_mode = MLX4_STEERING_MODE_B0;
caps             2200 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.steering_mode = MLX4_STEERING_MODE_A0;
caps             2202 drivers/net/ethernet/mellanox/mlx4/main.c 			if (dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_UC_STEER ||
caps             2203 drivers/net/ethernet/mellanox/mlx4/main.c 			    dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_MC_STEER)
caps             2210 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_qp_per_mgm = mlx4_get_qp_per_mgm(dev);
caps             2213 drivers/net/ethernet/mellanox/mlx4/main.c 		 mlx4_steering_mode_str(dev->caps.steering_mode),
caps             2221 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED &&
caps             2223 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.tunnel_offload_mode = MLX4_TUNNEL_OFFLOAD_MODE_VXLAN;
caps             2225 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.tunnel_offload_mode = MLX4_TUNNEL_OFFLOAD_MODE_NONE;
caps             2227 drivers/net/ethernet/mellanox/mlx4/main.c 	mlx4_dbg(dev, "Tunneling offload mode is: %s\n",  (dev->caps.tunnel_offload_mode
caps             2236 drivers/net/ethernet/mellanox/mlx4/main.c 	if (dev->caps.dmfs_high_steer_mode == MLX4_STEERING_DMFS_A0_NOT_SUPPORTED)
caps             2239 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 1; i <= dev->caps.num_ports; i++) {
caps             2243 drivers/net/ethernet/mellanox/mlx4/main.c 		} else if ((dev->caps.dmfs_high_steer_mode !=
caps             2246 drivers/net/ethernet/mellanox/mlx4/main.c 			    !!(dev->caps.dmfs_high_steer_mode ==
caps             2251 drivers/net/ethernet/mellanox/mlx4/main.c 					dev->caps.dmfs_high_steer_mode),
caps             2320 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.dmfs_high_steer_mode == MLX4_STEERING_DMFS_A0_STATIC &&
caps             2322 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.function_caps |= MLX4_FUNC_CAP_DMFS_A0_STATIC;
caps             2337 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.steering_mode ==
caps             2348 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.max_fmr_maps = (1 << (32 - ilog2(dev->caps.num_mpts))) - 1;
caps             2351 drivers/net/ethernet/mellanox/mlx4/main.c 			init_hca->log_uar_sz = ilog2(dev->caps.num_uars) +
caps             2355 drivers/net/ethernet/mellanox/mlx4/main.c 			init_hca->log_uar_sz = ilog2(dev->caps.num_uars);
caps             2360 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.flags & MLX4_DEV_CAP_FLAG_MEM_WINDOW ||
caps             2361 drivers/net/ethernet/mellanox/mlx4/main.c 		    dev->caps.bmme_flags & MLX4_BMME_FLAG_TYPE_2_WIN)
caps             2380 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.num_eqs = dev_cap->max_eqs;
caps             2381 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.reserved_eqs = dev_cap->reserved_eqs;
caps             2382 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.reserved_uars = dev_cap->reserved_uars;
caps             2390 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS) {
caps             2394 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_TS;
caps             2396 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.hca_core_clock =
caps             2403 drivers/net/ethernet/mellanox/mlx4/main.c 			if (!dev->caps.hca_core_clock) {
caps             2404 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_TS;
caps             2412 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_TS;
caps             2417 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.dmfs_high_steer_mode !=
caps             2422 drivers/net/ethernet/mellanox/mlx4/main.c 			if (dev->caps.dmfs_high_steer_mode ==
caps             2424 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.dmfs_high_rate_qpn_base =
caps             2425 drivers/net/ethernet/mellanox/mlx4/main.c 					dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW];
caps             2426 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.dmfs_high_rate_qpn_range =
caps             2432 drivers/net/ethernet/mellanox/mlx4/main.c 					dev->caps.dmfs_high_steer_mode));
caps             2467 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.rx_checksum_flags_port[1] = params.rx_csum_flags_port_1;
caps             2468 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.rx_checksum_flags_port[2] = params.rx_csum_flags_port_2;
caps             2505 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_COUNTERS))
caps             2508 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!dev->caps.max_counters)
caps             2511 drivers/net/ethernet/mellanox/mlx4/main.c 	nent_pow2 = roundup_pow_of_two(dev->caps.max_counters);
caps             2515 drivers/net/ethernet/mellanox/mlx4/main.c 				nent_pow2 - dev->caps.max_counters + 1);
caps             2520 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_COUNTERS))
caps             2523 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!dev->caps.max_counters)
caps             2534 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 0; port < dev->caps.num_ports; port++)
caps             2545 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 0; port < dev->caps.num_ports; port++)
caps             2548 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 0; port < dev->caps.num_ports; port++) {
caps             2580 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_COUNTERS))
caps             2633 drivers/net/ethernet/mellanox/mlx4/main.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_COUNTERS))
caps             2818 drivers/net/ethernet/mellanox/mlx4/main.c 		for (port = 1; port <= dev->caps.num_ports; port++) {
caps             2825 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->caps.ib_port_def_cap[port] = ib_port_default_caps;
caps             2839 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.port_ib_mtu[port] = IB_MTU_2048;
caps             2841 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.port_ib_mtu[port] = IB_MTU_4096;
caps             2844 drivers/net/ethernet/mellanox/mlx4/main.c 					    dev->caps.pkey_table_len[port] : -1);
caps             2909 drivers/net/ethernet/mellanox/mlx4/main.c 	if (eqn > dev->caps.num_comp_vectors)
caps             2939 drivers/net/ethernet/mellanox/mlx4/main.c 		int nreq = min3(dev->caps.num_ports *
caps             2941 drivers/net/ethernet/mellanox/mlx4/main.c 				dev->caps.num_eqs - dev->caps.reserved_eqs,
caps             2962 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_comp_vectors = nreq - 1;
caps             2966 drivers/net/ethernet/mellanox/mlx4/main.c 			    dev->caps.num_ports);
caps             2968 drivers/net/ethernet/mellanox/mlx4/main.c 		for (i = 0; i < dev->caps.num_comp_vectors + 1; i++) {
caps             2975 drivers/net/ethernet/mellanox/mlx4/main.c 			if (MLX4_IS_LEGACY_EQ_MODE(dev->caps)) {
caps             2977 drivers/net/ethernet/mellanox/mlx4/main.c 					    dev->caps.num_ports);
caps             2997 drivers/net/ethernet/mellanox/mlx4/main.c 			if ((dev->caps.num_comp_vectors > dev->caps.num_ports) &&
caps             2999 drivers/net/ethernet/mellanox/mlx4/main.c 			     (dev->caps.num_comp_vectors / dev->caps.num_ports)) ==
caps             3014 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->caps.num_comp_vectors = 1;
caps             3021 drivers/net/ethernet/mellanox/mlx4/main.c 				    dev->caps.num_ports);
caps             3108 drivers/net/ethernet/mellanox/mlx4/main.c 	int num_entries = dev->caps.num_ports;
caps             3129 drivers/net/ethernet/mellanox/mlx4/main.c 	int num_entries = dev->caps.num_ports;
caps             3537 drivers/net/ethernet/mellanox/mlx4/main.c 		if (dev->caps.num_ports < 2 &&
caps             3542 drivers/net/ethernet/mellanox/mlx4/main.c 				 dev->caps.num_ports);
caps             3555 drivers/net/ethernet/mellanox/mlx4/main.c 					dev->caps.num_ports;
caps             3596 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.num_comp_vectors = 1;
caps             3616 drivers/net/ethernet/mellanox/mlx4/main.c 	for (port = 1; port <= dev->caps.num_ports; port++) {
caps             4054 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 0; i < dev->caps.num_ports; i++) {
caps             4055 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->persist->curr_port_type[i] = dev->caps.port_type[i + 1];
caps             4056 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->persist->curr_port_poss_type[i] = dev->caps.
caps             4065 drivers/net/ethernet/mellanox/mlx4/main.c 	for (p = 1; p <= dev->caps.num_ports; p++) {
caps             4178 drivers/net/ethernet/mellanox/mlx4/main.c 	for (i = 0; i < dev->caps.num_ports; i++)
caps             4179 drivers/net/ethernet/mellanox/mlx4/main.c 		dev->caps.possible_type[i + 1] = poss_types[i];
caps              130 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              161 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              211 drivers/net/ethernet/mellanox/mlx4/mcg.c 		if (members_count == dev->caps.num_qp_per_mgm) {
caps              248 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              296 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              340 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              377 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              434 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              496 drivers/net/ethernet/mellanox/mlx4/mcg.c 				    dev->caps.num_qp_per_mgm) {
caps              520 drivers/net/ethernet/mellanox/mlx4/mcg.c 		if (members_count == dev->caps.num_qp_per_mgm) {
caps              564 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (port < 1 || port > dev->caps.num_ports)
caps              705 drivers/net/ethernet/mellanox/mlx4/mcg.c 		!!(dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_MC_STEER) : 0;
caps             1014 drivers/net/ethernet/mellanox/mlx4/mcg.c 			if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED)
caps             1144 drivers/net/ethernet/mellanox/mlx4/mcg.c 		index += dev->caps.num_mgms;
caps             1152 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (members_count == dev->caps.num_qp_per_mgm) {
caps             1201 drivers/net/ethernet/mellanox/mlx4/mcg.c 		if (index < dev->caps.num_mgms)
caps             1203 drivers/net/ethernet/mellanox/mlx4/mcg.c 				  index, dev->caps.num_mgms);
caps             1206 drivers/net/ethernet/mellanox/mlx4/mcg.c 					 index - dev->caps.num_mgms, MLX4_USE_RR);
caps             1297 drivers/net/ethernet/mellanox/mlx4/mcg.c 			if (amgm_index < dev->caps.num_mgms)
caps             1299 drivers/net/ethernet/mellanox/mlx4/mcg.c 					  index, amgm_index, dev->caps.num_mgms);
caps             1302 drivers/net/ethernet/mellanox/mlx4/mcg.c 						 amgm_index - dev->caps.num_mgms, MLX4_USE_RR);
caps             1317 drivers/net/ethernet/mellanox/mlx4/mcg.c 		if (index < dev->caps.num_mgms)
caps             1319 drivers/net/ethernet/mellanox/mlx4/mcg.c 				  prev, index, dev->caps.num_mgms);
caps             1322 drivers/net/ethernet/mellanox/mlx4/mcg.c 					 index - dev->caps.num_mgms, MLX4_USE_RR);
caps             1411 drivers/net/ethernet/mellanox/mlx4/mcg.c 	switch (dev->caps.steering_mode) {
caps             1441 drivers/net/ethernet/mellanox/mlx4/mcg.c 	switch (dev->caps.steering_mode) {
caps             1631 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (dev->caps.steering_mode ==
caps             1634 drivers/net/ethernet/mellanox/mlx4/mcg.c 	err = mlx4_bitmap_init(&priv->mcg_table.bitmap, dev->caps.num_amgms,
caps             1635 drivers/net/ethernet/mellanox/mlx4/mcg.c 			       dev->caps.num_amgms - 1, 0, 0);
caps             1646 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (dev->caps.steering_mode !=
caps             1299 drivers/net/ethernet/mellanox/mlx4/mlx4.h int mlx4_get_port_ib_caps(struct mlx4_dev *dev, u8 port, __be32 *caps);
caps              262 drivers/net/ethernet/mellanox/mlx4/mr.c 	return (u64) mtt->offset * dev->caps.mtt_entry_sz;
caps              297 drivers/net/ethernet/mellanox/mlx4/mr.c 	int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1);
caps              360 drivers/net/ethernet/mellanox/mlx4/mr.c 		int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1);
caps              553 drivers/net/ethernet/mellanox/mlx4/mr.c 				     (dev->caps.num_mpts - 1));
caps              672 drivers/net/ethernet/mellanox/mlx4/mr.c 			     key_to_hw_index(mr->key) & (dev->caps.num_mpts - 1));
caps              820 drivers/net/ethernet/mellanox/mlx4/mr.c 	     !(dev->caps.flags & MLX4_DEV_CAP_FLAG_MEM_WINDOW)) ||
caps              822 drivers/net/ethernet/mellanox/mlx4/mr.c 	     !(dev->caps.bmme_flags & MLX4_BMME_FLAG_TYPE_2_WIN)))
caps              868 drivers/net/ethernet/mellanox/mlx4/mr.c 			     (dev->caps.num_mpts - 1));
caps              895 drivers/net/ethernet/mellanox/mlx4/mr.c 				     (dev->caps.num_mpts - 1));
caps              918 drivers/net/ethernet/mellanox/mlx4/mr.c 	if (!is_power_of_2(dev->caps.num_mpts))
caps              921 drivers/net/ethernet/mellanox/mlx4/mr.c 	err = mlx4_bitmap_init(&mr_table->mpt_bitmap, dev->caps.num_mpts,
caps              922 drivers/net/ethernet/mellanox/mlx4/mr.c 			       ~0, dev->caps.reserved_mrws, 0);
caps              927 drivers/net/ethernet/mellanox/mlx4/mr.c 			      ilog2((u32)dev->caps.num_mtts /
caps              932 drivers/net/ethernet/mellanox/mlx4/mr.c 	if (dev->caps.reserved_mtts) {
caps              935 drivers/net/ethernet/mellanox/mlx4/mr.c 					     fls(dev->caps.reserved_mtts - 1));
caps              964 drivers/net/ethernet/mellanox/mlx4/mr.c 				    fls(dev->caps.reserved_mtts - 1));
caps             1009 drivers/net/ethernet/mellanox/mlx4/mr.c 	key += dev->caps.num_mpts;
caps             1049 drivers/net/ethernet/mellanox/mlx4/mr.c 	if (max_maps > dev->caps.max_fmr_maps)
caps             1052 drivers/net/ethernet/mellanox/mlx4/mr.c 	if (page_shift < (ffs(dev->caps.page_size_cap) - 1) || page_shift >= 32)
caps              122 drivers/net/ethernet/mellanox/mlx4/pd.c 	return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds,
caps              124 drivers/net/ethernet/mellanox/mlx4/pd.c 				 dev->caps.reserved_pds, 0);
caps              137 drivers/net/ethernet/mellanox/mlx4/pd.c 				(1 << 16) - 1, dev->caps.reserved_xrcds + 1, 0);
caps              156 drivers/net/ethernet/mellanox/mlx4/pd.c 				       dev->caps.uar_page_size);
caps              223 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->buf_size = dev->caps.bf_reg_size / 2;
caps              224 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size;
caps              225 drivers/net/ethernet/mellanox/mlx4/pd.c 	if (uar->free_bf_bmap == (1 << dev->caps.bf_regs_per_page) - 1)
caps              255 drivers/net/ethernet/mellanox/mlx4/pd.c 	idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size;
caps              277 drivers/net/ethernet/mellanox/mlx4/pd.c 	mlx4_dbg(dev, "Effective reserved_uars=%d", dev->caps.reserved_uars);
caps              279 drivers/net/ethernet/mellanox/mlx4/pd.c 	if (dev->caps.num_uars <= num_reserved_uar) {
caps              282 drivers/net/ethernet/mellanox/mlx4/pd.c 			dev->caps.num_uars, num_reserved_uar);
caps              288 drivers/net/ethernet/mellanox/mlx4/pd.c 				dev->caps.num_uars, dev->caps.num_uars - 1,
caps              289 drivers/net/ethernet/mellanox/mlx4/pd.c 				dev->caps.reserved_uars, 0);
caps               72 drivers/net/ethernet/mellanox/mlx4/port.c 	table->max   = 1 << dev->caps.log_num_macs;
caps               86 drivers/net/ethernet/mellanox/mlx4/port.c 	table->max   = (1 << dev->caps.log_num_vlans) - MLX4_VLAN_REGULAR;
caps              374 drivers/net/ethernet/mellanox/mlx4/port.c 	return dev->caps.reserved_qps_base[MLX4_QP_REGION_ETH_ADDR] +
caps              375 drivers/net/ethernet/mellanox/mlx4/port.c 			(port - 1) * (1 << dev->caps.log_num_macs);
caps              388 drivers/net/ethernet/mellanox/mlx4/port.c 	if (port < 1 || port > dev->caps.num_ports) {
caps             1056 drivers/net/ethernet/mellanox/mlx4/port.c int mlx4_get_port_ib_caps(struct mlx4_dev *dev, u8 port, __be32 *caps)
caps             1085 drivers/net/ethernet/mellanox/mlx4/port.c 		*caps = *(__be32 *) (outbuf + 84);
caps             1107 drivers/net/ethernet/mellanox/mlx4/port.c 	max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
caps             1108 drivers/net/ethernet/mellanox/mlx4/port.c 		bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
caps             1113 drivers/net/ethernet/mellanox/mlx4/port.c 		bitmap_zero(exclusive_ports.ports, dev->caps.num_ports);
caps             1144 drivers/net/ethernet/mellanox/mlx4/port.c 	max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
caps             1145 drivers/net/ethernet/mellanox/mlx4/port.c 		bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
caps             1150 drivers/net/ethernet/mellanox/mlx4/port.c 		bitmap_zero(exclusive_ports.ports, dev->caps.num_ports);
caps             1216 drivers/net/ethernet/mellanox/mlx4/port.c 	for (i = 0, num_eth_ports = 0; i < dev->caps.num_ports; i++) {
caps             1218 drivers/net/ethernet/mellanox/mlx4/port.c 			if (dev->caps.port_type[i + 1] != MLX4_PORT_TYPE_ETH)
caps             1232 drivers/net/ethernet/mellanox/mlx4/port.c 	for (i = 0; i < dev->caps.num_ports; i++) {
caps             1234 drivers/net/ethernet/mellanox/mlx4/port.c 			if (dev->caps.port_type[i + 1] != MLX4_PORT_TYPE_ETH)
caps             1260 drivers/net/ethernet/mellanox/mlx4/port.c 	mtu = min_t(int, mtu, dev->caps.eth_mtu_cap[port] +
caps             1292 drivers/net/ethernet/mellanox/mlx4/port.c 	user_mtu = min_t(int, user_mtu, dev->caps.eth_mtu_cap[port]);
caps             1363 drivers/net/ethernet/mellanox/mlx4/port.c 		if (slave != dev->caps.function &&
caps             1522 drivers/net/ethernet/mellanox/mlx4/port.c 	if (slave != dev->caps.function)
caps             1573 drivers/net/ethernet/mellanox/mlx4/port.c 	if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH)
caps             1580 drivers/net/ethernet/mellanox/mlx4/port.c 	((__be32 *) mailbox->buf)[1] = dev->caps.ib_port_def_cap[port];
caps             1593 drivers/net/ethernet/mellanox/mlx4/port.c 			(dev->caps.port_ib_mtu[port] << MLX4_SET_PORT_MTU_CAP) |
caps             1627 drivers/net/ethernet/mellanox/mlx4/port.c 	if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2) {
caps             1649 drivers/net/ethernet/mellanox/mlx4/port.c 	u32 m_promisc = (dev->caps.flags & MLX4_DEV_CAP_FLAG_VEP_MC_STEER) ?
caps             1652 drivers/net/ethernet/mellanox/mlx4/port.c 	if (dev->caps.steering_mode != MLX4_STEERING_MODE_A0)
caps             1660 drivers/net/ethernet/mellanox/mlx4/port.c 	context->n_mac = dev->caps.log_num_macs;
caps             1909 drivers/net/ethernet/mellanox/mlx4/port.c 				bitmap_zero(exclusive_ports.ports, dev->caps.num_ports);
caps             1930 drivers/net/ethernet/mellanox/mlx4/port.c 				actv_ports.ports, dev->caps.num_ports) +
caps             1932 drivers/net/ethernet/mellanox/mlx4/port.c 					      dev->caps.num_ports) + 1;
caps             1939 drivers/net/ethernet/mellanox/mlx4/port.c 					    dev->caps.num_ports);
caps             2123 drivers/net/ethernet/mellanox/mlx4/port.c 	u8 num_tc = dev->caps.max_tc_eth;
caps              184 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_qps     = profile[i].num;
caps              193 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.max_qp_dest_rdma = 1 << priv->qp_table.rdmarc_shift;
caps              205 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_srqs     = profile[i].num;
caps              210 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_cqs     = profile[i].num;
caps              220 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_eqs     = roundup_pow_of_two(
caps              225 drivers/net/ethernet/mellanox/mlx4/profile.c 				init_hca->log_num_eqs = ilog2(dev->caps.num_eqs);
caps              229 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_mpts	= profile[i].num;
caps              238 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_mtts	 = profile[i].num;
caps              247 drivers/net/ethernet/mellanox/mlx4/profile.c 			if (dev->caps.steering_mode ==
caps              249 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_mgms = profile[i].num;
caps              253 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_mgms = profile[i].num >> 1;
caps              254 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_amgms = profile[i].num >> 1;
caps              266 drivers/net/ethernet/mellanox/mlx4/profile.c 	dev->caps.num_pds = MLX4_NUM_PDS;
caps              172 drivers/net/ethernet/mellanox/mlx4/qp.c 	    dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2)
caps              256 drivers/net/ethernet/mellanox/mlx4/qp.c 	flags &= dev->caps.alloc_res_qp_mask;
caps              421 drivers/net/ethernet/mellanox/mlx4/qp.c 				(dev->caps.num_qps - 1), qp);
caps              463 drivers/net/ethernet/mellanox/mlx4/qp.c 		if (!(dev->caps.flags2
caps              491 drivers/net/ethernet/mellanox/mlx4/qp.c 		if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QOS_VPP)) {
caps              519 drivers/net/ethernet/mellanox/mlx4/qp.c 	radix_tree_delete(&dev->qp_table_tree, qp->qpn & (dev->caps.num_qps - 1));
caps              570 drivers/net/ethernet/mellanox/mlx4/qp.c 	err = mlx4_bitmap_init(*bitmap + MLX4_QP_TABLE_ZONE_GENERAL, dev->caps.num_qps,
caps              590 drivers/net/ethernet/mellanox/mlx4/qp.c 			       dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW],
caps              607 drivers/net/ethernet/mellanox/mlx4/qp.c 	last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW];
caps              770 drivers/net/ethernet/mellanox/mlx4/qp.c 	u32 max_table_offset = dev->caps.dmfs_high_rate_qpn_base +
caps              771 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.dmfs_high_rate_qpn_range;
caps              786 drivers/net/ethernet/mellanox/mlx4/qp.c 		fixed_reserved_from_bot_rv += dev->caps.reserved_qps_cnt[k];
caps              799 drivers/net/ethernet/mellanox/mlx4/qp.c 		int last_base = dev->caps.num_qps;
caps              806 drivers/net/ethernet/mellanox/mlx4/qp.c 				if (dev->caps.reserved_qps_cnt[sort[j]] >
caps              807 drivers/net/ethernet/mellanox/mlx4/qp.c 				    dev->caps.reserved_qps_cnt[sort[j - 1]])
caps              813 drivers/net/ethernet/mellanox/mlx4/qp.c 			last_base -= dev->caps.reserved_qps_cnt[sort[i]];
caps              814 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.reserved_qps_base[sort[i]] = last_base;
caps              816 drivers/net/ethernet/mellanox/mlx4/qp.c 				dev->caps.reserved_qps_cnt[sort[i]];
caps              831 drivers/net/ethernet/mellanox/mlx4/qp.c 	if (reserved_from_bot + reserved_from_top > dev->caps.num_qps) {
caps              851 drivers/net/ethernet/mellanox/mlx4/qp.c 		dev->caps.spec_qps = kcalloc(dev->caps.num_ports,
caps              852 drivers/net/ethernet/mellanox/mlx4/qp.c 					     sizeof(*dev->caps.spec_qps),
caps              854 drivers/net/ethernet/mellanox/mlx4/qp.c 		if (!dev->caps.spec_qps) {
caps              859 drivers/net/ethernet/mellanox/mlx4/qp.c 		for (k = 0; k < dev->caps.num_ports; k++) {
caps              860 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.spec_qps[k].qp0_proxy = dev->phys_caps.base_proxy_sqpn +
caps              862 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.spec_qps[k].qp0_tunnel = dev->caps.spec_qps[k].qp0_proxy + 8 * MLX4_MFUNC_MAX;
caps              863 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.spec_qps[k].qp1_proxy = dev->phys_caps.base_proxy_sqpn +
caps              865 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.spec_qps[k].qp1_tunnel = dev->caps.spec_qps[k].qp1_proxy + 8 * MLX4_MFUNC_MAX;
caps              877 drivers/net/ethernet/mellanox/mlx4/qp.c 	kfree(dev->caps.spec_qps);
caps              878 drivers/net/ethernet/mellanox/mlx4/qp.c 	dev->caps.spec_qps = NULL;
caps              435 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->res_free += dev->caps.reserved_mtts;
caps              436 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->guaranteed[vf] += dev->caps.reserved_mtts;
caps              437 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->quota[vf] += dev->caps.reserved_mtts;
caps              452 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		dev->quotas.qp = dev->caps.num_qps - dev->caps.reserved_qps -
caps              454 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		dev->quotas.cq = dev->caps.num_cqs - dev->caps.reserved_cqs;
caps              455 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		dev->quotas.srq = dev->caps.num_srqs - dev->caps.reserved_srqs;
caps              456 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts;
caps              457 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws;
caps              484 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		return MLX4_PF_COUNTERS_PER_PORT * dev->caps.num_ports;
caps              488 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
caps              495 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	    (dev->caps.max_counters - 1))
caps              545 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->res_free = dev->caps.max_counters - 1;
caps              558 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      t, dev->caps.num_qps -
caps              559 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      dev->caps.reserved_qps -
caps              564 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      t, dev->caps.num_cqs -
caps              565 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      dev->caps.reserved_cqs);
caps              569 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      t, dev->caps.num_srqs -
caps              570 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      dev->caps.reserved_srqs);
caps              574 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      t, dev->caps.num_mpts -
caps              575 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      dev->caps.reserved_mrws);
caps              579 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      t, dev->caps.num_mtts -
caps              580 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 						      dev->caps.reserved_mtts);
caps              587 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					for (j = 0; j < dev->caps.num_ports;
caps              593 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 								      dev->caps.num_ports) - 1;
caps              623 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				res_alloc->quota[t] = dev->caps.max_counters;
caps              631 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				for (j = 0; j < dev->caps.num_ports; j++)
caps              665 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				    dev->caps.function != i)
caps              669 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			i = dev->caps.function;
caps              778 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			if (dev->caps.bmme_flags & MLX4_BMME_FLAG_VSD_INIT2RTR) {
caps              796 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		    dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_UPDATE_QP) {
caps              849 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return dev->caps.num_mpts - 1;
caps             1243 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	counters_arr = kmalloc_array(dev->caps.max_counters,
caps             1783 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return qpn < dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW];
caps             1802 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		flags = (get_param_l(&in_param) >> 24) & dev->caps.alloc_res_qp_mask;
caps             2225 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (!in_port && port > 0 && port <= dev->caps.num_ports) {
caps             2764 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = mr_get_mtt_addr(inbox->buf) / dev->caps.mtt_entry_sz;
caps             2962 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = qp_get_mtt_addr(qpc) / dev->caps.mtt_entry_sz;
caps             3102 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = eq_get_mtt_addr(eqc) / dev->caps.mtt_entry_sz;
caps             3218 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB)
caps             3227 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB)
caps             3353 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	    slave == dev->caps.function ||
caps             3442 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = cq_get_mtt_addr(cqc) / dev->caps.mtt_entry_sz;
caps             3531 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = cq_get_mtt_addr(cqc) / dev->caps.mtt_entry_sz;
caps             3620 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = srq_get_mtt_addr(srqc) / dev->caps.mtt_entry_sz;
caps             4081 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	switch (dev->caps.steering_mode) {
caps             4108 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	switch (dev->caps.steering_mode) {
caps             4126 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (dev->caps.steering_mode == MLX4_STEERING_MODE_B0 ||
caps             4127 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	    dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) {
caps             4307 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		!(dev->caps.flags2 &
caps             4384 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (dev->caps.steering_mode !=
caps             4511 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (dev->caps.steering_mode !=
caps             4588 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		switch (dev->caps.steering_mode) {
caps             5188 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	counters_arr = kmalloc_array(dev->caps.max_counters,
caps             5387 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				if (dev->caps.flags2 &
caps               72 drivers/net/ethernet/mellanox/mlx4/sense.c 	for (i = 1; i <= dev->caps.num_ports; i++) {
caps               75 drivers/net/ethernet/mellanox/mlx4/sense.c 		    dev->caps.possible_type[i] == MLX4_PORT_TYPE_AUTO) {
caps               86 drivers/net/ethernet/mellanox/mlx4/sense.c 	for (i = 0; i < dev->caps.num_ports; i++)
caps              101 drivers/net/ethernet/mellanox/mlx4/sense.c 	mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]);
caps              120 drivers/net/ethernet/mellanox/mlx4/sense.c 	if (!(dev->caps.flags & MLX4_DEV_CAP_FLAG_DPDP))
caps              139 drivers/net/ethernet/mellanox/mlx4/sense.c 	for (port = 1; port <= dev->caps.num_ports; port++)
caps               49 drivers/net/ethernet/mellanox/mlx4/srq.c 	srq = radix_tree_lookup(&srq_table->tree, srqn & (dev->caps.num_srqs - 1));
caps              282 drivers/net/ethernet/mellanox/mlx4/srq.c 	err = mlx4_bitmap_init(&srq_table->bitmap, dev->caps.num_srqs,
caps              283 drivers/net/ethernet/mellanox/mlx4/srq.c 			       dev->caps.num_srqs - 1, dev->caps.reserved_srqs, 0);
caps              304 drivers/net/ethernet/mellanox/mlx4/srq.c 				srqn & (dev->caps.num_srqs - 1));
caps               73 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c static int mlx5e_tls_set_flow(void *flow, struct sock *sk, u32 caps)
caps               86 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 		if (!(caps & MLX5_ACCEL_TLS_IPV6))
caps              110 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	u32 caps = mlx5_accel_tls_device_caps(mdev);
caps              119 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	ret = mlx5e_tls_set_flow(flow, sk, caps);
caps              193 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	u32 caps;
caps              203 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	caps = mlx5_accel_tls_device_caps(priv->mdev);
caps              204 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	if (caps & MLX5_ACCEL_TLS_TX) {
caps              209 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	if (caps & MLX5_ACCEL_TLS_RX) {
caps              214 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	if (!(caps & MLX5_ACCEL_TLS_LRO)) {
caps               78 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c 	return mlx5_core_access_reg(dev, in, sizeof(in), dev->caps.fpga,
caps               94 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size)
caps              111 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c 		ret = mlx5_fpga_access_reg(dev, read, addr, caps, false);
caps              120 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c 		caps += read;
caps               80 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size);
caps              103 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	u32 caps[MLX5_ST_SZ_DW(ipsec_extended_cap)];
caps              281 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fipsec->caps, v2_command))
caps              339 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, esp))
caps              342 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, ipv6))
caps              345 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, lso))
caps              348 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, rx_no_trailer))
caps              351 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, esn)) {
caps              366 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps,
caps              383 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	addr = (u64)MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps,
caps              385 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	       ((u64)MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps,
caps             1263 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	err = mlx5_fpga_get_sbu_caps(fdev, sizeof(fdev->ipsec->caps),
caps             1264 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				     fdev->ipsec->caps);
caps             1422 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	    (!MLX5_GET(ipsec_extended_cap, mdev->fpga->ipsec->caps,
caps              410 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	u32 caps = 0;
caps              422 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_TX;
caps              424 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_RX;
caps              426 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_V12;
caps              428 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_V13;
caps              430 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_LRO;
caps              432 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_IPV6;
caps              435 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_AES_GCM128;
caps              437 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		caps |= MLX5_ACCEL_TLS_AES_GCM256;
caps              439 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	*p_caps = caps;
caps              461 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	err = mlx5_fpga_tls_get_caps(fdev, &tls->caps);
caps              465 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	if (!(tls->caps & (MLX5_ACCEL_TLS_V12 | MLX5_ACCEL_TLS_AES_GCM128))) {
caps              533 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c static int mlx5_fpga_tls_set_key_material(void *cmd, u32 caps,
caps              540 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		if (!(caps & MLX5_ACCEL_TLS_AES_GCM128))
caps              555 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	u32 caps = mlx5_fpga_tls_device_caps(mdev);
caps              567 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	ret = mlx5_fpga_tls_set_key_material(cmd, caps, crypto_info);
caps               45 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h 	u32 caps;
caps               68 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h 	return mdev->fpga->tls->caps;
caps               54 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	.caps = caps_val,\
caps               75 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			       .caps = (long[]) {__VA_ARGS__} }
caps              123 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	long	*caps;
caps              130 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct node_caps caps;
caps             2229 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	((be32_to_cpu(*((__be32 *)(dev->caps.hca_cur[MLX5_CAP_FLOW_TABLE]) +	\
caps             2232 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static bool has_required_caps(struct mlx5_core_dev *dev, struct node_caps *caps)
caps             2236 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	for (i = 0; i < caps->arr_sz; i++) {
caps             2237 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		if (!GET_FLOW_TABLE_CAP(dev, caps->caps[i]))
caps             2260 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		    !has_required_caps(steering->dev, &init_node->caps))
caps              129 drivers/net/ethernet/mellanox/mlx5/core/fw.c 	return mlx5_query_pcam_reg(dev, dev->caps.pcam,
caps              136 drivers/net/ethernet/mellanox/mlx5/core/fw.c 	return mlx5_query_mcam_reg(dev, dev->caps.mcam,
caps              143 drivers/net/ethernet/mellanox/mlx5/core/fw.c 	return mlx5_query_qcam_reg(dev, dev->caps.qcam,
caps              380 drivers/net/ethernet/mellanox/mlx5/core/main.c 		memcpy(dev->caps.hca_max[cap_type], hca_caps,
caps              384 drivers/net/ethernet/mellanox/mlx5/core/main.c 		memcpy(dev->caps.hca_cur[cap_type], hca_caps,
caps              479 drivers/net/ethernet/mellanox/mlx5/core/main.c 	memcpy(set_hca_cap, dev->caps.hca_cur[MLX5_CAP_ODP],
caps              533 drivers/net/ethernet/mellanox/mlx5/core/main.c 	memcpy(set_hca_cap, dev->caps.hca_cur[MLX5_CAP_GENERAL],
caps              650 drivers/net/ethernet/mellanox/mlx5/core/main.c 		 dev->caps.embedded_cpu);
caps              662 drivers/net/ethernet/mellanox/mlx5/core/main.c 		 dev->caps.embedded_cpu);
caps             1180 drivers/net/ethernet/mellanox/mlx5/core/main.c 	dev->caps.embedded_cpu = mlx5_read_embedded_cpu(dev);
caps              120 drivers/net/ethernet/mellanox/mlx5/core/port.c int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps)
caps              126 drivers/net/ethernet/mellanox/mlx5/core/port.c 	in.caps_127_96 = cpu_to_be32(caps);
caps              618 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 								dest_action->vport.caps->num,
caps              654 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 	attr.gvmi = dmn->info.caps.gvmi;
caps              655 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 	attr.hit_gvmi = dmn->info.caps.gvmi;
caps              743 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 			attr.hit_gvmi = action->vport.caps->vhca_gvmi;
caps              747 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 				if (action->vport.caps->num == WIRE_PORT)
caps              750 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 				attr.final_icm_addr = action->vport.caps->icm_address_rx;
caps              752 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 				attr.final_icm_addr = action->vport.caps->icm_address_tx;
caps             1108 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 					 dmn->info.caps.hdr_modify_icm_addr) /
caps             1460 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 				 dmn->info.caps.hdr_modify_icm_addr) /
caps             1526 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 	peer_vport = vhca_id_valid && (vhca_id != dmn->info.caps.gvmi);
caps             1538 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 	vport_cap = mlx5dr_get_vport_cap(&vport_dmn->info.caps, vport);
caps             1549 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 	action->vport.caps = vport_cap;
caps               67 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 			      struct mlx5dr_esw_caps *caps)
caps               69 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->drop_icm_address_rx =
caps               72 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->drop_icm_address_tx =
caps               75 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->uplink_icm_address_rx =
caps               78 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->uplink_icm_address_tx =
caps               81 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->sw_owner =
caps               89 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 			    struct mlx5dr_cmd_caps *caps)
caps               91 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->prio_tag_required	= MLX5_CAP_GEN(mdev, prio_tag_required);
caps               92 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->eswitch_manager	= MLX5_CAP_GEN(mdev, eswitch_manager);
caps               93 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->gvmi		= MLX5_CAP_GEN(mdev, vhca_id);
caps               94 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->flex_protocols	= MLX5_CAP_GEN(mdev, flex_parser_protocols);
caps               96 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	if (mlx5dr_matcher_supp_flex_parser_icmp_v4(caps)) {
caps               97 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 		caps->flex_parser_id_icmp_dw0 = MLX5_CAP_GEN(mdev, flex_parser_id_icmp_dw0);
caps               98 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 		caps->flex_parser_id_icmp_dw1 = MLX5_CAP_GEN(mdev, flex_parser_id_icmp_dw1);
caps              101 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	if (mlx5dr_matcher_supp_flex_parser_icmp_v6(caps)) {
caps              102 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 		caps->flex_parser_id_icmpv6_dw0 =
caps              104 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 		caps->flex_parser_id_icmpv6_dw1 =
caps              108 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->nic_rx_drop_address =
caps              110 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->nic_tx_drop_address =
caps              112 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->nic_tx_allow_address =
caps              115 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->rx_sw_owner = MLX5_CAP_FLOWTABLE_NIC_RX(mdev, sw_owner);
caps              116 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->max_ft_level = MLX5_CAP_FLOWTABLE_NIC_RX(mdev, max_ft_level);
caps              118 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->tx_sw_owner = MLX5_CAP_FLOWTABLE_NIC_TX(mdev, sw_owner);
caps              120 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->log_icm_size = MLX5_CAP_DEV_MEM(mdev, log_steering_sw_icm_size);
caps              121 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->hdr_modify_icm_addr =
caps              124 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c 	caps->roce_min_src_udp = MLX5_CAP_ROCE(mdev, r_roce_min_src_udp_port);
caps               12 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->cache.recalc_cs_ft = kcalloc(dmn->info.caps.num_vports,
caps               25 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	for (i = 0; i < dmn->info.caps.num_vports; i++) {
caps              123 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	vport_caps = &dmn->info.caps.vports_caps[vport_number];
caps              141 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	vport_caps->vhca_gvmi = dmn->info.caps.gvmi;
caps              148 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	struct mlx5dr_esw_caps *esw_caps = &dmn->info.caps.esw_caps;
caps              154 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	for (vport = 0; vport < dmn->info.caps.num_esw_ports - 1; vport++) {
caps              161 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	wire_vport = &dmn->info.caps.vports_caps[vport];
caps              166 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	wire_vport->vhca_gvmi = dmn->info.caps.gvmi;
caps              176 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	if (!dmn->info.caps.eswitch_manager)
caps              179 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	ret = mlx5dr_cmd_query_esw_caps(mdev, &dmn->info.caps.esw_caps);
caps              183 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.fdb_sw_owner = dmn->info.caps.esw_caps.sw_owner;
caps              184 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.esw_rx_drop_address = dmn->info.caps.esw_caps.drop_icm_address_rx;
caps              185 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.esw_tx_drop_address = dmn->info.caps.esw_caps.drop_icm_address_tx;
caps              187 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.vports_caps = kcalloc(dmn->info.caps.num_esw_ports,
caps              188 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 					     sizeof(dmn->info.caps.vports_caps[0]),
caps              190 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	if (!dmn->info.caps.vports_caps)
caps              199 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.num_vports = dmn->info.caps.num_esw_ports - 1;
caps              204 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	kfree(dmn->info.caps.vports_caps);
caps              205 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.vports_caps = NULL;
caps              220 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	dmn->info.caps.num_esw_ports = mlx5_eswitch_get_total_vports(mdev);
caps              222 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	ret = mlx5dr_cmd_query_device(mdev, &dmn->info.caps);
caps              232 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		if (!dmn->info.caps.rx_sw_owner)
caps              237 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		dmn->info.rx.default_icm_addr = dmn->info.caps.nic_rx_drop_address;
caps              238 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		dmn->info.rx.drop_icm_addr = dmn->info.caps.nic_rx_drop_address;
caps              241 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		if (!dmn->info.caps.tx_sw_owner)
caps              246 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		dmn->info.tx.default_icm_addr = dmn->info.caps.nic_tx_allow_address;
caps              247 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		dmn->info.tx.drop_icm_addr = dmn->info.caps.nic_tx_drop_address;
caps              250 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		if (!dmn->info.caps.eswitch_manager)
caps              253 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		if (!dmn->info.caps.fdb_sw_owner)
caps              258 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		vport_cap = mlx5dr_get_vport_cap(&dmn->info.caps, 0);
caps              267 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		dmn->info.rx.drop_icm_addr = dmn->info.caps.esw_rx_drop_address;
caps              268 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 		dmn->info.tx.drop_icm_addr = dmn->info.caps.esw_tx_drop_address;
caps              281 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	kfree(dmn->info.caps.vports_caps);
caps              309 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 					    dmn->info.caps.log_icm_size);
caps               20 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_fw.c 					   0, 0, dmn->info.caps.max_ft_level - 1,
caps              143 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c 	return dmn->info.caps.flex_protocols &
caps              291 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c 		     mlx5dr_matcher_supp_flex_parser_icmp_v4(&dmn->info.caps)) ||
caps              293 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c 		     mlx5dr_matcher_supp_flex_parser_icmp_v6(&dmn->info.caps))) {
caps              295 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c 							     &mask, &dmn->info.caps,
caps              394 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c 	mlx5dr_ste_set_formatted_ste(dmn->info.caps.gvmi,
caps              668 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	rtr_attr.udp_src_port	= dmn->info.caps.roce_min_src_udp;
caps              589 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 	mlx5dr_ste_set_formatted_ste(dmn->info.caps.gvmi,
caps              751 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 				dmn->info.caps.gvmi);
caps             1829 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 					       struct mlx5dr_cmd_caps *caps,
caps             1844 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw0_location		= caps->flex_parser_id_icmp_dw0;
caps             1845 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw1_location		= caps->flex_parser_id_icmp_dw1;
caps             1850 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw0_location		= caps->flex_parser_id_icmpv6_dw0;
caps             1851 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw1_location		= caps->flex_parser_id_icmpv6_dw1;
caps             1916 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw0_location		= sb->caps->flex_parser_id_icmp_dw0;
caps             1917 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw1_location		= sb->caps->flex_parser_id_icmp_dw1;
caps             1922 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw0_location		= sb->caps->flex_parser_id_icmpv6_dw0;
caps             1923 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		dw1_location		= sb->caps->flex_parser_id_icmpv6_dw1;
caps             1972 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 				   struct mlx5dr_cmd_caps *caps,
caps             1977 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 	ret = dr_ste_build_flex_parser_1_bit_mask(mask, caps, sb->bit_mask);
caps             1983 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 	sb->caps = caps;
caps             2259 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 	struct mlx5dr_cmd_caps *caps;
caps             2268 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		if (misc->source_eswitch_owner_vhca_id == dmn->info.caps.gvmi)
caps             2269 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 			caps = &dmn->info.caps;
caps             2271 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 					   dmn->peer_dmn->info.caps.gvmi))
caps             2272 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 			caps = &dmn->peer_dmn->info.caps;
caps             2276 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 		caps = &dmn->info.caps;
caps             2279 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 	vport_cap = mlx5dr_get_vport_cap(caps, misc->source_port);
caps              228 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c 					   tbl->dmn->info.caps.max_ft_level - 1,
caps              185 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	struct mlx5dr_cmd_caps *caps;
caps              322 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 				   struct mlx5dr_cmd_caps *caps,
caps              640 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	struct mlx5dr_cmd_caps caps;
caps              751 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 			struct mlx5dr_cmd_vport_cap *caps;
caps              804 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h mlx5dr_matcher_supp_flex_parser_icmp_v4(struct mlx5dr_cmd_caps *caps)
caps              806 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	return caps->flex_protocols & MLX5_FLEX_PARSER_ICMP_V4_ENABLED;
caps              810 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h mlx5dr_matcher_supp_flex_parser_icmp_v6(struct mlx5dr_cmd_caps *caps)
caps              812 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	return caps->flex_protocols & MLX5_FLEX_PARSER_ICMP_V6_ENABLED;
caps              843 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h mlx5dr_get_vport_cap(struct mlx5dr_cmd_caps *caps, u32 vport)
caps              845 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	if (!caps->vports_caps ||
caps              846 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	    (vport >= caps->num_vports && vport != WIRE_PORT))
caps              850 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 		vport = caps->num_vports;
caps              852 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	return &caps->vports_caps[vport];
caps              864 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 			    struct mlx5dr_cmd_caps *caps);
caps              872 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 			      struct mlx5dr_esw_caps *caps);
caps               12 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c static void nfp_net_tlv_caps_reset(struct nfp_net_tlv_caps *caps)
caps               14 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 	memset(caps, 0, sizeof(*caps));
caps               15 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 	caps->me_freq_mhz = 1200;
caps               16 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 	caps->mbox_off = NFP_NET_CFG_MBOX_BASE;
caps               17 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 	caps->mbox_len = NFP_NET_CFG_MBOX_VAL_MAX_SZ;
caps               21 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 			   struct nfp_net_tlv_caps *caps)
caps               27 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 	nfp_net_tlv_caps_reset(caps);
caps               75 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 			caps->me_freq_mhz = readl(data);
caps               79 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 				caps->mbox_off = 0;
caps               80 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 				caps->mbox_len = 0;
caps               82 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 				caps->mbox_off = data - ctrl_mem;
caps               83 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 				caps->mbox_len = length;
caps              100 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 			caps->repr_cap = readl(data);
caps              104 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 				caps->mbox_cmsg_types = readl(data);
caps              114 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 			caps->crypto_ops = readl(data);
caps              115 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c 			caps->crypto_enable_off = data - ctrl_mem + 16;
caps              517 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h 			   struct nfp_net_tlv_caps *caps);
caps             1108 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	struct qed_mcp_link_capabilities caps;
caps             1130 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	memcpy(&caps, qed_mcp_get_link_capabilities(p_hwfn), sizeof(caps));
caps             1131 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	qed_iov_set_link(p_hwfn, rel_vf_id, &params, &link, &caps);
caps             4722 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	struct qed_mcp_link_capabilities caps;
caps             4746 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		memcpy(&caps, qed_mcp_get_link_capabilities(lead_hwfn),
caps             4747 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		       sizeof(caps));
caps             4787 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		qed_iov_set_link(hwfn, i, &params, &link, &caps);
caps              468 drivers/net/ethernet/qlogic/qede/qede_ethtool.c #define QEDE_DRV_TO_ETHTOOL_CAPS(caps, lk_ksettings, name)	\
caps              473 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		if ((caps) & (qed_lm_map[i].qed_link_mode))	\
caps              479 drivers/net/ethernet/qlogic/qede/qede_ethtool.c #define QEDE_ETHTOOL_TO_DRV_CAPS(caps, lk_ksettings, name)	\
caps              486 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			caps |= qed_lm_map[i].qed_link_mode;	\
caps              395 drivers/net/ethernet/sfc/mcdi_port.c static u32 mcdi_fec_caps_to_ethtool(u32 caps, bool is_25g)
caps              397 drivers/net/ethernet/sfc/mcdi_port.c 	bool rs = caps & (1 << MC_CMD_PHY_CAP_RS_FEC_LBN),
caps              398 drivers/net/ethernet/sfc/mcdi_port.c 	     rs_req = caps & (1 << MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN),
caps              399 drivers/net/ethernet/sfc/mcdi_port.c 	     baser = is_25g ? caps & (1 << MC_CMD_PHY_CAP_25G_BASER_FEC_LBN)
caps              400 drivers/net/ethernet/sfc/mcdi_port.c 			    : caps & (1 << MC_CMD_PHY_CAP_BASER_FEC_LBN),
caps              401 drivers/net/ethernet/sfc/mcdi_port.c 	     baser_req = is_25g ? caps & (1 << MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN)
caps              402 drivers/net/ethernet/sfc/mcdi_port.c 				: caps & (1 << MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN);
caps              415 drivers/net/ethernet/sfc/mcdi_port.c 	u32 caps;
caps              447 drivers/net/ethernet/sfc/mcdi_port.c 	caps = MCDI_DWORD(outbuf, GET_LINK_OUT_CAP);
caps              448 drivers/net/ethernet/sfc/mcdi_port.c 	if (caps & (1 << MC_CMD_PHY_CAP_AN_LBN))
caps              449 drivers/net/ethernet/sfc/mcdi_port.c 		mcdi_to_ethtool_linkset(phy_data->media, caps,
caps              452 drivers/net/ethernet/sfc/mcdi_port.c 		phy_data->forced_cap = caps;
caps              500 drivers/net/ethernet/sfc/mcdi_port.c 	efx->fec_config = mcdi_fec_caps_to_ethtool(caps,
caps              520 drivers/net/ethernet/sfc/mcdi_port.c 	u32 caps = (efx->link_advertising[0] ?
caps              524 drivers/net/ethernet/sfc/mcdi_port.c 	caps |= ethtool_fec_caps_to_mcdi(efx->fec_config);
caps              526 drivers/net/ethernet/sfc/mcdi_port.c 	return efx_mcdi_set_link(efx, caps, efx_get_mcdi_phy_flags(efx),
caps              625 drivers/net/ethernet/sfc/mcdi_port.c 	u32 caps;
caps              629 drivers/net/ethernet/sfc/mcdi_port.c 		caps = (ethtool_linkset_to_mcdi_cap(cmd->link_modes.advertising) |
caps              633 drivers/net/ethernet/sfc/mcdi_port.c 		case 10:     caps = 1 << MC_CMD_PHY_CAP_10FDX_LBN;     break;
caps              634 drivers/net/ethernet/sfc/mcdi_port.c 		case 100:    caps = 1 << MC_CMD_PHY_CAP_100FDX_LBN;    break;
caps              635 drivers/net/ethernet/sfc/mcdi_port.c 		case 1000:   caps = 1 << MC_CMD_PHY_CAP_1000FDX_LBN;   break;
caps              636 drivers/net/ethernet/sfc/mcdi_port.c 		case 10000:  caps = 1 << MC_CMD_PHY_CAP_10000FDX_LBN;  break;
caps              637 drivers/net/ethernet/sfc/mcdi_port.c 		case 40000:  caps = 1 << MC_CMD_PHY_CAP_40000FDX_LBN;  break;
caps              638 drivers/net/ethernet/sfc/mcdi_port.c 		case 100000: caps = 1 << MC_CMD_PHY_CAP_100000FDX_LBN; break;
caps              639 drivers/net/ethernet/sfc/mcdi_port.c 		case 25000:  caps = 1 << MC_CMD_PHY_CAP_25000FDX_LBN;  break;
caps              640 drivers/net/ethernet/sfc/mcdi_port.c 		case 50000:  caps = 1 << MC_CMD_PHY_CAP_50000FDX_LBN;  break;
caps              645 drivers/net/ethernet/sfc/mcdi_port.c 		case 10:     caps = 1 << MC_CMD_PHY_CAP_10HDX_LBN;     break;
caps              646 drivers/net/ethernet/sfc/mcdi_port.c 		case 100:    caps = 1 << MC_CMD_PHY_CAP_100HDX_LBN;    break;
caps              647 drivers/net/ethernet/sfc/mcdi_port.c 		case 1000:   caps = 1 << MC_CMD_PHY_CAP_1000HDX_LBN;   break;
caps              652 drivers/net/ethernet/sfc/mcdi_port.c 	caps |= ethtool_fec_caps_to_mcdi(efx->fec_config);
caps              654 drivers/net/ethernet/sfc/mcdi_port.c 	rc = efx_mcdi_set_link(efx, caps, efx_get_mcdi_phy_flags(efx),
caps              664 drivers/net/ethernet/sfc/mcdi_port.c 		phy_cfg->forced_cap = caps;
caps              673 drivers/net/ethernet/sfc/mcdi_port.c 	u32 caps, active, speed; /* MCDI format */
caps              690 drivers/net/ethernet/sfc/mcdi_port.c 	caps = MCDI_DWORD(outbuf, GET_LINK_OUT_V2_CAP);
caps              691 drivers/net/ethernet/sfc/mcdi_port.c 	fec->fec = mcdi_fec_caps_to_ethtool(caps, is_25g);
caps              725 drivers/net/ethernet/sfc/mcdi_port.c 	u32 caps;
caps              732 drivers/net/ethernet/sfc/mcdi_port.c 		caps = (ethtool_linkset_to_mcdi_cap(efx->link_advertising) |
caps              735 drivers/net/ethernet/sfc/mcdi_port.c 		caps = phy_cfg->forced_cap;
caps              737 drivers/net/ethernet/sfc/mcdi_port.c 	caps |= ethtool_fec_caps_to_mcdi(fec->fec);
caps              738 drivers/net/ethernet/sfc/mcdi_port.c 	rc = efx_mcdi_set_link(efx, caps, efx_get_mcdi_phy_flags(efx),
caps              218 drivers/net/ethernet/sfc/siena.c 	u32 caps = 0;
caps              221 drivers/net/ethernet/sfc/siena.c 	rc = efx_mcdi_get_board_cfg(efx, efx->net_dev->perm_addr, NULL, &caps);
caps              224 drivers/net/ethernet/sfc/siena.c 		(caps & (1 << MC_CMD_CAPABILITIES_TURBO_ACTIVE_LBN)) ?
caps              595 drivers/net/hyperv/rndis_filter.c 		   struct ndis_offload *caps)
caps              597 drivers/net/hyperv/rndis_filter.c 	u32 caps_len = sizeof(*caps);
caps              600 drivers/net/hyperv/rndis_filter.c 	memset(caps, 0, sizeof(*caps));
caps              604 drivers/net/hyperv/rndis_filter.c 					caps, &caps_len);
caps              608 drivers/net/hyperv/rndis_filter.c 	if (caps->header.type != NDIS_OBJECT_TYPE_OFFLOAD) {
caps              610 drivers/net/hyperv/rndis_filter.c 			    caps->header.type);
caps              614 drivers/net/hyperv/rndis_filter.c 	if (caps->header.revision < NDIS_OFFLOAD_PARAMETERS_REVISION_1) {
caps              616 drivers/net/hyperv/rndis_filter.c 			    caps->header.revision);
caps              620 drivers/net/hyperv/rndis_filter.c 	if (caps->header.size > caps_len ||
caps              621 drivers/net/hyperv/rndis_filter.c 	    caps->header.size < NDIS_OFFLOAD_SIZE_6_0) {
caps              624 drivers/net/hyperv/rndis_filter.c 			    caps->header.size, caps_len);
caps              131 drivers/net/phy/dp83640.c 	struct ptp_clock_info caps;
caps              368 drivers/net/phy/dp83640.c 		container_of(ptp, struct dp83640_clock, caps);
caps              401 drivers/net/phy/dp83640.c 		container_of(ptp, struct dp83640_clock, caps);
caps              423 drivers/net/phy/dp83640.c 		container_of(ptp, struct dp83640_clock, caps);
caps              448 drivers/net/phy/dp83640.c 		container_of(ptp, struct dp83640_clock, caps);
caps              465 drivers/net/phy/dp83640.c 		container_of(ptp, struct dp83640_clock, caps);
caps              525 drivers/net/phy/dp83640.c 		container_of(ptp, struct dp83640_clock, caps);
caps              527 drivers/net/phy/dp83640.c 	if (clock->caps.pin_config[pin].func == PTP_PF_PHYSYNC &&
caps             1031 drivers/net/phy/dp83640.c 		kfree(clock->caps.pin_config);
caps             1045 drivers/net/phy/dp83640.c 	clock->caps.owner = THIS_MODULE;
caps             1046 drivers/net/phy/dp83640.c 	sprintf(clock->caps.name, "dp83640 timer");
caps             1047 drivers/net/phy/dp83640.c 	clock->caps.max_adj	= 1953124;
caps             1048 drivers/net/phy/dp83640.c 	clock->caps.n_alarm	= 0;
caps             1049 drivers/net/phy/dp83640.c 	clock->caps.n_ext_ts	= N_EXT_TS;
caps             1050 drivers/net/phy/dp83640.c 	clock->caps.n_per_out	= N_PER_OUT;
caps             1051 drivers/net/phy/dp83640.c 	clock->caps.n_pins	= DP83640_N_PINS;
caps             1052 drivers/net/phy/dp83640.c 	clock->caps.pps		= 0;
caps             1053 drivers/net/phy/dp83640.c 	clock->caps.adjfine	= ptp_dp83640_adjfine;
caps             1054 drivers/net/phy/dp83640.c 	clock->caps.adjtime	= ptp_dp83640_adjtime;
caps             1055 drivers/net/phy/dp83640.c 	clock->caps.gettime64	= ptp_dp83640_gettime;
caps             1056 drivers/net/phy/dp83640.c 	clock->caps.settime64	= ptp_dp83640_settime;
caps             1057 drivers/net/phy/dp83640.c 	clock->caps.enable	= ptp_dp83640_enable;
caps             1058 drivers/net/phy/dp83640.c 	clock->caps.verify	= ptp_dp83640_verify;
caps             1062 drivers/net/phy/dp83640.c 	dp83640_gpio_defaults(clock->caps.pin_config);
caps             1113 drivers/net/phy/dp83640.c 	clock->caps.pin_config = kcalloc(DP83640_N_PINS,
caps             1116 drivers/net/phy/dp83640.c 	if (!clock->caps.pin_config) {
caps             1169 drivers/net/phy/dp83640.c 		clock->ptp_clock = ptp_clock_register(&clock->caps,
caps             2535 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd->caps = __cpu_to_le32(arg->peer_caps);
caps             3138 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	info->caps = __cpu_to_le32(prb_caps);
caps             3191 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	info->caps = 0;
caps             1845 drivers/net/wireless/ath/ath10k/wmi-tlv.h 	__le32 caps;
caps             1981 drivers/net/wireless/ath/ath10k/wmi-tlv.h 	__le32 caps;
caps             5723 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 caps;
caps               35 drivers/net/wireless/ath/ath5k/caps.c 	struct ath5k_capabilities *caps = &ah->ah_capabilities;
caps               39 drivers/net/wireless/ath/ath5k/caps.c 	ee_header = caps->cap_eeprom.ee_header;
caps               46 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_range.range_5ghz_min = 5120;
caps               47 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_range.range_5ghz_max = 5430;
caps               48 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_range.range_2ghz_min = 0;
caps               49 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_range.range_2ghz_max = 0;
caps               52 drivers/net/wireless/ath/ath5k/caps.c 		__set_bit(AR5K_MODE_11A, caps->cap_mode);
caps               69 drivers/net/wireless/ath/ath5k/caps.c 			if (ath_is_49ghz_allowed(caps->cap_eeprom.ee_regdomain))
caps               70 drivers/net/wireless/ath/ath5k/caps.c 				caps->cap_range.range_5ghz_min = 4920;
caps               72 drivers/net/wireless/ath/ath5k/caps.c 				caps->cap_range.range_5ghz_min = 5005;
caps               73 drivers/net/wireless/ath/ath5k/caps.c 			caps->cap_range.range_5ghz_max = 6100;
caps               76 drivers/net/wireless/ath/ath5k/caps.c 			__set_bit(AR5K_MODE_11A, caps->cap_mode);
caps               85 drivers/net/wireless/ath/ath5k/caps.c 			caps->cap_range.range_2ghz_min = 2412;
caps               86 drivers/net/wireless/ath/ath5k/caps.c 			caps->cap_range.range_2ghz_max = 2732;
caps               91 drivers/net/wireless/ath/ath5k/caps.c 			if (!caps->cap_needs_2GHz_ovr) {
caps               94 drivers/net/wireless/ath/ath5k/caps.c 							caps->cap_mode);
caps               99 drivers/net/wireless/ath/ath5k/caps.c 							caps->cap_mode);
caps              105 drivers/net/wireless/ath/ath5k/caps.c 		__clear_bit(AR5K_MODE_11A, caps->cap_mode);
caps              109 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_queues.q_tx_num = AR5K_NUM_TX_QUEUES_NOQCU;
caps              111 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_queues.q_tx_num = AR5K_NUM_TX_QUEUES;
caps              115 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_has_phyerr_counters = true;
caps              117 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_has_phyerr_counters = false;
caps              121 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_has_mrr_support = true;
caps              123 drivers/net/wireless/ath/ath5k/caps.c 		caps->cap_has_mrr_support = false;
caps               37 drivers/net/wireless/ath/ath9k/ar9002_mac.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             1310 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	if ((ah->caps.hw_caps & ATH9K_HW_CAP_RTT) && !run_rtt_cal)
caps             1322 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	if ((ah->caps.hw_caps & ATH9K_HW_CAP_RTT) && caldata) {
caps             1404 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	bool rtt = !!(ah->caps.hw_caps & ATH9K_HW_CAP_RTT);
caps             1411 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask);
caps             1592 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask);
caps             3647 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             4156 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             4224 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (!(ah->caps.tx_chainmask & BIT(chain)))
caps             4817 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (ah->caps.tx_chainmask & BIT(1))
caps             4821 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (ah->caps.tx_chainmask & BIT(2))
caps             4830 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (ah->caps.tx_chainmask & BIT(1))
caps             4834 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (ah->caps.tx_chainmask & BIT(2))
caps              187 drivers/net/wireless/ath/ath9k/ar9003_mac.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps               62 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	if (ah->caps.tx_chainmask & BIT(1))
caps               65 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	if (ah->caps.tx_chainmask & BIT(2))
caps              183 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	for (i = 0; i < ah->caps.max_txchains; i++) {
caps              786 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	if (ah->caps.tx_chainmask & BIT(1))
caps              791 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	if (ah->caps.tx_chainmask & BIT(2))
caps             1008 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	if ((ah->caps.hw_caps & ATH9K_HW_CAP_PAPRD) && ah->config.enable_paprd)
caps              678 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	if (ah->caps.tx_chainmask == 5 || ah->caps.rx_chainmask == 5)
caps              685 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	if ((ah->caps.hw_caps & ATH9K_HW_CAP_APM) && (tx == 0x7))
caps             1311 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		if (ah->caps.rx_chainmask == 1)
caps             1568 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps              109 drivers/net/wireless/ath/ath9k/ar9003_rtt.c 		if (!(ah->caps.rx_chainmask & (1 << chain)))
caps              174 drivers/net/wireless/ath/ath9k/ar9003_rtt.c 		if (!(ah->caps.rx_chainmask & (1 << chain)))
caps              196 drivers/net/wireless/ath/ath9k/ar9003_rtt.c 		if (!(ah->caps.rx_chainmask & (1 << chain)))
caps              395 drivers/net/wireless/ath/ath9k/beacon.c 	bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA);
caps              150 drivers/net/wireless/ath/ath9k/btcoex.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI) {
caps              134 drivers/net/wireless/ath/ath9k/common-init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) {
caps              151 drivers/net/wireless/ath/ath9k/common-init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) {
caps              185 drivers/net/wireless/ath/ath9k/common-init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_LDPC)
caps              188 drivers/net/wireless/ath/ath9k/common-init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20)
caps              234 drivers/net/wireless/ath/ath9k/common-init.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_HT))
caps              237 drivers/net/wireless/ath/ath9k/common-init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
caps              240 drivers/net/wireless/ath/ath9k/common-init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
caps              249 drivers/net/wireless/ath/ath9k/debug.c 	struct ath9k_hw_capabilities *pCap = &sc->sc_ah->caps;
caps              305 drivers/net/wireless/ath/ath9k/debug.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps              478 drivers/net/wireless/ath/ath9k/debug.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps              538 drivers/net/wireless/ath/ath9k/debug.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps               50 drivers/net/wireless/ath/ath9k/dfs_debug.c 			 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_DFS) ?
caps              759 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps              129 drivers/net/wireless/ath/ath9k/gpio.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT)
caps              214 drivers/net/wireless/ath/ath9k/gpio.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI) {
caps              219 drivers/net/wireless/ath/ath9k/gpio.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI))
caps              225 drivers/net/wireless/ath/ath9k/gpio.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) {
caps              265 drivers/net/wireless/ath/ath9k/gpio.c 	    (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI) &&
caps              349 drivers/net/wireless/ath/ath9k/gpio.c 	if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_MCI) && mci->aggr_limit)
caps              372 drivers/net/wireless/ath/ath9k/gpio.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI))
caps              393 drivers/net/wireless/ath/ath9k/gpio.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI)
caps              332 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c 	if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT)
caps              765 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
caps              768 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
caps              586 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	tcap.tx_chainmask = priv->ah->caps.tx_chainmask;
caps              599 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	u32 caps = 0;
caps              622 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		caps = WLAN_RC_HT_FLAG;
caps              624 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			caps |= ATH_RC_TX_STBC_FLAG;
caps              626 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			caps |= WLAN_RC_DS_FLAG;
caps              629 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			caps |= WLAN_RC_40_FLAG;
caps              632 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			caps |= WLAN_RC_SGI_FLAG;
caps              635 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			caps |= WLAN_RC_SGI_FLAG;
caps              640 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	trate->capflags = cpu_to_be32(caps);
caps               53 drivers/net/wireless/ath/ath9k/hw.c 	else if (ah->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK)
caps             1238 drivers/net/wireless/ath/ath9k/hw.c 			ah->caps.rx_status_len);
caps             1547 drivers/net/wireless/ath/ath9k/hw.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             1792 drivers/net/wireless/ath/ath9k/hw.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             2003 drivers/net/wireless/ath/ath9k/hw.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT)
caps             2142 drivers/net/wireless/ath/ath9k/hw.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             2328 drivers/net/wireless/ath/ath9k/hw.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             2434 drivers/net/wireless/ath/ath9k/hw.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             2489 drivers/net/wireless/ath/ath9k/hw.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps             2733 drivers/net/wireless/ath/ath9k/hw.c 	if (ah->caps.gpio_requested & BIT(gpio))
caps             2742 drivers/net/wireless/ath/ath9k/hw.c 	ah->caps.gpio_requested |= BIT(gpio);
caps             2774 drivers/net/wireless/ath/ath9k/hw.c 	WARN_ON(gpio >= ah->caps.num_gpio_pins);
caps             2776 drivers/net/wireless/ath/ath9k/hw.c 	if (BIT(gpio) & ah->caps.gpio_mask)
caps             2802 drivers/net/wireless/ath/ath9k/hw.c 	WARN_ON(gpio >= ah->caps.num_gpio_pins);
caps             2804 drivers/net/wireless/ath/ath9k/hw.c 	if (ah->caps.gpio_requested & BIT(gpio)) {
caps             2806 drivers/net/wireless/ath/ath9k/hw.c 		ah->caps.gpio_requested &= ~BIT(gpio);
caps             2818 drivers/net/wireless/ath/ath9k/hw.c 	WARN_ON(gpio >= ah->caps.num_gpio_pins);
caps             2820 drivers/net/wireless/ath/ath9k/hw.c 	if (BIT(gpio) & ah->caps.gpio_mask) {
caps             2835 drivers/net/wireless/ath/ath9k/hw.c 	} else if (BIT(gpio) & ah->caps.gpio_requested) {
caps             2847 drivers/net/wireless/ath/ath9k/hw.c 	WARN_ON(gpio >= ah->caps.num_gpio_pins);
caps             2854 drivers/net/wireless/ath/ath9k/hw.c 	if (BIT(gpio) & ah->caps.gpio_mask) {
caps             2859 drivers/net/wireless/ath/ath9k/hw.c 	} else if (BIT(gpio) & ah->caps.gpio_requested) {
caps              469 drivers/net/wireless/ath/ath9k/hw.h 	(IS_CHAN_5GHZ(_c) && ((_ah)->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK))
caps              782 drivers/net/wireless/ath/ath9k/hw.h 	struct ath9k_hw_capabilities caps;
caps             1164 drivers/net/wireless/ath/ath9k/hw.h 	       (ah->caps.hw_caps & ATH9K_HW_CAP_MCI);
caps              297 drivers/net/wireless/ath/ath9k/init.c 		desc_len = sc->sc_ah->caps.tx_desc_len;
caps              315 drivers/net/wireless/ath/ath9k/init.c 	if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) {
caps              352 drivers/net/wireless/ath/ath9k/init.c 			if (!(sc->sc_ah->caps.hw_caps &
caps              383 drivers/net/wireless/ath/ath9k/init.c 			if (!(sc->sc_ah->caps.hw_caps &
caps              437 drivers/net/wireless/ath/ath9k/init.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB)
caps              452 drivers/net/wireless/ath/ath9k/init.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps              673 drivers/net/wireless/ath/ath9k/init.c 	pCap = &ah->caps;
caps              817 drivers/net/wireless/ath/ath9k/init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
caps              819 drivers/net/wireless/ath/ath9k/init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
caps              934 drivers/net/wireless/ath/ath9k/init.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) {
caps              988 drivers/net/wireless/ath/ath9k/init.c 	hw->wiphy->available_antennas_rx = BIT(ah->caps.max_rxchains) - 1;
caps              989 drivers/net/wireless/ath/ath9k/init.c 	hw->wiphy->available_antennas_tx = BIT(ah->caps.max_txchains) - 1;
caps              992 drivers/net/wireless/ath/ath9k/init.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB)
caps              998 drivers/net/wireless/ath/ath9k/init.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
caps             1001 drivers/net/wireless/ath/ath9k/init.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
caps              751 drivers/net/wireless/ath/ath9k/mac.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              912 drivers/net/wireless/ath/ath9k/mac.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps              436 drivers/net/wireless/ath/ath9k/main.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              444 drivers/net/wireless/ath/ath9k/main.c 		if ((ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) &&
caps              452 drivers/net/wireless/ath/ath9k/main.c 		if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps              568 drivers/net/wireless/ath/ath9k/main.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP))
caps              691 drivers/net/wireless/ath/ath9k/main.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              707 drivers/net/wireless/ath/ath9k/main.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_HT)
caps              776 drivers/net/wireless/ath/ath9k/main.c 		if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP))
caps             1369 drivers/net/wireless/ath/ath9k/main.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) {
caps             1389 drivers/net/wireless/ath/ath9k/main.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) {
caps             2152 drivers/net/wireless/ath/ath9k/main.c 	bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA);
caps             2228 drivers/net/wireless/ath/ath9k/main.c 		return (ah->caps.rx_chainmask == 1);
caps             2239 drivers/net/wireless/ath/ath9k/main.c 	if (ah->caps.rx_chainmask != 1)
caps             2248 drivers/net/wireless/ath/ath9k/main.c 	if (ah->caps.rx_chainmask == 1)
caps             2255 drivers/net/wireless/ath/ath9k/main.c 		ah->rxchainmask = fill_chainmask(ah->caps.rx_chainmask, rx_ant);
caps             2257 drivers/net/wireless/ath/ath9k/main.c 	ah->txchainmask = fill_chainmask(ah->caps.tx_chainmask, tx_ant);
caps              638 drivers/net/wireless/ath/ath9k/mci.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_MCI)
caps               26 drivers/net/wireless/ath/ath9k/recv.c 	       (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP);
caps              127 drivers/net/wireless/ath/ath9k/recv.c 	memset(skb->data, 0, ah->caps.rx_status_len);
caps              129 drivers/net/wireless/ath/ath9k/recv.c 				ah->caps.rx_status_len, DMA_TO_DEVICE);
caps              208 drivers/net/wireless/ath/ath9k/recv.c 				    ah->caps.rx_status_len);
caps              211 drivers/net/wireless/ath/ath9k/recv.c 			       ah->caps.rx_lp_qdepth);
caps              213 drivers/net/wireless/ath/ath9k/recv.c 			       ah->caps.rx_hp_qdepth);
caps              281 drivers/net/wireless/ath/ath9k/recv.c 			     sc->sc_ah->caps.rx_status_len;
caps              283 drivers/net/wireless/ath/ath9k/recv.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              338 drivers/net/wireless/ath/ath9k/recv.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps              445 drivers/net/wireless/ath/ath9k/recv.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps              474 drivers/net/wireless/ath/ath9k/recv.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              490 drivers/net/wireless/ath/ath9k/recv.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              845 drivers/net/wireless/ath/ath9k/recv.c 	if (rx_stats->rs_datalen > (common->rx_bufsize - ah->caps.rx_status_len)) {
caps              864 drivers/net/wireless/ath/ath9k/recv.c 	hdr = (struct ieee80211_hdr *) (skb->data + ah->caps.rx_status_len);
caps              966 drivers/net/wireless/ath/ath9k/recv.c 	struct ath9k_hw_capabilities *pCap = &ah->caps;
caps              969 drivers/net/wireless/ath/ath9k/recv.c 	if (!(ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB))
caps             1070 drivers/net/wireless/ath/ath9k/recv.c 	bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA);
caps             1148 drivers/net/wireless/ath/ath9k/recv.c 		skb_put(skb, rs.rs_datalen + ah->caps.rx_status_len);
caps             1149 drivers/net/wireless/ath/ath9k/recv.c 		if (ah->caps.rx_status_len)
caps             1150 drivers/net/wireless/ath/ath9k/recv.c 			skb_pull(skb, ah->caps.rx_status_len);
caps              402 drivers/net/wireless/ath/ath9k/xmit.c 	memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len);
caps              844 drivers/net/wireless/ath/ath9k/xmit.c 	    !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA))
caps             1311 drivers/net/wireless/ath/ath9k/xmit.c 	if (bf_isaggr(bf) && (len > sc->sc_ah->caps.rts_aggr_limit))
caps             1727 drivers/net/wireless/ath/ath9k/xmit.c 	if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps             1845 drivers/net/wireless/ath/ath9k/xmit.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
caps             1993 drivers/net/wireless/ath/ath9k/xmit.c 	edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA);
caps             2130 drivers/net/wireless/ath/ath9k/xmit.c 	if ((ah->caps.hw_caps & ATH9K_HW_CAP_APM) && IS_CHAN_5GHZ(curchan) &&
caps             2734 drivers/net/wireless/ath/ath9k/xmit.c 	u8 txs_len = sc->sc_ah->caps.txs_len;
caps             2781 drivers/net/wireless/ath/ath9k/xmit.c 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
caps              120 drivers/net/wireless/ath/wcn36xx/smd.c static inline u8 is_cap_supported(unsigned long caps, unsigned long flag)
caps              122 drivers/net/wireless/ath/wcn36xx/smd.c 	return caps & flag ? 1 : 0;
caps              129 drivers/net/wireless/ath/wcn36xx/smd.c 		unsigned long caps = sta->ht_cap.cap;
caps              131 drivers/net/wireless/ath/wcn36xx/smd.c 		bss_params->tx_channel_width_set = is_cap_supported(caps,
caps              134 drivers/net/wireless/ath/wcn36xx/smd.c 			is_cap_supported(caps,
caps              152 drivers/net/wireless/ath/wcn36xx/smd.c 		unsigned long caps = sta->ht_cap.cap;
caps              154 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->tx_channel_width_set = is_cap_supported(caps,
caps              156 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->lsig_txop_protection = is_cap_supported(caps,
caps              161 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->max_amsdu_size = is_cap_supported(caps,
caps              163 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->sgi_20Mhz = is_cap_supported(caps,
caps              165 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->sgi_40mhz =	is_cap_supported(caps,
caps              167 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->green_field_capable = is_cap_supported(caps,
caps              169 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->delayed_ba_support = is_cap_supported(caps,
caps              171 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->dsss_cck_mode_40mhz = is_cap_supported(caps,
caps              900 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	host->caps |= MMC_CAP_NONREMOVABLE;
caps              179 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	char caps[MAX_CAPS_BUFFER_SIZE];
caps              183 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	err = brcmf_fil_iovar_data_get(ifp, "cap", caps, sizeof(caps));
caps              189 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	brcmf_dbg(INFO, "[ %s]\n", caps);
caps              192 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 		if (strnstr(caps, brcmf_fwcap_map[i].fwcap_id, sizeof(caps))) {
caps              212 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	char caps[MAX_CAPS_BUFFER_SIZE + 1] = { };
caps              216 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	err = brcmf_fil_iovar_data_get(ifp, "cap", caps, sizeof(caps));
caps              223 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	for (tmp = caps; *tmp; tmp++) {
caps              229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	seq_printf(seq, "%s", caps);
caps              231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c 	if (tmp > caps && *(tmp - 1) != '\n')
caps              845 drivers/net/wireless/marvell/libertas/if_sdio.c 	    (host->caps & MMC_CAP_SDIO_IRQ) &&
caps             1224 drivers/net/wireless/marvell/libertas/if_sdio.c 	priv->is_polling = !(func->card->host->caps & MMC_CAP_SDIO_IRQ);
caps              239 drivers/net/wireless/marvell/mwl8k.c 	u32 caps;
caps             2356 drivers/net/wireless/marvell/mwl8k.c 	__le32 caps;
caps             2432 drivers/net/wireless/marvell/mwl8k.c mwl8k_set_caps(struct ieee80211_hw *hw, u32 caps)
caps             2436 drivers/net/wireless/marvell/mwl8k.c 	if (priv->caps)
caps             2439 drivers/net/wireless/marvell/mwl8k.c 	if ((caps & MWL8K_CAP_2GHZ4) || !(caps & MWL8K_CAP_BAND_MASK)) {
caps             2441 drivers/net/wireless/marvell/mwl8k.c 		if (caps & MWL8K_CAP_MIMO)
caps             2442 drivers/net/wireless/marvell/mwl8k.c 			mwl8k_set_ht_caps(hw, &priv->band_24, caps);
caps             2445 drivers/net/wireless/marvell/mwl8k.c 	if (caps & MWL8K_CAP_5GHZ) {
caps             2447 drivers/net/wireless/marvell/mwl8k.c 		if (caps & MWL8K_CAP_MIMO)
caps             2448 drivers/net/wireless/marvell/mwl8k.c 			mwl8k_set_ht_caps(hw, &priv->band_50, caps);
caps             2451 drivers/net/wireless/marvell/mwl8k.c 	priv->caps = caps;
caps             2484 drivers/net/wireless/marvell/mwl8k.c 		mwl8k_set_caps(hw, le32_to_cpu(cmd->caps));
caps             2514 drivers/net/wireless/marvell/mwl8k.c 	__le32 caps;
caps             2555 drivers/net/wireless/marvell/mwl8k.c 		mwl8k_set_caps(hw, le32_to_cpu(cmd->caps));
caps             2599 drivers/net/wireless/marvell/mwl8k.c 	__le32 caps;
caps              436 drivers/net/wireless/rndis_wlan.c 	int caps;
caps             3112 drivers/net/wireless/rndis_wlan.c 	struct ndis_80211_capability *caps;
caps             3113 drivers/net/wireless/rndis_wlan.c 	u8 caps_buf[sizeof(*caps) + sizeof(caps->auth_encr_pair) * 16];
caps             3130 drivers/net/wireless/rndis_wlan.c 				priv->caps |= CAP_MODE_80211B;
caps             3133 drivers/net/wireless/rndis_wlan.c 				priv->caps |= CAP_MODE_80211A;
caps             3136 drivers/net/wireless/rndis_wlan.c 				priv->caps |= CAP_MODE_80211G;
caps             3143 drivers/net/wireless/rndis_wlan.c 	caps = (struct ndis_80211_capability *)caps_buf;
caps             3147 drivers/net/wireless/rndis_wlan.c 				 caps, &len);
caps             3151 drivers/net/wireless/rndis_wlan.c 				le32_to_cpu(caps->length),
caps             3152 drivers/net/wireless/rndis_wlan.c 				le32_to_cpu(caps->version),
caps             3153 drivers/net/wireless/rndis_wlan.c 				le32_to_cpu(caps->num_pmkids),
caps             3154 drivers/net/wireless/rndis_wlan.c 				le32_to_cpu(caps->num_auth_encr_pair));
caps             3155 drivers/net/wireless/rndis_wlan.c 		wiphy->max_num_pmkids = le32_to_cpu(caps->num_pmkids);
caps              287 drivers/net/wireless/rsi/rsi_91x_sdio.c 	if (card->host->caps & MMC_CAP_SD_HIGHSPEED) {
caps              320 drivers/net/wireless/rsi/rsi_91x_sdio.c 	if (card->host->caps & MMC_CAP_4_BIT_DATA) {
caps               82 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	const struct mvebu_a3700_utmi_caps *caps;
caps               90 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	int usb32 = utmi->caps->usb32;
caps              167 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	int usb32 = utmi->caps->usb32;
caps              246 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	utmi->caps = of_device_get_match_data(dev);
caps              249 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	utmi->phy = devm_phy_create(dev, NULL, utmi->caps->ops);
caps              258 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	utmi->caps->ops->power_off(utmi->phy);
caps              294 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL)
caps              466 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	if (!(priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL) &&
caps              474 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL)
caps              594 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_DBGMUX_SEPARATE) {
caps              728 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_DBGMUX_SEPARATE) {
caps              809 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			if (socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL)
caps              695 drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c 	.caps = UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,
caps              808 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c 	.caps = UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,
caps              728 drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c 	.caps = 0,
caps              943 drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c 	.caps = 0,
caps             1237 drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c 	.caps = UNIPHIER_PINCTRL_CAPS_DBGMUX_SEPARATE,
caps             1006 drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c 	.caps = UNIPHIER_PINCTRL_CAPS_DBGMUX_SEPARATE,
caps              965 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c 	.caps = 0,
caps              976 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c 	.caps = UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,
caps              657 drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c 	.caps = 0,
caps              147 drivers/pinctrl/uniphier/pinctrl-uniphier.h 	unsigned int caps;
caps              119 drivers/ptp/ptp_chardev.c 	struct ptp_clock_caps caps;
caps              130 drivers/ptp/ptp_chardev.c 		memset(&caps, 0, sizeof(caps));
caps              132 drivers/ptp/ptp_chardev.c 		caps.max_adj = ptp->info->max_adj;
caps              133 drivers/ptp/ptp_chardev.c 		caps.n_alarm = ptp->info->n_alarm;
caps              134 drivers/ptp/ptp_chardev.c 		caps.n_ext_ts = ptp->info->n_ext_ts;
caps              135 drivers/ptp/ptp_chardev.c 		caps.n_per_out = ptp->info->n_per_out;
caps              136 drivers/ptp/ptp_chardev.c 		caps.pps = ptp->info->pps;
caps              137 drivers/ptp/ptp_chardev.c 		caps.n_pins = ptp->info->n_pins;
caps              138 drivers/ptp/ptp_chardev.c 		caps.cross_timestamping = ptp->info->getcrosststamp != NULL;
caps              139 drivers/ptp/ptp_chardev.c 		if (copy_to_user((void __user *)arg, &caps, sizeof(caps)))
caps               54 drivers/ptp/ptp_dte.c 	struct ptp_clock_info caps;
caps              151 drivers/ptp/ptp_dte.c 	struct ptp_dte *ptp_dte = container_of(ptp, struct ptp_dte, caps);
caps              153 drivers/ptp/ptp_dte.c 	if (abs(ppb) > ptp_dte->caps.max_adj) {
caps              173 drivers/ptp/ptp_dte.c 	struct ptp_dte *ptp_dte = container_of(ptp, struct ptp_dte, caps);
caps              185 drivers/ptp/ptp_dte.c 	struct ptp_dte *ptp_dte = container_of(ptp, struct ptp_dte, caps);
caps              198 drivers/ptp/ptp_dte.c 	struct ptp_dte *ptp_dte = container_of(ptp, struct ptp_dte, caps);
caps              257 drivers/ptp/ptp_dte.c 	ptp_dte->caps = ptp_dte_caps;
caps              258 drivers/ptp/ptp_dte.c 	ptp_dte->ptp_clk = ptp_clock_register(&ptp_dte->caps, &pdev->dev);
caps               30 drivers/ptp/ptp_ixp46x.c 	struct ptp_clock_info caps;
caps              128 drivers/ptp/ptp_ixp46x.c 	struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps);
caps              151 drivers/ptp/ptp_ixp46x.c 	struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps);
caps              169 drivers/ptp/ptp_ixp46x.c 	struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps);
caps              187 drivers/ptp/ptp_ixp46x.c 	struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps);
caps              204 drivers/ptp/ptp_ixp46x.c 	struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps);
caps              292 drivers/ptp/ptp_ixp46x.c 	ixp_clock.caps = ptp_ixp_caps;
caps              294 drivers/ptp/ptp_ixp46x.c 	ixp_clock.ptp_clock = ptp_clock_register(&ixp_clock.caps, NULL);
caps               22 drivers/ptp/ptp_kvm.c 	struct ptp_clock_info caps;
caps              185 drivers/ptp/ptp_kvm.c 	kvm_ptp_clock.caps = ptp_kvm_caps;
caps              187 drivers/ptp/ptp_kvm.c 	kvm_ptp_clock.ptp_clock = ptp_clock_register(&kvm_ptp_clock.caps, NULL);
caps              111 drivers/ptp/ptp_pch.c 	struct ptp_clock_info caps;
caps              405 drivers/ptp/ptp_pch.c 	struct pch_dev *pch_dev = container_of(ptp, struct pch_dev, caps);
caps              428 drivers/ptp/ptp_pch.c 	struct pch_dev *pch_dev = container_of(ptp, struct pch_dev, caps);
caps              444 drivers/ptp/ptp_pch.c 	struct pch_dev *pch_dev = container_of(ptp, struct pch_dev, caps);
caps              460 drivers/ptp/ptp_pch.c 	struct pch_dev *pch_dev = container_of(ptp, struct pch_dev, caps);
caps              475 drivers/ptp/ptp_pch.c 	struct pch_dev *pch_dev = container_of(ptp, struct pch_dev, caps);
caps              615 drivers/ptp/ptp_pch.c 	chip->caps = ptp_pch_caps;
caps              616 drivers/ptp/ptp_pch.c 	chip->ptp_clock = ptp_clock_register(&chip->caps, &pdev->dev);
caps              200 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps);
caps              229 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps);
caps              248 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps);
caps              267 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps);
caps              285 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps);
caps              443 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->caps.max_adj = max_adj;
caps              449 drivers/ptp/ptp_qoriq.c 		   const struct ptp_clock_info *caps)
caps              461 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->caps = *caps;
caps              482 drivers/ptp/ptp_qoriq.c 				 "fsl,max-adj", &ptp_qoriq->caps.max_adj)) {
caps              513 drivers/ptp/ptp_qoriq.c 	ptp_qoriq_settime(&ptp_qoriq->caps, &now);
caps              533 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->clock = ptp_clock_register(&ptp_qoriq->caps, ptp_qoriq->dev);
caps              336 drivers/s390/cio/vfio_ccw_ops.c 		struct vfio_info_cap caps = { .buf = NULL, .size = 0 };
caps              359 drivers/s390/cio/vfio_ccw_ops.c 		ret = vfio_info_add_capability(&caps, &cap_type.header,
caps              365 drivers/s390/cio/vfio_ccw_ops.c 		if (info->argsz < sizeof(*info) + caps.size) {
caps              366 drivers/s390/cio/vfio_ccw_ops.c 			info->argsz = sizeof(*info) + caps.size;
caps              369 drivers/s390/cio/vfio_ccw_ops.c 			vfio_info_cap_shift(&caps, sizeof(*info));
caps              371 drivers/s390/cio/vfio_ccw_ops.c 					 caps.buf, caps.size)) {
caps              372 drivers/s390/cio/vfio_ccw_ops.c 				kfree(caps.buf);
caps              378 drivers/s390/cio/vfio_ccw_ops.c 		kfree(caps.buf);
caps             5329 drivers/s390/net/qeth_core_main.c 	struct qeth_ipa_caps *caps = reply->param;
caps             5334 drivers/s390/net/qeth_core_main.c 	caps->supported = cmd->data.setassparms.data.caps.supported;
caps             5335 drivers/s390/net/qeth_core_main.c 	caps->enabled = cmd->data.setassparms.data.caps.enabled;
caps             5928 drivers/s390/net/qeth_core_main.c 	struct qeth_ipa_caps caps;
caps             5962 drivers/s390/net/qeth_core_main.c 	rc = qeth_send_ipa_cmd(card, iob, qeth_setassparms_get_caps_cb, &caps);
caps             5968 drivers/s390/net/qeth_core_main.c 	if (!qeth_ipa_caps_supported(&caps, required_features) ||
caps             5969 drivers/s390/net/qeth_core_main.c 	    !qeth_ipa_caps_enabled(&caps, required_features)) {
caps             5976 drivers/s390/net/qeth_core_main.c 	if (!qeth_ipa_caps_enabled(&caps, QETH_IPA_CHECKSUM_LP2LP) &&
caps             6017 drivers/s390/net/qeth_core_main.c 	struct qeth_ipa_caps caps;
caps             6036 drivers/s390/net/qeth_core_main.c 				       SETASS_DATA_SIZEOF(caps), prot);
caps             6043 drivers/s390/net/qeth_core_main.c 	__ipa_cmd(iob)->data.setassparms.data.caps.enabled =
caps             6045 drivers/s390/net/qeth_core_main.c 	rc = qeth_send_ipa_cmd(card, iob, qeth_setassparms_get_caps_cb, &caps);
caps             6051 drivers/s390/net/qeth_core_main.c 	if (!qeth_ipa_caps_supported(&caps, QETH_IPA_LARGE_SEND_TCP) ||
caps             6052 drivers/s390/net/qeth_core_main.c 	    !qeth_ipa_caps_enabled(&caps, QETH_IPA_LARGE_SEND_TCP)) {
caps               45 drivers/s390/net/qeth_core_mpc.h static inline bool qeth_ipa_caps_supported(struct qeth_ipa_caps *caps, u32 mask)
caps               47 drivers/s390/net/qeth_core_mpc.h 	return (caps->supported & mask) == mask;
caps               50 drivers/s390/net/qeth_core_mpc.h static inline bool qeth_ipa_caps_enabled(struct qeth_ipa_caps *caps, u32 mask)
caps               52 drivers/s390/net/qeth_core_mpc.h 	return (caps->enabled & mask) == mask;
caps              416 drivers/s390/net/qeth_core_mpc.h 		struct qeth_ipa_caps caps;
caps             5806 drivers/scsi/be2iscsi/be_main.c 	.caps = CAP_RECOVERY_L0 | CAP_HDRDGST | CAP_TEXT_NEGO |
caps             2274 drivers/scsi/bnx2i/bnx2i_iscsi.c 	.caps			= CAP_RECOVERY_L0 | CAP_HDRDGST |
caps             1146 drivers/scsi/csiostor/csio_hw.c 	uint16_t caps;
caps             1148 drivers/scsi/csiostor/csio_hw.c 	caps = ntohs(rsp->fcoecaps);
caps             1150 drivers/scsi/csiostor/csio_hw.c 	if (!(caps & FW_CAPS_CONFIG_FCOE_INITIATOR)) {
caps             1155 drivers/scsi/csiostor/csio_hw.c 	if (!(caps & FW_CAPS_CONFIG_FCOE_CTRL_OFLD)) {
caps              107 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c 	.caps		= CAP_RECOVERY_L0 | CAP_MULTI_R2T | CAP_HDRDGST
caps              124 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	.caps		= CAP_RECOVERY_L0 | CAP_MULTI_R2T | CAP_HDRDGST |
caps             1657 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	u8 caps;
caps             1663 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	rv = (int)ndev->dcbnl_ops->getcap(ndev, DCB_CAP_ATTR_DCBX, &caps);
caps             1667 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	if (caps & DCB_CAP_DCBX_VER_IEEE) {
caps             1674 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c 	} else if (caps & DCB_CAP_DCBX_VER_CEE) {
caps              788 drivers/scsi/esas2r/esas2r_ioctl.c 			u32 caps;
caps              793 drivers/scsi/esas2r/esas2r_ioctl.c 						   &caps);
caps              798 drivers/scsi/esas2r/esas2r_ioctl.c 				(u8)(caps & PCI_EXP_LNKCAP_SLS);
caps              803 drivers/scsi/esas2r/esas2r_ioctl.c 				(u8)((caps & PCI_EXP_LNKCAP_MLW)
caps             1093 drivers/scsi/ibmvscsi/ibmvscsi.c 	hostdata->caps_addr = dma_map_single(hostdata->dev, &hostdata->caps,
caps             1094 drivers/scsi/ibmvscsi/ibmvscsi.c 					     sizeof(hostdata->caps), DMA_BIDIRECTIONAL);
caps             1108 drivers/scsi/ibmvscsi/ibmvscsi.c 				 sizeof(hostdata->caps), DMA_BIDIRECTIONAL);
caps             1124 drivers/scsi/ibmvscsi/ibmvscsi.c 			 sizeof(hostdata->caps), DMA_BIDIRECTIONAL);
caps             1223 drivers/scsi/ibmvscsi/ibmvscsi.c 		if (hostdata->caps.migration.common.server_support !=
caps             1228 drivers/scsi/ibmvscsi/ibmvscsi.c 			if (hostdata->caps.reserve.common.server_support ==
caps             1261 drivers/scsi/ibmvscsi/ibmvscsi.c 	hostdata->caps.flags = cpu_to_be32(CAP_LIST_SUPPORTED);
caps             1263 drivers/scsi/ibmvscsi/ibmvscsi.c 		hostdata->caps.flags |= cpu_to_be32(CLIENT_MIGRATED);
caps             1265 drivers/scsi/ibmvscsi/ibmvscsi.c 	strlcpy(hostdata->caps.name, dev_name(&hostdata->host->shost_gendev),
caps             1266 drivers/scsi/ibmvscsi/ibmvscsi.c 		sizeof(hostdata->caps.name));
caps             1270 drivers/scsi/ibmvscsi/ibmvscsi.c 	strlcpy(hostdata->caps.loc, location, sizeof(hostdata->caps.loc));
caps             1275 drivers/scsi/ibmvscsi/ibmvscsi.c 	hostdata->caps.migration.common.cap_type =
caps             1277 drivers/scsi/ibmvscsi/ibmvscsi.c 	hostdata->caps.migration.common.length =
caps             1278 drivers/scsi/ibmvscsi/ibmvscsi.c 				cpu_to_be16(sizeof(hostdata->caps.migration));
caps             1279 drivers/scsi/ibmvscsi/ibmvscsi.c 	hostdata->caps.migration.common.server_support =
caps             1281 drivers/scsi/ibmvscsi/ibmvscsi.c 	hostdata->caps.migration.ecl = cpu_to_be32(1);
caps             1284 drivers/scsi/ibmvscsi/ibmvscsi.c 		hostdata->caps.reserve.common.cap_type =
caps             1286 drivers/scsi/ibmvscsi/ibmvscsi.c 		hostdata->caps.reserve.common.length =
caps             1287 drivers/scsi/ibmvscsi/ibmvscsi.c 				cpu_to_be16(sizeof(hostdata->caps.reserve));
caps             1288 drivers/scsi/ibmvscsi/ibmvscsi.c 		hostdata->caps.reserve.common.server_support =
caps             1290 drivers/scsi/ibmvscsi/ibmvscsi.c 		hostdata->caps.reserve.type =
caps             1293 drivers/scsi/ibmvscsi/ibmvscsi.c 				cpu_to_be16(sizeof(hostdata->caps));
caps             1295 drivers/scsi/ibmvscsi/ibmvscsi.c 		req->common.length = cpu_to_be16(sizeof(hostdata->caps) -
caps             1296 drivers/scsi/ibmvscsi/ibmvscsi.c 						sizeof(hostdata->caps.reserve));
caps             1891 drivers/scsi/ibmvscsi/ibmvscsi.c 	len = snprintf(buf, sizeof(hostdata->caps.loc), "%s\n",
caps             1892 drivers/scsi/ibmvscsi/ibmvscsi.c 		       hostdata->caps.loc);
caps             1911 drivers/scsi/ibmvscsi/ibmvscsi.c 	len = snprintf(buf, sizeof(hostdata->caps.name), "%s\n",
caps             1912 drivers/scsi/ibmvscsi/ibmvscsi.c 		       hostdata->caps.name);
caps               99 drivers/scsi/ibmvscsi/ibmvscsi.h 	struct capabilities caps;
caps              995 drivers/scsi/iscsi_tcp.c 	.caps			= CAP_RECOVERY_L0 | CAP_MULTI_R2T | CAP_HDRDGST
caps              245 drivers/scsi/libiscsi_tcp.c 	if (!(tcp_conn->iscsi_conn->session->tt->caps & CAP_PADDING_OFFLOAD)) {
caps              440 drivers/scsi/libiscsi_tcp.c 	    !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD))
caps              704 drivers/scsi/libiscsi_tcp.c 			    !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD))
caps              837 drivers/scsi/libiscsi_tcp.c 	    !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) {
caps             1380 drivers/scsi/qedi/qedi_iscsi.c 	.caps = CAP_RECOVERY_L0 | CAP_HDRDGST | CAP_MULTI_R2T | CAP_DATADGST |
caps              219 drivers/scsi/qla4xxx/ql4_os.c 	.caps			= CAP_TEXT_NEGO |
caps              141 drivers/scsi/scsi_transport_iscsi.c show_transport_attr(caps, "0x%x");
caps              156 drivers/scsi/ufs/ufs-hisi.c 	if (host->caps & UFS_HISI_CAP_PHY10nm) {
caps              183 drivers/scsi/ufs/ufs-hisi.c 	if (host->caps & UFS_HISI_CAP_PHY10nm) {
caps              229 drivers/scsi/ufs/ufs-hisi.c 	if (!(host->caps & UFS_HISI_CAP_PHY10nm))
caps              314 drivers/scsi/ufs/ufs-hisi.c 	if (host->caps & UFS_HISI_CAP_PHY10nm) {
caps              537 drivers/scsi/ufs/ufs-hisi.c 	host->caps |= UFS_HISI_CAP_PHY10nm;
caps              101 drivers/scsi/ufs/ufs-hisi.h 	uint64_t caps;
caps              968 drivers/scsi/ufs/ufs-qcom.c 	hba->caps |= UFSHCD_CAP_CLK_GATING | UFSHCD_CAP_HIBERN8_WITH_CLK_GATING;
caps              969 drivers/scsi/ufs/ufs-qcom.c 	hba->caps |= UFSHCD_CAP_CLK_SCALING;
caps              970 drivers/scsi/ufs/ufs-qcom.c 	hba->caps |= UFSHCD_CAP_AUTO_BKOPS_SUSPEND;
caps              973 drivers/scsi/ufs/ufs-qcom.c 		host->caps = UFS_QCOM_CAP_QUNIPRO |
caps              214 drivers/scsi/ufs/ufs-qcom.h 	u32 caps;
caps              258 drivers/scsi/ufs/ufs-qcom.h 	if (host->caps & UFS_QCOM_CAP_QUNIPRO)
caps              511 drivers/scsi/ufs/ufshcd.c 		hba->capabilities, hba->caps);
caps              699 drivers/scsi/ufs/ufshcd.h 	u32 caps;
caps              741 drivers/scsi/ufs/ufshcd.h 	return hba->caps & UFSHCD_CAP_CLK_GATING;
caps              745 drivers/scsi/ufs/ufshcd.h 	return hba->caps & UFSHCD_CAP_HIBERN8_WITH_CLK_GATING;
caps              749 drivers/scsi/ufs/ufshcd.h 	return hba->caps & UFSHCD_CAP_CLK_SCALING;
caps              753 drivers/scsi/ufs/ufshcd.h 	return hba->caps & UFSHCD_CAP_AUTO_BKOPS_SUSPEND;
caps              760 drivers/scsi/ufs/ufshcd.h 	if ((hba->caps & UFSHCD_CAP_INTR_AGGR) &&
caps              840 drivers/scsi/ufs/ufshcd.h 	return hba->caps & UFSHCD_CAP_KEEP_AUTO_BKOPS_ENABLED_EXCEPT_SUSPEND;
caps              962 drivers/soc/mediatek/mtk-pmic-wrap.c 	u32 caps;
caps              995 drivers/soc/mediatek/mtk-pmic-wrap.c 	u32 caps;
caps             1575 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SPI)) {
caps             1592 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SPI)) {
caps             1599 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_DUALIO)) {
caps             1606 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SECURITY)) {
caps             1633 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_BRIDGE)) {
caps             1650 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_INT1_EN)) {
caps             1681 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_SLV_CAP_SPI | PWRAP_SLV_CAP_DUALIO |
caps             1691 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = 0,
caps             1700 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = 0,
caps             1709 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_SLV_CAP_SPI | PWRAP_SLV_CAP_DUALIO,
caps             1718 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = 0,
caps             1727 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_SLV_CAP_SPI | PWRAP_SLV_CAP_DUALIO |
caps             1769 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_RESET | PWRAP_CAP_DCM,
caps             1781 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_RESET | PWRAP_CAP_DCM,
caps             1794 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_RESET | PWRAP_CAP_DCM,
caps             1807 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_RESET | PWRAP_CAP_DCM,
caps             1820 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_BRIDGE | PWRAP_CAP_RESET | PWRAP_CAP_DCM,
caps             1833 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_RESET | PWRAP_CAP_DCM,
caps             1846 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_INT1_EN | PWRAP_CAP_WDT_SRC1,
caps             1858 drivers/soc/mediatek/mtk-pmic-wrap.c 	.caps = PWRAP_CAP_DCM,
caps             1925 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_RESET)) {
caps             1934 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_BRIDGE)) {
caps             1974 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_DCM)) {
caps             2004 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_WDT_SRC1))
caps             2013 drivers/soc/mediatek/mtk-pmic-wrap.c 	if (HAS_CAP(wrp->master->caps, PWRAP_CAP_INT1_EN))
caps               28 drivers/soc/mediatek/mtk-scpsys.c #define MTK_SCPD_CAPS(_scpd, _x)	((_scpd)->data->caps & (_x))
caps              119 drivers/soc/mediatek/mtk-scpsys.c 	u8 caps;
caps              486 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              495 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              504 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              513 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              522 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              530 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              539 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              548 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              555 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              570 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              579 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              588 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              597 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              606 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              615 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              624 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              634 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              643 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              652 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              661 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              761 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              771 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              781 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              791 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP | MTK_SCPD_FWAIT_SRAM,
caps              807 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              816 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              825 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              832 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps              898 drivers/soc/mediatek/mtk-scpsys.c 		.caps = MTK_SCPD_ACTIVE_WAKEUP,
caps               69 drivers/soundwire/intel_init.c 	u32 caps;
caps               87 drivers/soundwire/intel_init.c 	caps = ioread32(res->mmio_base + SDW_SHIM_BASE + SDW_SHIM_LCAP);
caps               88 drivers/soundwire/intel_init.c 	caps &= GENMASK(2, 0);
caps               91 drivers/soundwire/intel_init.c 	count = min_t(u8, caps, count);
caps              151 drivers/spi/atmel-quadspi.c 	const struct atmel_qspi_caps *caps;
caps              303 drivers/spi/atmel-quadspi.c 	if (aq->caps->has_ricr) {
caps              512 drivers/spi/atmel-quadspi.c 	aq->caps = of_device_get_match_data(&pdev->dev);
caps              513 drivers/spi/atmel-quadspi.c 	if (!aq->caps) {
caps              519 drivers/spi/atmel-quadspi.c 	if (aq->caps->has_qspick) {
caps              298 drivers/spi/spi-atmel.c 	struct atmel_spi_caps	caps;
caps              328 drivers/spi/spi-atmel.c 	return as->caps.is_spi2;
caps              362 drivers/spi/spi-atmel.c 		if (as->caps.has_wdrbt) {
caps             1461 drivers/spi/spi-atmel.c 	as->caps.is_spi2 = version > 0x121;
caps             1462 drivers/spi/spi-atmel.c 	as->caps.has_wdrbt = version >= 0x210;
caps             1463 drivers/spi/spi-atmel.c 	as->caps.has_dma_support = version >= 0x212;
caps             1464 drivers/spi/spi-atmel.c 	as->caps.has_pdc_support = version < 0x212;
caps             1476 drivers/spi/spi-atmel.c 	if (as->caps.has_wdrbt) {
caps             1567 drivers/spi/spi-atmel.c 	if (as->caps.has_dma_support) {
caps             1574 drivers/spi/spi-atmel.c 	} else if (as->caps.has_pdc_support) {
caps             1602 drivers/spi/spi-atmel.c 	if (as->caps.has_dma_support && !as->use_dma)
caps             2970 drivers/staging/emxx_udc/emxx_udc.c 	const struct usb_ep_caps caps;
caps             2975 drivers/staging/emxx_udc/emxx_udc.c 		.caps = _caps, \
caps             3026 drivers/staging/emxx_udc/emxx_udc.c 		ep->ep.caps = ep_info[i].caps;
caps              878 drivers/staging/greybus/camera.c 	u8 *caps;
caps              881 drivers/staging/greybus/camera.c 	caps = kmalloc(size, GFP_KERNEL);
caps              882 drivers/staging/greybus/camera.c 	if (!caps)
caps              885 drivers/staging/greybus/camera.c 	ret = gb_camera_capabilities(gcam, caps, &size);
caps              899 drivers/staging/greybus/camera.c 					  "%*ph\n", nbytes, caps + i);
caps              903 drivers/staging/greybus/camera.c 	kfree(caps);
caps               62 drivers/staging/greybus/sdio.c 	u32 caps = 0;
caps               65 drivers/staging/greybus/sdio.c 	caps = ((r & GB_SDIO_CAP_NONREMOVABLE) ? MMC_CAP_NONREMOVABLE : 0) |
caps               88 drivers/staging/greybus/sdio.c 	host->mmc->caps = caps;
caps               91 drivers/staging/greybus/sdio.c 	if (caps & MMC_CAP_NONREMOVABLE)
caps              131 drivers/staging/greybus/sdio.c 	r = le32_to_cpu(response.caps);
caps              176 drivers/staging/greybus/sdio.c 		if (host->mmc->caps & MMC_CAP_NONREMOVABLE)
caps              185 drivers/staging/greybus/sdio.c 		if (host->mmc->caps & MMC_CAP_NONREMOVABLE)
caps               87 drivers/staging/kpc2000/kpc_dma/dma.c 	u32 caps;
caps               95 drivers/staging/kpc2000/kpc_dma/dma.c 	caps = GetEngineCapabilities(eng);
caps               97 drivers/staging/kpc2000/kpc_dma/dma.c 	if (WARN(!(caps & ENG_CAP_PRESENT), "%s() called for DMA Engine at %p which isn't present in hardware!\n", __func__, eng))
caps              100 drivers/staging/kpc2000/kpc_dma/dma.c 	if (caps & ENG_CAP_DIRECTION) {
caps             2181 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	unsigned short caps;
caps             2195 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	caps = rtw_get_capability((struct wlan_bssid_ex *)pnetwork);
caps             2196 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	update_capinfo(padapter, caps);
caps             2197 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (caps & cap_IBSS) {/* adhoc master */
caps             2226 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		DBG_88E("%s, invalid cap:%x\n", __func__, caps);
caps             2233 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	unsigned short caps;
caps             2247 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	caps = rtw_get_capability((struct wlan_bssid_ex *)pnetwork);
caps             2248 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	update_capinfo(padapter, caps);
caps             2249 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (caps & cap_ESS) {
caps             2267 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	} else if (caps & cap_IBSS) { /* adhoc client */
caps              526 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int support_short_GI(struct adapter *padapter, struct ieee80211_ht_cap *caps);
caps             4583 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	unsigned short	caps;
caps             4596 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	caps = rtw_get_capability((struct wlan_bssid_ex *)pnetwork);
caps             4597 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	update_capinfo(padapter, caps);
caps             4598 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (caps&cap_IBSS) {/* adhoc master */
caps             4630 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		DBG_871X("start_create_ibss, invalid cap:%x\n", caps);
caps             4640 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	unsigned short	caps;
caps             4651 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	caps = rtw_get_capability((struct wlan_bssid_ex *)pnetwork);
caps             4652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	update_capinfo(padapter, caps);
caps             4653 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (caps&cap_ESS) {
caps             4679 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	} else if (caps&cap_IBSS) { /* adhoc client */
caps              866 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	u8 caps;
caps              872 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	ret = (int)ndev->dcbnl_ops->getcap(ndev, DCB_CAP_ATTR_DCBX, &caps);
caps              877 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	if (caps & DCB_CAP_DCBX_VER_IEEE) {
caps              884 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	} else if (caps & DCB_CAP_DCBX_VER_CEE) {
caps              154 drivers/tty/serial/8250/8250_dma.c 	struct dma_slave_caps	caps;
caps              177 drivers/tty/serial/8250/8250_dma.c 	ret = dma_get_slave_caps(dma->rxchan, &caps);
caps              180 drivers/tty/serial/8250/8250_dma.c 	if (!caps.cmd_pause || !caps.cmd_terminate ||
caps              181 drivers/tty/serial/8250/8250_dma.c 	    caps.residue_granularity == DMA_RESIDUE_GRANULARITY_DESCRIPTOR) {
caps              198 drivers/tty/serial/8250/8250_dma.c 	ret = dma_get_slave_caps(dma->txchan, &caps);
caps              201 drivers/tty/serial/8250/8250_dma.c 	if (!caps.cmd_terminate) {
caps              469 drivers/tty/serial/amba-pl011.c 		struct dma_slave_caps caps;
caps              476 drivers/tty/serial/amba-pl011.c 		if (0 == dma_get_slave_caps(chan, &caps)) {
caps              477 drivers/tty/serial/amba-pl011.c 			if (caps.residue_granularity ==
caps              883 drivers/usb/cdns3/ep0.c 	priv_ep->endpoint.caps.type_control = 1;
caps              884 drivers/usb/cdns3/ep0.c 	priv_ep->endpoint.caps.dir_in = 1;
caps              885 drivers/usb/cdns3/ep0.c 	priv_ep->endpoint.caps.dir_out = 1;
caps             1646 drivers/usb/cdns3/gadget.c 	return (priv_ep->endpoint.caps.dir_in && usb_endpoint_dir_in(desc)) ||
caps             1647 drivers/usb/cdns3/gadget.c 	       (priv_ep->endpoint.caps.dir_out && usb_endpoint_dir_out(desc));
caps             2510 drivers/usb/cdns3/gadget.c 				priv_ep->endpoint.caps.dir_in = 1;
caps             2512 drivers/usb/cdns3/gadget.c 				priv_ep->endpoint.caps.dir_out = 1;
caps             2515 drivers/usb/cdns3/gadget.c 				priv_ep->endpoint.caps.type_iso = 1;
caps             2517 drivers/usb/cdns3/gadget.c 			priv_ep->endpoint.caps.type_bulk = 1;
caps             2518 drivers/usb/cdns3/gadget.c 			priv_ep->endpoint.caps.type_int = 1;
caps             2528 drivers/usb/cdns3/gadget.c 			 priv_ep->endpoint.caps.type_bulk ? "BULK, INT" : "",
caps             2529 drivers/usb/cdns3/gadget.c 			 priv_ep->endpoint.caps.type_iso ? "ISO" : "");
caps              137 drivers/usb/chipidea/host.c 	ehci->caps = ci->hw_bank.cap;
caps             1652 drivers/usb/chipidea/udc.c 			if (ep->caps.dir_in && !ep->claimed)
caps             1696 drivers/usb/chipidea/udc.c 				hwep->ep.caps.type_control = true;
caps             1698 drivers/usb/chipidea/udc.c 				hwep->ep.caps.type_iso = true;
caps             1699 drivers/usb/chipidea/udc.c 				hwep->ep.caps.type_bulk = true;
caps             1700 drivers/usb/chipidea/udc.c 				hwep->ep.caps.type_int = true;
caps             1704 drivers/usb/chipidea/udc.c 				hwep->ep.caps.dir_in = true;
caps             1706 drivers/usb/chipidea/udc.c 				hwep->ep.caps.dir_out = true;
caps             2332 drivers/usb/core/devio.c 	__u32 caps;
caps             2334 drivers/usb/core/devio.c 	caps = USBDEVFS_CAP_ZERO_PACKET | USBDEVFS_CAP_NO_PACKET_SIZE_LIM |
caps             2339 drivers/usb/core/devio.c 		caps |= USBDEVFS_CAP_BULK_CONTINUATION;
caps             2341 drivers/usb/core/devio.c 		caps |= USBDEVFS_CAP_BULK_SCATTER_GATHER;
caps             2343 drivers/usb/core/devio.c 	if (put_user(caps, (__u32 __user *)arg))
caps             4664 drivers/usb/dwc2/gadget.c 		hs_ep->ep.caps.type_control = true;
caps             4667 drivers/usb/dwc2/gadget.c 			hs_ep->ep.caps.type_iso = true;
caps             4668 drivers/usb/dwc2/gadget.c 			hs_ep->ep.caps.type_bulk = true;
caps             4670 drivers/usb/dwc2/gadget.c 		hs_ep->ep.caps.type_int = true;
caps             4674 drivers/usb/dwc2/gadget.c 		hs_ep->ep.caps.dir_in = true;
caps             4676 drivers/usb/dwc2/gadget.c 		hs_ep->ep.caps.dir_out = true;
caps             2214 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_control = true;
caps             2256 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_iso = true;
caps             2257 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_bulk = true;
caps             2258 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_int = true;
caps             2303 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_iso = true;
caps             2304 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_bulk = true;
caps             2305 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_int = true;
caps             2349 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.dir_in = direction;
caps             2350 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.dir_out = !direction;
caps              496 drivers/usb/gadget/udc/aspeed-vhub/ep0.c 	ep->ep.caps.type_control = true;
caps              840 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->ep.caps.type_iso = true;
caps              841 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->ep.caps.type_bulk = true;
caps              842 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->ep.caps.type_int = true;
caps              843 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->ep.caps.dir_in = true;
caps              844 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->ep.caps.dir_out = true;
caps               61 drivers/usb/gadget/udc/at91_udc.c 	const struct usb_ep_caps caps;
caps               66 drivers/usb/gadget/udc/at91_udc.c 		.caps = _caps, \
caps              937 drivers/usb/gadget/udc/at91_udc.c 	if (udc->caps && udc->caps->pullup)
caps              938 drivers/usb/gadget/udc/at91_udc.c 		udc->caps->pullup(udc, is_on);
caps             1803 drivers/usb/gadget/udc/at91_udc.c 		udc->caps = match->data;
caps             1834 drivers/usb/gadget/udc/at91_udc.c 		ep->ep.caps = ep_info[i].caps;
caps             1847 drivers/usb/gadget/udc/at91_udc.c 	if (udc->caps && udc->caps->init) {
caps             1848 drivers/usb/gadget/udc/at91_udc.c 		retval = udc->caps->init(udc);
caps              127 drivers/usb/gadget/udc/at91_udc.h 	const struct at91_udc_caps	*caps;
caps             2161 drivers/usb/gadget/udc/atmel_usba_udc.c 			ep->ep.caps.type_control = true;
caps             2163 drivers/usb/gadget/udc/atmel_usba_udc.c 			ep->ep.caps.type_iso = ep->can_isoc;
caps             2164 drivers/usb/gadget/udc/atmel_usba_udc.c 			ep->ep.caps.type_bulk = true;
caps             2165 drivers/usb/gadget/udc/atmel_usba_udc.c 			ep->ep.caps.type_int = true;
caps             2168 drivers/usb/gadget/udc/atmel_usba_udc.c 		ep->ep.caps.dir_in = true;
caps             2169 drivers/usb/gadget/udc/atmel_usba_udc.c 		ep->ep.caps.dir_out = true;
caps               45 drivers/usb/gadget/udc/bcm63xx_udc.c 	const struct usb_ep_caps caps;
caps               50 drivers/usb/gadget/udc/bcm63xx_udc.c 		.caps = _caps, \
caps              958 drivers/usb/gadget/udc/bcm63xx_udc.c 		bep->ep.caps = bcm63xx_ep_info[i].caps;
caps             1948 drivers/usb/gadget/udc/bdc/bdc_ep.c 		ep->usb_ep.caps.dir_in = true;
caps             1950 drivers/usb/gadget/udc/bdc/bdc_ep.c 		ep->usb_ep.caps.dir_out = true;
caps             1958 drivers/usb/gadget/udc/bdc/bdc_ep.c 		ep->usb_ep.caps.type_control = true;
caps             1972 drivers/usb/gadget/udc/bdc/bdc_ep.c 		ep->usb_ep.caps.type_iso = true;
caps             1973 drivers/usb/gadget/udc/bdc/bdc_ep.c 		ep->usb_ep.caps.type_bulk = true;
caps             1974 drivers/usb/gadget/udc/bdc/bdc_ep.c 		ep->usb_ep.caps.type_int = true;
caps              949 drivers/usb/gadget/udc/core.c 	if (usb_endpoint_dir_in(desc) && !ep->caps.dir_in)
caps              951 drivers/usb/gadget/udc/core.c 	if (usb_endpoint_dir_out(desc) && !ep->caps.dir_out)
caps              966 drivers/usb/gadget/udc/core.c 		if (!ep->caps.type_iso)
caps              973 drivers/usb/gadget/udc/core.c 		if (!ep->caps.type_bulk)
caps              989 drivers/usb/gadget/udc/core.c 		if (!ep->caps.type_int && !ep->caps.type_bulk)
caps              131 drivers/usb/gadget/udc/dummy_hcd.c 	const struct usb_ep_caps caps;
caps              136 drivers/usb/gadget/udc/dummy_hcd.c 		.caps = _caps, \
caps             1033 drivers/usb/gadget/udc/dummy_hcd.c 		ep->ep.caps = ep_info[i].caps;
caps             1144 drivers/usb/gadget/udc/fotg210-udc.c 			ep->ep.caps.type_control = true;
caps             1146 drivers/usb/gadget/udc/fotg210-udc.c 			ep->ep.caps.type_iso = true;
caps             1147 drivers/usb/gadget/udc/fotg210-udc.c 			ep->ep.caps.type_bulk = true;
caps             1148 drivers/usb/gadget/udc/fotg210-udc.c 			ep->ep.caps.type_int = true;
caps             1151 drivers/usb/gadget/udc/fotg210-udc.c 		ep->ep.caps.dir_in = true;
caps             1152 drivers/usb/gadget/udc/fotg210-udc.c 		ep->ep.caps.dir_out = true;
caps             2406 drivers/usb/gadget/udc/fsl_qe_udc.c 		ep->ep.caps.type_control = true;
caps             2408 drivers/usb/gadget/udc/fsl_qe_udc.c 		ep->ep.caps.type_iso = true;
caps             2409 drivers/usb/gadget/udc/fsl_qe_udc.c 		ep->ep.caps.type_bulk = true;
caps             2410 drivers/usb/gadget/udc/fsl_qe_udc.c 		ep->ep.caps.type_int = true;
caps             2413 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->ep.caps.dir_in = true;
caps             2414 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->ep.caps.dir_out = true;
caps             2329 drivers/usb/gadget/udc/fsl_udc_core.c 		ep->ep.caps.type_control = true;
caps             2331 drivers/usb/gadget/udc/fsl_udc_core.c 		ep->ep.caps.type_iso = true;
caps             2332 drivers/usb/gadget/udc/fsl_udc_core.c 		ep->ep.caps.type_bulk = true;
caps             2333 drivers/usb/gadget/udc/fsl_udc_core.c 		ep->ep.caps.type_int = true;
caps             2337 drivers/usb/gadget/udc/fsl_udc_core.c 		ep->ep.caps.dir_in = true;
caps             2339 drivers/usb/gadget/udc/fsl_udc_core.c 		ep->ep.caps.dir_out = true;
caps             1455 drivers/usb/gadget/udc/fusb300_udc.c 			ep->ep.caps.type_control = true;
caps             1457 drivers/usb/gadget/udc/fusb300_udc.c 			ep->ep.caps.type_iso = true;
caps             1458 drivers/usb/gadget/udc/fusb300_udc.c 			ep->ep.caps.type_bulk = true;
caps             1459 drivers/usb/gadget/udc/fusb300_udc.c 			ep->ep.caps.type_int = true;
caps             1462 drivers/usb/gadget/udc/fusb300_udc.c 		ep->ep.caps.dir_in = true;
caps             1463 drivers/usb/gadget/udc/fusb300_udc.c 		ep->ep.caps.dir_out = true;
caps             1277 drivers/usb/gadget/udc/goku_udc.c 			ep->ep.caps.type_control = true;
caps             1279 drivers/usb/gadget/udc/goku_udc.c 			ep->ep.caps.type_bulk = true;
caps             1281 drivers/usb/gadget/udc/goku_udc.c 		ep->ep.caps.dir_in = true;
caps             1282 drivers/usb/gadget/udc/goku_udc.c 		ep->ep.caps.dir_out = true;
caps             2001 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.caps.type_control = true;
caps             2006 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.caps.type_iso = true;
caps             2007 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.caps.type_bulk = true;
caps             2008 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.caps.type_int = true;
caps             2013 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.caps.dir_in = true;
caps             2015 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.caps.dir_out = true;
caps             2528 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_CONTROL,
caps             2541 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_INT,
caps             2554 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2567 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2580 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_INT,
caps             2593 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2606 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2619 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_INT,
caps             2632 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2645 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2658 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_INT,
caps             2671 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2684 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2697 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_INT,
caps             2710 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2723 drivers/usb/gadget/udc/lpc32xx_udc.c 			.caps	= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             1632 drivers/usb/gadget/udc/m66592-udc.c 			ep->ep.caps.type_control = true;
caps             1634 drivers/usb/gadget/udc/m66592-udc.c 			ep->ep.caps.type_iso = true;
caps             1635 drivers/usb/gadget/udc/m66592-udc.c 			ep->ep.caps.type_bulk = true;
caps             1636 drivers/usb/gadget/udc/m66592-udc.c 			ep->ep.caps.type_int = true;
caps             1639 drivers/usb/gadget/udc/m66592-udc.c 		ep->ep.caps.dir_in = true;
caps             1640 drivers/usb/gadget/udc/m66592-udc.c 		ep->ep.caps.dir_out = true;
caps             1315 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.caps.type_control = true;
caps             1316 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.caps.dir_in = true;
caps             1317 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.caps.dir_out = true;
caps             1333 drivers/usb/gadget/udc/mv_u3d_core.c 			ep->ep.caps.dir_in = true;
caps             1337 drivers/usb/gadget/udc/mv_u3d_core.c 			ep->ep.caps.dir_out = true;
caps             1343 drivers/usb/gadget/udc/mv_u3d_core.c 		ep->ep.caps.type_iso = true;
caps             1344 drivers/usb/gadget/udc/mv_u3d_core.c 		ep->ep.caps.type_bulk = true;
caps             1345 drivers/usb/gadget/udc/mv_u3d_core.c 		ep->ep.caps.type_int = true;
caps             1251 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.caps.type_control = true;
caps             1252 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.caps.dir_in = true;
caps             1253 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.caps.dir_out = true;
caps             1266 drivers/usb/gadget/udc/mv_udc_core.c 			ep->ep.caps.dir_in = true;
caps             1270 drivers/usb/gadget/udc/mv_udc_core.c 			ep->ep.caps.dir_out = true;
caps             1276 drivers/usb/gadget/udc/mv_udc_core.c 		ep->ep.caps.type_iso = true;
caps             1277 drivers/usb/gadget/udc/mv_udc_core.c 		ep->ep.caps.type_bulk = true;
caps             1278 drivers/usb/gadget/udc/mv_udc_core.c 		ep->ep.caps.type_int = true;
caps             1387 drivers/usb/gadget/udc/net2272.c 			ep->ep.caps.type_control = true;
caps             1389 drivers/usb/gadget/udc/net2272.c 			ep->ep.caps.type_iso = true;
caps             1390 drivers/usb/gadget/udc/net2272.c 			ep->ep.caps.type_bulk = true;
caps             1391 drivers/usb/gadget/udc/net2272.c 			ep->ep.caps.type_int = true;
caps             1394 drivers/usb/gadget/udc/net2272.c 		ep->ep.caps.dir_in = true;
caps             1395 drivers/usb/gadget/udc/net2272.c 		ep->ep.caps.dir_out = true;
caps               77 drivers/usb/gadget/udc/net2280.c 		.caps = _caps, \
caps               82 drivers/usb/gadget/udc/net2280.c 	const struct usb_ep_caps caps;
caps             2164 drivers/usb/gadget/udc/net2280.c 		ep->ep.caps = ep_info_dft[tmp].caps;
caps             2206 drivers/usb/gadget/udc/net2280.c 		ep->ep.caps = dev->enhanced_mode ? ep_info_adv[i].caps :
caps             2207 drivers/usb/gadget/udc/net2280.c 						   ep_info_dft[i].caps;
caps             2566 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.type_control = true;
caps             2567 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.dir_in = true;
caps             2568 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.dir_out = true;
caps             2571 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.type_iso = true;
caps             2574 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.type_bulk = true;
caps             2577 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.type_int = true;
caps             2582 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.dir_in = true;
caps             2584 drivers/usb/gadget/udc/omap_udc.c 		ep->ep.caps.dir_out = true;
caps             2857 drivers/usb/gadget/udc/pch_udc.c 			ep->ep.caps.dir_in = true;
caps             2861 drivers/usb/gadget/udc/pch_udc.c 			ep->ep.caps.dir_out = true;
caps             2864 drivers/usb/gadget/udc/pch_udc.c 			ep->ep.caps.type_control = true;
caps             2866 drivers/usb/gadget/udc/pch_udc.c 			ep->ep.caps.type_iso = true;
caps             2867 drivers/usb/gadget/udc/pch_udc.c 			ep->ep.caps.type_bulk = true;
caps             2868 drivers/usb/gadget/udc/pch_udc.c 			ep->ep.caps.type_int = true;
caps             2037 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_CONTROL,
caps             2051 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2066 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2083 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2098 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2114 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(0, 0),
caps             2130 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2145 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2161 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2176 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2192 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(0, 0),
caps             2208 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2223 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             2239 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2254 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_ISO,
caps             2270 drivers/usb/gadget/udc/pxa25x_udc.c 			.caps		= USB_EP_CAPS(0, 0),
caps              235 drivers/usb/gadget/udc/pxa27x_udc.h 		.caps = USB_EP_CAPS(ctype, cdir), }, \
caps             1923 drivers/usb/gadget/udc/r8a66597-udc.c 			ep->ep.caps.type_control = true;
caps             1925 drivers/usb/gadget/udc/r8a66597-udc.c 			ep->ep.caps.type_iso = true;
caps             1926 drivers/usb/gadget/udc/r8a66597-udc.c 			ep->ep.caps.type_bulk = true;
caps             1927 drivers/usb/gadget/udc/r8a66597-udc.c 			ep->ep.caps.type_int = true;
caps             1929 drivers/usb/gadget/udc/r8a66597-udc.c 		ep->ep.caps.dir_in = true;
caps             1930 drivers/usb/gadget/udc/r8a66597-udc.c 		ep->ep.caps.dir_out = true;
caps             2602 drivers/usb/gadget/udc/renesas_usb3.c 			usb3_ep->ep.caps.type_control = true;
caps             2603 drivers/usb/gadget/udc/renesas_usb3.c 			usb3_ep->ep.caps.dir_in = true;
caps             2604 drivers/usb/gadget/udc/renesas_usb3.c 			usb3_ep->ep.caps.dir_out = true;
caps             2611 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_ep->ep.caps.type_bulk = true;
caps             2612 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_ep->ep.caps.type_int = true;
caps             2614 drivers/usb/gadget/udc/renesas_usb3.c 			usb3_ep->ep.caps.dir_in = true;
caps             2616 drivers/usb/gadget/udc/renesas_usb3.c 			usb3_ep->ep.caps.dir_out = true;
caps             2642 drivers/usb/gadget/udc/renesas_usb3.c 		if (usb3_ep->ep.caps.dir_in) {
caps             1006 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.type_control = true;
caps             1007 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.dir_in = true;
caps             1008 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.dir_out = true;
caps             1010 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.type_iso = true;
caps             1011 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.type_bulk = true;
caps             1012 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.type_int = true;
caps             1016 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.dir_in = true;
caps             1018 drivers/usb/gadget/udc/s3c-hsudc.c 		hsep->ep.caps.dir_out = true;
caps             1678 drivers/usb/gadget/udc/s3c2410_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_CONTROL,
caps             1691 drivers/usb/gadget/udc/s3c2410_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             1705 drivers/usb/gadget/udc/s3c2410_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             1719 drivers/usb/gadget/udc/s3c2410_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps             1733 drivers/usb/gadget/udc/s3c2410_udc.c 			.caps		= USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK,
caps              107 drivers/usb/gadget/udc/snps_udc_core.c 	const struct usb_ep_caps caps;
caps              112 drivers/usb/gadget/udc/snps_udc_core.c 		.caps = _caps, \
caps             1548 drivers/usb/gadget/udc/snps_udc_core.c 		ep->ep.caps = ep_info[tmp].caps;
caps             1312 drivers/usb/gadget/udc/udc-xilinx.c 			ep->ep_usb.caps.type_iso = true;
caps             1313 drivers/usb/gadget/udc/udc-xilinx.c 			ep->ep_usb.caps.type_bulk = true;
caps             1314 drivers/usb/gadget/udc/udc-xilinx.c 			ep->ep_usb.caps.type_int = true;
caps             1320 drivers/usb/gadget/udc/udc-xilinx.c 			ep->ep_usb.caps.type_control = true;
caps             1323 drivers/usb/gadget/udc/udc-xilinx.c 		ep->ep_usb.caps.dir_in = true;
caps             1324 drivers/usb/gadget/udc/udc-xilinx.c 		ep->ep_usb.caps.dir_out = true;
caps              148 drivers/usb/host/ehci-atmel.c 	ehci->caps = hcd->regs;
caps               17 drivers/usb/host/ehci-dbg.c 	u32	params = ehci_readl(ehci, &ehci->caps->hcs_params);
caps               37 drivers/usb/host/ehci-dbg.c 			byte = readb(&ehci->caps->portroute[(i >> 1)]);
caps               53 drivers/usb/host/ehci-dbg.c 	u32	params = ehci_readl(ehci, &ehci->caps->hcc_params);
caps              784 drivers/usb/host/ehci-dbg.c 	i = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
caps              805 drivers/usb/host/ehci-dbg.c 				&ehci->caps->hcc_params));
caps              836 drivers/usb/host/ehci-dbg.c 	i = ehci_readl(ehci, &ehci->caps->hcs_params);
caps              841 drivers/usb/host/ehci-dbg.c 	i = ehci_readl(ehci, &ehci->caps->hcc_params);
caps              219 drivers/usb/host/ehci-exynos.c 	ehci->caps = hcd->regs;
caps              388 drivers/usb/host/ehci-fsl.c 	ehci->caps = hcd->regs + 0x100;
caps              117 drivers/usb/host/ehci-grlib.c 	ehci->caps = hcd->regs;
caps              120 drivers/usb/host/ehci-grlib.c 	hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase);
caps              471 drivers/usb/host/ehci-hcd.c 	hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params);
caps              596 drivers/usb/host/ehci-hcd.c 	hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params);
caps              636 drivers/usb/host/ehci-hcd.c 	temp = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
caps              661 drivers/usb/host/ehci-hcd.c 	ehci->regs = (void __iomem *)ehci->caps +
caps              662 drivers/usb/host/ehci-hcd.c 	    HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
caps              667 drivers/usb/host/ehci-hcd.c 	ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
caps              167 drivers/usb/host/ehci-mv.c 	ehci->caps = (struct ehci_caps *) ehci_mv->cap_regs;
caps              106 drivers/usb/host/ehci-mxc.c 	ehci->caps = hcd->regs + 0x100;
caps              108 drivers/usb/host/ehci-mxc.c 		HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
caps              145 drivers/usb/host/ehci-npcm7xx.c 	hcd_to_ehci(hcd)->caps = hcd->regs;
caps              146 drivers/usb/host/ehci-omap.c 	hcd_to_ehci(hcd)->caps = regs;
caps              258 drivers/usb/host/ehci-orion.c 	ehci->caps = hcd->regs + 0x100;
caps               94 drivers/usb/host/ehci-pci.c 	ehci->caps = hcd->regs;
caps              228 drivers/usb/host/ehci-pci.c 						    &ehci->caps->hcs_params);
caps               66 drivers/usb/host/ehci-platform.c 	ehci->caps = hcd->regs + pdata->caps_offset;
caps               78 drivers/usb/host/ehci-pmcmsp.c 	ehci->caps = hcd->regs;
caps              162 drivers/usb/host/ehci-ppc-of.c 	ehci->caps = hcd->regs;
caps               46 drivers/usb/host/ehci-ps3.c 	ehci->caps = hcd->regs;
caps               22 drivers/usb/host/ehci-sh.c 	ehci->caps = hcd->regs;
caps              111 drivers/usb/host/ehci-spear.c 	hcd_to_ehci(hcd)->caps = hcd->regs;
caps               61 drivers/usb/host/ehci-st.c 	ehci->caps = hcd->regs + pdata->caps_offset;
caps              466 drivers/usb/host/ehci-tegra.c 	ehci->caps = hcd->regs + 0x100;
caps              179 drivers/usb/host/ehci-xilinx-of.c 	ehci->caps = hcd->regs + 0x100;
caps              123 drivers/usb/host/ehci.h 	struct ehci_caps __iomem *caps;
caps               95 drivers/usb/host/fotg210-hcd.c 	u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params);
caps              106 drivers/usb/host/fotg210-hcd.c 	u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params);
caps              669 drivers/usb/host/fotg210-hcd.c 			&fotg210->caps->hc_capbase));
caps              682 drivers/usb/host/fotg210-hcd.c 	i = fotg210_readl(fotg210, &fotg210->caps->hcs_params);
caps              687 drivers/usb/host/fotg210-hcd.c 	i = fotg210_readl(fotg210, &fotg210->caps->hcc_params);
caps             4921 drivers/usb/host/fotg210-hcd.c 	hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params);
caps             5036 drivers/usb/host/fotg210-hcd.c 	hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params);
caps             5070 drivers/usb/host/fotg210-hcd.c 			fotg210_readl(fotg210, &fotg210->caps->hc_capbase));
caps             5094 drivers/usb/host/fotg210-hcd.c 	fotg210->regs = (void __iomem *)fotg210->caps +
caps             5096 drivers/usb/host/fotg210-hcd.c 			fotg210_readl(fotg210, &fotg210->caps->hc_capbase));
caps             5102 drivers/usb/host/fotg210-hcd.c 			&fotg210->caps->hcs_params);
caps             5613 drivers/usb/host/fotg210-hcd.c 	fotg210->caps = hcd->regs;
caps               88 drivers/usb/host/fotg210.h 	struct fotg210_caps __iomem *caps;
caps              415 drivers/usb/host/oxu210hp-hcd.c 	struct ehci_caps __iomem *caps;
caps             3027 drivers/usb/host/oxu210hp-hcd.c 	hcc_params = readl(&oxu->caps->hcc_params);
caps             3092 drivers/usb/host/oxu210hp-hcd.c 		oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;
caps             3094 drivers/usb/host/oxu210hp-hcd.c 			HC_LENGTH(readl(&oxu->caps->hc_capbase));
caps             3098 drivers/usb/host/oxu210hp-hcd.c 		oxu->caps = hcd->regs + OXU_SPH_CAP_OFFSET;
caps             3100 drivers/usb/host/oxu210hp-hcd.c 			HC_LENGTH(readl(&oxu->caps->hc_capbase));
caps             3105 drivers/usb/host/oxu210hp-hcd.c 	oxu->hcs_params = readl(&oxu->caps->hcs_params);
caps             3139 drivers/usb/host/oxu210hp-hcd.c 	hcc_params = readl(&oxu->caps->hcc_params);
caps             3159 drivers/usb/host/oxu210hp-hcd.c 	temp = HC_VERSION(readl(&oxu->caps->hc_capbase));
caps             1383 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.type_control = true;
caps             1384 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.dir_in = true;
caps             1385 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.dir_out = true;
caps             1390 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.type_iso = true;
caps             1391 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.type_bulk = true;
caps             1392 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.type_int = true;
caps             1398 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.dir_in = true;
caps             1400 drivers/usb/isp1760/isp1760-udc.c 			ep->ep.caps.dir_out = true;
caps              631 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.type_control = true;
caps              636 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.type_iso = true;
caps              637 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.type_bulk = true;
caps              638 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.type_int = true;
caps              647 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.dir_in = true;
caps              648 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.dir_out = true;
caps              650 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.dir_in = true;
caps              652 drivers/usb/mtu3/mtu3_gadget.c 		mep->ep.caps.dir_out = true;
caps             1711 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.type_control = true;
caps             1719 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.type_iso = true;
caps             1720 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.type_bulk = true;
caps             1721 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.type_int = true;
caps             1727 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.dir_in = true;
caps             1728 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.dir_out = true;
caps             1730 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.dir_in = true;
caps             1732 drivers/usb/musb/musb_gadget.c 		ep->end_point.caps.dir_out = true;
caps             1151 drivers/usb/renesas_usbhs/mod_gadget.c 			uep->ep.caps.type_control = true;
caps             1155 drivers/usb/renesas_usbhs/mod_gadget.c 				uep->ep.caps.type_iso = true;
caps             1157 drivers/usb/renesas_usbhs/mod_gadget.c 				uep->ep.caps.type_bulk = true;
caps             1159 drivers/usb/renesas_usbhs/mod_gadget.c 				uep->ep.caps.type_int = true;
caps             1164 drivers/usb/renesas_usbhs/mod_gadget.c 		uep->ep.caps.dir_in = true;
caps             1165 drivers/usb/renesas_usbhs/mod_gadget.c 		uep->ep.caps.dir_out = true;
caps              240 drivers/usb/usbip/vudc_dev.c 	if (!_ep || !desc || ep->desc || _ep->caps.type_control
caps              268 drivers/usb/usbip/vudc_dev.c 	if (!_ep || !ep->desc || _ep->caps.type_control)
caps              548 drivers/usb/usbip/vudc_dev.c 			ep->ep.caps.type_control = true;
caps              549 drivers/usb/usbip/vudc_dev.c 			ep->ep.caps.dir_out = true;
caps              550 drivers/usb/usbip/vudc_dev.c 			ep->ep.caps.dir_in = true;
caps              555 drivers/usb/usbip/vudc_dev.c 			ep->ep.caps.type_iso = true;
caps              556 drivers/usb/usbip/vudc_dev.c 			ep->ep.caps.type_int = true;
caps              557 drivers/usb/usbip/vudc_dev.c 			ep->ep.caps.type_bulk = true;
caps              560 drivers/usb/usbip/vudc_dev.c 				ep->ep.caps.dir_out = true;
caps              562 drivers/usb/usbip/vudc_dev.c 				ep->ep.caps.dir_in = true;
caps              655 drivers/vfio/pci/vfio_pci.c 			      struct vfio_info_cap *caps)
caps              662 drivers/vfio/pci/vfio_pci.c 	return vfio_info_add_capability(caps, &header, sizeof(header));
caps              722 drivers/vfio/pci/vfio_pci.c 		struct vfio_info_cap caps = { .buf = NULL, .size = 0 };
caps              753 drivers/vfio/pci/vfio_pci.c 					ret = msix_mmappable_cap(vdev, &caps);
caps              831 drivers/vfio/pci/vfio_pci.c 			ret = vfio_info_add_capability(&caps, &cap_type.header,
caps              838 drivers/vfio/pci/vfio_pci.c 						&vdev->region[i], &caps);
caps              845 drivers/vfio/pci/vfio_pci.c 		if (caps.size) {
caps              847 drivers/vfio/pci/vfio_pci.c 			if (info.argsz < sizeof(info) + caps.size) {
caps              848 drivers/vfio/pci/vfio_pci.c 				info.argsz = sizeof(info) + caps.size;
caps              851 drivers/vfio/pci/vfio_pci.c 				vfio_info_cap_shift(&caps, sizeof(info));
caps              853 drivers/vfio/pci/vfio_pci.c 						  sizeof(info), caps.buf,
caps              854 drivers/vfio/pci/vfio_pci.c 						  caps.size)) {
caps              855 drivers/vfio/pci/vfio_pci.c 					kfree(caps.buf);
caps              861 drivers/vfio/pci/vfio_pci.c 			kfree(caps.buf);
caps             1431 drivers/vfio/pci/vfio_pci_config.c 	int loops, ret, caps = 0;
caps             1498 drivers/vfio/pci/vfio_pci_config.c 		caps++;
caps             1502 drivers/vfio/pci/vfio_pci_config.c 	if (!caps) {
caps              175 drivers/vfio/pci/vfio_pci_nvlink2.c 		struct vfio_pci_region *region, struct vfio_info_cap *caps)
caps              184 drivers/vfio/pci/vfio_pci_nvlink2.c 	return vfio_info_add_capability(caps, &cap.header, sizeof(cap));
caps              362 drivers/vfio/pci/vfio_pci_nvlink2.c 		struct vfio_pci_region *region, struct vfio_info_cap *caps)
caps              377 drivers/vfio/pci/vfio_pci_nvlink2.c 	ret = vfio_info_add_capability(caps, &captgt.header, sizeof(captgt));
caps              381 drivers/vfio/pci/vfio_pci_nvlink2.c 	return vfio_info_add_capability(caps, &capspd.header, sizeof(capspd));
caps               64 drivers/vfio/pci/vfio_pci_private.h 				  struct vfio_info_cap *caps);
caps             1796 drivers/vfio/vfio.c struct vfio_info_cap_header *vfio_info_cap_add(struct vfio_info_cap *caps,
caps             1802 drivers/vfio/vfio.c 	buf = krealloc(caps->buf, caps->size + size, GFP_KERNEL);
caps             1804 drivers/vfio/vfio.c 		kfree(caps->buf);
caps             1805 drivers/vfio/vfio.c 		caps->size = 0;
caps             1809 drivers/vfio/vfio.c 	caps->buf = buf;
caps             1810 drivers/vfio/vfio.c 	header = buf + caps->size;
caps             1822 drivers/vfio/vfio.c 	tmp->next = caps->size;
caps             1823 drivers/vfio/vfio.c 	caps->size += size;
caps             1829 drivers/vfio/vfio.c void vfio_info_cap_shift(struct vfio_info_cap *caps, size_t offset)
caps             1832 drivers/vfio/vfio.c 	void *buf = (void *)caps->buf;
caps             1839 drivers/vfio/vfio.c int vfio_info_add_capability(struct vfio_info_cap *caps,
caps             1844 drivers/vfio/vfio.c 	header = vfio_info_cap_add(caps, size, cap->id, cap->version);
caps             2147 drivers/vfio/vfio_iommu_type1.c static int vfio_iommu_iova_add_cap(struct vfio_info_cap *caps,
caps             2154 drivers/vfio/vfio_iommu_type1.c 	header = vfio_info_cap_add(caps, size,
caps             2169 drivers/vfio/vfio_iommu_type1.c 				      struct vfio_info_cap *caps)
caps             2206 drivers/vfio/vfio_iommu_type1.c 	ret = vfio_iommu_iova_add_cap(caps, cap_iovas, size);
caps             2235 drivers/vfio/vfio_iommu_type1.c 		struct vfio_info_cap caps = { .buf = NULL, .size = 0 };
caps             2259 drivers/vfio/vfio_iommu_type1.c 		ret = vfio_iommu_iova_build_caps(iommu, &caps);
caps             2263 drivers/vfio/vfio_iommu_type1.c 		if (caps.size) {
caps             2266 drivers/vfio/vfio_iommu_type1.c 			if (info.argsz < sizeof(info) + caps.size) {
caps             2267 drivers/vfio/vfio_iommu_type1.c 				info.argsz = sizeof(info) + caps.size;
caps             2269 drivers/vfio/vfio_iommu_type1.c 				vfio_info_cap_shift(&caps, sizeof(info));
caps             2271 drivers/vfio/vfio_iommu_type1.c 						sizeof(info), caps.buf,
caps             2272 drivers/vfio/vfio_iommu_type1.c 						caps.size)) {
caps             2273 drivers/vfio/vfio_iommu_type1.c 					kfree(caps.buf);
caps             2279 drivers/vfio/vfio_iommu_type1.c 			kfree(caps.buf);
caps              138 drivers/video/fbdev/amba-clcd.c 	u32 caps;
caps              141 drivers/video/fbdev/amba-clcd.c 	if (fb->panel->caps && fb->board->caps)
caps              142 drivers/video/fbdev/amba-clcd.c 		caps = fb->panel->caps & fb->board->caps;
caps              145 drivers/video/fbdev/amba-clcd.c 		caps = fb->panel->cntl & CNTL_BGR ?
caps              148 drivers/video/fbdev/amba-clcd.c 		caps &= ~CLCD_CAP_444;
caps              153 drivers/video/fbdev/amba-clcd.c 		caps &= ~CLCD_CAP_888;
caps              167 drivers/video/fbdev/amba-clcd.c 		caps &= CLCD_CAP_5551;
caps              168 drivers/video/fbdev/amba-clcd.c 		if (!caps) {
caps              183 drivers/video/fbdev/amba-clcd.c 		if (!(caps & (CLCD_CAP_444 | CLCD_CAP_5551 | CLCD_CAP_565))) {
caps              192 drivers/video/fbdev/amba-clcd.c 		if (var->green.length == 4 && caps & CLCD_CAP_444)
caps              193 drivers/video/fbdev/amba-clcd.c 			caps &= CLCD_CAP_444;
caps              194 drivers/video/fbdev/amba-clcd.c 		if (var->green.length == 5 && caps & CLCD_CAP_5551)
caps              195 drivers/video/fbdev/amba-clcd.c 			caps &= CLCD_CAP_5551;
caps              196 drivers/video/fbdev/amba-clcd.c 		else if (var->green.length == 6 && caps & CLCD_CAP_565)
caps              197 drivers/video/fbdev/amba-clcd.c 			caps &= CLCD_CAP_565;
caps              203 drivers/video/fbdev/amba-clcd.c 			if (caps & CLCD_CAP_565) {
caps              205 drivers/video/fbdev/amba-clcd.c 				caps &= CLCD_CAP_565;
caps              206 drivers/video/fbdev/amba-clcd.c 			} else if (caps & CLCD_CAP_5551) {
caps              208 drivers/video/fbdev/amba-clcd.c 				caps &= CLCD_CAP_5551;
caps              211 drivers/video/fbdev/amba-clcd.c 				caps &= CLCD_CAP_444;
caps              225 drivers/video/fbdev/amba-clcd.c 		caps &= CLCD_CAP_888;
caps              226 drivers/video/fbdev/amba-clcd.c 		if (!caps) {
caps              248 drivers/video/fbdev/amba-clcd.c 		bgr = caps & CLCD_CAP_BGR && var->blue.offset == 0;
caps              249 drivers/video/fbdev/amba-clcd.c 		rgb = caps & CLCD_CAP_RGB && var->red.offset == 0;
caps              257 drivers/video/fbdev/amba-clcd.c 			bgr = caps & CLCD_CAP_BGR;
caps              655 drivers/video/fbdev/amba-clcd.c 		u32 caps;
caps              675 drivers/video/fbdev/amba-clcd.c 	fb->panel->caps = 0;
caps              678 drivers/video/fbdev/amba-clcd.c 	for (i = 0; i < ARRAY_SIZE(panels) && !fb->panel->caps; i++) {
caps              684 drivers/video/fbdev/amba-clcd.c 			fb->panel->caps = panels[i].caps;
caps              694 drivers/video/fbdev/amba-clcd.c 	return fb->panel->caps ? 0 : -EINVAL;
caps              855 drivers/video/fbdev/amba-clcd.c 	board->caps = CLCD_CAP_ALL;
caps             3310 drivers/video/fbdev/core/fbcon.c 			   struct fb_blit_caps *caps)
caps             3315 drivers/video/fbdev/core/fbcon.c 	if (caps->flags) {
caps             3323 drivers/video/fbdev/core/fbcon.c 				caps->x |= 1 << (vc->vc_font.width - 1);
caps             3324 drivers/video/fbdev/core/fbcon.c 				caps->y |= 1 << (vc->vc_font.height - 1);
caps             3327 drivers/video/fbdev/core/fbcon.c 				if (caps->len < charcnt)
caps             3328 drivers/video/fbdev/core/fbcon.c 					caps->len = charcnt;
caps             3337 drivers/video/fbdev/core/fbcon.c 			caps->x = 1 << (vc->vc_font.width - 1);
caps             3338 drivers/video/fbdev/core/fbcon.c 			caps->y = 1 << (vc->vc_font.height - 1);
caps             3339 drivers/video/fbdev/core/fbcon.c 			caps->len = (p->userfont) ?
caps              935 drivers/video/fbdev/core/fbmem.c 	struct fb_blit_caps caps, fbcaps;
caps              938 drivers/video/fbdev/core/fbmem.c 	memset(&caps, 0, sizeof(caps));
caps              940 drivers/video/fbdev/core/fbmem.c 	caps.flags = (activate & FB_ACTIVATE_ALL) ? 1 : 0;
caps              941 drivers/video/fbdev/core/fbmem.c 	fbcon_get_requirement(info, &caps);
caps              944 drivers/video/fbdev/core/fbmem.c 	if (((fbcaps.x ^ caps.x) & caps.x) ||
caps              945 drivers/video/fbdev/core/fbmem.c 	    ((fbcaps.y ^ caps.y) & caps.y) ||
caps              946 drivers/video/fbdev/core/fbmem.c 	    (fbcaps.len < caps.len))
caps              351 drivers/video/fbdev/core/svgalib.c void svga_get_caps(struct fb_info *info, struct fb_blit_caps *caps,
caps              356 drivers/video/fbdev/core/svgalib.c 		caps->x = 1 << (8 - 1);
caps              357 drivers/video/fbdev/core/svgalib.c 		caps->y = 1 << (16 - 1);
caps              358 drivers/video/fbdev/core/svgalib.c 		caps->len = 256;
caps              360 drivers/video/fbdev/core/svgalib.c 		caps->x = (var->bits_per_pixel == 4) ? 1 << (8 - 1) : ~(u32)0;
caps              361 drivers/video/fbdev/core/svgalib.c 		caps->y = ~(u32)0;
caps              362 drivers/video/fbdev/core/svgalib.c 		caps->len = ~(u32)0;
caps              885 drivers/video/fbdev/omap/hwa742.c static void hwa742_get_caps(int plane, struct omapfb_caps *caps)
caps              887 drivers/video/fbdev/omap/hwa742.c 	hwa742.int_ctrl->get_caps(plane, caps);
caps              888 drivers/video/fbdev/omap/hwa742.c 	caps->ctrl |= OMAPFB_CAPS_MANUAL_UPDATE |
caps              891 drivers/video/fbdev/omap/hwa742.c 		caps->ctrl |= OMAPFB_CAPS_TEARSYNC;
caps              892 drivers/video/fbdev/omap/hwa742.c 	caps->wnd_color |= (1 << OMAPFB_COLOR_RGB565) |
caps              569 drivers/video/fbdev/omap/lcdc.c static void omap_lcdc_get_caps(int plane, struct omapfb_caps *caps)
caps              150 drivers/video/fbdev/omap/omapfb.h 	void		(*get_caps)	  (int plane, struct omapfb_caps *caps);
caps             1019 drivers/video/fbdev/omap/omapfb_main.c 				     struct omapfb_caps *caps)
caps             1021 drivers/video/fbdev/omap/omapfb_main.c 	memset(caps, 0, sizeof(*caps));
caps             1022 drivers/video/fbdev/omap/omapfb_main.c 	fbdev->ctrl->get_caps(plane, caps);
caps             1024 drivers/video/fbdev/omap/omapfb_main.c 		caps->ctrl |= fbdev->panel->get_caps(fbdev->panel);
caps             1062 drivers/video/fbdev/omap/omapfb_main.c 		struct omapfb_caps		caps;
caps             1158 drivers/video/fbdev/omap/omapfb_main.c 		omapfb_get_caps(fbdev, plane->idx, &p.caps);
caps             1159 drivers/video/fbdev/omap/omapfb_main.c 		if (copy_to_user((void __user *)arg, &p.caps, sizeof(p.caps)))
caps             1244 drivers/video/fbdev/omap/omapfb_main.c 	struct omapfb_caps caps;
caps             1249 drivers/video/fbdev/omap/omapfb_main.c 		omapfb_get_caps(fbdev, plane, &caps);
caps             1252 drivers/video/fbdev/omap/omapfb_main.c 			plane, caps.ctrl, caps.plane_color, caps.wnd_color);
caps             1263 drivers/video/fbdev/omap/omapfb_main.c 	struct omapfb_caps caps;
caps             1270 drivers/video/fbdev/omap/omapfb_main.c 		omapfb_get_caps(fbdev, plane, &caps);
caps             1275 drivers/video/fbdev/omap/omapfb_main.c 			if (ctrl_caps[i].flag & caps.ctrl)
caps             1283 drivers/video/fbdev/omap/omapfb_main.c 			if (color_caps[i].flag & caps.plane_color)
caps             1291 drivers/video/fbdev/omap/omapfb_main.c 			if (color_caps[i].flag & caps.wnd_color)
caps             1190 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE |
caps              746 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps, int x, int y)
caps              750 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_POS) == 0)
caps              785 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps, u8 zorder)
caps              787 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_ZORDER) == 0)
caps              805 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps, bool enable)
caps              807 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA) == 0)
caps              814 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps, u8 global_alpha)
caps              819 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) == 0)
caps             1121 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps, bool enable)
caps             1126 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_REPLICATION) == 0)
caps             2461 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps,
caps             2481 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if ((caps & OMAP_DSS_OVL_CAP_SCALE) == 0)
caps             2551 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	enum omap_overlay_caps caps = dss_feat_get_overlay_caps(plane);
caps             2580 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	return dispc_ovl_calc_scaling(pclk, lclk, caps, timings, in_width,
caps             2588 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		enum omap_overlay_caps caps, u32 paddr, u32 p_uv_addr,
caps             2649 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	r = dispc_ovl_calc_scaling(pclk, lclk, caps, mgr_timings, in_width,
caps             2758 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_ovl_set_pos(plane, caps, pos_x, pos_y);
caps             2762 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (caps & OMAP_DSS_OVL_CAP_SCALE) {
caps             2773 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_ovl_set_zorder(plane, caps, zorder);
caps             2774 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_ovl_set_pre_mult_alpha(plane, caps, pre_mult_alpha);
caps             2775 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_ovl_setup_global_alpha(plane, caps, global_alpha);
caps             2777 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_ovl_enable_replication(plane, caps, replication);
caps             2787 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	enum omap_overlay_caps caps = dss_feat_get_overlay_caps(plane);
caps             2798 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	r = dispc_ovl_setup_common(plane, caps, oi->paddr, oi->p_uv_addr,
caps             2820 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	enum omap_overlay_caps caps =
caps             2828 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	r = dispc_ovl_setup_common(plane, caps, wi->paddr, wi->p_uv_addr,
caps              245 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	if ((ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) == 0)
caps              287 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	if ((ovl->caps & OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA) == 0)
caps              327 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	if ((ovl->caps & OMAP_DSS_OVL_CAP_ZORDER) == 0)
caps               78 drivers/video/fbdev/omap2/omapfb/dss/overlay.c 		ovl->caps = dss_feat_get_overlay_caps(ovl->id);
caps              105 drivers/video/fbdev/omap2/omapfb/dss/overlay.c 	if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0) {
caps              148 drivers/video/fbdev/omap2/omapfb/dss/overlay.c 	if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0) {
caps              324 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 	if (display->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
caps              586 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		struct omapfb_caps		caps;
caps              695 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		memset(&p.caps, 0, sizeof(p.caps));
caps              696 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		if (display->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE)
caps              697 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 			p.caps.ctrl |= OMAPFB_CAPS_MANUAL_UPDATE;
caps              698 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		if (display->caps & OMAP_DSS_DISPLAY_CAP_TEAR_ELIM)
caps              699 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 			p.caps.ctrl |= OMAPFB_CAPS_TEARSYNC;
caps              701 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		if (copy_to_user((void __user *)arg, &p.caps, sizeof(p.caps)))
caps              956 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		if (init || (ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0) {
caps             1239 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		if ((display->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) &&
caps             2325 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
caps             2511 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		if (dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE)
caps              625 drivers/video/fbdev/sis/sis.h 	u8		caps;
caps             1757 drivers/video/fbdev/sis/sis_main.c 		ivideo->sisfb_infoblock.sisfb_caps = ivideo->caps;
caps             2822 drivers/video/fbdev/sis/sis_main.c 	ivideo->caps &= ~(TURBO_QUEUE_CAP    |
caps             2842 drivers/video/fbdev/sis/sis_main.c 		ivideo->caps |= TURBO_QUEUE_CAP;
caps             2921 drivers/video/fbdev/sis/sis_main.c 		ivideo->caps |= MMIO_CMD_QUEUE_CAP;
caps             6284 drivers/video/fbdev/sis/sis_main.c 	ivideo->caps |= HW_CURSOR_CAP;
caps             1435 drivers/virt/vboxguest/vboxguest_core.c 	     struct vbg_session *session, struct vbg_ioctl_set_guest_caps *caps)
caps             1440 drivers/virt/vboxguest/vboxguest_core.c 	if (vbg_ioctl_chk(&caps->hdr, sizeof(caps->u.in), sizeof(caps->u.out)))
caps             1443 drivers/virt/vboxguest/vboxguest_core.c 	or_mask = caps->u.in.or_mask;
caps             1444 drivers/virt/vboxguest/vboxguest_core.c 	not_mask = caps->u.in.not_mask;
caps             1454 drivers/virt/vboxguest/vboxguest_core.c 	caps->u.out.session_caps = session->guest_caps;
caps             1455 drivers/virt/vboxguest/vboxguest_core.c 	caps->u.out.global_caps = gdev->guest_caps_host;
caps              254 drivers/xen/sys-hypervisor.c 	char *caps;
caps              256 drivers/xen/sys-hypervisor.c 	caps = kmalloc(XEN_CAPABILITIES_INFO_LEN, GFP_KERNEL);
caps              257 drivers/xen/sys-hypervisor.c 	if (caps) {
caps              258 drivers/xen/sys-hypervisor.c 		ret = HYPERVISOR_xen_version(XENVER_capabilities, caps);
caps              260 drivers/xen/sys-hypervisor.c 			ret = sprintf(buffer, "%s\n", caps);
caps              261 drivers/xen/sys-hypervisor.c 		kfree(caps);
caps              605 fs/afs/cmservice.c 			__be32 caps[1];
caps              622 fs/afs/cmservice.c 	reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION);
caps               80 fs/ceph/caps.c const char *ceph_cap_string(int caps)
caps               94 fs/ceph/caps.c 	if (caps & CEPH_CAP_PIN)
caps               97 fs/ceph/caps.c 	c = (caps >> CEPH_CAP_SAUTH) & 3;
caps              103 fs/ceph/caps.c 	c = (caps >> CEPH_CAP_SLINK) & 3;
caps              109 fs/ceph/caps.c 	c = (caps >> CEPH_CAP_SXATTR) & 3;
caps              115 fs/ceph/caps.c 	c = caps >> CEPH_CAP_SFILE;
caps             1121 fs/ceph/caps.c 	int			op, caps, wanted, dirty;
caps             1146 fs/ceph/caps.c 	     arg->cid, arg->ino, ceph_cap_string(arg->caps),
caps             1172 fs/ceph/caps.c 	fc->caps = cpu_to_le32(arg->caps);
caps             1355 fs/ceph/caps.c 	arg.caps = cap->implemented;
caps             1425 fs/ceph/caps.c 	arg.caps = capsnap->issued;
caps             1746 fs/ceph/caps.c 	cf->caps = flushing;
caps             2323 fs/ceph/caps.c 		if (!cf->caps) {
caps             2342 fs/ceph/caps.c 		if (cf->caps) {
caps             2344 fs/ceph/caps.c 			     inode, cap, cf->tid, ceph_cap_string(cf->caps));
caps             2353 fs/ceph/caps.c 					  cf->caps, cf->tid, oldest_flush_tid);
caps             2359 fs/ceph/caps.c 					ceph_cap_string(cf->caps));
caps             2850 fs/ceph/caps.c void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps)
caps             2853 fs/ceph/caps.c 	__take_cap_refs(ci, caps, false);
caps             3102 fs/ceph/caps.c 	int newcaps = le32_to_cpu(grant->caps);
caps             3391 fs/ceph/caps.c 			cleaned = cf->caps;
caps             3392 fs/ceph/caps.c 		if (cf->caps == 0) /* capsnap */
caps             3399 fs/ceph/caps.c 			cleaned &= ~cf->caps;
caps             3727 fs/ceph/caps.c 	unsigned caps = le32_to_cpu(im->caps);
caps             3767 fs/ceph/caps.c 	ceph_add_cap(inode, session, cap_id, -1, caps, wanted, seq, mseq,
caps             4225 fs/ceph/caps.c 			rel->caps = cpu_to_le32(cap->implemented);
caps              754 fs/ceph/inode.c 	info_caps = le32_to_cpu(info->cap.caps);
caps             1350 fs/ceph/inode.c 			(le32_to_cpu(rinfo->diri.in->cap.caps) &
caps              178 fs/ceph/super.h 	int caps; /* 0 means capsnap */
caps              742 fs/ceph/super.h 	int caps;
caps              748 fs/ceph/super.h 		.caps = _caps,			\
caps             1058 fs/ceph/super.h extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps);
caps              173 fs/cifs/ioctl.c 	__u64   caps;
caps              183 fs/cifs/ioctl.c 			caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
caps              185 fs/cifs/ioctl.c 			if (CIFS_UNIX_EXTATTR_CAP & caps) {
caps              210 fs/cifs/ioctl.c 			caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
caps              685 fs/nfs/client.c 	server->caps |= NFS_CAP_HARDLINKS|NFS_CAP_SYMLINKS|NFS_CAP_FILEID|
caps              836 fs/nfs/client.c 	target->caps = source->caps;
caps              975 fs/nfs/client.c 			server->caps |= NFS_CAP_READDIRPLUS;
caps              361 fs/nfs/dir.c   			NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS;
caps             1048 fs/nfs/dir.c   			if (server->caps & NFS_CAP_ATOMIC_OPEN)
caps             2484 fs/nfs/flexfilelayout/flexfilelayout.c 	server->caps |= NFS_CAP_LAYOUTSTATS;
caps              371 fs/nfs/inode.c 	if (!(server->caps & NFS_CAP_SECURITY_LABEL))
caps             1903 fs/nfs/inode.c 	} else if (server->caps & NFS_CAP_MTIME) {
caps             1912 fs/nfs/inode.c 	} else if (server->caps & NFS_CAP_CTIME) {
caps             1950 fs/nfs/inode.c 	else if (server->caps & NFS_CAP_ATIME) {
caps             1966 fs/nfs/inode.c 	} else if (server->caps & NFS_CAP_MODE) {
caps             1980 fs/nfs/inode.c 	} else if (server->caps & NFS_CAP_OWNER) {
caps             1994 fs/nfs/inode.c 	} else if (server->caps & NFS_CAP_OWNER_GROUP) {
caps             2008 fs/nfs/inode.c 	} else if (server->caps & NFS_CAP_NLINK) {
caps              110 fs/nfs/nfs3acl.c 			server->caps &= ~NFS_CAP_ACLS;
caps              230 fs/nfs/nfs3acl.c 			server->caps &= ~NFS_CAP_ACLS;
caps               35 fs/nfs/nfs3client.c 	server->caps |= NFS_CAP_ACLS;
caps               39 fs/nfs/nfs3client.c 	server->caps &= ~NFS_CAP_ACLS;
caps               45 fs/nfs/nfs3client.c 	server->caps &= ~NFS_CAP_ACLS;
caps              102 fs/nfs/nfs42proc.c 		NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE;
caps              128 fs/nfs/nfs42proc.c 		NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE;
caps              271 fs/nfs/nfs42proc.c 		server->caps &= ~NFS_CAP_COPY;
caps              436 fs/nfs/nfs42proc.c 	if (!(dst_server->caps & NFS_CAP_OFFLOAD_CANCEL))
caps              457 fs/nfs/nfs42proc.c 		dst_server->caps &= ~NFS_CAP_OFFLOAD_CANCEL;
caps              497 fs/nfs/nfs42proc.c 		server->caps &= ~NFS_CAP_SEEK;
caps              611 fs/nfs/nfs42proc.c 		NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTSTATS;
caps              777 fs/nfs/nfs42proc.c 		NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTERROR;
caps              920 fs/nfs/nfs42proc.c 			NFS_SERVER(inode)->caps &= ~NFS_CAP_CLONE;
caps             1012 fs/nfs/nfs4client.c 	server->caps |= server->nfs_client->cl_mvops->init_caps;
caps             1014 fs/nfs/nfs4client.c 			server->caps &= ~NFS_CAP_READDIRPLUS;
caps             1021 fs/nfs/nfs4client.c 		server->caps |= NFS_CAP_UIDGID_NOMAP;
caps              783 fs/nfs/nfs4idmap.c 	if (!(server->caps & NFS_CAP_UIDGID_NOMAP))
caps              797 fs/nfs/nfs4idmap.c 	if (!(server->caps & NFS_CAP_UIDGID_NOMAP))
caps              552 fs/nfs/nfs4proc.c 			if (server->caps & NFS_CAP_UIDGID_NOMAP) {
caps              553 fs/nfs/nfs4proc.c 				server->caps &= ~NFS_CAP_UIDGID_NOMAP;
caps             1193 fs/nfs/nfs4proc.c 	if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1))
caps             1195 fs/nfs/nfs4proc.c 	server->caps &= ~NFS_CAP_ATOMIC_OPEN_V1;
caps             1228 fs/nfs/nfs4proc.c 	if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1))
caps             1241 fs/nfs/nfs4proc.c 	if (server->caps & NFS_CAP_ATOMIC_OPEN_V1)
caps             2632 fs/nfs/nfs4proc.c 		server->caps &= ~NFS_CAP_POSIX_LOCK;
caps             2982 fs/nfs/nfs4proc.c 	if (server->caps & NFS_CAP_POSIX_LOCK)
caps             3767 fs/nfs/nfs4proc.c 		server->caps &= ~(NFS_CAP_ACLS|NFS_CAP_HARDLINKS|
caps             3775 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_ACLS;
caps             3777 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_HARDLINKS;
caps             3779 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_SYMLINKS;
caps             3781 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_FILEID;
caps             3783 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_MODE;
caps             3785 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_NLINK;
caps             3787 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_OWNER;
caps             3789 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_OWNER_GROUP;
caps             3791 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_ATIME;
caps             3793 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_CTIME;
caps             3795 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_MTIME;
caps             3798 fs/nfs/nfs4proc.c 			server->caps |= NFS_CAP_SECURITY_LABEL;
caps             5483 fs/nfs/nfs4proc.c 	return server->caps & NFS_CAP_ACLS;
caps             2264 fs/nfs/pnfs.c  			srv->caps &= ~NFS_CAP_LGOPEN;
caps              846 fs/nfs/super.c 	seq_printf(m, "caps=0x%x", nfss->caps);
caps             2607 fs/nfs/super.c 	if (NFS_SB(s)->caps & NFS_CAP_SECURITY_LABEL)
caps             2615 fs/nfs/super.c 	if (NFS_SB(s)->caps & NFS_CAP_SECURITY_LABEL &&
caps             2617 fs/nfs/super.c 		NFS_SB(s)->caps &= ~NFS_CAP_SECURITY_LABEL;
caps             2633 fs/nfs/super.c 	if (NFS_SB(s)->caps & NFS_CAP_SECURITY_LABEL)
caps             2641 fs/nfs/super.c 	if (NFS_SB(s)->caps & NFS_CAP_SECURITY_LABEL &&
caps             2643 fs/nfs/super.c 		NFS_SB(s)->caps &= ~NFS_CAP_SECURITY_LABEL;
caps              139 include/acpi/cppc_acpi.h extern int cppc_get_perf_caps(int cpu, struct cppc_perf_caps *caps);
caps               50 include/linux/amba/clcd.h 	u32			caps;
caps               84 include/linux/amba/clcd.h 	u32	caps;
caps              188 include/linux/amba/clcd.h 	if (fb->panel->caps && fb->board->caps && var->bits_per_pixel >= 16) {
caps              466 include/linux/ceph/ceph_fs.h 	__le32 caps, wanted;           /* new issued, wanted */
caps              495 include/linux/ceph/ceph_fs.h 	__le32 caps, wanted;           /* caps issued, wanted */
caps              695 include/linux/ceph/ceph_fs.h 	__le32 caps, wanted, dirty; /* latest issued/wanted/dirty */
caps             1315 include/linux/dmaengine.h int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps);
caps             1358 include/linux/dmaengine.h 				     struct dma_slave_caps *caps)
caps             1368 include/linux/dmaengine.h 	struct dma_slave_caps caps;
caps             1371 include/linux/dmaengine.h 	ret = dma_get_slave_caps(tx->chan, &caps);
caps             1375 include/linux/dmaengine.h 	if (caps.descriptor_reuse) {
caps              287 include/linux/fb.h 	void (*fb_get_caps)(struct fb_info *info, struct fb_blit_caps *caps,
caps               16 include/linux/fbcon.h 			   struct fb_blit_caps *caps);
caps               34 include/linux/fbcon.h 					 struct fb_blit_caps *caps) {}
caps              145 include/linux/fsl/ptp_qoriq.h 	struct ptp_clock_info caps;
caps              186 include/linux/fsl/ptp_qoriq.h 		   const struct ptp_clock_info *caps);
caps             1405 include/linux/greybus/greybus_protocols.h 	__le32	caps;
caps              274 include/linux/memstick.h 	unsigned int        caps;
caps              889 include/linux/mlx4/device.h 	struct mlx4_caps	caps;
caps             1028 include/linux/mlx4/device.h 	for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++)	\
caps             1029 include/linux/mlx4/device.h 		if ((type) == (dev)->caps.port_mask[(port)])
caps             1032 include/linux/mlx4/device.h 	for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++)       \
caps             1033 include/linux/mlx4/device.h 		if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
caps             1034 include/linux/mlx4/device.h 		    ((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_ETH))
caps             1037 include/linux/mlx4/device.h #define MLX4_SINK_COUNTER_INDEX(dev)	(dev->caps.max_counters - 1)
caps             1043 include/linux/mlx4/device.h 	return dev->caps.function;
caps             1062 include/linux/mlx4/device.h 	       (qpn < dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]);
caps             1087 include/linux/mlx4/device.h 	return dev->caps.port_type[port] == MLX4_PORT_TYPE_IB ? 0 : 1;
caps              491 include/linux/mlx4/qp.h 	return radix_tree_lookup(&dev->qp_table_tree, qpn & (dev->caps.num_qps - 1));
caps             1139 include/linux/mlx5/device.h 	MLX5_GET(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap)
caps             1142 include/linux/mlx5/device.h 	MLX5_GET64(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap)
caps             1145 include/linux/mlx5/device.h 	MLX5_GET(cmd_hca_cap, mdev->caps.hca_max[MLX5_CAP_GENERAL], cap)
caps             1149 include/linux/mlx5/device.h 		 mdev->caps.hca_cur[MLX5_CAP_ETHERNET_OFFLOADS], cap)
caps             1153 include/linux/mlx5/device.h 		 mdev->caps.hca_max[MLX5_CAP_ETHERNET_OFFLOADS], cap)
caps             1157 include/linux/mlx5/device.h 		 mdev->caps.hca_cur[MLX5_CAP_IPOIB_ENHANCED_OFFLOADS], cap)
caps             1160 include/linux/mlx5/device.h 	MLX5_GET(roce_cap, mdev->caps.hca_cur[MLX5_CAP_ROCE], cap)
caps             1163 include/linux/mlx5/device.h 	MLX5_GET(roce_cap, mdev->caps.hca_max[MLX5_CAP_ROCE], cap)
caps             1166 include/linux/mlx5/device.h 	MLX5_GET(atomic_caps, mdev->caps.hca_cur[MLX5_CAP_ATOMIC], cap)
caps             1169 include/linux/mlx5/device.h 	MLX5_GET(atomic_caps, mdev->caps.hca_max[MLX5_CAP_ATOMIC], cap)
caps             1172 include/linux/mlx5/device.h 	MLX5_GET(flow_table_nic_cap, mdev->caps.hca_cur[MLX5_CAP_FLOW_TABLE], cap)
caps             1175 include/linux/mlx5/device.h 	MLX5_GET64(flow_table_nic_cap, (mdev)->caps.hca_cur[MLX5_CAP_FLOW_TABLE], cap)
caps             1178 include/linux/mlx5/device.h 	MLX5_GET(flow_table_nic_cap, mdev->caps.hca_max[MLX5_CAP_FLOW_TABLE], cap)
caps             1212 include/linux/mlx5/device.h 		 mdev->caps.hca_cur[MLX5_CAP_ESWITCH_FLOW_TABLE], cap)
caps             1216 include/linux/mlx5/device.h 		 mdev->caps.hca_max[MLX5_CAP_ESWITCH_FLOW_TABLE], cap)
caps             1238 include/linux/mlx5/device.h 		 mdev->caps.hca_cur[MLX5_CAP_ESWITCH], cap)
caps             1242 include/linux/mlx5/device.h 		(mdev)->caps.hca_cur[MLX5_CAP_ESWITCH_FLOW_TABLE], cap)
caps             1246 include/linux/mlx5/device.h 		 mdev->caps.hca_max[MLX5_CAP_ESWITCH], cap)
caps             1249 include/linux/mlx5/device.h 	MLX5_GET(odp_cap, mdev->caps.hca_cur[MLX5_CAP_ODP], cap)
caps             1252 include/linux/mlx5/device.h 	MLX5_GET(odp_cap, mdev->caps.hca_max[MLX5_CAP_ODP], cap)
caps             1256 include/linux/mlx5/device.h 		 mdev->caps.hca_cur[MLX5_CAP_VECTOR_CALC], cap)
caps             1259 include/linux/mlx5/device.h 	MLX5_GET(qos_cap, mdev->caps.hca_cur[MLX5_CAP_QOS], cap)
caps             1262 include/linux/mlx5/device.h 	MLX5_GET(debug_cap, mdev->caps.hca_cur[MLX5_CAP_DEBUG], cap)
caps             1265 include/linux/mlx5/device.h 	MLX5_GET(pcam_reg, (mdev)->caps.pcam, feature_cap_mask.enhanced_features.fld)
caps             1268 include/linux/mlx5/device.h 	MLX5_GET(pcam_reg, (mdev)->caps.pcam, port_access_reg_cap_mask.regs_5000_to_507f.reg)
caps             1271 include/linux/mlx5/device.h 	MLX5_GET(mcam_reg, (mdev)->caps.mcam, mng_access_reg_cap_mask.access_regs.reg)
caps             1274 include/linux/mlx5/device.h 	MLX5_GET(mcam_reg, (mdev)->caps.mcam, mng_feature_cap_mask.enhanced_features.fld)
caps             1277 include/linux/mlx5/device.h 	MLX5_GET(qcam_reg, (mdev)->caps.qcam, qos_access_reg_cap_mask.reg_cap.fld)
caps             1280 include/linux/mlx5/device.h 	MLX5_GET(qcam_reg, (mdev)->caps.qcam, qos_feature_cap_mask.feature_cap.fld)
caps             1283 include/linux/mlx5/device.h 	MLX5_GET(fpga_cap, (mdev)->caps.fpga, cap)
caps             1286 include/linux/mlx5/device.h 	MLX5_GET64(fpga_cap, (mdev)->caps.fpga, cap)
caps             1289 include/linux/mlx5/device.h 	MLX5_GET(device_mem_cap, mdev->caps.hca_cur[MLX5_CAP_DEV_MEM], cap)
caps             1292 include/linux/mlx5/device.h 	MLX5_GET64(device_mem_cap, mdev->caps.hca_cur[MLX5_CAP_DEV_MEM], cap)
caps             1295 include/linux/mlx5/device.h 	MLX5_GET(tls_cap, (mdev)->caps.hca_cur[MLX5_CAP_TLS], cap)
caps             1298 include/linux/mlx5/device.h 	MLX5_ADDR_OF(device_event_cap, (mdev)->caps.hca_cur[MLX5_CAP_DEV_EVENT], cap)
caps              693 include/linux/mlx5/driver.h 	} caps;
caps             1127 include/linux/mlx5/driver.h 	return dev->caps.embedded_cpu;
caps             1133 include/linux/mlx5/driver.h 	return dev->caps.embedded_cpu && MLX5_CAP_GEN(dev, eswitch_manager);
caps              130 include/linux/mlx5/port.h int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps);
caps              309 include/linux/mmc/host.h 	u32			caps;		/* Host capabilities */
caps              488 include/linux/mmc/host.h #define mmc_host_is_spi(host)	((host)->caps & MMC_CAP_SPI)
caps              543 include/linux/mmc/host.h 	return !(host->caps & MMC_CAP_NONREMOVABLE);
caps               34 include/linux/mmc/sh_mmcif.h 	unsigned long		caps;
caps             1303 include/linux/mtd/rawnand.h 			 const struct nand_ecc_caps *caps, int oobavail);
caps              332 include/linux/nfs_fs.h 	return NFS_SERVER(inode)->caps & cap;
caps              153 include/linux/nfs_fs_sb.h 	unsigned int		caps;		/* server capabilities */
caps               52 include/linux/platform_data/hsmmc-omap.h 	u32 caps;	/* Used for the MMC driver on 2430 and later */
caps               25 include/linux/platform_data/mmc-davinci.h 	u32     caps;
caps               47 include/linux/platform_data/mmc-omap.h 		u32 caps;	/* Used for the MMC driver on 2430 and later */
caps               26 include/linux/spi/mmc_spi.h 	unsigned long caps;
caps              115 include/linux/svga.h void svga_get_caps(struct fb_info *info, struct fb_blit_caps *caps,
caps              228 include/linux/usb/gadget.h 	struct usb_ep_caps	caps;
caps              141 include/linux/vfio.h 		struct vfio_info_cap *caps, size_t size, u16 id, u16 version);
caps              142 include/linux/vfio.h extern void vfio_info_cap_shift(struct vfio_info_cap *caps, size_t offset);
caps              144 include/linux/vfio.h extern int vfio_info_add_capability(struct vfio_info_cap *caps,
caps               73 include/media/cec-pin.h 					void *priv, const char *name, u32 caps);
caps              272 include/media/cec.h 		void *priv, const char *name, u32 caps, u8 available_las);
caps              347 include/media/dvb_frontend.h 	enum fe_caps caps;
caps               77 include/scsi/scsi_transport_iscsi.h 	unsigned int caps;
caps              251 include/sound/ac97_codec.h 	unsigned short caps;	/* capabilities (register 0) */
caps              119 include/sound/compress_driver.h 			struct snd_compr_caps *caps);
caps               53 include/sound/intel-nhlt.h 	u8 caps[0];
caps               80 include/sound/sof/topology.h 	uint32_t caps;		/**< SOF_MEM_CAPS_ */
caps              157 include/uapi/linux/dvb/frontend.h 	enum fe_caps caps;
caps              510 include/uapi/linux/soundcard.h 		int caps;
caps              522 include/uapi/sound/asoc.h 	struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
caps              571 include/uapi/sound/asoc.h 	struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
caps              622 include/uapi/sound/asoc.h 	struct snd_soc_tplg_stream_caps_v4 caps[2]; /* playback and capture for DAI */
caps              188 include/uapi/sound/skl-tplg-interface.h 	__u32 caps[HDA_SST_CFG_MAX];
caps              236 include/uapi/sound/skl-tplg-interface.h 	struct skl_dfw_v4_module_caps caps;
caps              322 include/video/omapfb_dss.h 	enum omap_overlay_caps caps;
caps              663 include/video/omapfb_dss.h 	enum omap_display_caps caps;
caps             1899 kernel/auditsc.c 	struct cpu_vfs_cap_data caps;
caps             1905 kernel/auditsc.c 	rc = get_vfs_caps_from_disk(dentry, &caps);
caps             1909 kernel/auditsc.c 	name->fcap.permitted = caps.permitted;
caps             1910 kernel/auditsc.c 	name->fcap.inheritable = caps.inheritable;
caps             1911 kernel/auditsc.c 	name->fcap.fE = !!(caps.magic_etc & VFS_CAP_FLAGS_EFFECTIVE);
caps             1912 kernel/auditsc.c 	name->fcap.rootid = caps.rootid;
caps             1913 kernel/auditsc.c 	name->fcap_ver = (caps.magic_etc & VFS_CAP_REVISION_MASK) >>
caps               89 net/ceph/ceph_fs.c 	int caps = CEPH_CAP_PIN;
caps               92 net/ceph/ceph_fs.c 		caps |= CEPH_CAP_FILE_SHARED |
caps               95 net/ceph/ceph_fs.c 		caps |= CEPH_CAP_FILE_EXCL |
caps              100 net/ceph/ceph_fs.c 		caps |= CEPH_CAP_FILE_LAZYIO;
caps              102 net/ceph/ceph_fs.c 	return caps;
caps              355 net/ieee802154/nl802154.c 	const struct wpan_phy_supported *caps = &rdev->wpan_phy.supported;
caps              368 net/ieee802154/nl802154.c 		if (caps->channels[i]) {
caps              369 net/ieee802154/nl802154.c 			if (nl802154_put_flags(msg, i, caps->channels[i]))
caps              384 net/ieee802154/nl802154.c 		for (i = 0; i < caps->cca_ed_levels_size; i++) {
caps              385 net/ieee802154/nl802154.c 			if (nla_put_s32(msg, i, caps->cca_ed_levels[i]))
caps              400 net/ieee802154/nl802154.c 		for (i = 0; i < caps->tx_powers_size; i++) {
caps              401 net/ieee802154/nl802154.c 			if (nla_put_s32(msg, i, caps->tx_powers[i]))
caps              410 net/ieee802154/nl802154.c 				       caps->cca_modes) ||
caps              412 net/ieee802154/nl802154.c 				       caps->cca_opts))
caps              416 net/ieee802154/nl802154.c 	if (nla_put_u8(msg, NL802154_CAP_ATTR_MIN_MINBE, caps->min_minbe) ||
caps              417 net/ieee802154/nl802154.c 	    nla_put_u8(msg, NL802154_CAP_ATTR_MAX_MINBE, caps->max_minbe) ||
caps              418 net/ieee802154/nl802154.c 	    nla_put_u8(msg, NL802154_CAP_ATTR_MIN_MAXBE, caps->min_maxbe) ||
caps              419 net/ieee802154/nl802154.c 	    nla_put_u8(msg, NL802154_CAP_ATTR_MAX_MAXBE, caps->max_maxbe) ||
caps              421 net/ieee802154/nl802154.c 		       caps->min_csma_backoffs) ||
caps              423 net/ieee802154/nl802154.c 		       caps->max_csma_backoffs) ||
caps              425 net/ieee802154/nl802154.c 		       caps->min_frame_retries) ||
caps              427 net/ieee802154/nl802154.c 		       caps->max_frame_retries) ||
caps              429 net/ieee802154/nl802154.c 			       caps->iftypes) ||
caps              430 net/ieee802154/nl802154.c 	    nla_put_u32(msg, NL802154_CAP_ATTR_LBT, caps->lbt))
caps              199 net/ncsi/internal.h 	struct ncsi_channel_cap	    caps[NCSI_CAP_MAX];
caps              218 net/ncsi/ncsi-manage.c 		nc->caps[index].index = index;
caps             1032 net/ncsi/ncsi-manage.c 			nca.dwords[0] = nc->caps[NCSI_CAP_BC].cap;
caps             1037 net/ncsi/ncsi-manage.c 			if (nc->caps[NCSI_CAP_GENERIC].cap &
caps             1062 net/ncsi/ncsi-manage.c 			if (!(nc->caps[NCSI_CAP_AEN].cap & NCSI_CAP_AEN_MASK))
caps             1067 net/ncsi/ncsi-manage.c 			nca.dwords[1] = nc->caps[NCSI_CAP_AEN].cap;
caps             1245 net/ncsi/ncsi-manage.c 			cap = nc->caps[NCSI_CAP_GENERIC].cap;
caps              780 net/ncsi/ncsi-rsp.c 	nc->caps[NCSI_CAP_GENERIC].cap = ntohl(rsp->cap) &
caps              782 net/ncsi/ncsi-rsp.c 	nc->caps[NCSI_CAP_BC].cap = ntohl(rsp->bc_cap) &
caps              784 net/ncsi/ncsi-rsp.c 	nc->caps[NCSI_CAP_MC].cap = ntohl(rsp->mc_cap) &
caps              786 net/ncsi/ncsi-rsp.c 	nc->caps[NCSI_CAP_BUFFER].cap = ntohl(rsp->buf_cap);
caps              787 net/ncsi/ncsi-rsp.c 	nc->caps[NCSI_CAP_AEN].cap = ntohl(rsp->aen_cap) &
caps              789 net/ncsi/ncsi-rsp.c 	nc->caps[NCSI_CAP_VLAN].cap = rsp->vlan_mode &
caps              196 net/tipc/discover.c 	u16 caps = msg_node_capabilities(hdr);
caps              214 net/tipc/discover.c 	if (caps & TIPC_NODE_ID128)
caps              244 net/tipc/discover.c 	tipc_node_check_dest(net, src, peer_id, b, caps, signature,
caps              228 net/tipc/node.c 	u16 caps;
caps              233 net/tipc/node.c 	caps = n->capabilities;
caps              235 net/tipc/node.c 	return caps;
caps             1853 net/wireless/nl80211.c 	struct nlattr *pmsr, *caps;
caps             1878 net/wireless/nl80211.c 	caps = nla_nest_start_noflag(msg, NL80211_PMSR_ATTR_TYPE_CAPA);
caps             1879 net/wireless/nl80211.c 	if (!caps)
caps             1885 net/wireless/nl80211.c 	nla_nest_end(msg, caps);
caps               34 security/apparmor/capability.c 	kernel_cap_t caps;
caps               75 security/apparmor/capability.c 			   !cap_raised(profile->caps.audit, cap)))
caps               79 security/apparmor/capability.c 		   cap_raised(profile->caps.kill, cap)) {
caps               81 security/apparmor/capability.c 	} else if (cap_raised(profile->caps.quiet, cap) &&
caps               90 security/apparmor/capability.c 	if (profile == ent->profile && cap_raised(ent->caps, cap)) {
caps               98 security/apparmor/capability.c 		cap_raise(ent->caps, cap);
caps              119 security/apparmor/capability.c 	if (cap_raised(profile->caps.allow, cap) &&
caps              120 security/apparmor/capability.c 	    !cap_raised(profile->caps.denied, cap))
caps               41 security/apparmor/include/capability.h static inline void aa_free_cap_rules(struct aa_caps *caps)
caps              147 security/apparmor/include/policy.h 	struct aa_caps caps;
caps              159 security/apparmor/lsm.c 						   profile->caps.allow);
caps              161 security/apparmor/lsm.c 						   profile->caps.allow);
caps              223 security/apparmor/policy.c 	aa_free_cap_rules(&profile->caps);
caps              769 security/apparmor/policy_unpack.c 	if (!unpack_u32(e, &(profile->caps.allow.cap[0]), NULL))
caps              771 security/apparmor/policy_unpack.c 	if (!unpack_u32(e, &(profile->caps.audit.cap[0]), NULL))
caps              773 security/apparmor/policy_unpack.c 	if (!unpack_u32(e, &(profile->caps.quiet.cap[0]), NULL))
caps              781 security/apparmor/policy_unpack.c 		if (!unpack_u32(e, &(profile->caps.allow.cap[1]), NULL))
caps              783 security/apparmor/policy_unpack.c 		if (!unpack_u32(e, &(profile->caps.audit.cap[1]), NULL))
caps              785 security/apparmor/policy_unpack.c 		if (!unpack_u32(e, &(profile->caps.quiet.cap[1]), NULL))
caps              796 security/apparmor/policy_unpack.c 		if (!unpack_u32(e, &(profile->caps.extended.cap[0]), NULL))
caps              798 security/apparmor/policy_unpack.c 		if (!unpack_u32(e, &(profile->caps.extended.cap[1]), NULL))
caps              528 security/commoncap.c static inline int bprm_caps_from_vfs_caps(struct cpu_vfs_cap_data *caps,
caps              537 security/commoncap.c 	if (caps->magic_etc & VFS_CAP_FLAGS_EFFECTIVE)
caps              540 security/commoncap.c 	if (caps->magic_etc & VFS_CAP_REVISION_MASK)
caps              544 security/commoncap.c 		__u32 permitted = caps->permitted.cap[i];
caps              545 security/commoncap.c 		__u32 inheritable = caps->inheritable.cap[i];
caps              578 security/commoncap.c 	struct vfs_cap_data *caps = (struct vfs_cap_data *) &data;
caps              600 security/commoncap.c 	cpu_caps->magic_etc = magic_etc = le32_to_cpu(caps->magic_etc);
caps              633 security/commoncap.c 		cpu_caps->permitted.cap[i] = le32_to_cpu(caps->data[i].permitted);
caps              634 security/commoncap.c 		cpu_caps->inheritable.cap[i] = le32_to_cpu(caps->data[i].inheritable);
caps             1434 security/security.c 			unsigned caps = file->f_op->mmap_capabilities(file);
caps             1435 security/security.c 			if (!(caps & NOMMU_MAP_EXEC))
caps               53 sound/core/compress_offload.c 	unsigned long caps;
caps              450 sound/core/compress_offload.c 	struct snd_compr_caps caps;
caps              455 sound/core/compress_offload.c 	memset(&caps, 0, sizeof(caps));
caps              456 sound/core/compress_offload.c 	retval = stream->ops->get_caps(stream, &caps);
caps              459 sound/core/compress_offload.c 	if (copy_to_user((void __user *)arg, &caps, sizeof(caps)))
caps              470 sound/core/compress_offload.c 	struct snd_compr_codec_caps *caps;
caps              475 sound/core/compress_offload.c 	caps = kzalloc(sizeof(*caps), GFP_KERNEL);
caps              476 sound/core/compress_offload.c 	if (!caps)
caps              479 sound/core/compress_offload.c 	retval = stream->ops->get_codec_caps(stream, caps);
caps              482 sound/core/compress_offload.c 	if (copy_to_user((void __user *)arg, caps, sizeof(*caps)))
caps              486 sound/core/compress_offload.c 	kfree(caps);
caps              269 sound/hda/hdac_sysfs.c static WIDGET_ATTR_RO(caps);
caps               78 sound/hda/intel-nhlt.c 					(epnt->config.caps);
caps               97 sound/isa/es18xx.c 	int caps;			/* Chip capabilities */
caps              404 sound/isa/es18xx.c 	if (chip->caps & ES18XX_NEW_RATE) {
caps              419 sound/isa/es18xx.c 	if ((chip->caps & ES18XX_PCM2) && mode == DAC2) {
caps              445 sound/isa/es18xx.c 	if (substream->number == 0 && (chip->caps & ES18XX_PCM2)) {
caps              446 sound/isa/es18xx.c 		if ((chip->caps & ES18XX_DUPLEX_MONO) &&
caps              510 sound/isa/es18xx.c 		if (chip->caps & ES18XX_PCM2)
caps              527 sound/isa/es18xx.c 		if (chip->caps & ES18XX_PCM2)
caps              549 sound/isa/es18xx.c 	if ((chip->caps & ES18XX_DUPLEX_MONO) &&
caps              709 sound/isa/es18xx.c 	if (substream->number == 0 && (chip->caps & ES18XX_PCM2))
caps              719 sound/isa/es18xx.c 	if (substream->number == 0 && (chip->caps & ES18XX_PCM2))
caps              731 sound/isa/es18xx.c 	if (chip->caps & ES18XX_CONTROL) {
caps              745 sound/isa/es18xx.c 		if ((chip->caps & ES18XX_HWV) &&
caps              776 sound/isa/es18xx.c 		if (chip->caps & ES18XX_HWV) {
caps              801 sound/isa/es18xx.c 	if (substream->number == 0 && (chip->caps & ES18XX_PCM2)) {
caps              871 sound/isa/es18xx.c 	if (substream->number == 0 && (chip->caps & ES18XX_PCM2)) {
caps              872 sound/isa/es18xx.c 		if ((chip->caps & ES18XX_DUPLEX_MONO) &&
caps              887 sound/isa/es18xx.c 				      (chip->caps & ES18XX_NEW_RATE) ? &new_hw_constraints_clocks : &old_hw_constraints_clocks);
caps              898 sound/isa/es18xx.c 	if ((chip->caps & ES18XX_DUPLEX_MONO) &&
caps              905 sound/isa/es18xx.c 				      (chip->caps & ES18XX_NEW_RATE) ? &new_hw_constraints_clocks : &old_hw_constraints_clocks);
caps              913 sound/isa/es18xx.c 	if (substream->number == 0 && (chip->caps & ES18XX_PCM2))
caps             1393 sound/isa/es18xx.c 	if (chip->caps & ES18XX_CONTROL) {
caps             1500 sound/isa/es18xx.c 	if (chip->caps & ES18XX_NEW_RATE) {
caps             1506 sound/isa/es18xx.c 	if (!(chip->caps & ES18XX_PCM2)) {
caps             1510 sound/isa/es18xx.c 	if (chip->caps & ES18XX_SPATIALIZER) {
caps             1529 sound/isa/es18xx.c 	if (chip->caps & ES18XX_MUTEREC)
caps             1531 sound/isa/es18xx.c 	if (chip->caps & ES18XX_RECMIX)
caps             1625 sound/isa/es18xx.c 		chip->caps = ES18XX_DUPLEX_MONO | ES18XX_DUPLEX_SAME | ES18XX_CONTROL | ES18XX_GPO_2BIT;
caps             1628 sound/isa/es18xx.c 		chip->caps = ES18XX_PCM2 | ES18XX_SPATIALIZER | ES18XX_RECMIX | ES18XX_NEW_RATE | ES18XX_AUXB | ES18XX_MONO | ES18XX_MUTEREC | ES18XX_CONTROL | ES18XX_HWV | ES18XX_GPO_2BIT;
caps             1631 sound/isa/es18xx.c 		chip->caps = ES18XX_DUPLEX_MONO | ES18XX_DUPLEX_SAME | ES18XX_I2S | ES18XX_CONTROL;
caps             1634 sound/isa/es18xx.c 		chip->caps = ES18XX_PCM2 | ES18XX_SPATIALIZER | ES18XX_RECMIX | ES18XX_NEW_RATE | ES18XX_AUXB | ES18XX_I2S | ES18XX_CONTROL | ES18XX_HWV;
caps             1638 sound/isa/es18xx.c 		chip->caps = ES18XX_PCM2 | ES18XX_RECMIX | ES18XX_AUXB | ES18XX_DUPLEX_SAME | ES18XX_GPO_2BIT;
caps             1649 sound/isa/es18xx.c 		chip->caps &= ~(ES18XX_PCM2 | ES18XX_DUPLEX_SAME);
caps             1684 sound/isa/es18xx.c 	if (chip->caps & ES18XX_PCM2)
caps             1697 sound/isa/es18xx.c 	if (chip->caps & ES18XX_DUPLEX_SAME)
caps             1699 sound/isa/es18xx.c 	if (! (chip->caps & ES18XX_PCM2))
caps             1838 sound/isa/es18xx.c 		if (chip->caps & ES18XX_HWV) {
caps             1853 sound/isa/es18xx.c 	if (chip->caps & ES18XX_PCM2) {
caps             1865 sound/isa/es18xx.c 	if (chip->caps & ES18XX_RECMIX) {
caps             1882 sound/isa/es18xx.c 	if (chip->caps & ES18XX_SPATIALIZER) {
caps             1888 sound/isa/es18xx.c 	if (chip->caps & ES18XX_HWV) {
caps             1932 sound/isa/es18xx.c 	if (chip->caps & ES18XX_GPO_2BIT) {
caps             1034 sound/pci/ac97/ac97_codec.c 		return ac97->caps & AC97_BC_BASS_TREBLE ? 1 : 0;
caps             1036 sound/pci/ac97/ac97_codec.c 		return ac97->caps & AC97_BC_HEADPHONE ? 1 : 0;
caps             1038 sound/pci/ac97/ac97_codec.c 		return ac97->caps & AC97_BC_DEDICATED_MIC ? 1 : 0;
caps             1040 sound/pci/ac97/ac97_codec.c 		if (ac97->caps & AC97_BC_3D_TECH_ID_MASK) {
caps             1548 sound/pci/ac97/ac97_codec.c 	if (ac97->caps & AC97_BC_SIM_STEREO) {
caps             1560 sound/pci/ac97/ac97_codec.c 	if (ac97->caps & AC97_BC_LOUDNESS) {
caps             2101 sound/pci/ac97/ac97_codec.c 		ac97->caps = snd_ac97_read(ac97, AC97_RESET);
caps              354 sound/pci/ac97/ac97_patch.c 	ac97->caps |= AC97_BC_BASS_TREBLE;
caps              355 sound/pci/ac97/ac97_patch.c 	ac97->caps |= 0x04 << 10; /* Yamaha 3D enhancement */
caps              439 sound/pci/ac97/ac97_patch.c 	ac97->caps |= AC97_BC_BASS_TREBLE;
caps              440 sound/pci/ac97/ac97_patch.c 	ac97->caps |= 0x04 << 10; /* Yamaha 3D enhancement */
caps             1002 sound/pci/ac97/ac97_patch.c 	ac97->caps |= 0x10;	/* HP (sigmatel surround) support */
caps             3361 sound/pci/ac97/ac97_patch.c 	ac97->caps |= AC97_BC_HEADPHONE;
caps              130 sound/pci/ac97/ac97_proc.c 	val = ac97->caps;
caps              138 sound/pci/ac97/ac97_proc.c 	tmp = ac97->caps & AC97_BC_DAC_MASK;
caps              144 sound/pci/ac97/ac97_proc.c 	tmp = ac97->caps & AC97_BC_ADC_MASK;
caps             1259 sound/pci/hda/hda_codec.c 			      unsigned int caps)
caps             1266 sound/pci/hda/hda_codec.c 	return snd_hdac_override_parm(&codec->core, nid, parm, caps);
caps             1382 sound/pci/hda/hda_codec.c 	u32 caps = query_amp_caps(codec, nid, dir);
caps             1384 sound/pci/hda/hda_codec.c 	caps = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT;
caps             1385 sound/pci/hda/hda_codec.c 	if (ofs < caps)
caps             1386 sound/pci/hda/hda_codec.c 		caps -= ofs;
caps             1387 sound/pci/hda/hda_codec.c 	return caps;
caps             1518 sound/pci/hda/hda_codec.c 	u32 caps, val1, val2;
caps             1520 sound/pci/hda/hda_codec.c 	caps = query_amp_caps(codec, nid, dir);
caps             1521 sound/pci/hda/hda_codec.c 	val2 = (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT;
caps             1523 sound/pci/hda/hda_codec.c 	val1 = -((caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT);
caps             1526 sound/pci/hda/hda_codec.c 	if (min_mute || (caps & AC_AMPCAP_MIN_MUTE))
caps             1572 sound/pci/hda/hda_codec.c 	u32 caps;
caps             1575 sound/pci/hda/hda_codec.c 	caps = query_amp_caps(codec, nid, dir);
caps             1576 sound/pci/hda/hda_codec.c 	nums = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT;
caps             1577 sound/pci/hda/hda_codec.c 	step = (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT;
caps              599 sound/pci/hda/hda_generic.c 	unsigned int caps = get_wcaps(codec, nid);
caps              600 sound/pci/hda/hda_generic.c 	unsigned int type = get_wcaps_type(caps);
caps              602 sound/pci/hda/hda_generic.c 	if (!(caps & AC_WCAP_IN_AMP))
caps              613 sound/pci/hda/hda_generic.c 	unsigned int caps = get_wcaps(codec, nid);
caps              614 sound/pci/hda/hda_generic.c 	unsigned int type = get_wcaps_type(caps);
caps              616 sound/pci/hda/hda_generic.c 	if (!(caps & AC_WCAP_OUT_AMP))
caps              664 sound/pci/hda/hda_generic.c 				   int dir, unsigned int caps, bool enable)
caps              668 sound/pci/hda/hda_generic.c 	if (caps & AC_AMPCAP_NUM_STEPS) {
caps              671 sound/pci/hda/hda_generic.c 			val = (caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT;
caps              673 sound/pci/hda/hda_generic.c 	if (caps & (AC_AMPCAP_MUTE | AC_AMPCAP_MIN_MUTE)) {
caps              700 sound/pci/hda/hda_generic.c 	unsigned int caps = query_amp_caps(codec, nid, dir);
caps              701 sound/pci/hda/hda_generic.c 	int val = get_amp_val_to_activate(codec, nid, dir, caps, false);
caps              726 sound/pci/hda/hda_generic.c 					   unsigned int caps)
caps              730 sound/pci/hda/hda_generic.c 	if (caps & (AC_AMPCAP_MUTE | AC_AMPCAP_MIN_MUTE)) {
caps              734 sound/pci/hda/hda_generic.c 	if (caps & AC_AMPCAP_NUM_STEPS) {
caps              745 sound/pci/hda/hda_generic.c 	unsigned int caps;
caps              748 sound/pci/hda/hda_generic.c 	caps = query_amp_caps(codec, nid, dir);
caps              749 sound/pci/hda/hda_generic.c 	val = get_amp_val_to_activate(codec, nid, dir, caps, enable);
caps              750 sound/pci/hda/hda_generic.c 	mask = get_amp_mask_to_modify(codec, nid, dir, idx_to_check, caps);
caps             1461 sound/pci/hda/hda_generic.c 	unsigned int defcfg, caps;
caps             1468 sound/pci/hda/hda_generic.c 	caps = snd_hda_query_pin_caps(codec, nid);
caps             1469 sound/pci/hda/hda_generic.c 	if (!(caps & AC_PINCAP_OUT))
caps             3142 sound/pci/hda/hda_generic.c 		unsigned int caps = get_wcaps(codec, nid);
caps             3143 sound/pci/hda/hda_generic.c 		int type = get_wcaps_type(caps);
caps             3145 sound/pci/hda/hda_generic.c 		if (type != AC_WID_AUD_IN || (caps & AC_WCAP_DIGITAL))
caps              488 sound/pci/hda/hda_local.h 			      unsigned int caps);
caps              519 sound/pci/hda/hda_local.h 			  unsigned int caps)
caps              521 sound/pci/hda/hda_local.h 	return snd_hdac_override_parm(&codec->core, nid, AC_PAR_PIN_CAP, caps);
caps               96 sound/pci/hda/hda_proc.c 	unsigned int caps;
caps               97 sound/pci/hda/hda_proc.c 	caps = param_read(codec, nid, dir == HDA_OUTPUT ?
caps               99 sound/pci/hda/hda_proc.c 	if (caps == -1 || caps == 0) {
caps              105 sound/pci/hda/hda_proc.c 		    caps & AC_AMPCAP_OFFSET,
caps              106 sound/pci/hda/hda_proc.c 		    (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT,
caps              107 sound/pci/hda/hda_proc.c 		    (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT,
caps              108 sound/pci/hda/hda_proc.c 		    (caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT);
caps              311 sound/pci/hda/hda_proc.c 	unsigned int caps, val;
caps              313 sound/pci/hda/hda_proc.c 	caps = param_read(codec, nid, AC_PAR_PIN_CAP);
caps              314 sound/pci/hda/hda_proc.c 	snd_iprintf(buffer, "  Pincap 0x%08x:", caps);
caps              315 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_IN)
caps              317 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_OUT)
caps              319 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_HP_DRV)
caps              321 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_EAPD)
caps              323 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_PRES_DETECT)
caps              325 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_BALANCE)
caps              327 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_HDMI) {
caps              332 sound/pci/hda/hda_proc.c 			if (caps & AC_PINCAP_HBR)
caps              337 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_DP)
caps              339 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_TRIG_REQ)
caps              341 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_IMP_SENSE)
caps              344 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_VREF) {
caps              346 sound/pci/hda/hda_proc.c 			(caps & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT;
caps              362 sound/pci/hda/hda_proc.c 	if (caps & AC_PINCAP_EAPD) {
caps              374 sound/pci/hda/hda_proc.c 	caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
caps              375 sound/pci/hda/hda_proc.c 	snd_iprintf(buffer, "  Pin Default 0x%08x: [%s] %s at %s %s\n", caps,
caps              376 sound/pci/hda/hda_proc.c 		    jack_conns[(caps & AC_DEFCFG_PORT_CONN) >> AC_DEFCFG_PORT_CONN_SHIFT],
caps              377 sound/pci/hda/hda_proc.c 		    get_jack_type(caps),
caps              378 sound/pci/hda/hda_proc.c 		    get_jack_connectivity(caps),
caps              379 sound/pci/hda/hda_proc.c 		    get_jack_location(caps));
caps              381 sound/pci/hda/hda_proc.c 		    get_jack_connection(caps),
caps              382 sound/pci/hda/hda_proc.c 		    get_jack_color(caps));
caps              388 sound/pci/hda/hda_proc.c 		    (caps & AC_DEFCFG_DEF_ASSOC) >> AC_DEFCFG_ASSOC_SHIFT,
caps              389 sound/pci/hda/hda_proc.c 		    caps & AC_DEFCFG_SEQUENCE);
caps              390 sound/pci/hda/hda_proc.c 	if (((caps & AC_DEFCFG_MISC) >> AC_DEFCFG_MISC_SHIFT) &
caps             6728 sound/pci/hda/patch_ca0132.c 	unsigned int caps;
caps             6730 sound/pci/hda/patch_ca0132.c 	caps = snd_hda_param_read(codec, nid, dir == HDA_OUTPUT ?
caps             6732 sound/pci/hda/patch_ca0132.c 	snd_hda_override_amp_caps(codec, nid, dir, caps);
caps              758 sound/pci/hda/patch_cirrus.c 	unsigned int caps;
caps              760 sound/pci/hda/patch_cirrus.c 	caps = query_amp_caps(codec, adc, HDA_INPUT);
caps              761 sound/pci/hda/patch_cirrus.c 	caps &= ~(AC_AMPCAP_OFFSET);
caps              762 sound/pci/hda/patch_cirrus.c 	caps |= 0x02;
caps              763 sound/pci/hda/patch_cirrus.c 	snd_hda_override_amp_caps(codec, adc, HDA_INPUT, caps);
caps             1088 sound/pci/hda/patch_cirrus.c 	unsigned int caps;
caps             1091 sound/pci/hda/patch_cirrus.c 	caps = query_amp_caps(codec, dac, HDA_OUTPUT);
caps             1092 sound/pci/hda/patch_cirrus.c 	caps &= ~(0x7f << AC_AMPCAP_NUM_STEPS_SHIFT);
caps             1093 sound/pci/hda/patch_cirrus.c 	caps |= ((caps >> AC_AMPCAP_OFFSET_SHIFT) & 0x7f)
caps             1095 sound/pci/hda/patch_cirrus.c 	snd_hda_override_amp_caps(codec, dac, HDA_OUTPUT, caps);
caps             1699 sound/pci/hda/patch_hdmi.c 	unsigned int caps, config;
caps             1705 sound/pci/hda/patch_hdmi.c 	caps = snd_hda_query_pin_caps(codec, pin_nid);
caps             1706 sound/pci/hda/patch_hdmi.c 	if (!(caps & (AC_PINCAP_HDMI | AC_PINCAP_DP)))
caps             1830 sound/pci/hda/patch_hdmi.c 		unsigned int caps;
caps             1833 sound/pci/hda/patch_hdmi.c 		caps = get_wcaps(codec, nid);
caps             1834 sound/pci/hda/patch_hdmi.c 		type = get_wcaps_type(caps);
caps             1836 sound/pci/hda/patch_hdmi.c 		if (!(caps & AC_WCAP_DIGITAL))
caps              826 sound/pci/hda/patch_sigmatel.c 	u32 caps = query_amp_caps(codec, nid, HDA_OUTPUT);
caps              836 sound/pci/hda/patch_sigmatel.c 	if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) {
caps              851 sound/pci/hda/patch_sigmatel.c 	if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) {
caps             4296 sound/pci/hda/patch_sigmatel.c 		unsigned int caps;
caps             4305 sound/pci/hda/patch_sigmatel.c 			caps = query_amp_caps(codec, nid, HDA_OUTPUT);
caps             4306 sound/pci/hda/patch_sigmatel.c 			if (!(caps & AC_AMPCAP_MUTE)) {
caps              830 sound/pci/hda/patch_via.c 		unsigned int caps = get_wcaps(codec, nid);
caps              831 sound/pci/hda/patch_via.c 		if (get_wcaps_type(caps) == AC_WID_AUD_OUT &&
caps              832 sound/pci/hda/patch_via.c 		    !(caps & AC_WCAP_DIGITAL)) {
caps              264 sound/pci/lola/lola.h 	unsigned int caps;
caps              118 sound/pci/lola/lola_mixer.c 	chip->mixer.caps = val;
caps              252 sound/pci/lola/lola_mixer.c 	if (chip->mixer.caps & LOLA_PEAK_METER_CAN_AGC_MASK) {
caps             1984 sound/pci/via82xx.c 	int i, err, caps;
caps             1987 sound/pci/via82xx.c 	caps = chip->chip_type == TYPE_VIA8233A ? 1 : 2;
caps             1988 sound/pci/via82xx.c 	for (i = 0; i < caps; i++) {
caps              202 sound/soc/atmel/atmel-i2s.c 	const struct atmel_i2s_caps		*caps;
caps              610 sound/soc/atmel/atmel-i2s.c 		dev->caps = match->data;
caps              655 sound/soc/atmel/atmel-i2s.c 	if (dev->caps && dev->caps->mck_init) {
caps              656 sound/soc/atmel/atmel-i2s.c 		err = dev->caps->mck_init(dev, np);
caps              226 sound/soc/codecs/hdac_hdmi.c 	unsigned int caps;
caps              229 sound/soc/codecs/hdac_hdmi.c 	caps = get_wcaps(hdev, nid);
caps              230 sound/soc/codecs/hdac_hdmi.c 	type = get_wcaps_type(caps);
caps              232 sound/soc/codecs/hdac_hdmi.c 	if (!(caps & AC_WCAP_DIGITAL) || (type != AC_WID_PIN))
caps             1521 sound/soc/codecs/hdac_hdmi.c 		unsigned int caps;
caps             1524 sound/soc/codecs/hdac_hdmi.c 		caps = get_wcaps(hdev, nid);
caps             1525 sound/soc/codecs/hdac_hdmi.c 		type = get_wcaps_type(caps);
caps             1527 sound/soc/codecs/hdac_hdmi.c 		if (!(caps & AC_WCAP_DIGITAL))
caps              565 sound/soc/codecs/wm_adsp.c 	const struct wm_adsp_fw_caps *caps;
caps              578 sound/soc/codecs/wm_adsp.c 		.caps = ctrl_caps,
caps              586 sound/soc/codecs/wm_adsp.c 		.caps = trace_caps,
caps             3453 sound/soc/codecs/wm_adsp.c 	const struct wm_adsp_fw_caps *caps;
caps             3470 sound/soc/codecs/wm_adsp.c 		caps = &wm_adsp_fw[dsp->fw].caps[i];
caps             3471 sound/soc/codecs/wm_adsp.c 		desc = &caps->desc;
caps             3473 sound/soc/codecs/wm_adsp.c 		if (caps->id != params->codec.id)
caps             3531 sound/soc/codecs/wm_adsp.c 			   struct snd_compr_caps *caps)
caps             3537 sound/soc/codecs/wm_adsp.c 	if (wm_adsp_fw[fw].caps) {
caps             3539 sound/soc/codecs/wm_adsp.c 			caps->codecs[i] = wm_adsp_fw[fw].caps[i].id;
caps             3541 sound/soc/codecs/wm_adsp.c 		caps->num_codecs = i;
caps             3542 sound/soc/codecs/wm_adsp.c 		caps->direction = wm_adsp_fw[fw].compr_direction;
caps             3544 sound/soc/codecs/wm_adsp.c 		caps->min_fragment_size = WM_ADSP_MIN_FRAGMENT_SIZE;
caps             3545 sound/soc/codecs/wm_adsp.c 		caps->max_fragment_size = WM_ADSP_MAX_FRAGMENT_SIZE;
caps             3546 sound/soc/codecs/wm_adsp.c 		caps->min_fragments = WM_ADSP_MIN_FRAGMENTS;
caps             3547 sound/soc/codecs/wm_adsp.c 		caps->max_fragments = WM_ADSP_MAX_FRAGMENTS;
caps             3631 sound/soc/codecs/wm_adsp.c 	const struct wm_adsp_fw_caps *caps = wm_adsp_fw[buf->dsp->fw].caps;
caps             3636 sound/soc/codecs/wm_adsp.c 	buf->regions = kcalloc(caps->num_regions, sizeof(*buf->regions),
caps             3641 sound/soc/codecs/wm_adsp.c 	for (i = 0; i < caps->num_regions; ++i) {
caps             3645 sound/soc/codecs/wm_adsp.c 		region->mem_type = caps->region_defs[i].mem_type;
caps             3647 sound/soc/codecs/wm_adsp.c 		ret = wm_adsp_buffer_read(buf, caps->region_defs[i].base_offset,
caps             3652 sound/soc/codecs/wm_adsp.c 		ret = wm_adsp_buffer_read(buf, caps->region_defs[i].size_offset,
caps             3948 sound/soc/codecs/wm_adsp.c 	int last_region = wm_adsp_fw[buf->dsp->fw].caps->num_regions - 1;
caps             4127 sound/soc/codecs/wm_adsp.c 	for (i = 0; i < wm_adsp_fw[buf->dsp->fw].caps->num_regions; ++i)
caps             4131 sound/soc/codecs/wm_adsp.c 	if (i == wm_adsp_fw[buf->dsp->fw].caps->num_regions)
caps              197 sound/soc/codecs/wm_adsp.h 			   struct snd_compr_caps *caps);
caps              228 sound/soc/intel/atom/sst-mfld-platform-compress.c 					struct snd_compr_caps *caps)
caps              233 sound/soc/intel/atom/sst-mfld-platform-compress.c 	return stream->compr_ops->get_caps(caps);
caps              112 sound/soc/intel/atom/sst-mfld-platform.h 	int (*get_caps)(struct snd_compr_caps *caps);
caps              379 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_caps(struct snd_compr_caps *caps)
caps              381 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->num_codecs = NUM_CODEC;
caps              382 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->min_fragment_size = MIN_FRAGMENT_SIZE;  /* 50KB */
caps              383 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->max_fragment_size = MAX_FRAGMENT_SIZE;  /* 1024KB */
caps              384 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->min_fragments = MIN_FRAGMENT;
caps              385 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->max_fragments = MAX_FRAGMENT;
caps              386 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->codecs[0] = SND_AUDIOCODEC_MP3;
caps              387 sound/soc/intel/atom/sst/sst_drv_interface.c 	caps->codecs[1] = SND_AUDIOCODEC_AAC;
caps              486 sound/soc/intel/skylake/skl-messages.c 			mconfig->formats_config.caps,
caps              620 sound/soc/intel/skylake/skl-messages.c int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps,
caps              651 sound/soc/intel/skylake/skl-messages.c 	memcpy(dma_ctrl->config_data, caps, caps_size);
caps              757 sound/soc/intel/skylake/skl-messages.c 			mconfig->formats_config.caps,
caps               44 sound/soc/intel/skylake/skl-nhlt.c 		fmt_config = (struct nhlt_fmt_cfg *)(fmt_config->config.caps +
caps              104 sound/soc/intel/skylake/skl-nhlt.c 			fmt = (struct nhlt_fmt *)(epnt->config.caps +
caps              258 sound/soc/intel/skylake/skl-nhlt.c 						fmt->fmt_config[0].config.caps;
caps              302 sound/soc/intel/skylake/skl-nhlt.c 	i2s_config_ext = (struct skl_i2s_config_blob_ext *)fmt_cfg->caps;
caps              348 sound/soc/intel/skylake/skl-nhlt.c 			fmt = (struct nhlt_fmt *)(epnt->config.caps
caps              150 sound/soc/intel/skylake/skl-ssp-clk.c 	memcpy(i2s_config, sp_cfg->caps, sp_cfg->size);
caps               49 sound/soc/intel/skylake/skl-topology.c void skl_tplg_d0i3_get(struct skl_dev *skl, enum d0i3_capability caps)
caps               53 sound/soc/intel/skylake/skl-topology.c 	switch (caps) {
caps               68 sound/soc/intel/skylake/skl-topology.c void skl_tplg_d0i3_put(struct skl_dev *skl, enum d0i3_capability caps)
caps               72 sound/soc/intel/skylake/skl-topology.c 	switch (caps) {
caps              331 sound/soc/intel/skylake/skl-topology.c 		m_cfg->formats_config.caps = (u32 *) &cfg->caps;
caps              391 sound/soc/intel/skylake/skl-topology.c 		ret = skl_set_module_params(skl, sp_cfg->caps,
caps              440 sound/soc/intel/skylake/skl-topology.c 			mconfig->formats_config.caps = (u32 *)bc->params;
caps              766 sound/soc/intel/skylake/skl-topology.c 		ret = skl_set_module_params(skl, sp_cfg->caps,
caps             1410 sound/soc/intel/skylake/skl-topology.c 	if (!sp_cfg->caps) {
caps             1411 sound/soc/intel/skylake/skl-topology.c 		sp_cfg->caps = devm_kzalloc(dev, sp_cfg->caps_size, GFP_KERNEL);
caps             1412 sound/soc/intel/skylake/skl-topology.c 		if (!sp_cfg->caps)
caps             1418 sound/soc/intel/skylake/skl-topology.c 	memcpy(sp_cfg->caps, mic_cfg, sp_cfg->caps_size);
caps             1751 sound/soc/intel/skylake/skl-topology.c 		mconfig->formats_config.caps = (u32 *) &cfg->caps;
caps             2719 sound/soc/intel/skylake/skl-topology.c 	mconfig->formats_config.caps_size = dfw->caps.caps_size;
caps             2741 sound/soc/intel/skylake/skl-topology.c 		mconfig->formats_config.set_params = dfw->caps.set_params;
caps             2742 sound/soc/intel/skylake/skl-topology.c 		mconfig->formats_config.param_id = dfw->caps.param_id;
caps             2743 sound/soc/intel/skylake/skl-topology.c 		mconfig->formats_config.caps =
caps             2746 sound/soc/intel/skylake/skl-topology.c 		if (!mconfig->formats_config.caps)
caps             2748 sound/soc/intel/skylake/skl-topology.c 		memcpy(mconfig->formats_config.caps, dfw->caps.caps,
caps             2749 sound/soc/intel/skylake/skl-topology.c 		       dfw->caps.caps_size);
caps             2822 sound/soc/intel/skylake/skl-topology.c 				memcpy(mconfig->formats_config.caps, data,
caps              248 sound/soc/intel/skylake/skl-topology.h 	u32 *caps;
caps              450 sound/soc/intel/skylake/skl-topology.h int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps,
caps              463 sound/soc/intel/skylake/skl-topology.h void skl_tplg_d0i3_get(struct skl_dev *skl, enum d0i3_capability caps);
caps              464 sound/soc/intel/skylake/skl-topology.h void skl_tplg_d0i3_put(struct skl_dev *skl, enum d0i3_capability caps);
caps              185 sound/soc/intel/skylake/skl.h int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps,
caps              764 sound/soc/qcom/qdsp6/q6asm-dai.c 				    struct snd_compr_caps *caps)
caps              766 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->direction = SND_COMPRESS_PLAYBACK;
caps              767 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->min_fragment_size = COMPR_PLAYBACK_MIN_FRAGMENT_SIZE;
caps              768 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->max_fragment_size = COMPR_PLAYBACK_MAX_FRAGMENT_SIZE;
caps              769 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->min_fragments = COMPR_PLAYBACK_MIN_NUM_FRAGMENTS;
caps              770 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->max_fragments = COMPR_PLAYBACK_MAX_NUM_FRAGMENTS;
caps              771 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->num_codecs = 1;
caps              772 sound/soc/qcom/qdsp6/q6asm-dai.c 	caps->codecs[0] = SND_AUDIOCODEC_MP3;
caps              621 sound/soc/soc-compress.c 			      struct snd_compr_caps *caps)
caps              637 sound/soc/soc-compress.c 		ret = component->driver->compr_ops->get_caps(cstream, caps);
caps             1789 sound/soc/soc-topology.c 	struct snd_soc_tplg_stream_caps *caps)
caps             1791 sound/soc/soc-topology.c 	stream->stream_name = kstrdup(caps->name, GFP_KERNEL);
caps             1792 sound/soc/soc-topology.c 	stream->channels_min = le32_to_cpu(caps->channels_min);
caps             1793 sound/soc/soc-topology.c 	stream->channels_max = le32_to_cpu(caps->channels_max);
caps             1794 sound/soc/soc-topology.c 	stream->rates = le32_to_cpu(caps->rates);
caps             1795 sound/soc/soc-topology.c 	stream->rate_min = le32_to_cpu(caps->rate_min);
caps             1796 sound/soc/soc-topology.c 	stream->rate_max = le32_to_cpu(caps->rate_max);
caps             1797 sound/soc/soc-topology.c 	stream->formats = le64_to_cpu(caps->formats);
caps             1798 sound/soc/soc-topology.c 	stream->sig_bits = le32_to_cpu(caps->sig_bits);
caps             1824 sound/soc/soc-topology.c 	struct snd_soc_tplg_stream_caps *caps;
caps             1837 sound/soc/soc-topology.c 		caps = &pcm->caps[SND_SOC_TPLG_STREAM_PLAYBACK];
caps             1838 sound/soc/soc-topology.c 		set_stream_info(stream, caps);
caps             1843 sound/soc/soc-topology.c 		caps = &pcm->caps[SND_SOC_TPLG_STREAM_CAPTURE];
caps             1844 sound/soc/soc-topology.c 		set_stream_info(stream, caps);
caps             2043 sound/soc/soc-topology.c 		stream_caps_new_ver(&dest->caps[i], &src_v4->caps[i]);
caps             2378 sound/soc/soc-topology.c 	struct snd_soc_tplg_stream_caps *caps;
caps             2403 sound/soc/soc-topology.c 		caps = &d->caps[SND_SOC_TPLG_STREAM_PLAYBACK];
caps             2404 sound/soc/soc-topology.c 		set_stream_info(stream, caps);
caps             2409 sound/soc/soc-topology.c 		caps = &d->caps[SND_SOC_TPLG_STREAM_CAPTURE];
caps             2410 sound/soc/soc-topology.c 		set_stream_info(stream, caps);
caps               38 sound/soc/sof/core.c 		if (*spcm->pcm.caps[0].name &&
caps               39 sound/soc/sof/core.c 		    !strcmp(spcm->pcm.caps[0].name, name))
caps               43 sound/soc/sof/core.c 		if (*spcm->pcm.caps[1].name &&
caps               44 sound/soc/sof/core.c 		    !strcmp(spcm->pcm.caps[1].name, name))
caps              439 sound/soc/sof/pcm.c 	struct snd_soc_tplg_stream_caps *caps;
caps              456 sound/soc/sof/pcm.c 	caps = &spcm->pcm.caps[substream->stream];
caps              461 sound/soc/sof/pcm.c 				   le32_to_cpu(caps->period_size_min));
caps              464 sound/soc/sof/pcm.c 				   le32_to_cpu(caps->period_size_min));
caps              472 sound/soc/sof/pcm.c 	runtime->hw.formats = le64_to_cpu(caps->formats);
caps              473 sound/soc/sof/pcm.c 	runtime->hw.period_bytes_min = le32_to_cpu(caps->period_size_min);
caps              474 sound/soc/sof/pcm.c 	runtime->hw.period_bytes_max = le32_to_cpu(caps->period_size_max);
caps              475 sound/soc/sof/pcm.c 	runtime->hw.periods_min = le32_to_cpu(caps->periods_min);
caps              476 sound/soc/sof/pcm.c 	runtime->hw.periods_max = le32_to_cpu(caps->periods_max);
caps              482 sound/soc/sof/pcm.c 	runtime->hw.buffer_bytes_max = le32_to_cpu(caps->buffer_size_max);
caps              565 sound/soc/sof/pcm.c 	struct snd_soc_tplg_stream_caps *caps;
caps              582 sound/soc/sof/pcm.c 	caps = &spcm->pcm.caps[stream];
caps              586 sound/soc/sof/pcm.c 		caps->name, caps->buffer_size_min, caps->buffer_size_max);
caps              590 sound/soc/sof/pcm.c 				      le32_to_cpu(caps->buffer_size_min),
caps              591 sound/soc/sof/pcm.c 				      le32_to_cpu(caps->buffer_size_max));
caps              599 sound/soc/sof/pcm.c 	caps = &spcm->pcm.caps[stream];
caps              603 sound/soc/sof/pcm.c 		caps->name, caps->buffer_size_min, caps->buffer_size_max);
caps              607 sound/soc/sof/pcm.c 				      le32_to_cpu(caps->buffer_size_min),
caps              608 sound/soc/sof/pcm.c 				      le32_to_cpu(caps->buffer_size_max));
caps              657 sound/soc/sof/topology.c 		offsetof(struct sof_ipc_buffer, caps), 0},
caps             1266 sound/soc/sof/topology.c 		swidget->widget->name, buffer->size, buffer->caps);
caps             1288 sound/soc/sof/topology.c 						 spcm->pcm.caps[dir].name,
caps             2274 sound/soc/sof/topology.c 	struct snd_soc_tplg_stream_caps *caps;
caps             2302 sound/soc/sof/topology.c 	caps = &spcm->pcm.caps[stream];
caps             2309 sound/soc/sof/topology.c 			caps->name, ret);
caps             2329 sound/soc/sof/topology.c 	caps = &spcm->pcm.caps[stream];
caps             2336 sound/soc/sof/topology.c 			caps->name, ret);
caps              613 sound/soc/sprd/sprd-pcm-compress.c 					struct snd_compr_caps *caps)
caps              615 sound/soc/sprd/sprd-pcm-compress.c 	caps->direction = cstream->direction;
caps              616 sound/soc/sprd/sprd-pcm-compress.c 	caps->min_fragment_size = SPRD_COMPR_MIN_FRAGMENT_SIZE;
caps              617 sound/soc/sprd/sprd-pcm-compress.c 	caps->max_fragment_size = SPRD_COMPR_MAX_FRAGMENT_SIZE;
caps              618 sound/soc/sprd/sprd-pcm-compress.c 	caps->min_fragments = SPRD_COMPR_MIN_NUM_FRAGMENTS;
caps              619 sound/soc/sprd/sprd-pcm-compress.c 	caps->max_fragments = SPRD_COMPR_MAX_NUM_FRAGMENTS;
caps              620 sound/soc/sprd/sprd-pcm-compress.c 	caps->num_codecs = 2;
caps              621 sound/soc/sprd/sprd-pcm-compress.c 	caps->codecs[0] = SND_AUDIOCODEC_MP3;
caps              622 sound/soc/sprd/sprd-pcm-compress.c 	caps->codecs[1] = SND_AUDIOCODEC_AAC;
caps              379 sound/soc/uniphier/aio-compress.c 				       struct snd_compr_caps *caps)
caps              381 sound/soc/uniphier/aio-compress.c 	caps->num_codecs = 1;
caps              382 sound/soc/uniphier/aio-compress.c 	caps->min_fragment_size = AUD_MIN_FRAGMENT_SIZE;
caps              383 sound/soc/uniphier/aio-compress.c 	caps->max_fragment_size = AUD_MAX_FRAGMENT_SIZE;
caps              384 sound/soc/uniphier/aio-compress.c 	caps->min_fragments = AUD_MIN_FRAGMENT;
caps              385 sound/soc/uniphier/aio-compress.c 	caps->max_fragments = AUD_MAX_FRAGMENT;
caps              386 sound/soc/uniphier/aio-compress.c 	caps->codecs[0] = SND_AUDIOCODEC_IEC61937;
caps                8 tools/build/feature/test-jvmti.c 	jvmtiCapabilities	caps	__attribute__((unused));
caps                8 tools/build/feature/test-libcap.c 	cap_t caps = cap_get_proc();
caps               10 tools/build/feature/test-libcap.c 	if (!caps)
caps               13 tools/build/feature/test-libcap.c 	if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &val) != 0)
caps               16 tools/build/feature/test-libcap.c 	if (cap_free(caps) != 0)
caps              194 tools/lib/bpf/libbpf.c 	struct bpf_capabilities *caps;
caps              292 tools/lib/bpf/libbpf.c 	struct bpf_capabilities caps;
caps              416 tools/lib/bpf/libbpf.c 	prog.caps = &obj->caps;
caps              861 tools/lib/bpf/libbpf.c 	if (!obj->caps.global_data)
caps             1364 tools/lib/bpf/libbpf.c 	bool has_datasec = obj->caps.btf_datasec;
caps             1365 tools/lib/bpf/libbpf.c 	bool has_func = obj->caps.btf_func;
caps             1427 tools/lib/bpf/libbpf.c 	if (!obj->caps.btf_func) {
caps             1816 tools/lib/bpf/libbpf.c 				if (!obj->caps.global_data) {
caps             1984 tools/lib/bpf/libbpf.c 		obj->caps.name = 1;
caps             2029 tools/lib/bpf/libbpf.c 		obj->caps.global_data = 1;
caps             2055 tools/lib/bpf/libbpf.c 		obj->caps.btf_func = 1;
caps             2082 tools/lib/bpf/libbpf.c 		obj->caps.btf_datasec = 1;
caps             2158 tools/lib/bpf/libbpf.c 		if (obj->caps.name)
caps             3379 tools/lib/bpf/libbpf.c 	if (prog->caps->name)
caps              479 tools/perf/arch/x86/util/intel-pt.c 				    const char *caps, const char *name,
caps              488 tools/perf/arch/x86/util/intel-pt.c 	if (perf_pmu__scan_file(intel_pt_pmu, caps, "%llx", &valid) != 1)
caps               15 tools/perf/util/cap.c 	cap_t caps = cap_get_proc();
caps               17 tools/perf/util/cap.c 	if (!caps)
caps               20 tools/perf/util/cap.c 	if (cap_get_flag(caps, cap, CAP_EFFECTIVE, &val) != 0)
caps               23 tools/perf/util/cap.c 	if (cap_free(caps) != 0)
caps              206 tools/power/cpupower/utils/cpufreq-info.c 	} else if (cpupower_cpu_info.caps & CPUPOWER_CAP_HAS_TURBO_RATIO) {
caps              212 tools/power/cpupower/utils/cpufreq-info.c 		if (cpupower_cpu_info.caps & CPUPOWER_CAP_IS_SNB)
caps               73 tools/power/cpupower/utils/cpupower-info.c 		} else if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS)) {
caps               60 tools/power/cpupower/utils/helpers/cpuid.c 	cpu_info->caps			= 0;
caps              122 tools/power/cpupower/utils/helpers/cpuid.c 		cpu_info->caps |= CPUPOWER_CAP_INV_TSC;
caps              126 tools/power/cpupower/utils/helpers/cpuid.c 		cpu_info->caps |= CPUPOWER_CAP_APERF;
caps              133 tools/power/cpupower/utils/helpers/cpuid.c 			cpu_info->caps |= CPUPOWER_CAP_AMD_CBP;
caps              139 tools/power/cpupower/utils/helpers/cpuid.c 			cpu_info->caps |= CPUPOWER_CAP_INTEL_IDA;
caps              145 tools/power/cpupower/utils/helpers/cpuid.c 			cpu_info->caps |= CPUPOWER_CAP_PERF_BIAS;
caps              161 tools/power/cpupower/utils/helpers/cpuid.c 				cpu_info->caps |= CPUPOWER_CAP_HAS_TURBO_RATIO;
caps              167 tools/power/cpupower/utils/helpers/cpuid.c 				cpu_info->caps |= CPUPOWER_CAP_HAS_TURBO_RATIO;
caps              168 tools/power/cpupower/utils/helpers/cpuid.c 				cpu_info->caps |= CPUPOWER_CAP_IS_SNB;
caps               83 tools/power/cpupower/utils/helpers/helpers.h 	unsigned long long caps;
caps               21 tools/power/cpupower/utils/helpers/misc.c 	if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_CBP) {
caps               39 tools/power/cpupower/utils/helpers/misc.c 	} else if (cpupower_cpu_info.caps & CPUPOWER_CAP_INTEL_IDA)
caps               81 tools/power/cpupower/utils/helpers/msr.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS))
caps               94 tools/power/cpupower/utils/helpers/msr.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS))
caps              108 tools/power/cpupower/utils/helpers/msr.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_HAS_TURBO_RATIO))
caps              240 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_INV_TSC))
caps              302 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_APERF))
caps              173 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_INV_TSC))
caps              176 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_APERF))
caps             3160 tools/power/x86/turbostat/turbostat.c 	cap_t caps;
caps             3163 tools/power/x86/turbostat/turbostat.c 	caps = cap_get_proc();
caps             3164 tools/power/x86/turbostat/turbostat.c 	if (caps == NULL)
caps             3167 tools/power/x86/turbostat/turbostat.c 	if (cap_get_flag(caps, CAP_SYS_RAWIO, CAP_EFFECTIVE, &cap_flag_value))
caps             3176 tools/power/x86/turbostat/turbostat.c 	if (cap_free(caps) == -1)
caps              812 tools/testing/selftests/bpf/test_verifier.c 	cap_t caps;
caps              816 tools/testing/selftests/bpf/test_verifier.c 	caps = cap_get_proc();
caps              817 tools/testing/selftests/bpf/test_verifier.c 	if (!caps) {
caps              821 tools/testing/selftests/bpf/test_verifier.c 	if (cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap_val,
caps              826 tools/testing/selftests/bpf/test_verifier.c 	if (cap_set_proc(caps)) {
caps              832 tools/testing/selftests/bpf/test_verifier.c 	if (cap_free(caps))
caps             1054 tools/testing/selftests/bpf/test_verifier.c 	cap_t caps;
caps             1064 tools/testing/selftests/bpf/test_verifier.c 	caps = cap_get_proc();
caps             1065 tools/testing/selftests/bpf/test_verifier.c 	if (!caps) {
caps             1069 tools/testing/selftests/bpf/test_verifier.c 	if (cap_get_flag(caps, cap_val, CAP_EFFECTIVE, &sysadmin))
caps             1071 tools/testing/selftests/bpf/test_verifier.c 	if (cap_free(caps))
caps              146 tools/testing/selftests/ptp/testptp.c 	struct ptp_clock_caps caps;
caps              262 tools/testing/selftests/ptp/testptp.c 		if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) {
caps              273 tools/testing/selftests/ptp/testptp.c 			       caps.max_adj,
caps              274 tools/testing/selftests/ptp/testptp.c 			       caps.n_alarm,
caps              275 tools/testing/selftests/ptp/testptp.c 			       caps.n_ext_ts,
caps              276 tools/testing/selftests/ptp/testptp.c 			       caps.n_per_out,
caps              277 tools/testing/selftests/ptp/testptp.c 			       caps.pps,
caps              278 tools/testing/selftests/ptp/testptp.c 			       caps.n_pins,
caps              279 tools/testing/selftests/ptp/testptp.c 			       caps.cross_timestamping);
caps              376 tools/testing/selftests/ptp/testptp.c 		if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) {
caps              379 tools/testing/selftests/ptp/testptp.c 			n_pins = caps.n_pins;
caps              273 tools/testing/selftests/safesetid/safesetid-test.c 	cap_t caps;
caps              275 tools/testing/selftests/safesetid/safesetid-test.c 	caps = cap_get_proc();
caps              277 tools/testing/selftests/safesetid/safesetid-test.c 		cap_set_flag(caps, CAP_EFFECTIVE, 2, cap_values, CAP_SET);
caps              279 tools/testing/selftests/safesetid/safesetid-test.c 		cap_clear(caps);
caps              280 tools/testing/selftests/safesetid/safesetid-test.c 	cap_set_proc(caps);
caps              281 tools/testing/selftests/safesetid/safesetid-test.c 	cap_free(caps);