features 123 arch/alpha/kernel/time.c .features = CLOCK_EVT_FEAT_PERIODIC, features 190 arch/alpha/kernel/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 327 arch/arm/include/asm/cputype.h static inline int __attribute_const__ cpuid_feature_extract_field(u32 features, features 330 arch/arm/include/asm/cputype.h int feature = (features >> field) & 15; features 14 arch/arm/include/asm/hardware/cache-tauros2.h extern void __init tauros2_init(unsigned int features); features 166 arch/arm/include/asm/kvm_host.h DECLARE_BITMAP(features, KVM_VCPU_MAX_FEATURES); features 106 arch/arm/include/uapi/asm/kvm.h __u32 features[7]; features 293 arch/arm/kernel/bios32.c u16 features = PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_FAST_BACK; features 311 arch/arm/kernel/bios32.c features &= ~PCI_COMMAND_FAST_BACK; features 314 arch/arm/kernel/bios32.c features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY); features 339 arch/arm/kernel/bios32.c cmd |= features; features 350 arch/arm/kernel/bios32.c if (features & PCI_COMMAND_FAST_BACK) features 352 arch/arm/kernel/bios32.c if (features & PCI_COMMAND_PARITY) features 360 arch/arm/kernel/bios32.c bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); features 245 arch/arm/kernel/smp_twd.c clk->features = twd_features; features 155 arch/arm/mach-cns3xxx/core.c .features = CLOCK_EVT_FEAT_PERIODIC | features 328 arch/arm/mach-davinci/time.c .features = CLOCK_EVT_FEAT_PERIODIC | features 369 arch/arm/mach-davinci/time.c clockevent_davinci.features = CLOCK_EVT_FEAT_ONESHOT; features 100 arch/arm/mach-ep93xx/timer-ep93xx.c .features = CLOCK_EVT_FEAT_ONESHOT, features 78 arch/arm/mach-footbridge/dc21285-timer.c .features = CLOCK_EVT_FEAT_PERIODIC | features 120 arch/arm/mach-iop32x/time.c .features = CLOCK_EVT_FEAT_PERIODIC | features 132 arch/arm/mach-mmp/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 159 arch/arm/mach-omap1/devices.c data->slots[0].features = MMC_OMAP7XX; features 161 arch/arm/mach-omap1/devices.c data->slots[0].features = MMC_OMAP15XX; features 163 arch/arm/mach-omap1/devices.c data->slots[0].features = MMC_OMAP16XX; features 142 arch/arm/mach-omap1/time.c .features = CLOCK_EVT_FEAT_PERIODIC | features 132 arch/arm/mach-omap1/timer32k.c .features = CLOCK_EVT_FEAT_PERIODIC | features 86 arch/arm/mach-omap2/clock.c struct ti_clk_features features = { 0 }; features 89 arch/arm/mach-omap2/clock.c features.fint_min = OMAP3430_DPLL_FINT_BAND1_MIN; features 90 arch/arm/mach-omap2/clock.c features.fint_max = OMAP3430_DPLL_FINT_BAND2_MAX; features 91 arch/arm/mach-omap2/clock.c features.fint_band1_max = OMAP3430_DPLL_FINT_BAND1_MAX; features 92 arch/arm/mach-omap2/clock.c features.fint_band2_min = OMAP3430_DPLL_FINT_BAND2_MIN; features 94 arch/arm/mach-omap2/clock.c features.fint_min = OMAP3PLUS_DPLL_FINT_MIN; features 95 arch/arm/mach-omap2/clock.c features.fint_max = OMAP3PLUS_DPLL_FINT_MAX; features 100 arch/arm/mach-omap2/clock.c features.dpll_bypass_vals |= features 104 arch/arm/mach-omap2/clock.c features.dpll_bypass_vals |= features 109 arch/arm/mach-omap2/clock.c features.dpll_bypass_vals |= features 117 arch/arm/mach-omap2/clock.c features.flags |= TI_CLK_DPLL_HAS_FREQSEL; features 120 arch/arm/mach-omap2/clock.c features.flags |= TI_CLK_DEVICE_TYPE_GP; features 128 arch/arm/mach-omap2/clock.c features.cm_idlest_val = OMAP24XX_CM_IDLEST_VAL; features 130 arch/arm/mach-omap2/clock.c features.cm_idlest_val = OMAP34XX_CM_IDLEST_VAL; features 134 arch/arm/mach-omap2/clock.c features.flags |= TI_CLK_DPLL4_DENY_REPROGRAM; features 138 arch/arm/mach-omap2/clock.c features.flags |= TI_CLK_ERRATA_I810; features 140 arch/arm/mach-omap2/clock.c ti_clk_setup_features(&features); features 150 arch/arm/mach-omap2/timer.c .features = CLOCK_EVT_FEAT_PERIODIC | features 602 arch/arm/mach-s3c24xx/mach-mini2440.c struct mini2440_features_t *features, features 607 arch/arm/mach-s3c24xx/mach-mini2440.c features->count = 0; features 608 arch/arm/mach-s3c24xx/mach-mini2440.c features->done = 0; features 609 arch/arm/mach-s3c24xx/mach-mini2440.c features->lcd_index = -1; features 616 arch/arm/mach-s3c24xx/mach-mini2440.c if (features->done & FEATURE_SCREEN) { features 626 arch/arm/mach-s3c24xx/mach-mini2440.c features->optional[features->count++] = features 628 arch/arm/mach-s3c24xx/mach-mini2440.c features->lcd_index = li; features 631 arch/arm/mach-s3c24xx/mach-mini2440.c features->done |= FEATURE_SCREEN; features 634 arch/arm/mach-s3c24xx/mach-mini2440.c if (features->done & FEATURE_BACKLIGHT) features 638 arch/arm/mach-s3c24xx/mach-mini2440.c features->optional[features->count++] = features 641 arch/arm/mach-s3c24xx/mach-mini2440.c features->done |= FEATURE_BACKLIGHT; features 648 arch/arm/mach-s3c24xx/mach-mini2440.c if (features->done & FEATURE_CAMERA) features 652 arch/arm/mach-s3c24xx/mach-mini2440.c features->optional[features->count++] = features 654 arch/arm/mach-s3c24xx/mach-mini2440.c features->done |= FEATURE_CAMERA; features 662 arch/arm/mach-s3c24xx/mach-mini2440.c struct mini2440_features_t features = { 0 }; features 669 arch/arm/mach-s3c24xx/mach-mini2440.c mini2440_parse_features(&features, mini2440_features_str); features 688 arch/arm/mach-s3c24xx/mach-mini2440.c if (features.lcd_index != -1) { features 692 arch/arm/mach-s3c24xx/mach-mini2440.c &mini2440_lcd_cfg[features.lcd_index]; features 696 arch/arm/mach-s3c24xx/mach-mini2440.c if (li == features.lcd_index) features 719 arch/arm/mach-s3c24xx/mach-mini2440.c if (features.count) /* the optional features */ features 720 arch/arm/mach-s3c24xx/mach-mini2440.c platform_add_devices(features.optional, features.count); features 281 arch/arm/mach-s3c64xx/mach-mini6410.c struct mini6410_features_t *features, features 286 arch/arm/mach-s3c64xx/mach-mini6410.c features->done = 0; features 287 arch/arm/mach-s3c64xx/mach-mini6410.c features->lcd_index = 0; features 294 arch/arm/mach-s3c64xx/mach-mini6410.c if (features->done & FEATURE_SCREEN) { features 303 arch/arm/mach-s3c64xx/mach-mini6410.c features->lcd_index = li; features 306 arch/arm/mach-s3c64xx/mach-mini6410.c features->done |= FEATURE_SCREEN; features 315 arch/arm/mach-s3c64xx/mach-mini6410.c struct mini6410_features_t features = { 0 }; features 321 arch/arm/mach-s3c64xx/mach-mini6410.c mini6410_parse_features(&features, mini6410_features_str); features 324 arch/arm/mach-s3c64xx/mach-mini6410.c mini6410_lcd_pdata[features.lcd_index].win[0]->xres, features 325 arch/arm/mach-s3c64xx/mach-mini6410.c mini6410_lcd_pdata[features.lcd_index].win[0]->yres); features 328 arch/arm/mach-s3c64xx/mach-mini6410.c s3c_fb_set_platdata(&mini6410_lcd_pdata[features.lcd_index]); features 251 arch/arm/mach-s3c64xx/mach-real6410.c struct real6410_features_t *features, features 256 arch/arm/mach-s3c64xx/mach-real6410.c features->done = 0; features 257 arch/arm/mach-s3c64xx/mach-real6410.c features->lcd_index = 0; features 264 arch/arm/mach-s3c64xx/mach-real6410.c if (features->done & FEATURE_SCREEN) { features 273 arch/arm/mach-s3c64xx/mach-real6410.c features->lcd_index = li; features 276 arch/arm/mach-s3c64xx/mach-real6410.c features->done |= FEATURE_SCREEN; features 285 arch/arm/mach-s3c64xx/mach-real6410.c struct real6410_features_t features = { 0 }; features 291 arch/arm/mach-s3c64xx/mach-real6410.c real6410_parse_features(&features, real6410_features_str); features 294 arch/arm/mach-s3c64xx/mach-real6410.c real6410_lcd_pdata[features.lcd_index].win[0]->xres, features 295 arch/arm/mach-s3c64xx/mach-real6410.c real6410_lcd_pdata[features.lcd_index].win[0]->yres); features 297 arch/arm/mach-s3c64xx/mach-real6410.c s3c_fb_set_platdata(&real6410_lcd_pdata[features.lcd_index]); features 148 arch/arm/mach-spear/time.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 183 arch/arm/mm/cache-tauros2.c static void enable_extra_feature(unsigned int features) features 189 arch/arm/mm/cache-tauros2.c if (features & CACHE_TAUROS2_PREFETCH_ON) features 194 arch/arm/mm/cache-tauros2.c (features & CACHE_TAUROS2_PREFETCH_ON) features 197 arch/arm/mm/cache-tauros2.c if (features & CACHE_TAUROS2_LINEFILL_BURST8) features 202 arch/arm/mm/cache-tauros2.c (features & CACHE_TAUROS2_LINEFILL_BURST8) features 208 arch/arm/mm/cache-tauros2.c static void __init tauros2_internal_init(unsigned int features) features 212 arch/arm/mm/cache-tauros2.c enable_extra_feature(features); features 285 arch/arm/mm/cache-tauros2.c void __init tauros2_init(unsigned int features) features 300 arch/arm/mm/cache-tauros2.c features = 0; features 302 arch/arm/mm/cache-tauros2.c features = f; features 305 arch/arm/mm/cache-tauros2.c tauros2_internal_init(features); features 159 arch/arm/plat-orion/time.c .features = CLOCK_EVT_FEAT_ONESHOT | features 427 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field_width(u64 features, int field, int width) features 429 arch/arm64/include/asm/cpufeature.h return (s64)(features << (64 - width - field)) >> (64 - width); features 433 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field(u64 features, int field) features 435 arch/arm64/include/asm/cpufeature.h return cpuid_feature_extract_signed_field_width(features, field, 4); features 439 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) features 441 arch/arm64/include/asm/cpufeature.h return (u64)(features << (64 - width - field)) >> (64 - width); features 445 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field(u64 features, int field) features 447 arch/arm64/include/asm/cpufeature.h return cpuid_feature_extract_unsigned_field_width(features, field, 4); features 461 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) features 464 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field_width(features, field, width) : features 465 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field_width(features, field, width); features 469 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_field(u64 features, int field, bool sign) features 471 arch/arm64/include/asm/cpufeature.h return cpuid_feature_extract_field_width(features, field, 4, sign); features 59 arch/arm64/include/asm/kvm_emulate.h if (test_bit(KVM_ARM_VCPU_EL1_32BIT, vcpu->arch.features)) features 327 arch/arm64/include/asm/kvm_host.h DECLARE_BITMAP(features, KVM_VCPU_MAX_FEATURES); features 112 arch/arm64/include/uapi/asm/kvm.h __u32 features[7]; features 231 arch/arm64/kvm/reset.c if (!test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || features 232 arch/arm64/kvm/reset.c !test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) features 273 arch/arm64/kvm/reset.c if (test_bit(KVM_ARM_VCPU_SVE, vcpu->arch.features)) { features 282 arch/arm64/kvm/reset.c if (test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || features 283 arch/arm64/kvm/reset.c test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) { features 290 arch/arm64/kvm/reset.c if (test_bit(KVM_ARM_VCPU_EL1_32BIT, vcpu->arch.features)) { features 150 arch/c6x/platforms/timer64.c .features = CLOCK_EVT_FEAT_ONESHOT | features 98 arch/hexagon/kernel/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 120 arch/hexagon/kernel/time.c dummy_clock_dev->features = CLOCK_EVT_FEAT_DUMMY; features 219 arch/ia64/include/asm/processor.h unsigned long features; features 672 arch/ia64/kernel/setup.c char features[128], *cp, *sep; features 678 arch/ia64/kernel/setup.c mask = c->features; features 681 arch/ia64/kernel/setup.c memcpy(features, "standard", 9); features 682 arch/ia64/kernel/setup.c cp = features; features 683 arch/ia64/kernel/setup.c size = sizeof(features); features 691 arch/ia64/kernel/setup.c size = sizeof(features) - (cp - features); features 720 arch/ia64/kernel/setup.c features, c->ppn, c->number, features 823 arch/ia64/kernel/setup.c u64 features; features 855 arch/ia64/kernel/setup.c c->features = cpuid.field.features; features 424 arch/ia64/kernel/smpboot.c last_cpuinfo->features != this_cpuinfo->features || features 84 arch/m68k/coldfire/pit.c .features = CLOCK_EVT_FEAT_PERIODIC | features 142 arch/microblaze/kernel/timer.c .features = CLOCK_EVT_FEAT_ONESHOT | features 69 arch/mips/alchemy/common/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 115 arch/mips/jazz/irq.c .features = CLOCK_EVT_FEAT_PERIODIC, features 109 arch/mips/kernel/cevt-bcm1480.c cd->features = CLOCK_EVT_FEAT_PERIODIC | features 83 arch/mips/kernel/cevt-ds1287.c .features = CLOCK_EVT_FEAT_PERIODIC, features 103 arch/mips/kernel/cevt-gt641xx.c .features = CLOCK_EVT_FEAT_PERIODIC | features 275 arch/mips/kernel/cevt-r4k.c cd->features = CLOCK_EVT_FEAT_ONESHOT | features 109 arch/mips/kernel/cevt-sb1250.c cd->features = CLOCK_EVT_FEAT_PERIODIC | features 155 arch/mips/kernel/cevt-txx9.c .features = CLOCK_EVT_FEAT_PERIODIC | features 169 arch/mips/loongson32/common/time.c .features = CLOCK_EVT_FEAT_PERIODIC, features 75 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c .features = CLOCK_EVT_FEAT_PERIODIC, features 235 arch/mips/loongson64/loongson-3/hpet.c cd->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 77 arch/mips/ralink/cevt-rt3352.c .features = CLOCK_EVT_FEAT_ONESHOT, features 98 arch/mips/sgi-ip27/ip27-timer.c cd->features = CLOCK_EVT_FEAT_ONESHOT; features 37 arch/mips/sni/time.c .features = CLOCK_EVT_FEAT_PERIODIC, features 232 arch/nios2/kernel/time.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 78 arch/openrisc/kernel/time.c evt->features = CLOCK_EVT_FEAT_ONESHOT, features 547 arch/parisc/include/uapi/asm/pdc.h unsigned char features; features 1059 arch/parisc/kernel/drivers.c DO(features); features 196 arch/powerpc/include/uapi/asm/kvm.h __u32 features; /* KVM_SREGS_E_FSL_ */ features 207 arch/powerpc/include/uapi/asm/kvm.h __u32 features; /* KVM_SREGS_E_ */ features 212 arch/powerpc/include/uapi/asm/ptrace.h __u64 features; features 405 arch/powerpc/kernel/kvm.c u32 *features = data; features 415 arch/powerpc/kernel/kvm.c *features = out[0]; features 418 arch/powerpc/kernel/kvm.c static void __init kvm_check_ins(u32 *inst, u32 features) features 460 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 464 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 468 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 472 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 476 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 480 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 484 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 493 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 500 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 507 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 514 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 520 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 526 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 562 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 566 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 570 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 574 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 578 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 582 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 586 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 592 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 596 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 600 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 604 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 610 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) features 638 arch/powerpc/kernel/kvm.c if (features & KVM_MAGIC_FEAT_SR) { features 666 arch/powerpc/kernel/kvm.c u32 features; features 669 arch/powerpc/kernel/kvm.c on_each_cpu(kvm_map_magic_page, &features, 1); features 694 arch/powerpc/kernel/kvm.c kvm_check_ins(p, features); features 3069 arch/powerpc/kernel/ptrace.c dbginfo.features = PPC_DEBUG_FEATURE_INSN_BP_RANGE | features 3072 arch/powerpc/kernel/ptrace.c dbginfo.features |= features 3090 arch/powerpc/kernel/ptrace.c dbginfo.features = PPC_DEBUG_FEATURE_DATA_BP_RANGE; features 3092 arch/powerpc/kernel/ptrace.c dbginfo.features |= PPC_DEBUG_FEATURE_DATA_BP_DAWR; features 3094 arch/powerpc/kernel/ptrace.c dbginfo.features = 0; features 111 arch/powerpc/kernel/time.c .features = CLOCK_EVT_FEAT_ONESHOT | features 1496 arch/powerpc/kvm/booke.c sregs->u.e.features |= KVM_SREGS_E_BASE; features 1513 arch/powerpc/kvm/booke.c if (!(sregs->u.e.features & KVM_SREGS_E_BASE)) features 1538 arch/powerpc/kvm/booke.c sregs->u.e.features |= KVM_SREGS_E_ARCH206; features 1550 arch/powerpc/kvm/booke.c if (!(sregs->u.e.features & KVM_SREGS_E_ARCH206)) features 1566 arch/powerpc/kvm/booke.c sregs->u.e.features |= KVM_SREGS_E_IVOR; features 1589 arch/powerpc/kvm/booke.c if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) features 366 arch/powerpc/kvm/e500.c sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | features 370 arch/powerpc/kvm/e500.c sregs->u.e.impl.fsl.features = 0; features 402 arch/powerpc/kvm/e500.c if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) features 405 arch/powerpc/kvm/e500.c if (sregs->u.e.features & KVM_SREGS_E_SPE) { features 414 arch/powerpc/kvm/e500.c if (sregs->u.e.features & KVM_SREGS_E_PM) { features 589 arch/powerpc/kvm/e500_mmu.c if (sregs->u.e.features & KVM_SREGS_E_ARCH206_MMU) { features 219 arch/powerpc/kvm/e500mc.c sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_PM | features 223 arch/powerpc/kvm/e500mc.c sregs->u.e.impl.fsl.features = 0; features 254 arch/powerpc/kvm/e500mc.c if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) features 257 arch/powerpc/kvm/e500mc.c if (sregs->u.e.features & KVM_SREGS_E_PM) { features 262 arch/powerpc/kvm/e500mc.c if (sregs->u.e.features & KVM_SREGS_E_PC) { features 127 arch/powerpc/platforms/powermac/feature.c struct feature_table_entry* features; features 2375 arch/powerpc/platforms/powermac/feature.c if (pmac_mb.features) features 2376 arch/powerpc/platforms/powermac/feature.c for (i=0; pmac_mb.features[i].function; i++) features 2377 arch/powerpc/platforms/powermac/feature.c if (pmac_mb.features[i].selector == selector) { features 2378 arch/powerpc/platforms/powermac/feature.c func = pmac_mb.features[i].function; features 2441 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = heathrow_desktop_features; features 2446 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = paddington_features; features 2451 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = core99_features; features 2456 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = pangea_features; features 2461 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = intrepid_features; features 2467 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = g5_features; features 2472 arch/powerpc/platforms/powermac/feature.c pmac_mb.features = g5_features; features 403 arch/powerpc/sysdev/fsl_msi.c const struct fsl_msi_feature *features; features 411 arch/powerpc/sysdev/fsl_msi.c features = match->data; features 435 arch/powerpc/sysdev/fsl_msi.c if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) { features 451 arch/powerpc/sysdev/fsl_msi.c features->msiir_offset + (res.start & 0xfffff); features 458 arch/powerpc/sysdev/fsl_msi.c msi->msiir_offset = features->msiir_offset + features 464 arch/powerpc/sysdev/fsl_msi.c msi->feature = features->fsl_pic_ip; features 467 arch/powerpc/sysdev/fsl_msi.c if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) == FSL_PIC_IP_MPIC features 49 arch/s390/include/uapi/asm/dasd.h unsigned int features; /* dasd features like 'ro',... */ features 170 arch/s390/kernel/time.c cd->features = CLOCK_EVT_FEAT_ONESHOT; features 63 arch/sparc/kernel/irq.h int features; features 319 arch/sparc/kernel/leon_kernel.c sparc_config.features |= FEAT_L10_CLOCKSOURCE; features 322 arch/sparc/kernel/leon_kernel.c sparc_config.features |= FEAT_L10_CLOCKEVENT; features 716 arch/sparc/kernel/pcic.c sparc_config.features |= FEAT_L10_CLOCKEVENT; features 718 arch/sparc/kernel/pcic.c sparc_config.features |= FEAT_L10_CLOCKSOURCE; features 465 arch/sparc/kernel/sun4d_irq.c sparc_config.features |= FEAT_L10_CLOCKEVENT; features 467 arch/sparc/kernel/sun4d_irq.c sparc_config.features |= FEAT_L10_CLOCKSOURCE; features 391 arch/sparc/kernel/sun4m_irq.c sparc_config.features |= FEAT_L14_ONESHOT; features 394 arch/sparc/kernel/sun4m_irq.c sparc_config.features |= FEAT_L10_CLOCKEVENT; features 396 arch/sparc/kernel/sun4m_irq.c sparc_config.features |= FEAT_L10_CLOCKSOURCE; features 127 arch/sparc/kernel/time_32.c ce->features = CLOCK_EVT_FEAT_PERIODIC; features 215 arch/sparc/kernel/time_32.c unsigned int features = CLOCK_EVT_FEAT_PERIODIC; features 217 arch/sparc/kernel/time_32.c if (sparc_config.features & FEAT_L14_ONESHOT) features 218 arch/sparc/kernel/time_32.c features |= CLOCK_EVT_FEAT_ONESHOT; features 222 arch/sparc/kernel/time_32.c ce->features = features; features 331 arch/sparc/kernel/time_32.c if (sparc_config.features & FEAT_L10_CLOCKEVENT) features 333 arch/sparc/kernel/time_32.c if (sparc_config.features & FEAT_L10_CLOCKSOURCE) features 348 arch/sparc/kernel/time_32.c sparc_config.features = 0; features 707 arch/sparc/kernel/time_64.c .features = CLOCK_EVT_FEAT_ONESHOT, features 1311 arch/um/drivers/vector_kern.c netdev_features_t features) features 1313 arch/um/drivers/vector_kern.c features &= ~(NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM); features 1314 arch/um/drivers/vector_kern.c return features; features 1318 arch/um/drivers/vector_kern.c netdev_features_t features) features 1325 arch/um/drivers/vector_kern.c if (features & NETIF_F_GRO) features 1534 arch/um/drivers/vector_kern.c dev->features = dev->hw_features = (NETIF_F_SG | NETIF_F_FRAGLIST); features 410 arch/um/drivers/vector_transports.c vp->dev->features |= features 430 arch/um/drivers/vector_transports.c vp->dev->features |= features 455 arch/um/drivers/vector_transports.c vp->dev->features |= features 416 arch/um/drivers/vector_user.c unsigned int features; features 419 arch/um/drivers/vector_user.c if (ioctl(fd, TUNGETFEATURES, &features) == -1) { features 423 arch/um/drivers/vector_user.c if ((features & IFF_VNET_HDR) == 0) { features 50 arch/um/drivers/virtio_uml.c u64 features; features 251 arch/um/drivers/virtio_uml.c u64 *features) features 258 arch/um/drivers/virtio_uml.c return vhost_user_recv_u64(vu_dev, features); features 262 arch/um/drivers/virtio_uml.c u64 features) features 264 arch/um/drivers/virtio_uml.c return vhost_user_send_u64(vu_dev, VHOST_USER_SET_FEATURES, features); features 383 arch/um/drivers/virtio_uml.c rc = vhost_user_get_features(vu_dev, &vu_dev->features); features 387 arch/um/drivers/virtio_uml.c if (vu_dev->features & BIT_ULL(VHOST_USER_F_PROTOCOL_FEATURES)) { features 654 arch/um/drivers/virtio_uml.c if (!(vu_dev->features & BIT_ULL(VHOST_USER_F_PROTOCOL_FEATURES))) features 748 arch/um/drivers/virtio_uml.c u64 features; features 755 arch/um/drivers/virtio_uml.c WARN_ON(vhost_user_get_features(vu_dev, &features)); features 915 arch/um/drivers/virtio_uml.c return vu_dev->features; features 921 arch/um/drivers/virtio_uml.c u64 supported = vdev->features & VHOST_USER_SUPPORTED_F; features 924 arch/um/drivers/virtio_uml.c vu_dev->features = vdev->features | supported; features 926 arch/um/drivers/virtio_uml.c return vhost_user_set_features(vu_dev, vu_dev->features); features 110 arch/um/kernel/time.c .features = CLOCK_EVT_FEAT_PERIODIC | features 169 arch/unicore32/kernel/pci.c u16 features = PCI_COMMAND_SERR features 192 arch/unicore32/kernel/pci.c features &= ~PCI_COMMAND_FAST_BACK; features 195 arch/unicore32/kernel/pci.c features &= ~(PCI_COMMAND_SERR features 226 arch/unicore32/kernel/pci.c cmd |= features; features 237 arch/unicore32/kernel/pci.c if (features & PCI_COMMAND_FAST_BACK) features 239 arch/unicore32/kernel/pci.c if (features & PCI_COMMAND_PARITY) features 247 arch/unicore32/kernel/pci.c bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); features 55 arch/unicore32/kernel/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 137 arch/x86/hyperv/hv_init.c return ms_hyperv.features & HV_X64_ACCESS_FREQUENCY_MSRS && features 139 arch/x86/hyperv/hv_init.c ms_hyperv.features & HV_X64_ACCESS_REENLIGHTENMENT; features 262 arch/x86/hyperv/hv_init.c if ((ms_hyperv.features & required_msrs) != required_msrs) features 69 arch/x86/hyperv/hv_spinlock.c !(ms_hyperv.features & HV_X64_MSR_GUEST_IDLE_AVAILABLE)) { features 539 arch/x86/include/asm/hyperv-tlfs.h } features; features 485 arch/x86/kernel/apic/apic.c if (evt->features & CLOCK_EVT_FEAT_DUMMY) features 499 arch/x86/kernel/apic/apic.c if (evt->features & CLOCK_EVT_FEAT_DUMMY) features 532 arch/x86/kernel/apic/apic.c .features = CLOCK_EVT_FEAT_PERIODIC | features 651 arch/x86/kernel/apic/apic.c lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; features 661 arch/x86/kernel/apic/apic.c levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | features 888 arch/x86/kernel/apic/apic.c lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; features 993 arch/x86/kernel/apic/apic.c levt->features &= ~CLOCK_EVT_FEAT_DUMMY; features 1028 arch/x86/kernel/apic/apic.c levt->features |= CLOCK_EVT_FEAT_DUMMY; features 1032 arch/x86/kernel/apic/apic.c if (levt->features & CLOCK_EVT_FEAT_DUMMY) { features 1075 arch/x86/kernel/apic/apic.c lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; features 1991 arch/x86/kernel/apic/apic.c u32 features, h, l; features 1997 arch/x86/kernel/apic/apic.c features = cpuid_edx(1); features 1998 arch/x86/kernel/apic/apic.c if (!(features & (1 << X86_FEATURE_APIC))) { features 226 arch/x86/kernel/cpu/mshyperv.c ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); features 231 arch/x86/kernel/cpu/mshyperv.c ms_hyperv.features, ms_hyperv.hints, ms_hyperv.misc_features); features 255 arch/x86/kernel/cpu/mshyperv.c if (ms_hyperv.features & HV_X64_ACCESS_FREQUENCY_MSRS && features 277 arch/x86/kernel/cpu/mshyperv.c if (ms_hyperv.features & HV_X64_ACCESS_FREQUENCY_MSRS && features 332 arch/x86/kernel/cpu/mshyperv.c if (ms_hyperv.features & HV_X64_ACCESS_REENLIGHTENMENT) features 408 arch/x86/kernel/hpet.c evt->features = CLOCK_EVT_FEAT_ONESHOT; features 410 arch/x86/kernel/hpet.c evt->features |= CLOCK_EVT_FEAT_PERIODIC; features 455 arch/x86/kernel/hpet.c hc->evt.features |= CLOCK_EVT_FEAT_PERIODIC; features 182 arch/x86/kvm/vmx/evmcs.h vp_ap->nested_control.features.directhypercall = 1; features 7973 arch/x86/kvm/vmx/vmx.c vp_ap->nested_control.features.directhypercall = 0; features 34 arch/x86/platform/uv/uv_time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 217 arch/x86/xen/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 278 arch/x86/xen/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 109 arch/xtensa/kernel/time.c .features = CLOCK_EVT_FEAT_ONESHOT, features 849 block/blk-settings.c unsigned int features) features 851 block/blk-settings.c q->required_elevator_features = features; features 457 block/opal_proto.h u8 features[]; features 453 block/sed-opal.c supported = check_tper(body->features); features 456 block/sed-opal.c single_user = check_sum(body->features); features 462 block/sed-opal.c dev->mbr_enabled = check_mbrenabled(body->features); features 471 block/sed-opal.c comid = get_comid_v100(body->features); features 475 block/sed-opal.c comid = get_comid_v200(body->features); features 855 drivers/block/mtip32xx/mtip32xx.c (fis->features == 0x03)) { features 861 drivers/block/mtip32xx/mtip32xx.c (fis->features == 0x27 || fis->features == 0x72 || features 862 drivers/block/mtip32xx/mtip32xx.c fis->features == 0x62 || fis->features == 0x26))) { features 1300 drivers/block/mtip32xx/mtip32xx.c fis.features = 0xD0; features 1498 drivers/block/mtip32xx/mtip32xx.c fis.features = command[1]; features 1529 drivers/block/mtip32xx/mtip32xx.c command[1] = reply->features; /* Error*/ features 1587 drivers/block/mtip32xx/mtip32xx.c fis.features = command[2]; features 1626 drivers/block/mtip32xx/mtip32xx.c command[1] = reply->features; /* Error*/ features 1665 drivers/block/mtip32xx/mtip32xx.c unsigned char features) features 1682 drivers/block/mtip32xx/mtip32xx.c if (features == ATA_SET_MAX_UNLOCK) features 1686 drivers/block/mtip32xx/mtip32xx.c if ((features == ATA_SMART_READ_VALUES) || features 1687 drivers/block/mtip32xx/mtip32xx.c (features == ATA_SMART_READ_THRESHOLDS)) features 1691 drivers/block/mtip32xx/mtip32xx.c if ((features == ATA_DCO_IDENTIFY) || features 1692 drivers/block/mtip32xx/mtip32xx.c (features == ATA_DCO_SET)) features 1785 drivers/block/mtip32xx/mtip32xx.c fis.features = req_task->io_ports[1]; features 1807 drivers/block/mtip32xx/mtip32xx.c force_single_sector = implicit_sector(fis.command, fis.features); features 1829 drivers/block/mtip32xx/mtip32xx.c fis.features, features 1883 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[1] = reply->features; features 2098 drivers/block/mtip32xx/mtip32xx.c fis->features = nsect & 0xFF; features 202 drivers/block/mtip32xx/mtip32xx.h unsigned char features; features 473 drivers/block/null_blk_main.c CONFIGFS_ATTR_RO(memb_group_, features); features 46 drivers/block/ps3disk.c u16 features; features 153 drivers/block/rbd.c u64 features; /* Might be changeable someday? */ features 380 drivers/block/rbd.c u64 features; features 1310 drivers/block/rbd.c *snap_features = rbd_dev->header.features; features 1314 drivers/block/rbd.c u64 features = 0; features 1317 drivers/block/rbd.c ret = _rbd_dev_v2_snap_features(rbd_dev, snap_id, &features); features 1321 drivers/block/rbd.c *snap_features = features; features 1330 drivers/block/rbd.c u64 features = 0; features 1336 drivers/block/rbd.c ret = rbd_snap_features(rbd_dev, snap_id, &features); features 1341 drivers/block/rbd.c rbd_dev->mapping.features = features; features 1349 drivers/block/rbd.c rbd_dev->mapping.features = 0; features 1835 drivers/block/rbd.c return ((rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP) && features 3086 drivers/block/rbd.c if (!(rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP)) features 3277 drivers/block/rbd.c if (!(rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP)) features 3284 drivers/block/rbd.c if ((rbd_dev->header.features & RBD_FEATURE_FAST_DIFF) && features 3422 drivers/block/rbd.c if (!(rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP)) features 3555 drivers/block/rbd.c if (!(rbd_dev->header.features & RBD_FEATURE_EXCLUSIVE_LOCK)) features 3563 drivers/block/rbd.c (rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP)) features 4133 drivers/block/rbd.c if (rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP) { features 4271 drivers/block/rbd.c if (rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP) features 5228 drivers/block/rbd.c (unsigned long long)rbd_dev->mapping.features); features 5402 drivers/block/rbd.c static DEVICE_ATTR(features, 0444, rbd_features_show, NULL); features 5720 drivers/block/rbd.c __le64 features; features 5743 drivers/block/rbd.c *snap_features = le64_to_cpu(features_buf.features); features 5756 drivers/block/rbd.c &rbd_dev->header.features); features 6631 drivers/block/rbd.c if (!(rbd_dev->header.features & RBD_FEATURE_EXCLUSIVE_LOCK)) { features 6791 drivers/block/rbd.c if (rbd_dev->header.features & RBD_FEATURE_STRIPINGV2) { features 6797 drivers/block/rbd.c if (rbd_dev->header.features & RBD_FEATURE_DATA_POOL) { features 6807 drivers/block/rbd.c rbd_dev->header.features = 0; features 7018 drivers/block/rbd.c (rbd_dev->header.features & RBD_FEATURE_OBJECT_MAP)) { features 7024 drivers/block/rbd.c if (rbd_dev->header.features & RBD_FEATURE_LAYERING) { features 7138 drivers/block/rbd.c rbd_dev->header.features); features 372 drivers/block/sx8.c u8 features; features 967 drivers/block/sx8.c host->flags |= (ver->features & FL_FW_VER_MASK); features 1078 drivers/block/virtio_blk.c static unsigned int features[] = { features 1086 drivers/block/virtio_blk.c .feature_table = features, features 1087 drivers/block/virtio_blk.c .feature_table_size = ARRAY_SIZE(features), features 2122 drivers/char/virtio_console.c static unsigned int features[] = { features 2211 drivers/char/virtio_console.c .feature_table = features, features 2212 drivers/char/virtio_console.c .feature_table_size = ARRAY_SIZE(features), features 70 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = CCU_FEATURE_SIGMA_DELTA_MOD, features 86 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = (CCU_FEATURE_FRACTIONAL | features 174 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = CCU_FEATURE_FIXED_POSTDIV, features 188 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = (CCU_FEATURE_FRACTIONAL | features 230 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = CCU_FEATURE_FIXED_PREDIV, features 833 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = CCU_FEATURE_FIXED_PREDIV, features 852 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .features = CCU_FEATURE_FIXED_PREDIV, features 114 drivers/clk/sunxi-ng/ccu-sun50i-a64.c .features = CCU_FEATURE_FIXED_POSTDIV, features 128 drivers/clk/sunxi-ng/ccu-sun50i-a64.c .features = CCU_FEATURE_FIXED_POSTDIV, features 243 drivers/clk/sunxi-ng/ccu-sun50i-a64.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 284 drivers/clk/sunxi-ng/ccu-sun50i-a64.c .features = CCU_FEATURE_FIXED_PREDIV, features 44 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 79 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 74 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .features = CCU_FEATURE_FIXED_POSTDIV, features 91 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .features = CCU_FEATURE_FIXED_POSTDIV, features 128 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .features = CCU_FEATURE_FIXED_POSTDIV, features 146 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .features = CCU_FEATURE_FIXED_POSTDIV, features 676 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 73 drivers/clk/sunxi-ng/ccu-sun5i.c .features = CCU_FEATURE_SIGMA_DELTA_MOD, features 88 drivers/clk/sunxi-ng/ccu-sun5i.c .features = (CCU_FEATURE_FRACTIONAL | features 147 drivers/clk/sunxi-ng/ccu-sun5i.c .features = CCU_FEATURE_FIXED_POSTDIV, features 162 drivers/clk/sunxi-ng/ccu-sun5i.c .features = (CCU_FEATURE_FRACTIONAL | features 189 drivers/clk/sunxi-ng/ccu-sun5i.c .features = CCU_FEATURE_FIXED_PREDIV, features 220 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 673 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_FIXED_PREDIV, features 692 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_FIXED_PREDIV, features 711 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_FIXED_PREDIV, features 755 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_FIXED_PREDIV, features 776 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_FIXED_PREDIV, features 797 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .features = CCU_FEATURE_FIXED_PREDIV, features 193 drivers/clk/sunxi-ng/ccu-sun8i-a23.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 203 drivers/clk/sunxi-ng/ccu-sun8i-a33.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 43 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 57 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 89 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG | features 108 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 124 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 140 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 156 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 172 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 188 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 204 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 221 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_LOCK_REG, features 481 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .features = CCU_FEATURE_ALL_PREDIV, features 167 drivers/clk/sunxi-ng/ccu-sun8i-h3.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 207 drivers/clk/sunxi-ng/ccu-sun8i-h3.c .features = CCU_FEATURE_FIXED_PREDIV, features 44 drivers/clk/sunxi-ng/ccu-sun8i-r.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 108 drivers/clk/sunxi-ng/ccu-sun8i-r.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 107 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_FIXED_POSTDIV, features 125 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_FIXED_POSTDIV, features 141 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_FIXED_POSTDIV, features 171 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_FIXED_POSTDIV, features 275 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 762 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_FIXED_PREDIV, features 781 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .features = CCU_FEATURE_FIXED_PREDIV, features 152 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 192 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c .features = CCU_FEATURE_FIXED_PREDIV, features 42 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 56 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 78 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 94 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 110 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 126 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 141 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 157 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 173 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 189 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 205 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 221 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_LOCK_REG, features 362 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_FIXED_PREDIV, features 382 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .features = CCU_FEATURE_FIXED_PREDIV, features 130 drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c .features = CCU_FEATURE_VARIABLE_PREDIV, features 27 drivers/clk/sunxi-ng/ccu_common.c if (common->features & CCU_FEATURE_LOCK_REG) features 32 drivers/clk/sunxi-ng/ccu_common.h unsigned long features; features 21 drivers/clk/sunxi-ng/ccu_div.c if (cd->common.features & CCU_FEATURE_FIXED_POSTDIV) features 29 drivers/clk/sunxi-ng/ccu_div.c if (cd->common.features & CCU_FEATURE_FIXED_POSTDIV) features 73 drivers/clk/sunxi-ng/ccu_div.c if (cd->common.features & CCU_FEATURE_FIXED_POSTDIV) features 99 drivers/clk/sunxi-ng/ccu_div.c if (cd->common.features & CCU_FEATURE_FIXED_POSTDIV) features 16 drivers/clk/sunxi-ng/ccu_frac.c if (!(common->features & CCU_FEATURE_FRACTIONAL)) features 28 drivers/clk/sunxi-ng/ccu_frac.c if (!(common->features & CCU_FEATURE_FRACTIONAL)) features 43 drivers/clk/sunxi-ng/ccu_frac.c if (!(common->features & CCU_FEATURE_FRACTIONAL)) features 56 drivers/clk/sunxi-ng/ccu_frac.c if (!(common->features & CCU_FEATURE_FRACTIONAL)) features 69 drivers/clk/sunxi-ng/ccu_frac.c if (!(common->features & CCU_FEATURE_FRACTIONAL)) features 90 drivers/clk/sunxi-ng/ccu_frac.c if (!(common->features & CCU_FEATURE_FRACTIONAL)) features 81 drivers/clk/sunxi-ng/ccu_gate.c if (cg->common.features & CCU_FEATURE_ALL_PREDIV) features 93 drivers/clk/sunxi-ng/ccu_gate.c if (cg->common.features & CCU_FEATURE_ALL_PREDIV) features 99 drivers/clk/sunxi-ng/ccu_gate.c if (cg->common.features & CCU_FEATURE_ALL_PREDIV) features 27 drivers/clk/sunxi-ng/ccu_mmc_timing.c if (!(cm->features & CCU_FEATURE_MMC_TIMING_SWITCH)) features 58 drivers/clk/sunxi-ng/ccu_mmc_timing.c if (!(cm->features & CCU_FEATURE_MMC_TIMING_SWITCH)) features 105 drivers/clk/sunxi-ng/ccu_mp.c if (cmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 119 drivers/clk/sunxi-ng/ccu_mp.c if (cmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 170 drivers/clk/sunxi-ng/ccu_mp.c if (cmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 202 drivers/clk/sunxi-ng/ccu_mp.c if (cmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 47 drivers/clk/sunxi-ng/ccu_mp.h .features = CCU_FEATURE_FIXED_POSTDIV, \ features 112 drivers/clk/sunxi-ng/ccu_mp.h .features = CCU_FEATURE_MMC_TIMING_SWITCH, \ features 22 drivers/clk/sunxi-ng/ccu_mux.c if (!((common->features & CCU_FEATURE_FIXED_PREDIV) || features 23 drivers/clk/sunxi-ng/ccu_mux.c (common->features & CCU_FEATURE_VARIABLE_PREDIV) || features 24 drivers/clk/sunxi-ng/ccu_mux.c (common->features & CCU_FEATURE_ALL_PREDIV))) features 27 drivers/clk/sunxi-ng/ccu_mux.c if (common->features & CCU_FEATURE_ALL_PREDIV) features 36 drivers/clk/sunxi-ng/ccu_mux.c if (common->features & CCU_FEATURE_FIXED_PREDIV) { features 44 drivers/clk/sunxi-ng/ccu_mux.c if (common->features & CCU_FEATURE_VARIABLE_PREDIV) { features 87 drivers/clk/sunxi-ng/ccu_nk.c if (nk->common.features & CCU_FEATURE_FIXED_POSTDIV) features 99 drivers/clk/sunxi-ng/ccu_nk.c if (nk->common.features & CCU_FEATURE_FIXED_POSTDIV) features 110 drivers/clk/sunxi-ng/ccu_nk.c if (nk->common.features & CCU_FEATURE_FIXED_POSTDIV) features 124 drivers/clk/sunxi-ng/ccu_nk.c if (nk->common.features & CCU_FEATURE_FIXED_POSTDIV) features 46 drivers/clk/sunxi-ng/ccu_nk.h .features = CCU_FEATURE_FIXED_POSTDIV, \ features 100 drivers/clk/sunxi-ng/ccu_nkm.c if (nkm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 122 drivers/clk/sunxi-ng/ccu_nkm.c if (nkm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 129 drivers/clk/sunxi-ng/ccu_nkm.c if (nkm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 152 drivers/clk/sunxi-ng/ccu_nkm.c if (nkm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 122 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 134 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 139 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 157 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 172 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->common.features & CCU_FEATURE_FIXED_POSTDIV) features 89 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 114 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 126 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 131 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 138 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 144 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 150 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 163 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 178 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) features 53 drivers/clk/sunxi-ng/ccu_nm.h .features = CCU_FEATURE_SIGMA_DELTA_MOD, \ features 77 drivers/clk/sunxi-ng/ccu_nm.h .features = CCU_FEATURE_FRACTIONAL, \ features 103 drivers/clk/sunxi-ng/ccu_nm.h .features = CCU_FEATURE_FRACTIONAL, \ features 132 drivers/clk/sunxi-ng/ccu_nm.h .features = CCU_FEATURE_FRACTIONAL, \ features 15 drivers/clk/sunxi-ng/ccu_sdm.c if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) features 32 drivers/clk/sunxi-ng/ccu_sdm.c if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) features 59 drivers/clk/sunxi-ng/ccu_sdm.c if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) features 96 drivers/clk/sunxi-ng/ccu_sdm.c if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) features 116 drivers/clk/sunxi-ng/ccu_sdm.c if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) features 143 drivers/clk/sunxi-ng/ccu_sdm.c if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) features 427 drivers/clk/ti/clk.c void __init ti_clk_setup_features(struct ti_clk_features *features) features 429 drivers/clk/ti/clk.c memcpy(&ti_clk_features, features, sizeof(*features)); features 271 drivers/clocksource/arc_timer.c .features = CLOCK_EVT_FEAT_ONESHOT | features 741 drivers/clocksource/arm_arch_timer.c clk->features = CLOCK_EVT_FEAT_ONESHOT; features 749 drivers/clocksource/arm_arch_timer.c clk->features |= CLOCK_EVT_FEAT_C3STOP; features 773 drivers/clocksource/arm_arch_timer.c clk->features |= CLOCK_EVT_FEAT_DYNIRQ; features 170 drivers/clocksource/arm_global_timer.c clk->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | features 158 drivers/clocksource/asm9260_timer.c .features = CLOCK_EVT_FEAT_PERIODIC | features 113 drivers/clocksource/bcm2835_timer.c timer->evt.features = CLOCK_EVT_FEAT_ONESHOT; features 141 drivers/clocksource/bcm_kona_timer.c .features = CLOCK_EVT_FEAT_ONESHOT, features 68 drivers/clocksource/clps711x-timer.c clkevt->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_C3STOP; features 21 drivers/clocksource/dummy_timer.c evt->features = CLOCK_EVT_FEAT_PERIODIC | features 261 drivers/clocksource/dw_apb_timer.c dw_ced->ced.features = CLOCK_EVT_FEAT_PERIODIC | features 267 drivers/clocksource/em_sti.c ced->features = CLOCK_EVT_FEAT_ONESHOT; features 310 drivers/clocksource/exynos_mct.c .features = CLOCK_EVT_FEAT_PERIODIC | features 463 drivers/clocksource/exynos_mct.c evt->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 151 drivers/clocksource/h8300_timer8.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 114 drivers/clocksource/hyperv_timer.c if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE)) features 119 drivers/clocksource/hyperv_timer.c ce->features = CLOCK_EVT_FEAT_ONESHOT; features 141 drivers/clocksource/hyperv_timer.c if (ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) { features 195 drivers/clocksource/hyperv_timer.c if (ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) { features 279 drivers/clocksource/hyperv_timer.c if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) features 319 drivers/clocksource/hyperv_timer.c if (!(ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE)) features 171 drivers/clocksource/i8253.c .features = CLOCK_EVT_FEAT_PERIODIC, features 184 drivers/clocksource/i8253.c i8253_clockevent.features |= CLOCK_EVT_FEAT_ONESHOT; features 150 drivers/clocksource/ingenic-timer.c tcu->cevt.features = CLOCK_EVT_FEAT_ONESHOT; features 228 drivers/clocksource/jcore-pit.c pit->ced.features = CLOCK_EVT_FEAT_PERIODIC features 81 drivers/clocksource/mips-gic-timer.c cd->features = CLOCK_EVT_FEAT_ONESHOT | features 150 drivers/clocksource/mps2-timer.c ce->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 164 drivers/clocksource/mxs_timer.c .features = CLOCK_EVT_FEAT_ONESHOT, features 161 drivers/clocksource/nomadik-mtu.c .features = CLOCK_EVT_FEAT_ONESHOT | features 41 drivers/clocksource/numachip.c .features = CLOCK_EVT_FEAT_ONESHOT, features 173 drivers/clocksource/renesas-ostm.c ced->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC; features 234 drivers/clocksource/samsung_pwm_timer.c .features = CLOCK_EVT_FEAT_PERIODIC | features 792 drivers/clocksource/sh_cmt.c ced->features = CLOCK_EVT_FEAT_PERIODIC; features 793 drivers/clocksource/sh_cmt.c ced->features |= CLOCK_EVT_FEAT_ONESHOT; features 310 drivers/clocksource/sh_mtu2.c ced->features = CLOCK_EVT_FEAT_PERIODIC; features 408 drivers/clocksource/sh_tmu.c ced->features = CLOCK_EVT_FEAT_PERIODIC; features 409 drivers/clocksource/sh_tmu.c ced->features |= CLOCK_EVT_FEAT_ONESHOT; features 185 drivers/clocksource/timer-armada-370-xp.c evt->features = CLOCK_EVT_FEAT_ONESHOT | features 182 drivers/clocksource/timer-atcpit100.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 186 drivers/clocksource/timer-atlas7.c ce->features = CLOCK_EVT_FEAT_ONESHOT; features 245 drivers/clocksource/timer-atmel-pit.c data->clkevt.features = CLOCK_EVT_FEAT_PERIODIC; features 171 drivers/clocksource/timer-atmel-st.c .features = CLOCK_EVT_FEAT_PERIODIC | features 234 drivers/clocksource/timer-atmel-tcb.c .features = CLOCK_EVT_FEAT_PERIODIC | features 434 drivers/clocksource/timer-cadence-ttc.c ttcce->ce.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 97 drivers/clocksource/timer-cs5535.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 280 drivers/clocksource/timer-davinci.c clockevent->dev.features = CLOCK_EVT_FEAT_ONESHOT; features 128 drivers/clocksource/timer-digicolor.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 113 drivers/clocksource/timer-efm32.c .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC, features 171 drivers/clocksource/timer-fsl-ftm.c .features = CLOCK_EVT_FEAT_PERIODIC | features 370 drivers/clocksource/timer-fttmr010.c fttmr010->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | features 80 drivers/clocksource/timer-gx6605s.c .features = CLOCK_EVT_FEAT_DYNIRQ | features 279 drivers/clocksource/timer-imx-gpt.c ced->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DYNIRQ; features 106 drivers/clocksource/timer-imx-sysctr.c .features = CLOCK_EVT_FEAT_ONESHOT | features 132 drivers/clocksource/timer-imx-tpm.c .features = CLOCK_EVT_FEAT_ONESHOT, features 116 drivers/clocksource/timer-integrator-ap.c .features = CLOCK_EVT_FEAT_PERIODIC | features 212 drivers/clocksource/timer-ixp4xx.c tmr->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 205 drivers/clocksource/timer-keystone.c event_dev->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 149 drivers/clocksource/timer-lpc32xx.c .features = CLOCK_EVT_FEAT_ONESHOT | features 262 drivers/clocksource/timer-mediatek.c to.clkevt.features = CLOCK_EVT_FEAT_DYNIRQ | CLOCK_EVT_FEAT_ONESHOT; features 283 drivers/clocksource/timer-mediatek.c to.clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 135 drivers/clocksource/timer-meson6.c .features = CLOCK_EVT_FEAT_PERIODIC | features 150 drivers/clocksource/timer-milbeaut.c .features = CLOCK_EVT_FEAT_DYNIRQ | CLOCK_EVT_FEAT_ONESHOT, features 53 drivers/clocksource/timer-mp-csky.c .features = CLOCK_EVT_FEAT_PERCPU | features 139 drivers/clocksource/timer-npcm7xx.c .features = CLOCK_EVT_FEAT_PERIODIC | features 206 drivers/clocksource/timer-nps.c .features = CLOCK_EVT_FEAT_ONESHOT, features 100 drivers/clocksource/timer-orion.c .features = CLOCK_EVT_FEAT_ONESHOT | features 97 drivers/clocksource/timer-owl.c .features = CLOCK_EVT_FEAT_ONESHOT | features 150 drivers/clocksource/timer-oxnas-rps.c rps->clkevent.features = CLOCK_EVT_FEAT_PERIODIC | features 152 drivers/clocksource/timer-prima2.c .features = CLOCK_EVT_FEAT_ONESHOT, features 137 drivers/clocksource/timer-pxa.c .features = CLOCK_EVT_FEAT_ONESHOT, features 106 drivers/clocksource/timer-qcom.c evt->features = CLOCK_EVT_FEAT_ONESHOT; features 135 drivers/clocksource/timer-rda.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | features 29 drivers/clocksource/timer-riscv.c .features = CLOCK_EVT_FEAT_ONESHOT, features 222 drivers/clocksource/timer-rockchip.c ce->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | features 160 drivers/clocksource/timer-sp804.c .features = CLOCK_EVT_FEAT_PERIODIC | features 130 drivers/clocksource/timer-sprd.c .features = CLOCK_EVT_FEAT_DYNIRQ | CLOCK_EVT_FEAT_PERIODIC | features 273 drivers/clocksource/timer-stm32.c to->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 149 drivers/clocksource/timer-sun4i.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 302 drivers/clocksource/timer-sun5i.c ce->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; features 121 drivers/clocksource/timer-tegra.c .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC, features 312 drivers/clocksource/timer-u300.c .features = CLOCK_EVT_FEAT_PERIODIC | features 119 drivers/clocksource/timer-vf-pit.c .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, features 88 drivers/clocksource/timer-vt8500.c .features = CLOCK_EVT_FEAT_ONESHOT, features 162 drivers/clocksource/timer-zevio.c timer->clkevt.features = CLOCK_EVT_FEAT_ONESHOT; features 81 drivers/cpufreq/pcc-cpufreq.c u32 features; features 464 drivers/cpufreq/pcc-cpufreq.c ioread8(&pcch_hdr->minor), ioread32(&pcch_hdr->features), features 101 drivers/crypto/chelsio/chcr_ipsec.c netdev->features |= NETIF_F_HW_ESP; features 137 drivers/crypto/chelsio/chtls/chtls_main.c if (netdev->features & NETIF_F_HW_TLS_RECORD) features 174 drivers/crypto/talitos.c if (priv->features & TALITOS_FTR_HW_AUTH_CHECK) features 249 drivers/crypto/talitos.c if (priv->features & TALITOS_FTR_HW_AUTH_CHECK) features 1466 drivers/crypto/talitos.c (priv->features & TALITOS_FTR_HW_AUTH_CHECK) && features 1468 drivers/crypto/talitos.c priv->features & TALITOS_FTR_SRC_LINK_TBL_LEN_INCLUDES_EXTENT)) { features 3177 drivers/crypto/talitos.c if (!(priv->features & TALITOS_FTR_SHA224_HWINIT) && features 3197 drivers/crypto/talitos.c if (!(priv->features & TALITOS_FTR_HMAC_OK) && features 3202 drivers/crypto/talitos.c if (!(priv->features & TALITOS_FTR_SHA224_HWINIT) && features 3335 drivers/crypto/talitos.c priv->features |= TALITOS_FTR_SRC_LINK_TBL_LEN_INCLUDES_EXTENT; features 3338 drivers/crypto/talitos.c priv->features |= TALITOS_FTR_HW_AUTH_CHECK | features 3343 drivers/crypto/talitos.c priv->features |= TALITOS_FTR_SEC1; features 133 drivers/crypto/talitos.h unsigned long features; features 174 drivers/crypto/talitos.h return priv->features & TALITOS_FTR_SEC1; features 501 drivers/crypto/virtio/virtio_crypto_core.c static unsigned int features[] = { features 513 drivers/crypto/virtio/virtio_crypto_core.c .feature_table = features, features 514 drivers/crypto/virtio/virtio_crypto_core.c .feature_table_size = ARRAY_SIZE(features), features 163 drivers/dma/stm32-dma.c u32 features; features 1224 drivers/dma/stm32-dma.c chan->threshold = STM32_DMA_THRESHOLD_FTR_GET(cfg->features); features 1244 drivers/dma/stm32-dma.c cfg.features = dma_spec->args[3]; features 1390 drivers/firewire/net.c net->features = NETIF_F_HIGHDMA; features 522 drivers/fpga/dfl.c struct dfl_feature *feature = &pdata->features[index]; features 238 drivers/fpga/dfl.h struct dfl_feature features[0]; features 307 drivers/fpga/dfl.h for ((feature) = (pdata)->features; \ features 308 drivers/fpga/dfl.h (feature) < (pdata)->features + (pdata)->num; (feature)++) features 926 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c ras_mask = (uint64_t)ras->supported << 32 | ras->features; features 399 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c return con->features & BIT(head->block); features 432 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c con->features |= BIT(head->block); features 435 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c con->features &= ~BIT(head->block); features 551 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c return con->features; features 583 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c return con->features; features 791 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c return scnprintf(buf, PAGE_SIZE, "feature mask: 0x%x\n", con->features); features 1452 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c con->features = 0; features 1537 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (con->features) features 1565 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c WARN(con->features, "Feature mask is not cleared"); features 1567 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (con->features) features 316 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h uint32_t features; features 1355 drivers/gpu/drm/amd/amdkfd/kfd_topology.c (((ctx->features & BIT(AMDGPU_RAS_BLOCK__SDMA)) != 0) || features 1356 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ((ctx->features & BIT(AMDGPU_RAS_BLOCK__GFX)) != 0)) ? features 1358 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= ((ctx->features & BIT(AMDGPU_RAS_BLOCK__UMC)) != 0) ? features 1361 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= (ctx->features != 0) ? features 5061 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c link->link_enc->features.hdmi_ycbcr420_supported ? true : false; features 5066 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c link->link_enc->features.dp_ycbcr420_supported ? true : false; features 822 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (link->link_enc->features.flags.bits.DP_IS_USB_C == 1) { features 107 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c struct encoder_feature_support *features = &link->link_enc->features; features 110 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (features->flags.bits.IS_TPS3_CAPABLE) features 113 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (features->flags.bits.IS_TPS4_CAPABLE) features 1406 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (link->link_enc->features.flags.bits.IS_HBR2_CAPABLE) features 1409 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (link->link_enc->features.flags.bits.IS_HBR3_CAPABLE) features 595 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c max_pixel_clock = enc110->base.features.max_hdmi_pixel_clock; features 636 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.max_hdmi_deep_color; features 647 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c (adjusted_pix_clk_khz > enc110->base.features.max_hdmi_pixel_clock)) features 651 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c if (!enc110->base.features.hdmi_ycbcr420_supported && features 655 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c if (!enc110->base.features.flags.bits.HDMI_6GB_EN && features 695 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features = *enc_features; features 760 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.HDMI_6GB_EN = 1; features 767 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.IS_HBR2_CAPABLE = features 769 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.IS_HBR3_CAPABLE = features 771 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; features 778 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.HDMI_6GB_EN = 0; features 583 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c max_pixel_clock = enc10->base.features.max_hdmi_pixel_clock; features 624 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.max_hdmi_deep_color; features 635 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c (adjusted_pix_clk_100hz > (enc10->base.features.max_hdmi_pixel_clock * 10))) features 639 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c if (!enc10->base.features.hdmi_ycbcr420_supported && features 643 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c if (!enc10->base.features.flags.bits.HDMI_6GB_EN && features 657 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c if (!enc10->base.features.dp_ycbcr420_supported) features 687 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features = *enc_features; features 754 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 1; features 761 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.IS_HBR2_CAPABLE = features 763 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.IS_HBR3_CAPABLE = features 765 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; features 766 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.DP_IS_USB_C = features 774 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 0; features 372 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features = *enc_features; features 439 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 1; features 446 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.IS_HBR2_CAPABLE = features 448 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.IS_HBR3_CAPABLE = features 450 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; features 451 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.DP_IS_USB_C = features 459 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 0; features 113 drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h struct encoder_feature_support features; features 865 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c unsigned long features; features 869 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c features = smum_get_argument(hwmgr); features 870 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c if (features & check_feature) features 127 drivers/gpu/drm/arm/malidp_drv.c ((hwdev->hw->map.features & MALIDP_REGMAP_HAS_CLEARIRQ) ? features 934 drivers/gpu/drm/arm/malidp_hw.c .features = 0, /* no CLEARIRQ register */ features 975 drivers/gpu/drm/arm/malidp_hw.c .features = MALIDP_DEVICE_LV_HAS_3_STRIDES, features 983 drivers/gpu/drm/arm/malidp_hw.c .features = MALIDP_REGMAP_HAS_CLEARIRQ | features 1024 drivers/gpu/drm/arm/malidp_hw.c .features = 0, features 1032 drivers/gpu/drm/arm/malidp_hw.c .features = MALIDP_REGMAP_HAS_CLEARIRQ | features 1078 drivers/gpu/drm/arm/malidp_hw.c .features = 0, features 1097 drivers/gpu/drm/arm/malidp_hw.c (map->features & MALIDP_DEVICE_AFBC_YUYV_USE_422_P2)) features 1153 drivers/gpu/drm/arm/malidp_hw.c if (hwdev->hw->map.features & MALIDP_REGMAP_HAS_CLEARIRQ) features 113 drivers/gpu/drm/arm/malidp_hw.h const u8 features; features 212 drivers/gpu/drm/arm/malidp_hw.h u8 features; features 371 drivers/gpu/drm/arm/malidp_hw.h ((hwdev->hw->map.features & MALIDP_REGMAP_HAS_CLEARIRQ) ? features 236 drivers/gpu/drm/arm/malidp_planes.c (map->features & MALIDP_DEVICE_AFBC_YUV_420_10_SUPPORT_SPLIT))) { features 561 drivers/gpu/drm/arm/malidp_planes.c !(mp->hwdev->hw->features & MALIDP_DEVICE_LV_HAS_3_STRIDES) && features 625 drivers/gpu/drm/arm/malidp_planes.c num_strides = (mp->hwdev->hw->features & features 944 drivers/gpu/drm/arm/malidp_planes.c if (!(map->features & MALIDP_DEVICE_AFBC_SUPPORT_SPLIT)) { features 183 drivers/gpu/drm/drm_debugfs.c u32 features = files[i].driver_features; features 185 drivers/gpu/drm/drm_debugfs.c if (features != 0 && features 186 drivers/gpu/drm/drm_debugfs.c (dev->driver->driver_features & features) != features) features 2092 drivers/gpu/drm/drm_edid.c if (edid->revision >= 4 && (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)) features 2888 drivers/gpu/drm/drm_edid.c (edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING); features 4711 drivers/gpu/drm/drm_edid.c if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB444) features 4713 drivers/gpu/drm/drm_edid.c if (edid->features & DRM_EDID_FEATURE_RGB_YCRCB422) features 4898 drivers/gpu/drm/drm_edid.c if (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF) features 186 drivers/gpu/drm/etnaviv/etnaviv_buffer.c if (gpu->identity.features & chipFeatures_PIPE_3D) { features 196 drivers/gpu/drm/etnaviv/etnaviv_buffer.c if (gpu->identity.features & chipFeatures_PIPE_2D) { features 57 drivers/gpu/drm/etnaviv/etnaviv_gpu.c *value = gpu->identity.features; features 389 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->identity.features = gpu_read(gpu, VIVS_HI_CHIP_FEATURE); features 393 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->identity.features &= ~chipFeatures_FAST_CLEAR; features 648 drivers/gpu/drm/etnaviv/etnaviv_gpu.c (gpu->identity.features & chipFeatures_PIPE_3D)) features 728 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (gpu->identity.features & chipFeatures_PIPE_VG && features 729 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->identity.features & chipFeatures_FE20) { features 762 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (!(gpu->identity.features & chipFeatures_PIPE_3D) || features 772 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->identity.features &= ~chipFeatures_FAST_CLEAR; features 856 drivers/gpu/drm/etnaviv/etnaviv_gpu.c gpu->identity.features); features 936 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (gpu->identity.features & chipFeatures_DEBUG_MODE) { features 25 drivers/gpu/drm/etnaviv/etnaviv_gpu.h u32 features; features 23 drivers/gpu/drm/etnaviv/etnaviv_hwdb.c .features = 0xe0287cad, features 437 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c if (gpu->identity.features & meta->feature) features 453 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c if (!(gpu->identity.features & meta->feature)) features 67 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = 0, features 95 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = BIT(DPU_CTL_SPLIT_DISPLAY) features 100 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = BIT(DPU_CTL_SPLIT_DISPLAY) features 105 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = 0 features 110 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = 0 features 115 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = 0 features 180 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = _features, \ features 222 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = MIXER_SDM845_MASK, \ features 256 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = PINGPONG_SDM845_SPLIT_MASK, \ features 263 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = PINGPONG_SDM845_MASK, \ features 304 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .features = BIT(DPU_VBIF_QOS_REMAP), features 197 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h unsigned long features features 306 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c &ctx->mixer_hw_caps->features)) features 496 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c _setup_ctl_ops(&c->ops, c->caps->features); features 285 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c _setup_intf_ops(&c->ops, c->cap->features); features 152 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c unsigned long features) features 185 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c _setup_mixer_ops(m, &c->ops, c->cap->features); features 200 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (!test_bit(DPU_SSPP_SCALER_QSEED2, &ctx->cap->features) || features 202 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c !test_bit(DPU_SSPP_CSC, &ctx->cap->features)) features 323 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_CSC, &ctx->cap->features)) features 326 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c else if (test_bit(DPU_SSPP_CSC_10BIT, &ctx->cap->features)) features 533 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_CSC_10BIT, &ctx->cap->features)) { features 576 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (ctx->cap && test_bit(DPU_SSPP_QOS_8LVL, &ctx->cap->features)) { features 635 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c unsigned long features) features 637 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_SRC, &features)) { features 645 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_QOS, &features)) { features 652 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_CSC, &features) || features 653 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c test_bit(DPU_SSPP_CSC_10BIT, &features)) features 656 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_SMART_DMA_V1, &c->cap->features) || features 657 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c test_bit(DPU_SSPP_SMART_DMA_V2, &c->cap->features)) features 660 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_SCALER_QSEED3, &features)) { features 665 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (test_bit(DPU_SSPP_CDP, &features)) features 719 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c _setup_layer_ops(hw_pipe, hw_pipe->cap->features); features 343 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c _setup_mdp_ops(&mdp->ops, mdp->caps->features); features 256 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c _setup_vbif_ops(&c->ops, c->cap->features); features 527 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c if ((catalog->sspp[i].features & BIT(DPU_SSPP_CURSOR)) features 536 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c type, catalog->sspp[i].features, features 537 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c catalog->sspp[i].features & BIT(DPU_SSPP_CURSOR)); features 89 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c uint32_t features; /* capabilities from catalog */ features 537 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (BIT(DPU_SSPP_CSC_10BIT) & pdpu->features) features 884 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c (!(pdpu->features & DPU_SSPP_SCALER) || features 885 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c !(pdpu->features & (BIT(DPU_SSPP_CSC) features 1329 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->debugfs_root, &pdpu->features); features 1339 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (cfg->features & BIT(DPU_SSPP_SCALER_QSEED3) || features 1340 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c cfg->features & BIT(DPU_SSPP_SCALER_QSEED2)) { features 1354 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (cfg->features & BIT(DPU_SSPP_CSC) || features 1355 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c cfg->features & BIT(DPU_SSPP_CSC_10BIT)) { features 1500 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->features = pdpu->pipe_hw->cap->features; features 449 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c unsigned long features = ctl->caps->features; features 455 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c has_split_display = BIT(DPU_CTL_SPLIT_DISPLAY) & features; features 457 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c DPU_DEBUG("ctl %d caps 0x%lX\n", iter.blk->id, features); features 69 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c if (!vbif || !(vbif->cap->features & BIT(DPU_VBIF_QOS_OTLIM))) features 313 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c (u32 *)&vbif->features); features 111 drivers/gpu/drm/omapdrm/dss/dispc.c const enum dispc_feature_id *features; features 419 drivers/gpu/drm/omapdrm/dss/dispc.c if (dispc->feat->features[i] == id) features 4250 drivers/gpu/drm/omapdrm/dss/dispc.c .features = omap2_dispc_features_list, features 4284 drivers/gpu/drm/omapdrm/dss/dispc.c .features = omap3_dispc_features_list, features 4318 drivers/gpu/drm/omapdrm/dss/dispc.c .features = omap3_dispc_features_list, features 4352 drivers/gpu/drm/omapdrm/dss/dispc.c .features = omap3_dispc_features_list, features 4386 drivers/gpu/drm/omapdrm/dss/dispc.c .features = am43xx_dispc_features_list, features 4420 drivers/gpu/drm/omapdrm/dss/dispc.c .features = omap4_dispc_features_list, features 4459 drivers/gpu/drm/omapdrm/dss/dispc.c .features = omap5_dispc_features_list, features 250 drivers/gpu/drm/omapdrm/dss/hdmi.h const struct hdmi_phy_features *features; features 912 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c const struct hdmi4_features *features; features 920 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c features = soc->data; features 921 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c core->cts_swmode = features->cts_swmode; features 922 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c core->audio_use_mclk = features->audio_use_mclk; features 28 drivers/gpu/drm/omapdrm/dss/hdmi_phy.c if (phy->features->bist_ctrl) features 138 drivers/gpu/drm/omapdrm/dss/hdmi_phy.c if (phy->features->bist_ctrl) features 147 drivers/gpu/drm/omapdrm/dss/hdmi_phy.c else if (hfbitclk / 10 < phy->features->max_phy) features 162 drivers/gpu/drm/omapdrm/dss/hdmi_phy.c if (phy->features->ldo_voltage) features 188 drivers/gpu/drm/omapdrm/dss/hdmi_phy.c phy->features = &omap44xx_phy_feats; features 190 drivers/gpu/drm/omapdrm/dss/hdmi_phy.c phy->features = &omap54xx_phy_feats; features 72 drivers/gpu/drm/panfrost/panfrost_device.h struct panfrost_features features; features 127 drivers/gpu/drm/panfrost/panfrost_device.h s32 match_id = pfdev->features.id; features 37 drivers/gpu/drm/panfrost/panfrost_drv.c param->value = pfdev->features.member; \ features 42 drivers/gpu/drm/panfrost/panfrost_drv.c param->value = pfdev->features.member[param->param - \ features 306 drivers/gpu/drm/panfrost/panfrost_features.h return test_bit(feat, pfdev->features.hw_features); features 129 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.revision >= 0x2000) features 132 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.coherency_features == COHERENCY_ACE) features 146 drivers/gpu/drm/panfrost/panfrost_gpu.c u64 features; features 158 drivers/gpu/drm/panfrost/panfrost_gpu.c .features = hw_features_##_name, \ features 205 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.l2_features = gpu_read(pfdev, GPU_L2_FEATURES); features 206 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.core_features = gpu_read(pfdev, GPU_CORE_FEATURES); features 207 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.tiler_features = gpu_read(pfdev, GPU_TILER_FEATURES); features 208 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.mem_features = gpu_read(pfdev, GPU_MEM_FEATURES); features 209 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.mmu_features = gpu_read(pfdev, GPU_MMU_FEATURES); features 210 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.thread_features = gpu_read(pfdev, GPU_THREAD_FEATURES); features 211 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.max_threads = gpu_read(pfdev, GPU_THREAD_MAX_THREADS); features 212 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.thread_max_workgroup_sz = gpu_read(pfdev, GPU_THREAD_MAX_WORKGROUP_SIZE); features 213 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.thread_max_barrier_sz = gpu_read(pfdev, GPU_THREAD_MAX_BARRIER_SIZE); features 214 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.coherency_features = gpu_read(pfdev, GPU_COHERENCY_FEATURES); features 216 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.texture_features[i] = gpu_read(pfdev, GPU_TEXTURE_FEATURES(i)); features 218 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.as_present = gpu_read(pfdev, GPU_AS_PRESENT); features 220 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.js_present = gpu_read(pfdev, GPU_JS_PRESENT); features 221 drivers/gpu/drm/panfrost/panfrost_gpu.c num_js = hweight32(pfdev->features.js_present); features 223 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.js_features[i] = gpu_read(pfdev, GPU_JS_FEATURES(i)); features 225 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.shader_present = gpu_read(pfdev, GPU_SHADER_PRESENT_LO); features 226 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.shader_present |= (u64)gpu_read(pfdev, GPU_SHADER_PRESENT_HI) << 32; features 228 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.tiler_present = gpu_read(pfdev, GPU_TILER_PRESENT_LO); features 229 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.tiler_present |= (u64)gpu_read(pfdev, GPU_TILER_PRESENT_HI) << 32; features 231 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.l2_present = gpu_read(pfdev, GPU_L2_PRESENT_LO); features 232 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.l2_present |= (u64)gpu_read(pfdev, GPU_L2_PRESENT_HI) << 32; features 233 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); features 235 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.stack_present = gpu_read(pfdev, GPU_STACK_PRESENT_LO); features 236 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.stack_present |= (u64)gpu_read(pfdev, GPU_STACK_PRESENT_HI) << 32; features 238 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.thread_tls_alloc = gpu_read(pfdev, GPU_THREAD_TLS_ALLOC); features 241 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.revision = gpu_id & 0xffff; features 242 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.id = gpu_id >> 16; features 247 drivers/gpu/drm/panfrost/panfrost_gpu.c if (pfdev->features.id == 0x6956) features 248 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.id = 0x0600; features 250 drivers/gpu/drm/panfrost/panfrost_gpu.c major = (pfdev->features.revision >> 12) & 0xf; features 251 drivers/gpu/drm/panfrost/panfrost_gpu.c minor = (pfdev->features.revision >> 4) & 0xff; features 252 drivers/gpu/drm/panfrost/panfrost_gpu.c status = pfdev->features.revision & 0xf; features 253 drivers/gpu/drm/panfrost/panfrost_gpu.c rev = pfdev->features.revision; features 255 drivers/gpu/drm/panfrost/panfrost_gpu.c gpu_id = pfdev->features.id; features 264 drivers/gpu/drm/panfrost/panfrost_gpu.c hw_feat = model->features; features 280 drivers/gpu/drm/panfrost/panfrost_gpu.c bitmap_from_u64(pfdev->features.hw_features, hw_feat); features 281 drivers/gpu/drm/panfrost/panfrost_gpu.c bitmap_from_u64(pfdev->features.hw_issues, hw_issues); features 286 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.hw_features, features 287 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.hw_issues); features 290 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.l2_features, features 291 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.core_features, features 292 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.tiler_features, features 293 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.mem_features, features 294 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.mmu_features, features 295 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.as_present, features 296 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.js_present); features 299 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.shader_present, pfdev->features.l2_present); features 308 drivers/gpu/drm/panfrost/panfrost_gpu.c gpu_write(pfdev, L2_PWRON_LO, pfdev->features.l2_present); features 310 drivers/gpu/drm/panfrost/panfrost_gpu.c val, val == pfdev->features.l2_present, 100, 1000); features 312 drivers/gpu/drm/panfrost/panfrost_gpu.c gpu_write(pfdev, STACK_PWRON_LO, pfdev->features.stack_present); features 314 drivers/gpu/drm/panfrost/panfrost_gpu.c val, val == pfdev->features.stack_present, 100, 1000); features 316 drivers/gpu/drm/panfrost/panfrost_gpu.c gpu_write(pfdev, SHADER_PWRON_LO, pfdev->features.shader_present); features 318 drivers/gpu/drm/panfrost/panfrost_gpu.c val, val == pfdev->features.shader_present, 100, 1000); features 320 drivers/gpu/drm/panfrost/panfrost_gpu.c gpu_write(pfdev, TILER_PWRON_LO, pfdev->features.tiler_present); features 322 drivers/gpu/drm/panfrost/panfrost_gpu.c val, val == pfdev->features.tiler_present, 100, 1000); features 347 drivers/gpu/drm/panfrost/panfrost_gpu.c DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); features 173 drivers/gpu/drm/panfrost/panfrost_issues.h return test_bit(issue, pfdev->features.hw_issues); features 115 drivers/gpu/drm/panfrost/panfrost_job.c (job->pfdev->features.nr_core_groups == 2)) features 135 drivers/gpu/drm/panfrost/panfrost_job.c affinity = pfdev->features.shader_present; features 167 drivers/gpu/drm/panfrost/panfrost_mmu.c if (!(BIT(as) & pfdev->features.as_present)) { features 372 drivers/gpu/drm/panfrost/panfrost_mmu.c .ias = FIELD_GET(0xff, pfdev->features.mmu_features), features 373 drivers/gpu/drm/panfrost/panfrost_mmu.c .oas = FIELD_GET(0xff00, pfdev->features.mmu_features), features 285 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ncoregroups = hweight64(pfdev->features.l2_present); features 295 drivers/gpu/drm/panfrost/panfrost_perfcnt.c nl2c = ((pfdev->features.mem_features >> 8) & GENMASK(3, 0)) + 1; features 302 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ncores = fls64(pfdev->features.shader_present); features 38 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 60 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 81 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 107 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 136 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 162 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_INTERLACED features 183 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 212 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 235 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 254 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 276 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 309 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 338 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 367 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 388 drivers/gpu/drm/rcar-du/rcar_du_drv.c .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK features 61 drivers/gpu/drm/rcar-du/rcar_du_drv.h unsigned int features; features 102 drivers/gpu/drm/rcar-du/rcar_du_drv.h return rcdu->info->features & feature; features 514 drivers/gpu/drm/tiny/gm12u320.c .features = 0x0a, /* Pref timing in DTD 1 */ features 157 drivers/gpu/drm/virtio/virtgpu_drv.c static unsigned int features[] = { features 169 drivers/gpu/drm/virtio/virtgpu_drv.c .feature_table = features, features 170 drivers/gpu/drm/virtio/virtgpu_drv.c .feature_table_size = ARRAY_SIZE(features), features 407 drivers/greybus/manifest.c intf->features = desc_intf->features; features 95 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom_wac->features; features 100 drivers/hid/wacom_sys.c if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) features 215 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom->wacom_wac.features; features 237 drivers/hid/wacom_sys.c if (features->type == HID_GENERIC && features 273 drivers/hid/wacom_sys.c features->quirks |= WACOM_QUIRK_AESPEN; features 298 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom->wacom_wac.features; features 313 drivers/hid/wacom_sys.c if (!features->touch_max) { features 322 drivers/hid/wacom_sys.c if (ret == n && features->type == HID_GENERIC) { features 325 drivers/hid/wacom_sys.c } else if (ret == 2 && features->type != HID_GENERIC) { features 326 drivers/hid/wacom_sys.c features->touch_max = data[1]; features 328 drivers/hid/wacom_sys.c features->touch_max = 16; features 332 drivers/hid/wacom_sys.c features->touch_max); features 431 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom->wacom_wac.features; features 442 drivers/hid/wacom_sys.c features->device_type |= WACOM_DEVICETYPE_PEN; features 444 drivers/hid/wacom_sys.c features->device_type |= WACOM_DEVICETYPE_TOUCH; features 452 drivers/hid/wacom_sys.c features->x_max = field->logical_maximum; features 454 drivers/hid/wacom_sys.c features->x_phy = field->physical_maximum; features 455 drivers/hid/wacom_sys.c if ((features->type != BAMBOO_PT) && features 456 drivers/hid/wacom_sys.c (features->type != BAMBOO_TOUCH)) { features 457 drivers/hid/wacom_sys.c features->unit = field->unit; features 458 drivers/hid/wacom_sys.c features->unitExpo = field->unit_exponent; features 463 drivers/hid/wacom_sys.c features->y_max = field->logical_maximum; features 465 drivers/hid/wacom_sys.c features->y_phy = field->physical_maximum; features 466 drivers/hid/wacom_sys.c if ((features->type != BAMBOO_PT) && features 467 drivers/hid/wacom_sys.c (features->type != BAMBOO_TOUCH)) { features 468 drivers/hid/wacom_sys.c features->unit = field->unit; features 469 drivers/hid/wacom_sys.c features->unitExpo = field->unit_exponent; features 475 drivers/hid/wacom_sys.c features->pressure_max = field->logical_maximum; features 479 drivers/hid/wacom_sys.c if (features->type == HID_GENERIC) features 484 drivers/hid/wacom_sys.c struct wacom_features *features) features 489 drivers/hid/wacom_sys.c if (features->type == HID_GENERIC) { features 493 drivers/hid/wacom_sys.c features->device_type |= WACOM_DEVICETYPE_DIRECT; features 495 drivers/hid/wacom_sys.c features->device_type &= ~WACOM_DEVICETYPE_DIRECT; features 498 drivers/hid/wacom_sys.c if (features->touch_max > 1) { features 499 drivers/hid/wacom_sys.c if (features->device_type & WACOM_DEVICETYPE_DIRECT) features 501 drivers/hid/wacom_sys.c wacom_wac->features.touch_max, features 505 drivers/hid/wacom_sys.c wacom_wac->features.touch_max, features 512 drivers/hid/wacom_sys.c struct wacom_features *features) features 546 drivers/hid/wacom_sys.c wacom_post_parse_hid(hdev, features); features 610 drivers/hid/wacom_sys.c struct wacom_features *features) features 616 drivers/hid/wacom_sys.c switch (features->type) { features 673 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom_wac->features; features 676 drivers/hid/wacom_sys.c return wacom_bt_query_tablet_data(hdev, 1, features); features 678 drivers/hid/wacom_sys.c if (features->type != HID_GENERIC) { features 679 drivers/hid/wacom_sys.c if (features->device_type & WACOM_DEVICETYPE_TOUCH) { features 680 drivers/hid/wacom_sys.c if (features->type > TABLETPC) { features 684 drivers/hid/wacom_sys.c } else if (features->type == WACOM_24HDT) { features 687 drivers/hid/wacom_sys.c } else if (features->type == WACOM_27QHDT) { features 690 drivers/hid/wacom_sys.c } else if (features->type == BAMBOO_PAD) { features 694 drivers/hid/wacom_sys.c } else if (features->device_type & WACOM_DEVICETYPE_PEN) { features 695 drivers/hid/wacom_sys.c if (features->type <= BAMBOO_PT) { features 704 drivers/hid/wacom_sys.c if (features->type == HID_GENERIC) features 711 drivers/hid/wacom_sys.c struct wacom_features *features) features 717 drivers/hid/wacom_sys.c features->x_fuzz = 4; features 718 drivers/hid/wacom_sys.c features->y_fuzz = 4; features 719 drivers/hid/wacom_sys.c features->pressure_fuzz = 0; features 720 drivers/hid/wacom_sys.c features->distance_fuzz = 1; features 721 drivers/hid/wacom_sys.c features->tilt_fuzz = 1; features 729 drivers/hid/wacom_sys.c if (features->type == WIRELESS) { features 731 drivers/hid/wacom_sys.c features->device_type = WACOM_DEVICETYPE_WL_MONITOR; features 733 drivers/hid/wacom_sys.c features->device_type = WACOM_DEVICETYPE_NONE; features 737 drivers/hid/wacom_sys.c wacom_parse_hid(hdev, features); features 754 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom->wacom_wac.features; features 756 drivers/hid/wacom_sys.c struct wacom_features *sibling_features = &sibling_wacom->wacom_wac.features; features 757 drivers/hid/wacom_sys.c __u32 oVid = features->oVid ? features->oVid : hdev->vendor; features 758 drivers/hid/wacom_sys.c __u32 oPid = features->oPid ? features->oPid : hdev->product; features 761 drivers/hid/wacom_sys.c if (features->oVid != HID_ANY_ID && sibling->vendor != oVid) features 763 drivers/hid/wacom_sys.c if (features->oPid != HID_ANY_ID && sibling->product != oPid) features 780 drivers/hid/wacom_sys.c if (features->type != HID_GENERIC) features 787 drivers/hid/wacom_sys.c if ((features->device_type & WACOM_DEVICETYPE_DIRECT) && features 795 drivers/hid/wacom_sys.c if (!(features->device_type & WACOM_DEVICETYPE_DIRECT) && features 800 drivers/hid/wacom_sys.c if ((features->device_type & WACOM_DEVICETYPE_PEN) && features 805 drivers/hid/wacom_sys.c if ((features->device_type & WACOM_DEVICETYPE_TOUCH) && features 902 drivers/hid/wacom_sys.c if (wacom_wac->features.device_type & WACOM_DEVICETYPE_TOUCH) features 904 drivers/hid/wacom_sys.c else if (wacom_wac->features.device_type & WACOM_DEVICETYPE_PEN) features 922 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.type == REMOTE) features 929 drivers/hid/wacom_sys.c else if (wacom->wacom_wac.features.type == INTUOSP2_BT) { features 937 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.type == HID_GENERIC) { features 942 drivers/hid/wacom_sys.c } else if ((wacom->wacom_wac.features.type >= INTUOS5S && features 943 drivers/hid/wacom_sys.c wacom->wacom_wac.features.type <= INTUOSPL)) { features 963 drivers/hid/wacom_sys.c else if (wacom->wacom_wac.features.type == INTUOSP2_BT) { features 976 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.type == WACOM_21UX2 || features 977 drivers/hid/wacom_sys.c wacom->wacom_wac.features.type == WACOM_24HD) features 1551 drivers/hid/wacom_sys.c if (!(wacom->wacom_wac.features.device_type & WACOM_DEVICETYPE_PAD)) features 1555 drivers/hid/wacom_sys.c switch (wacom->wacom_wac.features.type) { features 1774 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.quirks & WACOM_QUIRK_BATTERY) features 1813 drivers/hid/wacom_sys.c wacom_bt_query_tablet_data(hdev, new_speed, &wacom->wacom_wac.features); features 1960 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.type != REMOTE) features 2022 drivers/hid/wacom_sys.c input_dev->name = wacom_wac->features.name; features 2119 drivers/hid/wacom_sys.c static void wacom_set_default_phy(struct wacom_features *features) features 2121 drivers/hid/wacom_sys.c if (features->x_resolution) { features 2122 drivers/hid/wacom_sys.c features->x_phy = (features->x_max * 100) / features 2123 drivers/hid/wacom_sys.c features->x_resolution; features 2124 drivers/hid/wacom_sys.c features->y_phy = (features->y_max * 100) / features 2125 drivers/hid/wacom_sys.c features->y_resolution; features 2129 drivers/hid/wacom_sys.c static void wacom_calculate_res(struct wacom_features *features) features 2132 drivers/hid/wacom_sys.c if (!features->unit) { features 2133 drivers/hid/wacom_sys.c features->unit = 0x11; features 2134 drivers/hid/wacom_sys.c features->unitExpo = -3; features 2137 drivers/hid/wacom_sys.c features->x_resolution = wacom_calc_hid_res(features->x_max, features 2138 drivers/hid/wacom_sys.c features->x_phy, features 2139 drivers/hid/wacom_sys.c features->unit, features 2140 drivers/hid/wacom_sys.c features->unitExpo); features 2141 drivers/hid/wacom_sys.c features->y_resolution = wacom_calc_hid_res(features->y_max, features 2142 drivers/hid/wacom_sys.c features->y_phy, features 2143 drivers/hid/wacom_sys.c features->unit, features 2144 drivers/hid/wacom_sys.c features->unitExpo); features 2151 drivers/hid/wacom_sys.c if ((wacom->wacom_wac.features.quirks & WACOM_QUIRK_BATTERY) && features 2155 drivers/hid/wacom_sys.c else if (!(wacom->wacom_wac.features.quirks & WACOM_QUIRK_BATTERY) && features 2181 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom_wac->features; features 2185 drivers/hid/wacom_sys.c if ((features->type == HID_GENERIC) && !strcmp("Wacom HID", features->name)) { features 2196 drivers/hid/wacom_sys.c features->name, wacom->hdev->product); features 2218 drivers/hid/wacom_sys.c strlcpy(name, features->name, sizeof(name)); features 2251 drivers/hid/wacom_sys.c if (wacom_wac->features.device_type & WACOM_DEVICETYPE_TOUCH) { features 2252 drivers/hid/wacom_sys.c wacom_wac->shared->type = wacom_wac->features.type; features 2272 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom_wac->features; features 2277 drivers/hid/wacom_sys.c features->pktlen = wacom_compute_pktlen(hdev); features 2278 drivers/hid/wacom_sys.c if (features->pktlen > WACOM_PKGLEN_MAX) features 2295 drivers/hid/wacom_sys.c if (features->type == BAMBOO_PAD) { features 2296 drivers/hid/wacom_sys.c if (features->pktlen == WACOM_PKGLEN_PENABLED) { features 2297 drivers/hid/wacom_sys.c features->type = HID_GENERIC; features 2298 drivers/hid/wacom_sys.c } else if ((features->pktlen != WACOM_PKGLEN_BPAD_TOUCH) && features 2299 drivers/hid/wacom_sys.c (features->pktlen != WACOM_PKGLEN_BPAD_TOUCH_USB)) { features 2306 drivers/hid/wacom_sys.c wacom_set_default_phy(features); features 2309 drivers/hid/wacom_sys.c wacom_retrieve_hid_descriptor(hdev, features); features 2312 drivers/hid/wacom_sys.c if (features->device_type == WACOM_DEVICETYPE_NONE && features 2313 drivers/hid/wacom_sys.c features->type != WIRELESS) { features 2314 drivers/hid/wacom_sys.c error = features->type == HID_GENERIC ? -ENODEV : 0; features 2323 drivers/hid/wacom_sys.c features->device_type |= WACOM_DEVICETYPE_PEN; features 2326 drivers/hid/wacom_sys.c wacom_calculate_res(features); features 2331 drivers/hid/wacom_sys.c if ((features->type == BAMBOO_PEN) && features 2332 drivers/hid/wacom_sys.c ((features->device_type & WACOM_DEVICETYPE_TOUCH) || features 2333 drivers/hid/wacom_sys.c (features->device_type & WACOM_DEVICETYPE_PAD))) { features 2342 drivers/hid/wacom_sys.c if (!(features->device_type & WACOM_DEVICETYPE_WL_MONITOR) && features 2343 drivers/hid/wacom_sys.c (features->quirks & WACOM_QUIRK_BATTERY)) { features 2353 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.device_type & WACOM_DEVICETYPE_PAD) { features 2363 drivers/hid/wacom_sys.c if (features->type == HID_GENERIC) features 2379 drivers/hid/wacom_sys.c if ((features->type == BAMBOO_TOUCH) && features 2380 drivers/hid/wacom_sys.c (features->device_type & WACOM_DEVICETYPE_PEN)) { features 2387 drivers/hid/wacom_sys.c if (features->device_type & WACOM_DEVICETYPE_WL_MONITOR) features 2452 drivers/hid/wacom_sys.c wacom_wac1->features = features 2462 drivers/hid/wacom_sys.c if (wacom_wac1->features.touch_max || features 2463 drivers/hid/wacom_sys.c (wacom_wac1->features.type >= INTUOSHT && features 2464 drivers/hid/wacom_sys.c wacom_wac1->features.type <= BAMBOO_PT)) { features 2465 drivers/hid/wacom_sys.c wacom_wac2->features = features 2702 drivers/hid/wacom_sys.c struct wacom_features *features; features 2721 drivers/hid/wacom_sys.c wacom_wac->features = *((struct wacom_features *)id->driver_data); features 2722 drivers/hid/wacom_sys.c features = &wacom_wac->features; features 2724 drivers/hid/wacom_sys.c if (features->check_for_hid_type && features->hid_type != hdev->type) features 2769 drivers/hid/wacom_sys.c struct wacom_features *features = &wacom_wac->features; features 2771 drivers/hid/wacom_sys.c if (features->device_type & WACOM_DEVICETYPE_WL_MONITOR) features 2787 drivers/hid/wacom_sys.c if (wacom->wacom_wac.features.type != REMOTE) features 134 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 172 drivers/hid/wacom_wac.c if (features->pressure_max > 255) features 174 drivers/hid/wacom_wac.c pressure += (features->pressure_max + 1) / 2; features 305 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 314 drivers/hid/wacom_wac.c if (features->type == GRAPHIRE_BT) { features 355 drivers/hid/wacom_wac.c if (features->type == GRAPHIRE_BT) features 367 drivers/hid/wacom_wac.c if (features->type == WACOM_G4 || features 368 drivers/hid/wacom_wac.c features->type == WACOM_MO) { features 371 drivers/hid/wacom_wac.c } else if (features->type == GRAPHIRE_BT) { features 400 drivers/hid/wacom_wac.c switch (features->type) { features 446 drivers/hid/wacom_wac.c if (features->type == GRAPHIRE_BT) { features 461 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 466 drivers/hid/wacom_wac.c if (features->type == INTUOSHT2) features 477 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 481 drivers/hid/wacom_wac.c int buttons = 0, nbuttons = features->numbered_buttons; features 494 drivers/hid/wacom_wac.c if (features->type >= INTUOS4S && features->type <= INTUOS4L) { features 497 drivers/hid/wacom_wac.c } else if (features->type == DTK) { features 499 drivers/hid/wacom_wac.c } else if (features->type == WACOM_13HD) { features 501 drivers/hid/wacom_wac.c } else if (features->type == WACOM_24HD) { features 520 drivers/hid/wacom_wac.c if (features->oPid) { features 528 drivers/hid/wacom_wac.c } else if (features->type == WACOM_27QHD) { features 535 drivers/hid/wacom_wac.c if (features->oPid) { features 546 drivers/hid/wacom_wac.c } else if (features->type == CINTIQ_HYBRID) { features 559 drivers/hid/wacom_wac.c } else if (features->type == CINTIQ_COMPANION_2) { features 570 drivers/hid/wacom_wac.c } else if (features->type >= INTUOS5S && features->type <= INTUOSPL) { features 581 drivers/hid/wacom_wac.c if (features->type == WACOM_21UX2 || features->type == WACOM_22HD) { features 585 drivers/hid/wacom_wac.c if (features->type == WACOM_22HD) { features 732 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 734 drivers/hid/wacom_wac.c int idx = (features->type == INTUOS) ? (data[1] & 0x01) : 0; features 759 drivers/hid/wacom_wac.c if (features->type >= INTUOS3S) features 770 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 773 drivers/hid/wacom_wac.c int idx = (features->type == INTUOS) ? (data[1] & 0x01) : 0; features 798 drivers/hid/wacom_wac.c if (features->type != INTUOSHT2) features 805 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, wacom->features.distance_max); features 839 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 842 drivers/hid/wacom_wac.c int idx = (features->type == INTUOS) ? (data[1] & 0x01) : 0; features 865 drivers/hid/wacom_wac.c (features->type == WACOM_21UX2)) || features 868 drivers/hid/wacom_wac.c (features->type == INTUOS3 || features 869 drivers/hid/wacom_wac.c features->type == INTUOS3S || features 870 drivers/hid/wacom_wac.c features->type == INTUOS4 || features 871 drivers/hid/wacom_wac.c features->type == INTUOS4S || features 872 drivers/hid/wacom_wac.c features->type == INTUOS5 || features 873 drivers/hid/wacom_wac.c features->type == INTUOS5S || features 874 drivers/hid/wacom_wac.c features->type == INTUOSPM || features 875 drivers/hid/wacom_wac.c features->type == INTUOSPS)) || features 877 drivers/hid/wacom_wac.c (features->type == CINTIQ && !(data[1] & 0x40))) features 883 drivers/hid/wacom_wac.c if (features->type < INTUOS3S) { features 888 drivers/hid/wacom_wac.c if (features->type == INTUOSHT2) features 889 drivers/hid/wacom_wac.c distance = features->distance_max - distance; features 901 drivers/hid/wacom_wac.c if (features->pressure_max < 2047) features 904 drivers/hid/wacom_wac.c if (features->type != INTUOSHT2) { features 925 drivers/hid/wacom_wac.c if (features->type >= INTUOS3S) { features 976 drivers/hid/wacom_wac.c if (features->type >= INTUOS3S && features->type <= INTUOS3L) { features 1231 drivers/hid/wacom_wac.c unsigned touch_max = wacom->features.touch_max; features 1260 drivers/hid/wacom_wac.c if (wacom->features.type == INTUOSP2_BT || features 1261 drivers/hid/wacom_wac.c wacom->features.type == INTUOSP2S_BT) { features 1313 drivers/hid/wacom_wac.c if (wacom->features.type == INTUOSP2_BT || features 1314 drivers/hid/wacom_wac.c wacom->features.type == INTUOSP2S_BT) { features 1334 drivers/hid/wacom_wac.c if (wacom->features.type == INTUOSP2_BT || features 1335 drivers/hid/wacom_wac.c wacom->features.type == INTUOSP2S_BT) { features 1337 drivers/hid/wacom_wac.c range ? frame[13] : wacom->features.distance_max); features 1340 drivers/hid/wacom_wac.c range ? frame[7] : wacom->features.distance_max); features 1430 drivers/hid/wacom_wac.c int nbuttons = wacom->features.numbered_buttons; features 1505 drivers/hid/wacom_wac.c if (wacom->features.type == INTUOSP2_BT || features 1506 drivers/hid/wacom_wac.c wacom->features.type == INTUOSP2S_BT) { features 1534 drivers/hid/wacom_wac.c if (wacom->features.type == WACOM_27QHDT) { features 1567 drivers/hid/wacom_wac.c if (wacom->features.type != WACOM_27QHDT) { features 1601 drivers/hid/wacom_wac.c if (wacom->features.type == MTTPC || wacom->features.type == MTTPC_B) features 1677 drivers/hid/wacom_wac.c if (wacom->features.touch_max > 1 || len > WACOM_PKGLEN_TPC2FG) features 1841 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 1852 drivers/hid/wacom_wac.c fmin += features->offset_left; features 1853 drivers/hid/wacom_wac.c fmax -= features->offset_right; features 1856 drivers/hid/wacom_wac.c fmin += features->offset_top; features 1857 drivers/hid/wacom_wac.c fmax -= features->offset_bottom; features 1888 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 1895 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BATTERY; features 1945 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 1947 drivers/hid/wacom_wac.c if (features->quirks & WACOM_QUIRK_BATTERY) { features 1964 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 1972 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 1977 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 1982 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 1991 drivers/hid/wacom_wac.c wacom_numbered_button_to_key(features->numbered_buttons), features 1993 drivers/hid/wacom_wac.c features->numbered_buttons++; features 1994 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2009 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2013 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2017 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2021 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2031 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2035 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2039 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2043 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2051 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2058 drivers/hid/wacom_wac.c wacom_numbered_button_to_key(features->numbered_buttons), features 2060 drivers/hid/wacom_wac.c features->numbered_buttons++; features 2061 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 2072 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 2149 drivers/hid/wacom_wac.c wacom_update_led(wacom, features->numbered_buttons, features 2195 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 2240 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_TOOLSERIAL; features 2244 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_SENSE; features 2250 drivers/hid/wacom_wac.c if (!(features->quirks & WACOM_QUIRK_AESPEN)) { features 2257 drivers/hid/wacom_wac.c if (!(features->device_type & WACOM_DEVICETYPE_DIRECT)) { features 2274 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 2292 drivers/hid/wacom_wac.c if (!(features->quirks & WACOM_QUIRK_SENSE)) features 2352 drivers/hid/wacom_wac.c if (features->offset_left && value != features->offset_left) features 2355 drivers/hid/wacom_wac.c features->offset_left); features 2356 drivers/hid/wacom_wac.c features->offset_left = value; features 2359 drivers/hid/wacom_wac.c if (features->offset_right && value != features->offset_right) features 2362 drivers/hid/wacom_wac.c features->offset_right); features 2363 drivers/hid/wacom_wac.c features->offset_right = value; features 2366 drivers/hid/wacom_wac.c if (features->offset_top && value != features->offset_top) features 2369 drivers/hid/wacom_wac.c features->offset_top); features 2370 drivers/hid/wacom_wac.c features->offset_top = value; features 2373 drivers/hid/wacom_wac.c if (features->offset_bottom && value != features->offset_bottom) features 2376 drivers/hid/wacom_wac.c features->offset_bottom); features 2377 drivers/hid/wacom_wac.c features->offset_bottom = value; features 2479 drivers/hid/wacom_wac.c unsigned touch_max = wacom_wac->features.touch_max; features 2528 drivers/hid/wacom_wac.c bool mt = wacom_wac->features.touch_max > 1; features 2575 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->wacom_wac.features; features 2603 drivers/hid/wacom_wac.c features->touch_max = value; features 2660 drivers/hid/wacom_wac.c hid_data->num_expected = wacom_wac->features.touch_max; features 2670 drivers/hid/wacom_wac.c unsigned touch_max = wacom_wac->features.touch_max; features 2694 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 2697 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_DIRECT; features 2715 drivers/hid/wacom_wac.c if (wacom->wacom_wac.features.type != HID_GENERIC) features 2794 drivers/hid/wacom_wac.c if (wacom_wac->features.type != HID_GENERIC) features 2838 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 2857 drivers/hid/wacom_wac.c if (features->quirks & WACOM_QUIRK_BBTOUCH_LOWRES) { features 2879 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 2897 drivers/hid/wacom_wac.c if (features->type >= INTUOSPS && features->type <= INTUOSHT2) { features 2923 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 2925 drivers/hid/wacom_wac.c if (features->type == INTUOSHT || features->type == INTUOSHT2) { features 2969 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 3013 drivers/hid/wacom_wac.c if (data[8] <= features->distance_max) features 3014 drivers/hid/wacom_wac.c d = features->distance_max - data[8]; features 3044 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->features; features 3046 drivers/hid/wacom_wac.c if ((features->type == INTUOSHT2) && features 3047 drivers/hid/wacom_wac.c (features->device_type & WACOM_DEVICETYPE_PEN)) features 3096 drivers/hid/wacom_wac.c for (id = 0; id < wacom->features.touch_max; id++) { features 3188 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 3194 drivers/hid/wacom_wac.c if ((features->type == INTUOSHT || features 3195 drivers/hid/wacom_wac.c features->type == INTUOSHT2) && features 3197 drivers/hid/wacom_wac.c features->touch_max) { features 3211 drivers/hid/wacom_wac.c !(features->quirks & WACOM_QUIRK_BATTERY)) { features 3212 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BATTERY; features 3216 drivers/hid/wacom_wac.c else if ((features->quirks & WACOM_QUIRK_BATTERY) && features 3218 drivers/hid/wacom_wac.c features->quirks &= ~WACOM_QUIRK_BATTERY; features 3229 drivers/hid/wacom_wac.c switch (wacom_wac->features.type) { features 3369 drivers/hid/wacom_wac.c 0, wacom_wac->features.distance_max, wacom_wac->features.distance_fuzz, 0); features 3375 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 3385 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_TILT_X, -64, 63, features->tilt_fuzz, 0); features 3387 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_TILT_Y, -64, 63, features->tilt_fuzz, 0); features 3415 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom->wacom_wac.features; features 3418 drivers/hid/wacom_wac.c if (features->type == GRAPHIRE_BT || features->type == WACOM_G4 || features 3419 drivers/hid/wacom_wac.c features->type == DTUS || features 3420 drivers/hid/wacom_wac.c (features->type >= INTUOS3S && features->type <= WACOM_MO)) { features 3421 drivers/hid/wacom_wac.c if (features->device_type & WACOM_DEVICETYPE_PEN) features 3422 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 3426 drivers/hid/wacom_wac.c if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) { features 3427 drivers/hid/wacom_wac.c features->x_max = 1023; features 3428 drivers/hid/wacom_wac.c features->y_max = 1023; features 3437 drivers/hid/wacom_wac.c if ((features->type >= INTUOS5S && features->type <= INTUOSPL) || features 3438 drivers/hid/wacom_wac.c (features->type >= INTUOSHT && features->type <= BAMBOO_PT)) { features 3439 drivers/hid/wacom_wac.c if (features->pktlen == WACOM_PKGLEN_BBTOUCH3) { features 3440 drivers/hid/wacom_wac.c if (features->touch_max) features 3441 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_TOUCH; features 3442 drivers/hid/wacom_wac.c if (features->type >= INTUOSHT && features->type <= BAMBOO_PT) features 3443 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 3445 drivers/hid/wacom_wac.c if (features->type == INTUOSHT2) { features 3446 drivers/hid/wacom_wac.c features->x_max = features->x_max / 10; features 3447 drivers/hid/wacom_wac.c features->y_max = features->y_max / 10; features 3450 drivers/hid/wacom_wac.c features->x_max = 4096; features 3451 drivers/hid/wacom_wac.c features->y_max = 4096; features 3454 drivers/hid/wacom_wac.c else if (features->pktlen == WACOM_PKGLEN_BBTOUCH) { features 3455 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 3466 drivers/hid/wacom_wac.c if (features->type == BAMBOO_PEN && features 3467 drivers/hid/wacom_wac.c features->pktlen == WACOM_PKGLEN_BBTOUCH3) features 3468 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 3477 drivers/hid/wacom_wac.c if (features->type == BAMBOO_PAD) features 3478 drivers/hid/wacom_wac.c features->device_type = WACOM_DEVICETYPE_TOUCH; features 3480 drivers/hid/wacom_wac.c if (features->type == REMOTE) features 3481 drivers/hid/wacom_wac.c features->device_type = WACOM_DEVICETYPE_PAD; features 3483 drivers/hid/wacom_wac.c if (features->type == INTUOSP2_BT || features 3484 drivers/hid/wacom_wac.c features->type == INTUOSP2S_BT) { features 3485 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PEN | features 3488 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BATTERY; features 3491 drivers/hid/wacom_wac.c if (features->type == INTUOSHT3_BT) { features 3492 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PEN | features 3494 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BATTERY; features 3497 drivers/hid/wacom_wac.c switch (features->type) { features 3520 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_DIRECT; features 3525 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BATTERY; features 3528 drivers/hid/wacom_wac.c if ((features->type == BAMBOO_PT || features->type == BAMBOO_TOUCH) && features 3529 drivers/hid/wacom_wac.c features->pktlen == WACOM_PKGLEN_BBTOUCH) { features 3530 drivers/hid/wacom_wac.c features->x_max <<= 5; features 3531 drivers/hid/wacom_wac.c features->y_max <<= 5; features 3532 drivers/hid/wacom_wac.c features->x_fuzz <<= 5; features 3533 drivers/hid/wacom_wac.c features->y_fuzz <<= 5; features 3534 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BBTOUCH_LOWRES; features 3537 drivers/hid/wacom_wac.c if (features->type == WIRELESS) { features 3538 drivers/hid/wacom_wac.c if (features->device_type == WACOM_DEVICETYPE_WL_MONITOR) { features 3539 drivers/hid/wacom_wac.c features->quirks |= WACOM_QUIRK_BATTERY; features 3543 drivers/hid/wacom_wac.c if (features->type == REMOTE) features 3544 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_WL_MONITOR; features 3550 drivers/hid/wacom_wac.c features->quirks &= ~WACOM_QUIRK_TOOLSERIAL; features 3568 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 3572 drivers/hid/wacom_wac.c if (!(features->device_type & WACOM_DEVICETYPE_PEN)) features 3575 drivers/hid/wacom_wac.c if (features->device_type & WACOM_DEVICETYPE_DIRECT) features 3580 drivers/hid/wacom_wac.c if (features->type == HID_GENERIC) { features 3589 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_X, 0 + features->offset_left, features 3590 drivers/hid/wacom_wac.c features->x_max - features->offset_right, features 3591 drivers/hid/wacom_wac.c features->x_fuzz, 0); features 3592 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_Y, 0 + features->offset_top, features 3593 drivers/hid/wacom_wac.c features->y_max - features->offset_bottom, features 3594 drivers/hid/wacom_wac.c features->y_fuzz, 0); features 3596 drivers/hid/wacom_wac.c features->pressure_max, features->pressure_fuzz, 0); features 3599 drivers/hid/wacom_wac.c input_abs_set_res(input_dev, ABS_X, features->x_resolution); features 3600 drivers/hid/wacom_wac.c input_abs_set_res(input_dev, ABS_Y, features->y_resolution); features 3602 drivers/hid/wacom_wac.c switch (features->type) { features 3610 drivers/hid/wacom_wac.c features->distance_max, features 3611 drivers/hid/wacom_wac.c features->distance_fuzz, 0); features 3667 drivers/hid/wacom_wac.c features->distance_max, features 3668 drivers/hid/wacom_wac.c features->distance_fuzz, 0); features 3712 drivers/hid/wacom_wac.c if (features->type == INTUOSHT2 || features 3713 drivers/hid/wacom_wac.c features->type == INTUOSHT3_BT) { features 3722 drivers/hid/wacom_wac.c features->distance_max, features 3723 drivers/hid/wacom_wac.c features->distance_fuzz, 0); features 3736 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 3740 drivers/hid/wacom_wac.c if (!(features->device_type & WACOM_DEVICETYPE_TOUCH)) features 3743 drivers/hid/wacom_wac.c if (features->device_type & WACOM_DEVICETYPE_DIRECT) features 3748 drivers/hid/wacom_wac.c if (features->type == HID_GENERIC) features 3754 drivers/hid/wacom_wac.c if (features->touch_max == 1) { features 3756 drivers/hid/wacom_wac.c features->x_max, features->x_fuzz, 0); features 3758 drivers/hid/wacom_wac.c features->y_max, features->y_fuzz, 0); features 3760 drivers/hid/wacom_wac.c features->x_resolution); features 3762 drivers/hid/wacom_wac.c features->y_resolution); features 3764 drivers/hid/wacom_wac.c else if (features->touch_max > 1) { features 3766 drivers/hid/wacom_wac.c features->x_max, features->x_fuzz, 0); features 3768 drivers/hid/wacom_wac.c features->y_max, features->y_fuzz, 0); features 3770 drivers/hid/wacom_wac.c features->x_resolution); features 3772 drivers/hid/wacom_wac.c features->y_resolution); features 3775 drivers/hid/wacom_wac.c switch (features->type) { features 3810 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); features 3811 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_MT_TOUCH_MINOR, 0, features->y_max, 0, 0); features 3812 drivers/hid/wacom_wac.c input_mt_init_slots(input_dev, features->touch_max, INPUT_MT_POINTER); features 3816 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); features 3817 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_MT_WIDTH_MAJOR, 0, features->x_max, 0, 0); features 3818 drivers/hid/wacom_wac.c input_set_abs_params(input_dev, ABS_MT_WIDTH_MINOR, 0, features->y_max, 0, 0); features 3835 drivers/hid/wacom_wac.c input_mt_init_slots(input_dev, features->touch_max, INPUT_MT_DIRECT); features 3850 drivers/hid/wacom_wac.c if (features->pktlen == WACOM_PKGLEN_BBTOUCH3) { features 3853 drivers/hid/wacom_wac.c 0, features->x_max, 0, 0); features 3856 drivers/hid/wacom_wac.c 0, features->y_max, 0, 0); features 3858 drivers/hid/wacom_wac.c input_mt_init_slots(input_dev, features->touch_max, INPUT_MT_POINTER); features 3862 drivers/hid/wacom_wac.c input_mt_init_slots(input_dev, features->touch_max, features 3936 drivers/hid/wacom_wac.c if (wacom->wacom_wac.features.type == WACOM_21UX2) features 3941 drivers/hid/wacom_wac.c if (wacom->wacom_wac.features.type == INTUOSP2_BT) features 3954 drivers/hid/wacom_wac.c if (wacom->wacom_wac.features.type == WACOM_24HD) features 4009 drivers/hid/wacom_wac.c struct wacom_features *features = &wacom_wac->features; features 4011 drivers/hid/wacom_wac.c if ((features->type == HID_GENERIC) && features->numbered_buttons > 0) features 4012 drivers/hid/wacom_wac.c features->device_type |= WACOM_DEVICETYPE_PAD; features 4014 drivers/hid/wacom_wac.c if (!(features->device_type & WACOM_DEVICETYPE_PAD)) features 4017 drivers/hid/wacom_wac.c if (features->type == REMOTE && input_dev == wacom_wac->pad_input) features 4036 drivers/hid/wacom_wac.c wacom_setup_numbered_buttons(input_dev, features->numbered_buttons); features 4038 drivers/hid/wacom_wac.c switch (features->type) { features 4069 drivers/hid/wacom_wac.c if (!features->oPid) features 4084 drivers/hid/wacom_wac.c if (!features->oPid) features 340 drivers/hid/wacom_wac.h struct wacom_features features; features 1058 drivers/hsi/clients/ssi_protocol.c dev->features = 0; features 272 drivers/hwmon/it87.c u32 features; features 301 drivers/hwmon/it87.c .features = FEAT_OLD_AUTOPWM, /* may need to overwrite */ features 306 drivers/hwmon/it87.c .features = FEAT_OLD_AUTOPWM | FEAT_VID, features 312 drivers/hwmon/it87.c .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID features 318 drivers/hwmon/it87.c .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID features 326 drivers/hwmon/it87.c .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID features 334 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 344 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 352 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS features 361 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 373 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 385 drivers/hwmon/it87.c .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET features 392 drivers/hwmon/it87.c .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET features 399 drivers/hwmon/it87.c .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET features 406 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 414 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 422 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS features 431 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 439 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 448 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 457 drivers/hwmon/it87.c .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS features 465 drivers/hwmon/it87.c #define has_16bit_fans(data) ((data)->features & FEAT_16BIT_FANS) features 466 drivers/hwmon/it87.c #define has_12mv_adc(data) ((data)->features & FEAT_12MV_ADC) features 467 drivers/hwmon/it87.c #define has_10_9mv_adc(data) ((data)->features & FEAT_10_9MV_ADC) features 468 drivers/hwmon/it87.c #define has_newer_autopwm(data) ((data)->features & FEAT_NEWER_AUTOPWM) features 469 drivers/hwmon/it87.c #define has_old_autopwm(data) ((data)->features & FEAT_OLD_AUTOPWM) features 470 drivers/hwmon/it87.c #define has_temp_offset(data) ((data)->features & FEAT_TEMP_OFFSET) features 471 drivers/hwmon/it87.c #define has_temp_peci(data, nr) (((data)->features & FEAT_TEMP_PECI) && \ features 474 drivers/hwmon/it87.c (((data)->features & FEAT_TEMP_OLD_PECI) && \ features 476 drivers/hwmon/it87.c #define has_fan16_config(data) ((data)->features & FEAT_FAN16_CONFIG) features 477 drivers/hwmon/it87.c #define has_five_fans(data) ((data)->features & (FEAT_FIVE_FANS | \ features 479 drivers/hwmon/it87.c #define has_vid(data) ((data)->features & FEAT_VID) features 480 drivers/hwmon/it87.c #define has_in7_internal(data) ((data)->features & FEAT_IN7_INTERNAL) features 481 drivers/hwmon/it87.c #define has_six_fans(data) ((data)->features & FEAT_SIX_FANS) features 482 drivers/hwmon/it87.c #define has_avcc3(data) ((data)->features & FEAT_AVCC3) features 483 drivers/hwmon/it87.c #define has_five_pwm(data) ((data)->features & (FEAT_FIVE_PWM \ features 485 drivers/hwmon/it87.c #define has_six_pwm(data) ((data)->features & FEAT_SIX_PWM) features 486 drivers/hwmon/it87.c #define has_pwm_freq2(data) ((data)->features & FEAT_PWM_FREQ2) features 487 drivers/hwmon/it87.c #define has_six_temp(data) ((data)->features & FEAT_SIX_TEMP) features 488 drivers/hwmon/it87.c #define has_vin3_5v(data) ((data)->features & FEAT_VIN3_5V) features 515 drivers/hwmon/it87.c u32 features; features 3059 drivers/hwmon/it87.c data->features = it87_devices[sio_data->type].features; features 3070 drivers/hwmon/it87.c data->features &= ~FEAT_OLD_AUTOPWM; features 3071 drivers/hwmon/it87.c data->features |= FEAT_FAN16_CONFIG | FEAT_16BIT_FANS; features 3076 drivers/hwmon/it87.c data->features &= ~FEAT_OLD_AUTOPWM; features 3077 drivers/hwmon/it87.c data->features |= FEAT_FAN16_CONFIG | FEAT_16BIT_FANS | features 106 drivers/hwmon/pmbus/ltc2978.c u32 features; features 113 drivers/hwmon/pmbus/ltc2978.c #define has_clear_peaks(d) ((d)->features & FEAT_CLEAR_PEAKS) features 114 drivers/hwmon/pmbus/ltc2978.c #define needs_polling(d) ((d)->features & FEAT_NEEDS_POLLING) features 684 drivers/hwmon/pmbus/ltc2978.c data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; features 699 drivers/hwmon/pmbus/ltc2978.c data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; features 714 drivers/hwmon/pmbus/ltc2978.c data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; features 725 drivers/hwmon/pmbus/ltc2978.c data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; features 254 drivers/i2c/busses/i2c-i801.c unsigned int features; features 344 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_SMBUS_PEC) { features 418 drivers/i2c/busses/i2c-i801.c if ((priv->features & FEATURE_SMBUS_PEC) && features 490 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_IRQ) { features 646 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_HOST_NOTIFY) { features 706 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_IRQ) { features 796 drivers/i2c/busses/i2c-i801.c } else if (!(priv->features & FEATURE_I2C_BLOCK_READ)) { features 816 drivers/i2c/busses/i2c-i801.c if ((priv->features & FEATURE_BLOCK_BUFFER) features 853 drivers/i2c/busses/i2c-i801.c hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) features 981 drivers/i2c/busses/i2c-i801.c ((priv->features & FEATURE_SMBUS_PEC) ? I2C_FUNC_SMBUS_PEC : 0) | features 982 drivers/i2c/busses/i2c-i801.c ((priv->features & FEATURE_BLOCK_PROC) ? features 984 drivers/i2c/busses/i2c-i801.c ((priv->features & FEATURE_I2C_BLOCK_READ) ? features 986 drivers/i2c/busses/i2c-i801.c ((priv->features & FEATURE_HOST_NOTIFY) ? features 994 drivers/i2c/busses/i2c-i801.c if (!(priv->features & FEATURE_HOST_NOTIFY)) features 1007 drivers/i2c/busses/i2c-i801.c if (!(priv->features & FEATURE_HOST_NOTIFY)) features 1295 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_IDF) features 1580 drivers/i2c/busses/i2c-i801.c if (!(priv->features & (FEATURE_TCO_SPT | FEATURE_TCO_CNL))) features 1598 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_TCO_CNL) features 1718 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_BLOCK_PROC; features 1719 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_I2C_BLOCK_READ; features 1720 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_IRQ; features 1721 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_SMBUS_PEC; features 1722 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_BLOCK_BUFFER; features 1723 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_TCO_SPT; features 1724 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_HOST_NOTIFY; features 1734 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_BLOCK_PROC; features 1735 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_I2C_BLOCK_READ; features 1736 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_IRQ; features 1737 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_SMBUS_PEC; features 1738 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_BLOCK_BUFFER; features 1739 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_TCO_CNL; features 1740 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_HOST_NOTIFY; features 1749 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_IDF; features 1752 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_BLOCK_PROC; features 1753 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_I2C_BLOCK_READ; features 1754 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_IRQ; features 1757 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_SMBUS_PEC; features 1758 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_BLOCK_BUFFER; features 1761 drivers/i2c/busses/i2c-i801.c priv->features |= FEATURE_HOST_NOTIFY; features 1771 drivers/i2c/busses/i2c-i801.c if (priv->features & disable_features & (1 << i)) features 1775 drivers/i2c/busses/i2c-i801.c priv->features &= ~disable_features; features 1819 drivers/i2c/busses/i2c-i801.c priv->features &= ~FEATURE_IRQ; features 1825 drivers/i2c/busses/i2c-i801.c if (priv->features & (FEATURE_SMBUS_PEC | FEATURE_BLOCK_BUFFER)) features 1830 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_HOST_NOTIFY) features 1837 drivers/i2c/busses/i2c-i801.c priv->features &= ~FEATURE_IRQ; features 1839 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_IRQ) { features 1851 drivers/i2c/busses/i2c-i801.c priv->features &= ~FEATURE_IRQ; features 1855 drivers/i2c/busses/i2c-i801.c if (priv->features & FEATURE_IRQ) { features 1864 drivers/i2c/busses/i2c-i801.c priv->features &= ~FEATURE_IRQ; features 1868 drivers/i2c/busses/i2c-i801.c priv->features & FEATURE_IRQ ? "PCI interrupt" : "polling"); features 831 drivers/infiniband/hw/hfi1/vnic_main.c netdev->features = NETIF_F_HIGHDMA | NETIF_F_SG; features 832 drivers/infiniband/hw/hfi1/vnic_main.c netdev->hw_features = netdev->features; features 833 drivers/infiniband/hw/hfi1/vnic_main.c netdev->vlan_features = netdev->features; features 3555 drivers/infiniband/hw/qib/qib_iba7322.c unsigned int features = DUAL_PORT_CAP; features 3566 drivers/infiniband/hw/qib/qib_iba7322.c features = PORT_SPD_CAP; features 3578 drivers/infiniband/hw/qib/qib_iba7322.c features = 0; features 3582 drivers/infiniband/hw/qib/qib_iba7322.c features = 0x24; features 3613 drivers/infiniband/hw/qib/qib_iba7322.c if (qib_singleport && (features >> PORT_SPD_CAP_SHIFT) & PORT_SPD_CAP) { features 3617 drivers/infiniband/hw/qib/qib_iba7322.c features &= PORT_SPD_CAP; features 3620 drivers/infiniband/hw/qib/qib_iba7322.c return features; features 6370 drivers/infiniband/hw/qib/qib_iba7322.c unsigned features, pidx, sbufcnt; features 6407 drivers/infiniband/hw/qib/qib_iba7322.c features = qib_7322_boardname(dd); features 6468 drivers/infiniband/hw/qib/qib_iba7322.c ppd->link_speed_supported = features & PORT_SPD_CAP; features 6469 drivers/infiniband/hw/qib/qib_iba7322.c features >>= PORT_SPD_CAP_SHIFT; features 1073 drivers/infiniband/ulp/ipoib/ipoib_cm.c if (dev->features & NETIF_F_SG) features 263 drivers/infiniband/ulp/ipoib/ipoib_ib.c if ((dev->features & NETIF_F_RXCSUM) && features 218 drivers/infiniband/ulp/ipoib/ipoib_main.c static netdev_features_t ipoib_fix_features(struct net_device *dev, netdev_features_t features) features 223 drivers/infiniband/ulp/ipoib/ipoib_main.c features &= ~(NETIF_F_IP_CSUM | NETIF_F_TSO); features 225 drivers/infiniband/ulp/ipoib/ipoib_main.c return features; features 1851 drivers/infiniband/ulp/ipoib/ipoib_main.c priv->dev->features |= priv->dev->hw_features; features 2085 drivers/infiniband/ulp/ipoib/ipoib_main.c dev->features = (NETIF_F_VLAN_CHALLENGED | features 234 drivers/infiniband/ulp/ipoib/ipoib_verbs.c dev->features |= NETIF_F_SG; features 34 drivers/input/mouse/logips2pp.c u16 features; features 276 drivers/input/mouse/logips2pp.c if (model_info->features & PS2PP_SIDE_BTN) features 279 drivers/input/mouse/logips2pp.c if (model_info->features & PS2PP_EXTRA_BTN) features 282 drivers/input/mouse/logips2pp.c if (model_info->features & PS2PP_TASK_BTN) features 285 drivers/input/mouse/logips2pp.c if (model_info->features & PS2PP_NAV_BTN) { features 290 drivers/input/mouse/logips2pp.c if (model_info->features & PS2PP_WHEEL) features 293 drivers/input/mouse/logips2pp.c if (model_info->features & PS2PP_HWHEEL) features 293 drivers/input/tablet/aiptek.c struct aiptek_features features; /* tablet's array of features */ features 961 drivers/input/tablet/aiptek.c aiptek->features.modelCode = ret & 0xff; features 966 drivers/input/tablet/aiptek.c aiptek->features.odmCode = ret; features 971 drivers/input/tablet/aiptek.c aiptek->features.firmwareCode = ret; features 1603 drivers/input/tablet/aiptek.c return snprintf(buf, PAGE_SIZE, "0x%04x\n", aiptek->features.odmCode); features 1616 drivers/input/tablet/aiptek.c return snprintf(buf, PAGE_SIZE, "0x%04x\n", aiptek->features.modelCode); features 1630 drivers/input/tablet/aiptek.c aiptek->features.firmwareCode); features 1752 drivers/input/tablet/aiptek.c usb_make_path(usbdev, aiptek->features.usbPath, features 1753 drivers/input/tablet/aiptek.c sizeof(aiptek->features.usbPath)); features 1754 drivers/input/tablet/aiptek.c strlcat(aiptek->features.usbPath, "/input0", features 1755 drivers/input/tablet/aiptek.c sizeof(aiptek->features.usbPath)); features 1761 drivers/input/tablet/aiptek.c inputdev->phys = aiptek->features.usbPath; features 56 drivers/input/tablet/hanwang.c const struct hanwang_features *features; features 112 drivers/input/tablet/hanwang.c enum hanwang_tablet_type type = hanwang->features->type; features 200 drivers/input/tablet/hanwang.c hanwang->features->pid); features 307 drivers/input/tablet/hanwang.c hanwang->features = &features_array[i]; features 340 drivers/input/tablet/hanwang.c hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len, features 359 drivers/input/tablet/hanwang.c strlcpy(hanwang->name, hanwang->features->name, sizeof(hanwang->name)); features 383 drivers/input/tablet/hanwang.c 0, hanwang->features->max_x, 4, 0); features 385 drivers/input/tablet/hanwang.c 0, hanwang->features->max_y, 4, 0); features 387 drivers/input/tablet/hanwang.c 0, hanwang->features->max_tilt_x, 0, 0); features 389 drivers/input/tablet/hanwang.c 0, hanwang->features->max_tilt_y, 0, 0); features 391 drivers/input/tablet/hanwang.c 0, hanwang->features->max_pressure, 0, 0); features 396 drivers/input/tablet/hanwang.c hanwang->data, hanwang->features->pkg_len, features 410 drivers/input/tablet/hanwang.c fail2: usb_free_coherent(dev, hanwang->features->pkg_len, features 425 drivers/input/tablet/hanwang.c hanwang->features->pkg_len, hanwang->data, features 73 drivers/input/touchscreen/s3c2410_ts.c int features; features 164 drivers/input/touchscreen/s3c2410_ts.c if (ts.features & FEAT_PEN_IRQ) { features 319 drivers/input/touchscreen/s3c2410_ts.c ts.features = platform_get_device_id(pdev)->driver_data; features 42 drivers/input/touchscreen/wacom_i2c.c struct wacom_features *features) features 76 drivers/input/touchscreen/wacom_i2c.c features->x_max = get_unaligned_le16(&data[3]); features 77 drivers/input/touchscreen/wacom_i2c.c features->y_max = get_unaligned_le16(&data[5]); features 78 drivers/input/touchscreen/wacom_i2c.c features->pressure_max = get_unaligned_le16(&data[11]); features 79 drivers/input/touchscreen/wacom_i2c.c features->fw_version = get_unaligned_le16(&data[13]); features 83 drivers/input/touchscreen/wacom_i2c.c features->x_max, features->y_max, features 84 drivers/input/touchscreen/wacom_i2c.c features->pressure_max, features->fw_version); features 153 drivers/input/touchscreen/wacom_i2c.c struct wacom_features features = { 0 }; features 161 drivers/input/touchscreen/wacom_i2c.c error = wacom_query_device(client, &features); features 178 drivers/input/touchscreen/wacom_i2c.c input->id.version = features.fw_version; features 191 drivers/input/touchscreen/wacom_i2c.c input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); features 192 drivers/input/touchscreen/wacom_i2c.c input_set_abs_params(input, ABS_Y, 0, features.y_max, 0, 0); features 194 drivers/input/touchscreen/wacom_i2c.c 0, features.pressure_max, 0, 0); features 3651 drivers/iommu/amd_iommu.c int features; features 3659 drivers/iommu/amd_iommu.c features = pci_pasid_features(pdev); features 3660 drivers/iommu/amd_iommu.c if (features & PCI_PASID_CAP_EXEC) features 3662 drivers/iommu/amd_iommu.c if (features & PCI_PASID_CAP_PRIV) features 1713 drivers/iommu/amd_iommu_init.c return sprintf(buf, "%llx\n", iommu->features); features 1715 drivers/iommu/amd_iommu_init.c static DEVICE_ATTR(features, S_IRUGO, amd_iommu_show_features, NULL); features 1761 drivers/iommu/amd_iommu_init.c iommu->features = ((u64)high << 32) | low; features 1768 drivers/iommu/amd_iommu_init.c pasmax = iommu->features & FEATURE_PASID_MASK; features 1776 drivers/iommu/amd_iommu_init.c glxval = iommu->features & FEATURE_GLXVAL_MASK; features 1858 drivers/iommu/amd_iommu_init.c iommu->features); features 1864 drivers/iommu/amd_iommu_init.c if (iommu->features & FEATURE_GAM_VAPIC) features 81 drivers/iommu/amd_iommu_proto.h return !!(iommu->features & f); features 517 drivers/iommu/amd_iommu_types.h u64 features; features 598 drivers/iommu/arm-smmu-v3.c u32 features; features 786 drivers/iommu/arm-smmu-v3.c qp->wfe = !!(smmu->features & ARM_SMMU_FEAT_SEV); features 927 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_MSI && features 928 drivers/iommu/arm-smmu-v3.c smmu->features & ARM_SMMU_FEAT_COHERENCY) { features 1267 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_MSI && features 1268 drivers/iommu/arm-smmu-v3.c smmu->features & ARM_SMMU_FEAT_COHERENCY) features 1482 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_STALL_FORCE) features 1617 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_STALLS && features 1618 drivers/iommu/arm-smmu-v3.c !(smmu->features & ARM_SMMU_FEAT_STALL_FORCE)) features 1840 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_PRI) features 1929 drivers/iommu/arm-smmu-v3.c if (!(smmu_domain->smmu->features & ARM_SMMU_FEAT_ATS)) features 2220 drivers/iommu/arm-smmu-v3.c if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S1)) features 2222 drivers/iommu/arm-smmu-v3.c if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S2)) features 2227 drivers/iommu/arm-smmu-v3.c ias = (smmu->features & ARM_SMMU_FEAT_VAX) ? 52 : 48; features 2248 drivers/iommu/arm-smmu-v3.c .coherent_walk = smmu->features & ARM_SMMU_FEAT_COHERENCY, features 2279 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) { features 2323 drivers/iommu/arm-smmu-v3.c if (!(smmu->features & ARM_SMMU_FEAT_ATS) || !dev_is_pci(master->dev) || features 2521 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) features 2570 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) { features 2839 drivers/iommu/arm-smmu-v3.c if (!(smmu->features & ARM_SMMU_FEAT_PRI)) features 2939 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) features 3031 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_PRI) features 3036 drivers/iommu/arm-smmu-v3.c if (!(smmu->features & ARM_SMMU_FEAT_MSI)) features 3100 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_PRI) { features 3146 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_PRI) features 3225 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_HYP) { features 3250 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_PRI) { features 3267 drivers/iommu/arm-smmu-v3.c if (smmu->features & ARM_SMMU_FEAT_ATS) { features 3307 drivers/iommu/arm-smmu-v3.c bool coherent = smmu->features & ARM_SMMU_FEAT_COHERENCY; features 3314 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_2_LVL_STRTAB; features 3317 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_2_LVL_CDTAB; features 3326 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_TT_LE | ARM_SMMU_FEAT_TT_BE; features 3330 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_TT_BE; features 3334 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_TT_LE; features 3344 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_PRI; features 3347 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_ATS; features 3350 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_SEV; features 3353 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_MSI; features 3356 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_HYP; features 3368 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_STALL_FORCE; features 3371 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_STALLS; features 3375 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_TRANS_S1; features 3378 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_TRANS_S2; features 3437 drivers/iommu/arm-smmu-v3.c smmu->features &= ~ARM_SMMU_FEAT_2_LVL_STRTAB; features 3455 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_VAX; features 3499 drivers/iommu/arm-smmu-v3.c smmu->ias, smmu->oas, smmu->features); features 3533 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_COHERENCY; features 3562 drivers/iommu/arm-smmu-v3.c smmu->features |= ARM_SMMU_FEAT_COHERENCY; features 322 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_COHERENT_WALK) features 351 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_COHERENT_WALK) features 377 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_COHERENT_WALK) features 567 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_VMID16) features 585 drivers/iommu/arm-smmu.c } else if (!(smmu->features & ARM_SMMU_FEAT_VMID16)) { features 667 drivers/iommu/arm-smmu.c if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S1)) features 669 drivers/iommu/arm-smmu.c if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S2)) features 680 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_FMT_AARCH32_L) features 684 drivers/iommu/arm-smmu.c (smmu->features & ARM_SMMU_FEAT_FMT_AARCH32_S) && features 688 drivers/iommu/arm-smmu.c (smmu->features & (ARM_SMMU_FEAT_FMT_AARCH64_64K | features 772 drivers/iommu/arm-smmu.c .coherent_walk = smmu->features & ARM_SMMU_FEAT_COHERENT_WALK, features 901 drivers/iommu/arm-smmu.c if (!(smmu->features & ARM_SMMU_FEAT_EXIDS) && smr->valid) features 913 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_EXIDS && smmu->smrs && features 1280 drivers/iommu/arm-smmu.c if (smmu_domain->smmu->features & ARM_SMMU_FEAT_TRANS_OPS && features 1623 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_VMID16) features 1626 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_EXIDS) features 1660 drivers/iommu/arm-smmu.c bool cttw_reg, cttw_fw = smmu->features & ARM_SMMU_FEAT_COHERENT_WALK; features 1677 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_TRANS_S1; features 1682 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_TRANS_S2; features 1687 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_TRANS_NESTED; features 1691 drivers/iommu/arm-smmu.c if (!(smmu->features & features 1699 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_TRANS_OPS; features 1719 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_EXIDS; features 1726 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_STREAM_MATCH; features 1756 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_FMT_AARCH32_L; features 1758 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_FMT_AARCH32_S; features 1797 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_VMID16; features 1811 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_FMT_AARCH64_64K; features 1816 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_FMT_AARCH64_4K; features 1818 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_FMT_AARCH64_16K; features 1820 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_FMT_AARCH64_64K; features 1824 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_FMT_AARCH32_S) features 1826 drivers/iommu/arm-smmu.c if (smmu->features & features 1829 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_FMT_AARCH64_16K) features 1831 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_FMT_AARCH64_64K) features 1842 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_TRANS_S1) features 1846 drivers/iommu/arm-smmu.c if (smmu->features & ARM_SMMU_FEAT_TRANS_S2) features 1936 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_COHERENT_WALK; features 1978 drivers/iommu/arm-smmu.c smmu->features |= ARM_SMMU_FEAT_COHERENT_WALK; features 245 drivers/iommu/arm-smmu.h u32 features; features 2499 drivers/iommu/intel-iommu.c int features = pci_pasid_features(pdev); features 2500 drivers/iommu/intel-iommu.c if (features >= 0) features 2501 drivers/iommu/intel-iommu.c info->pasid_supported = features | 1; features 60 drivers/iommu/ipmmu-vmsa.c const struct ipmmu_features *features; features 428 drivers/iommu/ipmmu-vmsa.c if (domain->mmu->features->twobit_imttbcr_sl0) features 433 drivers/iommu/ipmmu-vmsa.c if (domain->mmu->features->cache_snoop) features 444 drivers/iommu/ipmmu-vmsa.c if (domain->mmu->features->setup_imbuscr) features 1062 drivers/iommu/ipmmu-vmsa.c mmu->features = of_device_get_match_data(&pdev->dev); features 1063 drivers/iommu/ipmmu-vmsa.c memset(mmu->utlb_ctx, IPMMU_CTX_INVALID, mmu->features->num_utlbs); features 1084 drivers/iommu/ipmmu-vmsa.c if (mmu->features->use_ns_alias_offset) features 1087 drivers/iommu/ipmmu-vmsa.c mmu->num_ctx = min(IPMMU_CTX_MAX, mmu->features->number_of_contexts); features 1093 drivers/iommu/ipmmu-vmsa.c if (!mmu->features->has_cache_leaf_nodes || features 1120 drivers/iommu/ipmmu-vmsa.c if (mmu->features->reserved_context) { features 1131 drivers/iommu/ipmmu-vmsa.c if (!mmu->features->has_cache_leaf_nodes || !ipmmu_is_root(mmu)) { features 1195 drivers/iommu/ipmmu-vmsa.c for (i = 0; i < mmu->features->num_utlbs; i++) { features 1151 drivers/iommu/virtio-iommu.c static unsigned int features[] = { features 1168 drivers/iommu/virtio-iommu.c .feature_table = features, features 1169 drivers/iommu/virtio-iommu.c .feature_table_size = ARRAY_SIZE(features), features 3554 drivers/isdn/hardware/mISDN/hfcmulti.c struct dsp_features *features = features 3592 drivers/isdn/hardware/mISDN/hfcmulti.c features->hfc_id = hc->id; features 3594 drivers/isdn/hardware/mISDN/hfcmulti.c features->hfc_dtmf = 1; features 3596 drivers/isdn/hardware/mISDN/hfcmulti.c features->hfc_conf = 1; features 3597 drivers/isdn/hardware/mISDN/hfcmulti.c features->hfc_loops = 0; features 3599 drivers/isdn/hardware/mISDN/hfcmulti.c features->hfc_echocanhw = 1; features 3601 drivers/isdn/hardware/mISDN/hfcmulti.c features->pcm_id = hc->pcm; features 3602 drivers/isdn/hardware/mISDN/hfcmulti.c features->pcm_slots = hc->slots; features 3603 drivers/isdn/hardware/mISDN/hfcmulti.c features->pcm_banks = 2; features 40 drivers/isdn/hardware/mISDN/isdnhdlc.c void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) features 44 drivers/isdn/hardware/mISDN/isdnhdlc.c if (features & HDLC_56KBIT) features 46 drivers/isdn/hardware/mISDN/isdnhdlc.c if (features & HDLC_BITREVERSE) features 51 drivers/isdn/hardware/mISDN/isdnhdlc.c void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) features 54 drivers/isdn/hardware/mISDN/isdnhdlc.c if (features & HDLC_DCHANNEL) { features 63 drivers/isdn/hardware/mISDN/isdnhdlc.c if (features & HDLC_56KBIT) { features 68 drivers/isdn/hardware/mISDN/isdnhdlc.c if (features & HDLC_BITREVERSE) features 59 drivers/isdn/hardware/mISDN/isdnhdlc.h extern void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features); features 64 drivers/isdn/hardware/mISDN/isdnhdlc.h extern void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features); features 213 drivers/isdn/mISDN/dsp.h struct dsp_features features; features 414 drivers/isdn/mISDN/dsp_cmx.c if (dsp->features.pcm_banks < 1) features 463 drivers/isdn/mISDN/dsp_cmx.c if (finddsp->features.pcm_id == dsp->features.pcm_id) { features 473 drivers/isdn/mISDN/dsp_cmx.c ii = dsp->features.pcm_slots; features 514 drivers/isdn/mISDN/dsp_cmx.c same_hfc = member->dsp->features.hfc_id; features 515 drivers/isdn/mISDN/dsp_cmx.c same_pcm = member->dsp->features.pcm_id; features 629 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->features.pcm_id < 0) { features 638 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->features.pcm_id != same_pcm) { features 648 drivers/isdn/mISDN/dsp_cmx.c if (same_hfc != member->dsp->features.hfc_id) features 714 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->features.pcm_banks > 1 && features 715 drivers/isdn/mISDN/dsp_cmx.c nextm->dsp->features.pcm_banks > 1 && features 716 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.hfc_id != features 717 drivers/isdn/mISDN/dsp_cmx.c nextm->dsp->features.hfc_id) { features 754 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.pcm_id == features 755 drivers/isdn/mISDN/dsp_cmx.c dsp->features.pcm_id) { features 767 drivers/isdn/mISDN/dsp_cmx.c ii = member->dsp->features.pcm_slots; features 846 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.pcm_id == features 847 drivers/isdn/mISDN/dsp_cmx.c dsp->features.pcm_id) { features 859 drivers/isdn/mISDN/dsp_cmx.c ii = member->dsp->features.pcm_slots; features 956 drivers/isdn/mISDN/dsp_cmx.c if (!member->dsp->features.hfc_conf) features 974 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.pcm_id == features 975 drivers/isdn/mISDN/dsp_cmx.c dsp->features.pcm_id) { features 988 drivers/isdn/mISDN/dsp_cmx.c ii = member->dsp->features.pcm_slots; features 1030 drivers/isdn/mISDN/dsp_cmx.c if (dsp->features.hfc_id == same_hfc && features 1208 drivers/isdn/mISDN/dsp_cmx.c if (dsp->features.unordered) { features 1225 drivers/isdn/mISDN/dsp_cmx.c if (dsp->features.unordered) { features 1240 drivers/isdn/mISDN/dsp_cmx.c if (dsp->features.unordered) { features 1268 drivers/isdn/mISDN/dsp_cmx.c if (dsp->features.unordered) { features 652 drivers/isdn/mISDN/dsp_core.c *((u_long *)&cq.p1) = (u_long)&dsp->features; features 1085 drivers/isdn/mISDN/dsp_core.c ndsp->features.hfc_id = -1; /* current PCM id */ features 1086 drivers/isdn/mISDN/dsp_core.c ndsp->features.pcm_id = -1; /* current PCM id */ features 57 drivers/isdn/mISDN/dsp_dtmf.c if (!dsp->features.hfc_dtmf) features 507 drivers/isdn/mISDN/dsp_tones.c if (dsp->features.hfc_loops && timer_pending(&tonet->tl)) features 509 drivers/isdn/mISDN/dsp_tones.c if (dsp->features.hfc_loops) features 536 drivers/isdn/mISDN/dsp_tones.c if (dsp->features.hfc_loops) { features 1174 drivers/isdn/mISDN/l1oip_core.c struct dsp_features *features = features 1186 drivers/isdn/mISDN/l1oip_core.c features->unclocked = 1; features 1187 drivers/isdn/mISDN/l1oip_core.c features->unordered = 1; features 439 drivers/md/dm-cache-metadata.c uint32_t incompat_flags, features; features 442 drivers/md/dm-cache-metadata.c features = incompat_flags & ~DM_CACHE_FEATURE_INCOMPAT_SUPP; features 443 drivers/md/dm-cache-metadata.c if (features) { features 445 drivers/md/dm-cache-metadata.c (unsigned long)features); features 455 drivers/md/dm-cache-metadata.c features = le32_to_cpu(disk_super->compat_ro_flags) & ~DM_CACHE_FEATURE_COMPAT_RO_SUPP; features 456 drivers/md/dm-cache-metadata.c if (features) { features 458 drivers/md/dm-cache-metadata.c (unsigned long)features); features 466 drivers/md/dm-cache-target.c struct cache_features features; features 513 drivers/md/dm-cache-target.c return cache->features.io_mode == CM_IO_WRITETHROUGH; features 518 drivers/md/dm-cache-target.c return cache->features.io_mode == CM_IO_WRITEBACK; features 523 drivers/md/dm-cache-target.c return unlikely(cache->features.io_mode == CM_IO_PASSTHROUGH); features 945 drivers/md/dm-cache-target.c return cache->features.mode; features 1001 drivers/md/dm-cache-target.c cache->features.mode = new_mode; features 1879 drivers/md/dm-cache-target.c if (cache->features.discard_passdown) { features 2091 drivers/md/dm-cache-target.c struct cache_features features; features 2230 drivers/md/dm-cache-target.c struct cache_features *cf = &ca->features; features 2471 drivers/md/dm-cache-target.c bool may_format = ca->features.mode == CM_WRITE; features 2487 drivers/md/dm-cache-target.c cache->features = ca->features; features 2541 drivers/md/dm-cache-target.c ca->features.metadata_version); features 3111 drivers/md/dm-cache-target.c struct cache_features *cf = &cache->features; features 3453 drivers/md/dm-cache-target.c if (!cache->features.discard_passdown) features 3465 drivers/md/dm-cache-target.c cache->features.discard_passdown = false; features 3474 drivers/md/dm-cache-target.c if (!cache->features.discard_passdown) { features 355 drivers/md/dm-delay.c .features = DM_TARGET_PASSES_INTEGRITY, features 492 drivers/md/dm-flakey.c .features = DM_TARGET_ZONED_HM, features 4189 drivers/md/dm-integrity.c .features = DM_TARGET_SINGLETON | DM_TARGET_INTEGRITY, features 220 drivers/md/dm-linear.c .features = DM_TARGET_PASSES_INTEGRITY | DM_TARGET_ZONED_HM, features 223 drivers/md/dm-linear.c .features = DM_TARGET_PASSES_INTEGRITY, features 1997 drivers/md/dm-mpath.c .features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE | features 30 drivers/md/dm-raid1.c #define errors_handled(p) ((p)->features & DM_RAID1_HANDLE_ERRORS) features 31 drivers/md/dm-raid1.c #define keep_log(p) ((p)->features & DM_RAID1_KEEP_LOG) features 57 drivers/md/dm-raid1.c uint64_t features; features 1031 drivers/md/dm-raid1.c ms->features |= DM_RAID1_HANDLE_ERRORS; features 1033 drivers/md/dm-raid1.c ms->features |= DM_RAID1_KEEP_LOG; features 490 drivers/md/dm-stripe.c .features = DM_TARGET_PASSES_INTEGRITY, features 153 drivers/md/dm-target.c .features = DM_TARGET_WILDCARD, features 627 drivers/md/dm-thin-metadata.c uint32_t features; features 629 drivers/md/dm-thin-metadata.c features = le32_to_cpu(disk_super->incompat_flags) & ~THIN_FEATURE_INCOMPAT_SUPP; features 630 drivers/md/dm-thin-metadata.c if (features) { features 632 drivers/md/dm-thin-metadata.c (unsigned long)features); features 642 drivers/md/dm-thin-metadata.c features = le32_to_cpu(disk_super->compat_ro_flags) & ~THIN_FEATURE_COMPAT_RO_SUPP; features 643 drivers/md/dm-thin-metadata.c if (features) { features 645 drivers/md/dm-thin-metadata.c (unsigned long)features); features 4123 drivers/md/dm-thin.c .features = DM_TARGET_SINGLETON | DM_TARGET_ALWAYS_WRITEABLE | features 971 drivers/md/dm-zoned-target.c .features = DM_TARGET_SINGLETON | DM_TARGET_ZONED_HM, features 1691 drivers/media/cec/cec-adap.c log_addrs->features[0][0] = 0; features 1692 drivers/media/cec/cec-adap.c log_addrs->features[0][1] = 0; features 1729 drivers/media/cec/cec-adap.c const u8 feature_sz = ARRAY_SIZE(log_addrs->features[0]); features 1730 drivers/media/cec/cec-adap.c u8 *features = log_addrs->features[i]; features 1760 drivers/media/cec/cec-adap.c if ((features[j] & 0x80) == 0) { features 1771 drivers/media/cec/cec-adap.c memset(features + j + 1, 0, feature_sz - j - 1); features 1798 drivers/media/cec/cec-adap.c memset(log_addrs->features[i], 0, features 1799 drivers/media/cec/cec-adap.c sizeof(log_addrs->features[i])); features 1829 drivers/media/cec/cec-adap.c const u8 *features = las->features[la_idx]; features 1841 drivers/media/cec/cec-adap.c for (idx = 0; idx < ARRAY_SIZE(las->features[0]); idx++) { features 1842 drivers/media/cec/cec-adap.c msg->msg[msg->len++] = features[idx]; features 1843 drivers/media/cec/cec-adap.c if ((features[idx] & CEC_OP_FEAT_EXT) == 0) { features 901 drivers/media/platform/omap3isp/isppreview.c params->features |= bit; features 903 drivers/media/platform/omap3isp/isppreview.c params->features &= ~bit; features 943 drivers/media/platform/omap3isp/isppreview.c if (params->features & bit) { features 1070 drivers/media/platform/omap3isp/isppreview.c u32 features; features 1080 drivers/media/platform/omap3isp/isppreview.c features = (prev->params.params[0].features & active) features 1081 drivers/media/platform/omap3isp/isppreview.c | (prev->params.params[1].features & ~active); features 1083 drivers/media/platform/omap3isp/isppreview.c if (features & (OMAP3ISP_PREV_DEFECT_COR | OMAP3ISP_PREV_NF)) { features 1089 drivers/media/platform/omap3isp/isppreview.c if (features & OMAP3ISP_PREV_HRZ_MED) { features 1093 drivers/media/platform/omap3isp/isppreview.c if (features & (OMAP3ISP_PREV_CHROMA_SUPP | OMAP3ISP_PREV_LUMAENH)) features 1348 drivers/media/platform/omap3isp/isppreview.c params->features = OMAP3ISP_PREV_CFA | OMAP3ISP_PREV_DEFECT_COR features 80 drivers/media/platform/omap3isp/isppreview.h u32 features; features 62 drivers/media/platform/vsp1/vsp1.h unsigned int features; features 72 drivers/media/platform/vsp1/vsp1.h #define vsp1_feature(vsp1, f) ((vsp1)->info->features & (f)) features 652 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_CLU | VSP1_HAS_HGO features 664 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_SRU | VSP1_HAS_WPF_VFLIP, features 674 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_HGO | VSP1_HAS_LUT, features 685 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_CLU | VSP1_HAS_HGO features 697 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_CLU | VSP1_HAS_LUT features 708 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_CLU | VSP1_HAS_LUT, features 719 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_CLU | VSP1_HAS_HGO | VSP1_HAS_HGT features 730 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_WPF_VFLIP, features 739 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_CLU | VSP1_HAS_HGO features 749 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRS | VSP1_HAS_WPF_VFLIP, features 757 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRU | VSP1_HAS_WPF_VFLIP | VSP1_HAS_EXT_DL, features 767 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRS | VSP1_HAS_BRU, features 777 drivers/media/platform/vsp1/vsp1_drv.c .features = VSP1_HAS_BRS | VSP1_HAS_BRU | VSP1_HAS_EXT_DL, features 768 drivers/media/usb/pwc/pwc-if.c int features = 0; features 904 drivers/media/usb/pwc/pwc-if.c features |= FEATURE_MOTOR_PANTILT; features 1034 drivers/media/usb/pwc/pwc-if.c pdev->features = features; features 367 drivers/media/usb/pwc/pwc-v4l.c if (!(pdev->features & FEATURE_MOTOR_PANTILT)) features 229 drivers/media/usb/pwc/pwc.h int features; /* feature bits */ features 120 drivers/mfd/cros_ec_dev.c if (ec->features[0] == -1U && ec->features[1] == -1U) { features 122 drivers/mfd/cros_ec_dev.c msg = kzalloc(sizeof(*msg) + sizeof(ec->features), GFP_KERNEL); features 127 drivers/mfd/cros_ec_dev.c msg->insize = sizeof(ec->features); features 133 drivers/mfd/cros_ec_dev.c memset(ec->features, 0, sizeof(ec->features)); features 135 drivers/mfd/cros_ec_dev.c memcpy(ec->features, msg->data, sizeof(ec->features)); features 139 drivers/mfd/cros_ec_dev.c ec->features[0], ec->features[1]); features 144 drivers/mfd/cros_ec_dev.c return ec->features[feature / 32] & EC_FEATURE_MASK_0(feature); features 354 drivers/mfd/cros_ec_dev.c ec->features[0] = -1U; /* Not cached yet */ features 355 drivers/mfd/cros_ec_dev.c ec->features[1] = -1U; /* Not cached yet */ features 469 drivers/mfd/palmas.c unsigned int *features; features 474 drivers/mfd/palmas.c .features = &palmas_features, features 479 drivers/mfd/palmas.c .features = &tps659038_features, features 484 drivers/mfd/palmas.c .features = &tps659038_features, features 545 drivers/mfd/palmas.c palmas->features = *driver_data->features; features 662 drivers/mfd/twl-core.c unsigned num_consumers, unsigned long features) features 679 drivers/mfd/twl-core.c tmp->features |= features; features 682 drivers/mfd/twl-core.c drv_data.features = features; features 696 drivers/mfd/twl-core.c unsigned long features) features 698 drivers/mfd/twl-core.c return add_regulator_linked(num, pdata, NULL, 0, features); features 709 drivers/mfd/twl-core.c unsigned long features) features 793 drivers/mfd/twl-core.c features); features 799 drivers/mfd/twl-core.c features); features 805 drivers/mfd/twl-core.c features); features 854 drivers/mfd/twl-core.c features); features 859 drivers/mfd/twl-core.c features); features 864 drivers/mfd/twl-core.c features); features 869 drivers/mfd/twl-core.c features); features 874 drivers/mfd/twl-core.c features); features 879 drivers/mfd/twl-core.c features); features 883 drivers/mfd/twl-core.c child = add_regulator((features & TWL4030_VAUX2) features 886 drivers/mfd/twl-core.c pdata->vaux2, features); features 891 drivers/mfd/twl-core.c features); features 896 drivers/mfd/twl-core.c features); features 901 drivers/mfd/twl-core.c features); features 907 drivers/mfd/twl-core.c if (IS_ENABLED(CONFIG_REGULATOR_TWL4030) && !(features & TPS_SUBSET) features 910 drivers/mfd/twl-core.c features); features 915 drivers/mfd/twl-core.c features); features 920 drivers/mfd/twl-core.c features); features 925 drivers/mfd/twl-core.c features); features 930 drivers/mfd/twl-core.c features); features 935 drivers/mfd/twl-core.c features); features 941 drivers/mfd/twl-core.c !(features & (TPS_SUBSET | TWL5031))) { features 636 drivers/misc/ad525x_dpot.c unsigned int features, unsigned int rdac) features 640 drivers/misc/ad525x_dpot.c if (features & F_CMD_EEP) features 643 drivers/misc/ad525x_dpot.c if (features & F_CMD_TOL) features 646 drivers/misc/ad525x_dpot.c if (features & F_CMD_OTP) { features 661 drivers/misc/ad525x_dpot.c unsigned int features, unsigned int rdac) features 665 drivers/misc/ad525x_dpot.c if (features & F_CMD_EEP) features 668 drivers/misc/ad525x_dpot.c if (features & F_CMD_TOL) features 671 drivers/misc/ad525x_dpot.c if (features & F_CMD_OTP) { features 13 drivers/misc/ad525x_dpot.h #define DPOT_CONF(features, wipers, max_pos, uid) \ features 14 drivers/misc/ad525x_dpot.h (((features) << 18) | (((wipers) & 0xFF) << 10) | \ features 19 drivers/misc/mic/vop/vop_debugfs.c __u32 *features; features 69 drivers/misc/mic/vop/vop_debugfs.c features = (__u32 *)mic_vq_features(d); features 70 drivers/misc/mic/vop/vop_debugfs.c seq_printf(s, "Features: Host 0x%x ", features[0]); features 71 drivers/misc/mic/vop/vop_debugfs.c seq_printf(s, "Guest 0x%x\n", features[1]); features 106 drivers/misc/mic/vop/vop_main.c u64 features = 0; features 111 drivers/misc/mic/vop/vop_main.c bits = min_t(unsigned, feature_len, sizeof(vdev->features)) * 8; features 114 drivers/misc/mic/vop/vop_main.c features |= BIT_ULL(i); features 116 drivers/misc/mic/vop/vop_main.c return features; features 146 drivers/misc/mic/vop/vop_main.c sizeof(vdev->features)) * 8; features 568 drivers/misc/sgi-xp/xpnet.c xpnet_device->features = NETIF_F_HW_CSUM; features 72 drivers/mmc/host/omap.c #define mmc_omap7xx() (host->features & MMC_OMAP7XX) features 73 drivers/mmc/host/omap.c #define mmc_omap15xx() (host->features & MMC_OMAP15XX) features 74 drivers/mmc/host/omap.c #define mmc_omap16xx() (host->features & MMC_OMAP16XX) features 76 drivers/mmc/host/omap.c #define mmc_omap1() (host->features & MMC_OMAP1_MASK) features 152 drivers/mmc/host/omap.c unsigned features; features 1368 drivers/mmc/host/omap.c host->features = host->pdata->slots[0].features; features 567 drivers/mmc/host/omap_hsmmc.c if ((mmc_pdata(host)->features & HSMMC_HAS_HSPE_SUPPORT) && features 988 drivers/mmc/host/omap_hsmmc.c if (mmc_pdata(host)->features & HSMMC_HAS_UPDATED_RESET) { features 1800 drivers/mmc/host/omap_hsmmc.c pdata->features |= HSMMC_HAS_UPDATED_RESET; features 1803 drivers/mmc/host/omap_hsmmc.c pdata->features |= HSMMC_HAS_HSPE_SUPPORT; features 176 drivers/mtd/chips/cfi_cmdset_0001.c uint32_t features = 0; features 189 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<0); features 191 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<1); features 193 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<2); features 195 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<9); features 197 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<7); features 199 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<4); features 201 drivers/mtd/chips/cfi_cmdset_0001.c features |= (1<<6); features 203 drivers/mtd/chips/cfi_cmdset_0001.c extp->FeatureSupport = features; features 200 drivers/mtd/nand/raw/brcmnand/brcmnand.c u32 features; features 575 drivers/mtd/nand/raw/brcmnand/brcmnand.c ctrl->features |= BRCMNAND_HAS_PREFETCH; features 582 drivers/mtd/nand/raw/brcmnand/brcmnand.c ctrl->features |= BRCMNAND_HAS_CACHE_MODE; features 585 drivers/mtd/nand/raw/brcmnand/brcmnand.c ctrl->features |= BRCMNAND_HAS_1K_SECTORS; features 588 drivers/mtd/nand/raw/brcmnand/brcmnand.c ctrl->features |= BRCMNAND_HAS_WP; features 590 drivers/mtd/nand/raw/brcmnand/brcmnand.c ctrl->features |= BRCMNAND_HAS_WP; features 1161 drivers/mtd/nand/raw/brcmnand/brcmnand.c if ((ctrl->features & BRCMNAND_HAS_WP) && wp_on == 1) { features 2281 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (!(ctrl->features & BRCMNAND_HAS_1K_SECTORS)) { features 2325 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (ctrl->features & BRCMNAND_HAS_PREFETCH) features 2659 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (ctrl->features & BRCMNAND_HAS_WP) { features 1251 drivers/mtd/nand/raw/denali.c u32 features = ioread32(denali->reg + FEATURES); features 1268 drivers/mtd/nand/raw/denali.c denali->nbanks = 1 << FIELD_GET(FEATURES__N_BANKS, features); features 1274 drivers/mtd/nand/raw/denali.c if (features & FEATURES__DMA) features 1295 drivers/mtd/nand/raw/denali.c if (features & FEATURES__INDEX_ADDR) { features 106 drivers/mtd/nand/raw/nand_jedec.c if (le16_to_cpu(p->features) & JEDEC_FEATURE_16_BIT_BUS) features 251 drivers/mtd/nand/raw/nand_onfi.c if (le16_to_cpu(p->features) & ONFI_FEATURE_16_BIT_BUS) features 258 drivers/mtd/nand/raw/nand_onfi.c (le16_to_cpu(p->features) & ONFI_FEATURE_EXT_PARAM_PAGE)) { features 1054 drivers/net/bonding/bond_main.c netdev_features_t features) features 1061 drivers/net/bonding/bond_main.c mask = features; features 1063 drivers/net/bonding/bond_main.c features &= ~NETIF_F_ONE_FOR_ALL; features 1064 drivers/net/bonding/bond_main.c features |= NETIF_F_ALL_FOR_ALL; features 1067 drivers/net/bonding/bond_main.c features = netdev_increment_features(features, features 1068 drivers/net/bonding/bond_main.c slave->dev->features, features 1071 drivers/net/bonding/bond_main.c features = netdev_add_tso_features(features, mask); features 1073 drivers/net/bonding/bond_main.c return features; features 1407 drivers/net/bonding/bond_main.c if (slave_dev->features & NETIF_F_VLAN_CHALLENGED) { features 1714 drivers/net/bonding/bond_main.c if (!(bond_dev->features & NETIF_F_LRO)) features 1877 drivers/net/bonding/bond_main.c netdev_features_t old_features = bond_dev->features; features 1970 drivers/net/bonding/bond_main.c if (!(bond_dev->features & NETIF_F_VLAN_CHALLENGED) && features 4359 drivers/net/bonding/bond_main.c bond_dev->features |= NETIF_F_LLTX; features 4369 drivers/net/bonding/bond_main.c bond_dev->features |= NETIF_F_NETNS_LOCAL; features 4376 drivers/net/bonding/bond_main.c bond_dev->features |= bond_dev->hw_features; features 4377 drivers/net/bonding/bond_main.c bond_dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; features 1114 drivers/net/caif/caif_hsi.c dev->features = 0; features 414 drivers/net/caif/caif_serial.c dev->features = 0; features 709 drivers/net/caif/caif_spi.c dev->features = 0; features 771 drivers/net/caif/caif_virtio.c static unsigned int features[] = { features 775 drivers/net/caif/caif_virtio.c .feature_table = features, features 776 drivers/net/caif/caif_virtio.c .feature_table_size = ARRAY_SIZE(features), features 636 drivers/net/can/dev.c dev->features = NETIF_F_HW_CSUM; features 456 drivers/net/can/slcan.c dev->features = NETIF_F_HW_CSUM; features 108 drivers/net/can/usb/esd_usb2.c u8 features; features 303 drivers/net/dsa/microchip/ksz9477.c if (dev->features & IS_9893) features 368 drivers/net/dsa/microchip/ksz9477.c if (!(dev->features & GBIT_SUPPORT) && reg == MII_CTRL1000) features 988 drivers/net/dsa/microchip/ksz9477.c if (!(dev->features & GBIT_SUPPORT)) features 997 drivers/net/dsa/microchip/ksz9477.c if (dev->features & NEW_XMII) features 1006 drivers/net/dsa/microchip/ksz9477.c if (dev->features & NEW_XMII) { features 1023 drivers/net/dsa/microchip/ksz9477.c if (dev->features & NEW_XMII) { features 1059 drivers/net/dsa/microchip/ksz9477.c if (dev->features & NEW_XMII) { features 1167 drivers/net/dsa/microchip/ksz9477.c if (dev->features & GBIT_SUPPORT) features 1461 drivers/net/dsa/microchip/ksz9477.c dev->features = GBIT_SUPPORT; features 1467 drivers/net/dsa/microchip/ksz9477.c dev->features |= IS_9893; features 1471 drivers/net/dsa/microchip/ksz9477.c dev->features &= ~GBIT_SUPPORT; features 1476 drivers/net/dsa/microchip/ksz9477.c dev->features |= NEW_XMII; features 1480 drivers/net/dsa/microchip/ksz9477.c dev->features &= ~GBIT_SUPPORT; features 94 drivers/net/dsa/microchip/ksz_common.h u32 features; /* chip specific features */ features 1752 drivers/net/dsa/sja1105/sja1105_main.c slave->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; features 154 drivers/net/dummy.c dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST; features 155 drivers/net/dummy.c dev->features |= NETIF_F_ALL_TSO; features 156 drivers/net/dummy.c dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX; features 157 drivers/net/dummy.c dev->features |= NETIF_F_GSO_ENCAP_ALL; features 158 drivers/net/dummy.c dev->hw_features |= dev->features; features 159 drivers/net/dummy.c dev->hw_enc_features |= dev->features; features 1449 drivers/net/ethernet/3com/3c59x.c dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; features 1457 drivers/net/ethernet/3com/3c59x.c (dev->features & NETIF_F_SG) ? "en":"dis", features 1458 drivers/net/ethernet/3com/3c59x.c (dev->features & NETIF_F_IP_CSUM) ? "en":"dis"); features 2454 drivers/net/ethernet/3com/typhoon.c dev->features = dev->hw_features | features 702 drivers/net/ethernet/adaptec/starfire.c dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; features 706 drivers/net/ethernet/adaptec/starfire.c dev->features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_FILTER; features 709 drivers/net/ethernet/adaptec/starfire.c dev->features |= NETIF_F_HIGHDMA; features 917 drivers/net/ethernet/aeroflex/greth.c if (dev->features & NETIF_F_RXCSUM && hw_checksummed(status)) features 1490 drivers/net/ethernet/aeroflex/greth.c dev->features = dev->hw_features | NETIF_F_HIGHDMA; features 1784 drivers/net/ethernet/alacritech/slicoss.c dev->features |= dev->hw_features; features 471 drivers/net/ethernet/alteon/acenic.c dev->features |= NETIF_F_SG | NETIF_F_IP_CSUM; features 472 drivers/net/ethernet/alteon/acenic.c dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; features 592 drivers/net/ethernet/alteon/acenic.c dev->features |= NETIF_F_HIGHDMA; features 357 drivers/net/ethernet/altera/altera_tse_main.c if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 1556 drivers/net/ethernet/altera/altera_tse_main.c ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; features 1562 drivers/net/ethernet/altera/altera_tse_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; features 962 drivers/net/ethernet/amazon/ena/ena_netdev.c if (unlikely(!(rx_ring->netdev->features & NETIF_F_RXCSUM))) { features 1024 drivers/net/ethernet/amazon/ena/ena_netdev.c if (likely(rx_ring->netdev->features & NETIF_F_RXHASH)) { features 3106 drivers/net/ethernet/amazon/ena/ena_netdev.c netdev->features & GENMASK_ULL(31, 0); features 3108 drivers/net/ethernet/amazon/ena/ena_netdev.c (netdev->features & GENMASK_ULL(63, 32)) >> 32; features 3263 drivers/net/ethernet/amazon/ena/ena_netdev.c netdev->features = features 3269 drivers/net/ethernet/amazon/ena/ena_netdev.c netdev->hw_features |= netdev->features; features 3270 drivers/net/ethernet/amazon/ena/ena_netdev.c netdev->vlan_features |= netdev->features; features 1805 drivers/net/ethernet/amd/amd8111e.c dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX ; features 1844 drivers/net/ethernet/amd/amd8111e.c dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; features 244 drivers/net/ethernet/amd/ni65.c int features; features 477 drivers/net/ethernet/amd/ni65.c p->features = INIT_RING_BEFORE_START; features 481 drivers/net/ethernet/amd/ni65.c p->features = 0x0; features 728 drivers/net/ethernet/amd/ni65.c if(p->features & INIT_RING_BEFORE_START) { features 1008 drivers/net/ethernet/amd/ni65.c if(p->features & INIT_RING_BEFORE_START) { features 452 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->netdev->features & NETIF_F_RXHASH) features 951 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER) features 1993 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (netdev->features & NETIF_F_RXCSUM) { features 2024 drivers/net/ethernet/amd/xgbe/xgbe-dev.c (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) { features 2826 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->netdev->features & NETIF_F_RXCSUM) features 2841 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER) features 2846 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 926 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev->features &= ~(NETIF_F_GSO_UDP_TUNNEL | features 968 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev->features |= pdata->vxlan_features; features 2271 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev_features_t features) features 2279 drivers/net/ethernet/amd/xgbe/xgbe-drv.c pdata->vxlan_features = features & vxlan_mask; features 2283 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return features; features 2290 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return features & ~vxlan_mask; features 2293 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & NETIF_F_GSO_UDP_TUNNEL_CSUM) && features 2294 drivers/net/ethernet/amd/xgbe/xgbe-drv.c !(features & NETIF_F_GSO_UDP_TUNNEL)) { features 2297 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features |= NETIF_F_GSO_UDP_TUNNEL; features 2301 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & vxlan_base) != vxlan_base) { features 2304 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features |= vxlan_base; features 2307 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) { features 2308 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (!(features & NETIF_F_GSO_UDP_TUNNEL_CSUM)) { features 2311 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features |= NETIF_F_GSO_UDP_TUNNEL_CSUM; features 2314 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (features & NETIF_F_GSO_UDP_TUNNEL_CSUM) { features 2317 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features &= ~NETIF_F_GSO_UDP_TUNNEL_CSUM; features 2321 drivers/net/ethernet/amd/xgbe/xgbe-drv.c pdata->vxlan_features = features & vxlan_mask; features 2327 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features &= ~vxlan_mask; features 2330 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return features; features 2334 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev_features_t features) features 2348 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & NETIF_F_RXHASH) && !rxhash) features 2350 drivers/net/ethernet/amd/xgbe/xgbe-drv.c else if (!(features & NETIF_F_RXHASH) && rxhash) features 2355 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & NETIF_F_RXCSUM) && !rxcsum) features 2357 drivers/net/ethernet/amd/xgbe/xgbe-drv.c else if (!(features & NETIF_F_RXCSUM) && rxcsum) features 2360 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & NETIF_F_HW_VLAN_CTAG_RX) && !rxvlan) features 2362 drivers/net/ethernet/amd/xgbe/xgbe-drv.c else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && rxvlan) features 2365 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & NETIF_F_HW_VLAN_CTAG_FILTER) && !rxvlan_filter) features 2367 drivers/net/ethernet/amd/xgbe/xgbe-drv.c else if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER) && rxvlan_filter) features 2370 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((features & NETIF_F_GSO_UDP_TUNNEL) && !udp_tunnel) features 2372 drivers/net/ethernet/amd/xgbe/xgbe-drv.c else if (!(features & NETIF_F_GSO_UDP_TUNNEL) && udp_tunnel) features 2375 drivers/net/ethernet/amd/xgbe/xgbe-drv.c pdata->netdev_features = features; features 2479 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev_features_t features) features 2481 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features = vlan_features_check(skb, features); features 2482 drivers/net/ethernet/amd/xgbe/xgbe-drv.c features = vxlan_features_check(skb, features); features 2484 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return features; features 2801 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (!(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 389 drivers/net/ethernet/amd/xgbe/xgbe-main.c netdev->features |= netdev->hw_features; features 390 drivers/net/ethernet/amd/xgbe/xgbe-main.c pdata->netdev_features = netdev->features; features 651 drivers/net/ethernet/apm/xgene-v2/main.c ndev->features |= NETIF_F_GSO | features 658 drivers/net/ethernet/apm/xgene-v2/main.c ndev->hw_features = ndev->features; features 323 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (unlikely(!(skb->dev->features & NETIF_F_IP_CSUM))) features 334 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (ndev->features & NETIF_F_TSO) { features 593 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (!(ndev->features & NETIF_F_RXCSUM)) features 2035 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ndev->features |= NETIF_F_IP_CSUM | features 2066 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ndev->features |= NETIF_F_TSO | NETIF_F_RXCSUM; features 2069 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ndev->hw_features = ndev->features; features 160 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if ((aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) && features 232 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (!(aq_nic->ndev->features & NETIF_F_NTUPLE)) { features 831 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) { features 846 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) { features 113 drivers/net/ethernet/aquantia/atlantic/aq_main.c netdev_features_t features) features 115 drivers/net/ethernet/aquantia/atlantic/aq_main.c bool is_vlan_rx_strip = !!(features & NETIF_F_HW_VLAN_CTAG_RX); features 116 drivers/net/ethernet/aquantia/atlantic/aq_main.c bool is_vlan_tx_insert = !!(features & NETIF_F_HW_VLAN_CTAG_TX); features 125 drivers/net/ethernet/aquantia/atlantic/aq_main.c if (!(features & NETIF_F_NTUPLE)) { features 126 drivers/net/ethernet/aquantia/atlantic/aq_main.c if (aq_nic->ndev->features & NETIF_F_NTUPLE) { features 132 drivers/net/ethernet/aquantia/atlantic/aq_main.c if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER)) { features 133 drivers/net/ethernet/aquantia/atlantic/aq_main.c if (aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) { features 140 drivers/net/ethernet/aquantia/atlantic/aq_main.c aq_cfg->features = features; features 143 drivers/net/ethernet/aquantia/atlantic/aq_main.c is_lro = features & NETIF_F_LRO; features 151 drivers/net/ethernet/aquantia/atlantic/aq_main.c if ((aq_nic->ndev->features ^ features) & NETIF_F_RXCSUM) { features 128 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->features = cfg->aq_hw_caps->hw_features; features 129 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->is_vlan_rx_strip = !!(cfg->features & NETIF_F_HW_VLAN_CTAG_RX); features 130 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->is_vlan_tx_insert = !!(cfg->features & NETIF_F_HW_VLAN_CTAG_TX); features 289 drivers/net/ethernet/aquantia/atlantic/aq_nic.c self->ndev->features = aq_hw_caps->hw_features; features 23 drivers/net/ethernet/aquantia/atlantic/aq_nic.h u64 features; features 264 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (!(self->aq_nic->ndev->features & NETIF_F_RXCSUM)) features 242 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c hw_atl_rpo_ipv4header_crc_offload_en_set(self, !!(aq_nic_cfg->features & features 244 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c hw_atl_rpo_tcp_udp_crc_offload_en_set(self, !!(aq_nic_cfg->features & features 264 drivers/net/ethernet/atheros/alx/main.c if (alx->dev->features & NETIF_F_RXCSUM && features 1100 drivers/net/ethernet/atheros/alx/main.c netdev_features_t features) features 1103 drivers/net/ethernet/atheros/alx/main.c features &= ~(NETIF_F_TSO | NETIF_F_TSO6); features 1105 drivers/net/ethernet/atheros/alx/main.c return features; features 404 drivers/net/ethernet/atheros/atl1c/atl1c_main.c static void __atl1c_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) features 406 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) { features 416 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netdev_features_t features) features 427 drivers/net/ethernet/atheros/atl1c/atl1c_main.c __atl1c_vlan_mode(features, &mac_ctrl_data); features 438 drivers/net/ethernet/atheros/atl1c/atl1c_main.c atl1c_vlan_mode(adapter->netdev, adapter->netdev->features); features 482 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netdev_features_t features) features 488 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 489 drivers/net/ethernet/atheros/atl1c/atl1c_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 491 drivers/net/ethernet/atheros/atl1c/atl1c_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 494 drivers/net/ethernet/atheros/atl1c/atl1c_main.c features &= ~(NETIF_F_TSO | NETIF_F_TSO6); features 496 drivers/net/ethernet/atheros/atl1c/atl1c_main.c return features; features 500 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netdev_features_t features) features 502 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netdev_features_t changed = netdev->features ^ features; features 505 drivers/net/ethernet/atheros/atl1c/atl1c_main.c atl1c_vlan_mode(netdev, features); features 2515 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netdev->features = netdev->hw_features | features 304 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static void __atl1e_rx_mode(netdev_features_t features, u32 *mac_ctrl_data) features 307 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (features & NETIF_F_RXALL) { features 317 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netdev_features_t features) features 326 drivers/net/ethernet/atheros/atl1e/atl1e_main.c __atl1e_rx_mode(features, &mac_ctrl_data); features 332 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static void __atl1e_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) features 334 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) { features 344 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netdev_features_t features) features 353 drivers/net/ethernet/atheros/atl1e/atl1e_main.c __atl1e_vlan_mode(features, &mac_ctrl_data); features 361 drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_vlan_mode(adapter->netdev, adapter->netdev->features); features 391 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netdev_features_t features) features 397 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 398 drivers/net/ethernet/atheros/atl1e/atl1e_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 400 drivers/net/ethernet/atheros/atl1e/atl1e_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 402 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return features; features 406 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netdev_features_t features) features 408 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netdev_features_t changed = netdev->features ^ features; features 411 drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_vlan_mode(netdev, features); features 414 drivers/net/ethernet/atheros/atl1e/atl1e_main.c atl1e_rx_mode(netdev, features); features 1065 drivers/net/ethernet/atheros/atl1e/atl1e_main.c __atl1e_vlan_mode(netdev->features, &value); features 1072 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (netdev->features & NETIF_F_RXALL) features 1430 drivers/net/ethernet/atheros/atl1e/atl1e_main.c !(netdev->features & NETIF_F_RXALL)) { features 1444 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (likely(!(netdev->features & NETIF_F_RXFCS))) features 2138 drivers/net/ethernet/atheros/atl1e/atl1e_main.c __atl1e_vlan_mode(netdev->features, &mac_ctrl_data); features 2266 drivers/net/ethernet/atheros/atl1e/atl1e_main.c netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_CTAG_TX; features 1265 drivers/net/ethernet/atheros/atlx/atl1.c __atlx_vlan_mode(netdev->features, &value); features 2802 drivers/net/ethernet/atheros/atlx/atl1.c __atlx_vlan_mode(netdev->features, &ctrl); features 2993 drivers/net/ethernet/atheros/atlx/atl1.c netdev->features = NETIF_F_HW_CSUM; features 2994 drivers/net/ethernet/atheros/atlx/atl1.c netdev->features |= NETIF_F_SG; features 2995 drivers/net/ethernet/atheros/atlx/atl1.c netdev->features |= (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX); features 3001 drivers/net/ethernet/atheros/atlx/atl1.c netdev->features |= NETIF_F_RXCSUM; features 349 drivers/net/ethernet/atheros/atlx/atl2.c static void __atl2_vlan_mode(netdev_features_t features, u32 *ctrl) features 351 drivers/net/ethernet/atheros/atlx/atl2.c if (features & NETIF_F_HW_VLAN_CTAG_RX) { features 361 drivers/net/ethernet/atheros/atlx/atl2.c netdev_features_t features) features 369 drivers/net/ethernet/atheros/atlx/atl2.c __atl2_vlan_mode(features, &ctrl); features 377 drivers/net/ethernet/atheros/atlx/atl2.c atl2_vlan_mode(adapter->netdev, adapter->netdev->features); features 381 drivers/net/ethernet/atheros/atlx/atl2.c netdev_features_t features) features 387 drivers/net/ethernet/atheros/atlx/atl2.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 388 drivers/net/ethernet/atheros/atlx/atl2.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 390 drivers/net/ethernet/atheros/atlx/atl2.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 392 drivers/net/ethernet/atheros/atlx/atl2.c return features; features 396 drivers/net/ethernet/atheros/atlx/atl2.c netdev_features_t features) features 398 drivers/net/ethernet/atheros/atlx/atl2.c netdev_features_t changed = netdev->features ^ features; features 401 drivers/net/ethernet/atheros/atlx/atl2.c atl2_vlan_mode(netdev, features); features 1134 drivers/net/ethernet/atheros/atlx/atl2.c __atl2_vlan_mode(netdev->features, &value); features 1398 drivers/net/ethernet/atheros/atlx/atl2.c netdev->features |= (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX); features 208 drivers/net/ethernet/atheros/atlx/atlx.c static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) features 210 drivers/net/ethernet/atheros/atlx/atlx.c if (features & NETIF_F_HW_VLAN_CTAG_RX) { features 220 drivers/net/ethernet/atheros/atlx/atlx.c netdev_features_t features) features 229 drivers/net/ethernet/atheros/atlx/atlx.c __atlx_vlan_mode(features, &ctrl); features 237 drivers/net/ethernet/atheros/atlx/atlx.c atlx_vlan_mode(adapter->netdev, adapter->netdev->features); features 241 drivers/net/ethernet/atheros/atlx/atlx.c netdev_features_t features) features 247 drivers/net/ethernet/atheros/atlx/atlx.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 248 drivers/net/ethernet/atheros/atlx/atlx.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 250 drivers/net/ethernet/atheros/atlx/atlx.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 252 drivers/net/ethernet/atheros/atlx/atlx.c return features; features 256 drivers/net/ethernet/atheros/atlx/atlx.c netdev_features_t features) features 258 drivers/net/ethernet/atheros/atlx/atlx.c netdev_features_t changed = netdev->features ^ features; features 261 drivers/net/ethernet/atheros/atlx/atlx.c atlx_vlan_mode(netdev, features); features 2364 drivers/net/ethernet/broadcom/b44.c dev->features |= 0; features 173 drivers/net/ethernet/broadcom/bcmsysport.c netdev_features_t features) features 184 drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_set_rx_csum(dev, features); features 185 drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_set_tx_csum(dev, features); features 1937 drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_set_features(dev, dev->features); features 2517 drivers/net/ethernet/broadcom/bcmsysport.c dev->features |= NETIF_F_RXCSUM | NETIF_F_HIGHDMA | features 2519 drivers/net/ethernet/broadcom/bcmsysport.c dev->hw_features |= dev->features; features 2520 drivers/net/ethernet/broadcom/bcmsysport.c dev->vlan_features |= dev->features; features 2770 drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_set_features(dev, dev->features); features 1537 drivers/net/ethernet/broadcom/bgmac.c net_dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; features 1538 drivers/net/ethernet/broadcom/bgmac.c net_dev->hw_features = net_dev->features; features 1539 drivers/net/ethernet/broadcom/bgmac.c net_dev->vlan_features = net_dev->features; features 3267 drivers/net/ethernet/broadcom/bnx2.c if ((bp->dev->features & NETIF_F_RXCSUM) && features 3275 drivers/net/ethernet/broadcom/bnx2.c if ((bp->dev->features & NETIF_F_RXHASH) && features 3595 drivers/net/ethernet/broadcom/bnx2.c if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 7749 drivers/net/ethernet/broadcom/bnx2.c bnx2_set_features(struct net_device *dev, netdev_features_t features) features 7754 drivers/net/ethernet/broadcom/bnx2.c if (features & NETIF_F_HW_VLAN_CTAG_TX) features 7759 drivers/net/ethernet/broadcom/bnx2.c if ((!!(features & NETIF_F_HW_VLAN_CTAG_RX) != features 7763 drivers/net/ethernet/broadcom/bnx2.c dev->features = features; features 8230 drivers/net/ethernet/broadcom/bnx2.c dev->features |= NETIF_F_HIGHDMA; features 8611 drivers/net/ethernet/broadcom/bnx2.c dev->features |= dev->hw_features; features 415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if ((bp->dev->features & NETIF_F_RXHASH) && features 1075 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->dev->features & NETIF_F_RXCSUM) features 2491 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->dev->features & NETIF_F_LRO) features 2493 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c else if (bp->dev->features & NETIF_F_GRO_HW) features 4890 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c dev->features &= ~NETIF_F_GRO_HW; features 4899 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c netdev_features_t features) features 4904 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c netdev_features_t changed = dev->features ^ features; features 4909 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!(features & NETIF_F_RXCSUM) && !bp->disable_tpa) { features 4910 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features &= ~NETIF_F_RXCSUM; features 4911 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features |= dev->features & NETIF_F_RXCSUM; features 4915 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features &= ~NETIF_F_LOOPBACK; features 4916 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features |= dev->features & NETIF_F_LOOPBACK; features 4921 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!(features & NETIF_F_RXCSUM)) features 4922 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features &= ~NETIF_F_LRO; features 4924 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!(features & NETIF_F_GRO) || !bnx2x_mtu_allows_gro(dev->mtu)) features 4925 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features &= ~NETIF_F_GRO_HW; features 4926 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (features & NETIF_F_GRO_HW) features 4927 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c features &= ~NETIF_F_LRO; features 4929 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c return features; features 4932 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int bnx2x_set_features(struct net_device *dev, netdev_features_t features) features 4935 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c netdev_features_t changes = features ^ dev->features; features 4941 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (features & NETIF_F_LOOPBACK) { features 4962 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c dev->features = features; features 612 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h netdev_features_t features); features 613 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h int bnx2x_set_features(struct net_device *dev, netdev_features_t features); features 127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c struct dcbx_features *features, features 135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c "local_mib.features.ets.enabled %x\n", features->ets.enabled); features 139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c DCBX_PG_BW_GET(features->ets.pg_bw_tbl, i)); features 143 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c DCBX_PRI_PG_GET(features->ets.pri_pg_tbl, i)); features 147 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c features->pfc.pri_en_bitmap); features 149 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c features->pfc.pfc_caps); features 151 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c features->pfc.enabled); features 154 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c features->app.default_pri); features 156 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c features->app.tc_supported); features 158 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c features->app.enabled); features 162 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c i, features->app.app_pri_tbl[i].app_id); features 165 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c i, features->app.app_pri_tbl[i].pri_bitmap); features 168 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c i, features->app.app_pri_tbl[i].appBitfield); features 374 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c struct dcbx_features *features, features 377 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_dcbx_get_ap_feature(bp, &features->app, error); features 379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_dcbx_get_pfc_feature(bp, &features->pfc, error); features 381 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bnx2x_dcbx_get_ets_feature(bp, &features->ets, error); features 647 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bp->dcbx_remote_feat = remote_mib.features; features 675 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c bp->dcbx_local_feat = local_mib.features; features 835 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c struct dcbx_features *af = &admin_mib.features; features 1949 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h struct dcbx_features features; features 1967 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h struct dcbx_features features; features 1985 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h struct dcbx_features features; features 3386 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (bp->dev->features & NETIF_F_RXCSUM) features 3388 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (bp->dev->features & NETIF_F_TSO) features 12466 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); features 12972 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c netdev_features_t features) features 12990 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c features &= ~NETIF_F_GSO_MASK; features 12992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c features = vlan_features_check(skb, features); features 12993 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return vxlan_features_check(skb, features); features 13365 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev->features |= dev->hw_features | NETIF_F_HW_VLAN_CTAG_RX; features 13366 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev->features |= NETIF_F_HIGHDMA; features 13367 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (dev->features & NETIF_F_LRO) features 13368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev->features &= ~NETIF_F_GRO_HW; features 14075 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 1619 drivers/net/ethernet/broadcom/bnxt/bnxt.c (skb->dev->features & NETIF_F_HW_VLAN_CTAG_RX)) { features 1837 drivers/net/ethernet/broadcom/bnxt/bnxt.c (skb->dev->features & NETIF_F_HW_VLAN_CTAG_RX)) { features 1847 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (dev->features & NETIF_F_RXCSUM) { features 1853 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (dev->features & NETIF_F_RXCSUM) features 3415 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->dev->features & NETIF_F_LRO) features 3417 drivers/net/ethernet/broadcom/bnxt/bnxt.c else if (bp->dev->features & NETIF_F_GRO_HW) features 5992 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->dev->features &= ~NETIF_F_LRO; features 9755 drivers/net/ethernet/broadcom/bnxt/bnxt.c netdev_features_t features) features 9760 drivers/net/ethernet/broadcom/bnxt/bnxt.c if ((features & NETIF_F_NTUPLE) && !bnxt_rfs_capable(bp)) features 9761 drivers/net/ethernet/broadcom/bnxt/bnxt.c features &= ~NETIF_F_NTUPLE; features 9764 drivers/net/ethernet/broadcom/bnxt/bnxt.c features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); features 9766 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!(features & NETIF_F_GRO)) features 9767 drivers/net/ethernet/broadcom/bnxt/bnxt.c features &= ~NETIF_F_GRO_HW; features 9769 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (features & NETIF_F_GRO_HW) features 9770 drivers/net/ethernet/broadcom/bnxt/bnxt.c features &= ~NETIF_F_LRO; features 9775 drivers/net/ethernet/broadcom/bnxt/bnxt.c vlan_features = features & (NETIF_F_HW_VLAN_CTAG_RX | features 9779 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (dev->features & NETIF_F_HW_VLAN_CTAG_RX) features 9780 drivers/net/ethernet/broadcom/bnxt/bnxt.c features &= ~(NETIF_F_HW_VLAN_CTAG_RX | features 9783 drivers/net/ethernet/broadcom/bnxt/bnxt.c features |= NETIF_F_HW_VLAN_CTAG_RX | features 9789 drivers/net/ethernet/broadcom/bnxt/bnxt.c features &= ~(NETIF_F_HW_VLAN_CTAG_RX | features 9794 drivers/net/ethernet/broadcom/bnxt/bnxt.c return features; features 9797 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_set_features(struct net_device *dev, netdev_features_t features) features 9807 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (features & NETIF_F_GRO_HW) features 9809 drivers/net/ethernet/broadcom/bnxt/bnxt.c else if (features & NETIF_F_LRO) features 9815 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 9818 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (features & NETIF_F_NTUPLE) features 10536 drivers/net/ethernet/broadcom/bnxt/bnxt.c dev->features &= ~NETIF_F_NTUPLE; features 10542 drivers/net/ethernet/broadcom/bnxt/bnxt.c dev->features |= NETIF_F_NTUPLE; features 11522 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->dev->features &= ~(NETIF_F_LRO | NETIF_F_GRO_HW); features 11637 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->dev->features |= NETIF_F_NTUPLE; features 11803 drivers/net/ethernet/broadcom/bnxt/bnxt.c dev->features |= dev->hw_features | NETIF_F_HIGHDMA; features 11804 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (dev->features & NETIF_F_GRO_HW) features 11805 drivers/net/ethernet/broadcom/bnxt/bnxt.c dev->features &= ~NETIF_F_LRO; features 1664 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c bp->dev->features |= NETIF_F_HW_TC; features 384 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c dev->features |= pf_dev->features; features 571 drivers/net/ethernet/broadcom/genet/bcmgenet.c netdev_features_t features) features 573 drivers/net/ethernet/broadcom/genet/bcmgenet.c netdev_features_t changed = features ^ dev->features; features 6935 drivers/net/ethernet/broadcom/tg3.c if ((tp->dev->features & NETIF_F_RXCSUM) && features 7896 drivers/net/ethernet/broadcom/tg3.c segs = skb_gso_segment(skb, tp->dev->features & features 8296 drivers/net/ethernet/broadcom/tg3.c static void tg3_set_loopback(struct net_device *dev, netdev_features_t features) features 8300 drivers/net/ethernet/broadcom/tg3.c if (features & NETIF_F_LOOPBACK) { features 8323 drivers/net/ethernet/broadcom/tg3.c netdev_features_t features) features 8328 drivers/net/ethernet/broadcom/tg3.c features &= ~NETIF_F_ALL_TSO; features 8330 drivers/net/ethernet/broadcom/tg3.c return features; features 8333 drivers/net/ethernet/broadcom/tg3.c static int tg3_set_features(struct net_device *dev, netdev_features_t features) features 8335 drivers/net/ethernet/broadcom/tg3.c netdev_features_t changed = dev->features ^ features; features 8338 drivers/net/ethernet/broadcom/tg3.c tg3_set_loopback(dev, features); features 11663 drivers/net/ethernet/broadcom/tg3.c if (dev->features & NETIF_F_LOOPBACK) features 11664 drivers/net/ethernet/broadcom/tg3.c tg3_set_loopback(dev, dev->features); features 17628 drivers/net/ethernet/broadcom/tg3.c netdev_features_t features = 0; features 17773 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_HIGHDMA; features 17798 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM; features 17801 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_IPV6_CSUM; features 17811 drivers/net/ethernet/broadcom/tg3.c (features & NETIF_F_IP_CSUM)) features 17812 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_TSO; features 17814 drivers/net/ethernet/broadcom/tg3.c if (features & NETIF_F_IPV6_CSUM) features 17815 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_TSO6; features 17822 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_TSO_ECN; features 17825 drivers/net/ethernet/broadcom/tg3.c dev->features |= features | NETIF_F_HW_VLAN_CTAG_TX | features 17827 drivers/net/ethernet/broadcom/tg3.c dev->vlan_features |= features; features 17837 drivers/net/ethernet/broadcom/tg3.c features |= NETIF_F_LOOPBACK; features 17839 drivers/net/ethernet/broadcom/tg3.c dev->hw_features |= features; features 17974 drivers/net/ethernet/broadcom/tg3.c (dev->features & NETIF_F_RXCSUM) != 0, features 701 drivers/net/ethernet/brocade/bna/bnad.c ((bnad->netdev->features & NETIF_F_RXCSUM) && features 711 drivers/net/ethernet/brocade/bna/bnad.c (bnad->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) features 2085 drivers/net/ethernet/brocade/bna/bnad.c (bnad->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) ? features 3357 drivers/net/ethernet/brocade/bna/bnad.c static int bnad_set_features(struct net_device *dev, netdev_features_t features) features 3360 drivers/net/ethernet/brocade/bna/bnad.c netdev_features_t changed = features ^ dev->features; features 3367 drivers/net/ethernet/brocade/bna/bnad.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 3445 drivers/net/ethernet/brocade/bna/bnad.c netdev->features |= netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; features 3448 drivers/net/ethernet/brocade/bna/bnad.c netdev->features |= NETIF_F_HIGHDMA; features 1061 drivers/net/ethernet/cadence/macb_main.c if (bp->dev->features & NETIF_F_RXCSUM && features 1632 drivers/net/ethernet/cadence/macb_main.c if ((bp->dev->features & NETIF_F_HW_CSUM) && features 1668 drivers/net/ethernet/cadence/macb_main.c netdev_features_t features) features 1677 drivers/net/ethernet/cadence/macb_main.c return features; features 1687 drivers/net/ethernet/cadence/macb_main.c return features & ~MACB_NETIF_LSO; features 1696 drivers/net/ethernet/cadence/macb_main.c return features & ~MACB_NETIF_LSO; features 1698 drivers/net/ethernet/cadence/macb_main.c return features; features 1728 drivers/net/ethernet/cadence/macb_main.c if (!(ndev->features & NETIF_F_HW_CSUM) || features 2208 drivers/net/ethernet/cadence/macb_main.c if (bp->dev->features & NETIF_F_HW_CSUM) features 2250 drivers/net/ethernet/cadence/macb_main.c else if (macb_is_gem(bp) && bp->dev->features & NETIF_F_RXCSUM) features 2386 drivers/net/ethernet/cadence/macb_main.c if (macb_is_gem(bp) && dev->features & NETIF_F_RXCSUM) features 2869 drivers/net/ethernet/cadence/macb_main.c if (!(netdev->features & NETIF_F_NTUPLE)) features 3220 drivers/net/ethernet/cadence/macb_main.c netdev_features_t features) features 3228 drivers/net/ethernet/cadence/macb_main.c if (features & NETIF_F_HW_CSUM) features 3237 drivers/net/ethernet/cadence/macb_main.c netdev_features_t features) features 3246 drivers/net/ethernet/cadence/macb_main.c if ((features & NETIF_F_RXCSUM) && !(netdev->flags & IFF_PROMISC)) features 3255 drivers/net/ethernet/cadence/macb_main.c netdev_features_t features) features 3260 drivers/net/ethernet/cadence/macb_main.c gem_enable_flow_filters(bp, !!(features & NETIF_F_NTUPLE)); features 3264 drivers/net/ethernet/cadence/macb_main.c netdev_features_t features) features 3267 drivers/net/ethernet/cadence/macb_main.c netdev_features_t changed = features ^ netdev->features; features 3271 drivers/net/ethernet/cadence/macb_main.c macb_set_txcsum_feature(bp, features); features 3275 drivers/net/ethernet/cadence/macb_main.c macb_set_rxcsum_feature(bp, features); features 3279 drivers/net/ethernet/cadence/macb_main.c macb_set_rxflow_feature(bp, features); features 3287 drivers/net/ethernet/cadence/macb_main.c netdev_features_t features = netdev->features; features 3290 drivers/net/ethernet/cadence/macb_main.c macb_set_txcsum_feature(bp, features); features 3293 drivers/net/ethernet/cadence/macb_main.c macb_set_rxcsum_feature(bp, features); features 3296 drivers/net/ethernet/cadence/macb_main.c macb_set_rxflow_feature(bp, features); features 3576 drivers/net/ethernet/cadence/macb_main.c dev->features = dev->hw_features; features 977 drivers/net/ethernet/calxeda/xgmac.c if (dev->features & NETIF_F_RXCSUM) features 1487 drivers/net/ethernet/calxeda/xgmac.c static int xgmac_set_features(struct net_device *dev, netdev_features_t features) features 1492 drivers/net/ethernet/calxeda/xgmac.c netdev_features_t changed = dev->features ^ features; features 1498 drivers/net/ethernet/calxeda/xgmac.c if (features & NETIF_F_RXCSUM) features 1778 drivers/net/ethernet/calxeda/xgmac.c ndev->features |= ndev->hw_features; features 660 drivers/net/ethernet/cavium/liquidio/lio_core.c if ((netdev->features & NETIF_F_RXCSUM) && features 681 drivers/net/ethernet/cavium/liquidio/lio_core.c if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 2735 drivers/net/ethernet/cavium/liquidio/lio_main.c if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && features 2751 drivers/net/ethernet/cavium/liquidio/lio_main.c netdev_features_t features) features 2755 drivers/net/ethernet/cavium/liquidio/lio_main.c if ((features & NETIF_F_LRO) && features 2757 drivers/net/ethernet/cavium/liquidio/lio_main.c !(netdev->features & NETIF_F_LRO)) features 2760 drivers/net/ethernet/cavium/liquidio/lio_main.c else if (!(features & NETIF_F_LRO) && features 2762 drivers/net/ethernet/cavium/liquidio/lio_main.c (netdev->features & NETIF_F_LRO)) features 2769 drivers/net/ethernet/cavium/liquidio/lio_main.c if (!(netdev->features & NETIF_F_RXCSUM) && features 2771 drivers/net/ethernet/cavium/liquidio/lio_main.c (features & NETIF_F_RXCSUM)) features 2775 drivers/net/ethernet/cavium/liquidio/lio_main.c else if ((netdev->features & NETIF_F_RXCSUM) && features 2777 drivers/net/ethernet/cavium/liquidio/lio_main.c !(features & NETIF_F_RXCSUM)) features 2781 drivers/net/ethernet/cavium/liquidio/lio_main.c if ((features & NETIF_F_HW_VLAN_CTAG_FILTER) && features 2783 drivers/net/ethernet/cavium/liquidio/lio_main.c !(netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) features 2786 drivers/net/ethernet/cavium/liquidio/lio_main.c else if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER) && features 2788 drivers/net/ethernet/cavium/liquidio/lio_main.c (netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) features 3609 drivers/net/ethernet/cavium/liquidio/lio_main.c netdev->features = (lio->dev_capability & ~NETIF_F_LRO); features 3682 drivers/net/ethernet/cavium/liquidio/lio_main.c if (netdev->features & NETIF_F_LRO) features 1799 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (!(request & NETIF_F_RXCSUM) && (netdev->features & NETIF_F_LRO) && features 1811 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c netdev_features_t features) features 1815 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (!((netdev->features ^ features) & NETIF_F_LRO)) features 1818 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if ((features & NETIF_F_LRO) && (lio->dev_capability & NETIF_F_LRO)) features 1821 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c else if (!(features & NETIF_F_LRO) && features 1825 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (!(netdev->features & NETIF_F_RXCSUM) && features 1827 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c (features & NETIF_F_RXCSUM)) features 1830 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c else if ((netdev->features & NETIF_F_RXCSUM) && features 1832 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c !(features & NETIF_F_RXCSUM)) features 2105 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c netdev->features = (lio->dev_capability & ~NETIF_F_LRO); features 2172 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (netdev->features & NETIF_F_LRO) features 737 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (!(netdev->features & NETIF_F_RXHASH)) features 842 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (napi && (netdev->features & NETIF_F_GRO)) features 1769 drivers/net/ethernet/cavium/thunder/nicvf_main.c netdev_features_t features) features 1775 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.lbk.enable = (features & NETIF_F_LOOPBACK) != 0; features 1781 drivers/net/ethernet/cavium/thunder/nicvf_main.c netdev_features_t features) features 1785 drivers/net/ethernet/cavium/thunder/nicvf_main.c if ((features & NETIF_F_LOOPBACK) && features 1787 drivers/net/ethernet/cavium/thunder/nicvf_main.c features &= ~NETIF_F_LOOPBACK; features 1789 drivers/net/ethernet/cavium/thunder/nicvf_main.c return features; features 1793 drivers/net/ethernet/cavium/thunder/nicvf_main.c netdev_features_t features) features 1796 drivers/net/ethernet/cavium/thunder/nicvf_main.c netdev_features_t changed = features ^ netdev->features; features 1799 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_config_vlan_stripping(nic, features); features 1802 drivers/net/ethernet/cavium/thunder/nicvf_main.c return nicvf_config_loopback(nic, features); features 2238 drivers/net/ethernet/cavium/thunder/nicvf_main.c netdev->features |= netdev->hw_features; features 709 drivers/net/ethernet/cavium/thunder/nicvf_queues.c void nicvf_config_vlan_stripping(struct nicvf *nic, netdev_features_t features) features 717 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 806 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_config_vlan_stripping(nic, nic->netdev->features); features 331 drivers/net/ethernet/cavium/thunder/nicvf_queues.h netdev_features_t features); features 261 drivers/net/ethernet/chelsio/cxgb/cxgb2.c t1_vlan_mode(adapter, dev->features); features 855 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netdev_features_t features) features 861 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 862 drivers/net/ethernet/chelsio/cxgb/cxgb2.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 864 drivers/net/ethernet/chelsio/cxgb/cxgb2.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 866 drivers/net/ethernet/chelsio/cxgb/cxgb2.c return features; features 869 drivers/net/ethernet/chelsio/cxgb/cxgb2.c static int t1_set_features(struct net_device *dev, netdev_features_t features) features 871 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netdev_features_t changed = dev->features ^ features; features 875 drivers/net/ethernet/chelsio/cxgb/cxgb2.c t1_vlan_mode(adapter, features); features 1083 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netdev->features |= NETIF_F_SG | NETIF_F_IP_CSUM | features 1087 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netdev->features |= NETIF_F_HIGHDMA; features 1089 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netdev->features |= features 1097 drivers/net/ethernet/chelsio/cxgb/cxgb2.c netdev->features |= NETIF_F_TSO; features 730 drivers/net/ethernet/chelsio/cxgb/sge.c void t1_vlan_mode(struct adapter *adapter, netdev_features_t features) features 734 drivers/net/ethernet/chelsio/cxgb/sge.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 1377 drivers/net/ethernet/chelsio/cxgb/sge.c if ((dev->features & NETIF_F_RXCSUM) && p->csum == 0xffff && features 81 drivers/net/ethernet/chelsio/cxgb/sge.h void t1_vlan_mode(struct adapter *adapter, netdev_features_t features); features 1180 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c static void cxgb_vlan_mode(struct net_device *dev, netdev_features_t features) features 1187 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c features & NETIF_F_HW_VLAN_CTAG_RX); features 1190 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c unsigned int i, have_vlans = features & NETIF_F_HW_VLAN_CTAG_RX; features 1194 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adapter->port[i]->features & features 1252 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cxgb_vlan_mode(adap->port[i], adap->port[i]->features); features 2286 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t.lro = !!(dev->features & NETIF_F_GRO); features 2591 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c netdev_features_t features) features 2597 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 2598 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 2600 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 2602 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c return features; features 2605 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c static int cxgb_set_features(struct net_device *dev, netdev_features_t features) features 2607 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c netdev_features_t changed = dev->features ^ features; features 2610 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cxgb_vlan_mode(dev, features); features 3317 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c netdev->features |= netdev->hw_features | features 3319 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c netdev->vlan_features |= netdev->features & VLAN_FEAT; features 3321 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c netdev->features |= NETIF_F_HIGHDMA; features 2088 drivers/net/ethernet/chelsio/cxgb3/sge.c if ((skb->dev->features & NETIF_F_RXCSUM) && p->csum_valid && features 2172 drivers/net/ethernet/chelsio/cxgb3/sge.c if ((qs->netdev->features & NETIF_F_RXCSUM) && features 2334 drivers/net/ethernet/chelsio/cxgb3/sge.c int lro = !!(qs->netdev->features & NETIF_F_GRO); features 82 drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c netdev->features |= NETIF_F_FCOE_CRC; features 84 drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c netdev->features |= NETIF_F_FCOE_MTU; features 113 drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c netdev->features &= ~NETIF_F_FCOE_CRC; features 115 drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c netdev->features &= ~NETIF_F_FCOE_MTU; features 512 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c !!(dev->features & NETIF_F_HW_VLAN_CTAG_RX), true); features 1180 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static int cxgb_set_features(struct net_device *dev, netdev_features_t features) features 1183 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c netdev_features_t changed = dev->features ^ features; features 1191 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c !!(features & NETIF_F_HW_VLAN_CTAG_RX), true); features 1193 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c dev->features = features ^ NETIF_F_HW_VLAN_CTAG_RX; features 3361 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c netdev_features_t features) features 3367 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return features; features 3371 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return features; features 3374 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 3378 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c netdev_features_t features) features 3381 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (!(features & NETIF_F_RXCSUM)) features 3382 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c features &= ~NETIF_F_GRO; features 3384 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return features; features 5894 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c netdev->features |= netdev->hw_features; features 5895 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c netdev->vlan_features = netdev->features & VLAN_FEAT; features 44 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.h return (dev->features & NETIF_F_HW_TC) && adap->tc_u32 ? true : false; features 2767 drivers/net/ethernet/chelsio/cxgb4/sge.c if (rxq->rspq.netdev->features & NETIF_F_RXHASH) features 2963 drivers/net/ethernet/chelsio/cxgb4/sge.c (q->netdev->features & NETIF_F_RXCSUM); features 2970 drivers/net/ethernet/chelsio/cxgb4/sge.c (q->netdev->features & NETIF_F_GRO) && csum_ok && !pkt->ip_frag) { features 3002 drivers/net/ethernet/chelsio/cxgb4/sge.c if (skb->dev->features & NETIF_F_RXHASH) features 1179 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev_features_t features) features 1185 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 1186 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 1188 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 1190 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c return features; features 1194 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev_features_t features) features 1197 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev_features_t changed = dev->features ^ features; features 1201 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c features & NETIF_F_HW_VLAN_CTAG_TX, 0); features 3127 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev->features = netdev->hw_features; features 3129 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev->features |= NETIF_F_HIGHDMA; features 3130 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c netdev->vlan_features = netdev->features & VLAN_FEAT; features 1620 drivers/net/ethernet/chelsio/cxgb4vf/sge.c (rspq->netdev->features & NETIF_F_RXCSUM); features 1631 drivers/net/ethernet/chelsio/cxgb4vf/sge.c (rspq->netdev->features & NETIF_F_GRO) && csum_ok && features 756 drivers/net/ethernet/cirrus/ep93xx_eth.c dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; features 280 drivers/net/ethernet/cisco/enic/enic_main.c netdev_features_t features) features 289 drivers/net/ethernet/cisco/enic/enic_main.c return features; features 291 drivers/net/ethernet/cisco/enic/enic_main.c features = vxlan_features_check(skb, features); features 329 drivers/net/ethernet/cisco/enic/enic_main.c return features; features 332 drivers/net/ethernet/cisco/enic/enic_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 1393 drivers/net/ethernet/cisco/enic/enic_main.c if ((netdev->features & NETIF_F_RXHASH) && rss_hash && features 1436 drivers/net/ethernet/cisco/enic/enic_main.c if ((netdev->features & NETIF_F_RXCSUM) && !csum_not_calc && features 1447 drivers/net/ethernet/cisco/enic/enic_main.c if (!(netdev->features & NETIF_F_GRO)) features 2917 drivers/net/ethernet/cisco/enic/enic_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; features 2919 drivers/net/ethernet/cisco/enic/enic_main.c netdev->features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 2970 drivers/net/ethernet/cisco/enic/enic_main.c netdev->features |= netdev->hw_features; features 2971 drivers/net/ethernet/cisco/enic/enic_main.c netdev->vlan_features |= netdev->features; features 2978 drivers/net/ethernet/cisco/enic/enic_main.c netdev->features |= NETIF_F_HIGHDMA; features 1994 drivers/net/ethernet/cortina/gemini.c netdev_features_t features) features 1997 drivers/net/ethernet/cortina/gemini.c features &= ~GMAC_OFFLOAD_FEATURES; features 1999 drivers/net/ethernet/cortina/gemini.c return features; features 2003 drivers/net/ethernet/cortina/gemini.c netdev_features_t features) features 2006 drivers/net/ethernet/cortina/gemini.c int enable = features & NETIF_F_RXCSUM; features 2474 drivers/net/ethernet/cortina/gemini.c netdev->features |= GMAC_OFFLOAD_FEATURES | NETIF_F_GRO; features 589 drivers/net/ethernet/davicom/dm9000.c netdev_features_t features) features 592 drivers/net/ethernet/davicom/dm9000.c netdev_features_t changed = dev->features ^ features; features 599 drivers/net/ethernet/davicom/dm9000.c iow(dm, DM9000_RCSR, (features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0); features 919 drivers/net/ethernet/davicom/dm9000.c (dev->features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0); features 1175 drivers/net/ethernet/davicom/dm9000.c if (dev->features & NETIF_F_RXCSUM) { features 1647 drivers/net/ethernet/davicom/dm9000.c ndev->features |= ndev->hw_features; features 226 drivers/net/ethernet/dlink/dl2k.c dev->features = NETIF_F_IP_CSUM; features 783 drivers/net/ethernet/dnet.c dev->features |= 0; features 535 drivers/net/ethernet/ec_bhf.c net_dev->features = 0; features 476 drivers/net/ethernet/emulex/benet/be.h u32 features; /* Feature bits */ features 5015 drivers/net/ethernet/emulex/benet/be_cmds.c req->features = cpu_to_le32(BE_FEATURE_UE_RECOVERY); features 2331 drivers/net/ethernet/emulex/benet/be_cmds.h u32 features; features 2347 drivers/net/ethernet/emulex/benet/be_cmds.h u32 features; features 839 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, LSO, 1); features 842 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, LSO6, 1); features 845 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, IPCS, 1); features 851 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, TCPCS, 1); features 853 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, UDPCS, 1); features 857 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, VLAN, 1); features 861 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, CRC, 1); features 872 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, CRC)); features 874 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, IPCS)); features 876 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, TCPCS)); features 878 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, UDPCS)); features 881 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, LSO)); features 883 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, LSO6)); features 890 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, VLAN_SKIP_HW)); features 892 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, VLAN)); features 898 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_GET(wrb_params->features, OS2BMC)); features 1068 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, VLAN_SKIP_HW, 1); features 1086 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, VLAN_SKIP_HW, 1); features 1151 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params->features, VLAN_SKIP_HW, 1); features 1394 drivers/net/ethernet/emulex/benet/be_main.c BE_WRB_F_SET(wrb_params.features, OS2BMC, 1); features 2410 drivers/net/ethernet/emulex/benet/be_main.c if (likely((netdev->features & NETIF_F_RXCSUM) && csum_passed(rxcp))) features 2417 drivers/net/ethernet/emulex/benet/be_main.c if (netdev->features & NETIF_F_RXHASH) features 2475 drivers/net/ethernet/emulex/benet/be_main.c if (adapter->netdev->features & NETIF_F_RXHASH) features 5200 drivers/net/ethernet/emulex/benet/be_main.c netdev_features_t features) features 5210 drivers/net/ethernet/emulex/benet/be_main.c features &= ~NETIF_F_TSO6; features 5219 drivers/net/ethernet/emulex/benet/be_main.c features &= ~NETIF_F_GSO_MASK; features 5226 drivers/net/ethernet/emulex/benet/be_main.c features = vlan_features_check(skb, features); features 5229 drivers/net/ethernet/emulex/benet/be_main.c return features; features 5245 drivers/net/ethernet/emulex/benet/be_main.c return features; features 5255 drivers/net/ethernet/emulex/benet/be_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 5257 drivers/net/ethernet/emulex/benet/be_main.c return features; features 5330 drivers/net/ethernet/emulex/benet/be_main.c netdev->features |= netdev->hw_features | features 5976 drivers/net/ethernet/emulex/benet/be_main.c netdev->features |= NETIF_F_HIGHDMA; features 1222 drivers/net/ethernet/ethoc.c netdev->features |= 0; features 334 drivers/net/ethernet/faraday/ftgmac100.c if (priv->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 518 drivers/net/ethernet/faraday/ftgmac100.c if (netdev->features & NETIF_F_RXCSUM) { features 533 drivers/net/ethernet/faraday/ftgmac100.c if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 1557 drivers/net/ethernet/faraday/ftgmac100.c netdev_features_t features) features 1560 drivers/net/ethernet/faraday/ftgmac100.c netdev_features_t changed = netdev->features ^ features; features 1570 drivers/net/ethernet/faraday/ftgmac100.c if (priv->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 1875 drivers/net/ethernet/faraday/ftgmac100.c netdev->features |= netdev->hw_features; features 248 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->features |= NETIF_F_GSO; features 249 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->features |= NETIF_F_RXCSUM; features 255 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->features |= net_dev->hw_features; features 256 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->vlan_features = net_dev->features; features 1679 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if ((priv->net_dev->features & NETIF_F_RXCSUM) && features 2350 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (net_dev->features & NETIF_F_RXHASH && priv->keygen_in_use && features 49 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (!(priv->net_dev->features & NETIF_F_RXCSUM)) features 1615 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_features_t features) features 1618 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_features_t changed = features ^ net_dev->features; features 1623 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c enable = !!(features & NETIF_F_RXCSUM); features 1630 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c enable = !!(features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)); features 3323 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->features = NETIF_F_RXCSUM | features 3327 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->hw_features = net_dev->features; features 3518 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = set_rx_csum(priv, !!(net_dev->features & NETIF_F_RXCSUM)); features 3522 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = set_tx_csum(priv, !!(net_dev->features & features 511 drivers/net/ethernet/freescale/enetc/enetc.c if (rx_ring->ndev->features & NETIF_F_RXCSUM) { features 1126 drivers/net/ethernet/freescale/enetc/enetc.c if (tx_ring->ndev->features & NETIF_F_HW_VLAN_CTAG_TX) features 1163 drivers/net/ethernet/freescale/enetc/enetc.c if (rx_ring->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) features 1531 drivers/net/ethernet/freescale/enetc/enetc.c netdev_features_t features) features 1533 drivers/net/ethernet/freescale/enetc/enetc.c netdev_features_t changed = ndev->features ^ features; features 1536 drivers/net/ethernet/freescale/enetc/enetc.c enetc_set_rss(ndev, !!(features & NETIF_F_RXHASH)); features 230 drivers/net/ethernet/freescale/enetc/enetc.h netdev_features_t features); features 673 drivers/net/ethernet/freescale/enetc/enetc_pf.c netdev_features_t features) features 675 drivers/net/ethernet/freescale/enetc/enetc_pf.c netdev_features_t changed = ndev->features ^ features; features 680 drivers/net/ethernet/freescale/enetc/enetc_pf.c !!(features & NETIF_F_HW_VLAN_CTAG_RX)); features 684 drivers/net/ethernet/freescale/enetc/enetc_pf.c !!(features & NETIF_F_HW_VLAN_CTAG_TX)); features 687 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_set_loopback(ndev, !!(features & NETIF_F_LOOPBACK)); features 689 drivers/net/ethernet/freescale/enetc/enetc_pf.c return enetc_set_features(ndev, features); features 729 drivers/net/ethernet/freescale/enetc/enetc_pf.c ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | features 740 drivers/net/ethernet/freescale/enetc/enetc_pf.c ndev->features &= ~NETIF_F_HW_CSUM; features 101 drivers/net/ethernet/freescale/enetc/enetc_vf.c netdev_features_t features) features 103 drivers/net/ethernet/freescale/enetc/enetc_vf.c return enetc_set_features(ndev, features); features 138 drivers/net/ethernet/freescale/enetc/enetc_vf.c ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | features 148 drivers/net/ethernet/freescale/enetc/enetc_vf.c ndev->features &= ~NETIF_F_HW_CSUM; features 1520 drivers/net/ethernet/freescale/fec_main.c if ((ndev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 3163 drivers/net/ethernet/freescale/fec_main.c netdev_features_t features) features 3166 drivers/net/ethernet/freescale/fec_main.c netdev_features_t changed = features ^ netdev->features; features 3168 drivers/net/ethernet/freescale/fec_main.c netdev->features = features; features 3172 drivers/net/ethernet/freescale/fec_main.c if (features & NETIF_F_RXCSUM) features 3180 drivers/net/ethernet/freescale/fec_main.c netdev_features_t features) features 3183 drivers/net/ethernet/freescale/fec_main.c netdev_features_t changed = features ^ netdev->features; features 3189 drivers/net/ethernet/freescale/fec_main.c fec_enet_set_netdev_features(netdev, features); features 3195 drivers/net/ethernet/freescale/fec_main.c fec_enet_set_netdev_features(netdev, features); features 3316 drivers/net/ethernet/freescale/fec_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; features 3322 drivers/net/ethernet/freescale/fec_main.c ndev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM features 3332 drivers/net/ethernet/freescale/fec_main.c ndev->hw_features = ndev->features; features 1039 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c ndev->features |= NETIF_F_SG; features 166 drivers/net/ethernet/freescale/gianfar.c if (priv->ndev->features & (NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_RX)) features 191 drivers/net/ethernet/freescale/gianfar.c if (priv->ndev->features & NETIF_F_RXCSUM) features 206 drivers/net/ethernet/freescale/gianfar.c if (priv->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) features 225 drivers/net/ethernet/freescale/gianfar.c if (priv->ndev->features & NETIF_F_IP_CSUM) features 236 drivers/net/ethernet/freescale/gianfar.c if (priv->ndev->features & NETIF_F_HW_VLAN_CTAG_TX) features 2515 drivers/net/ethernet/freescale/gianfar.c if (ndev->features & NETIF_F_RXCSUM) features 2522 drivers/net/ethernet/freescale/gianfar.c if (ndev->features & NETIF_F_HW_VLAN_CTAG_RX && features 3356 drivers/net/ethernet/freescale/gianfar.c dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG | features 3363 drivers/net/ethernet/freescale/gianfar.c dev->features |= NETIF_F_HW_VLAN_CTAG_RX; features 3376 drivers/net/ethernet/freescale/gianfar.c if (dev->features & NETIF_F_IP_CSUM || features 1301 drivers/net/ethernet/freescale/gianfar.h int gfar_set_features(struct net_device *dev, netdev_features_t features); features 533 drivers/net/ethernet/freescale/gianfar_ethtool.c int gfar_set_features(struct net_device *dev, netdev_features_t features) features 535 drivers/net/ethernet/freescale/gianfar_ethtool.c netdev_features_t changed = dev->features ^ features; features 546 drivers/net/ethernet/freescale/gianfar_ethtool.c dev->features = features; features 1139 drivers/net/ethernet/google/gve/gve_main.c dev->features = dev->hw_features; features 431 drivers/net/ethernet/google/gve/gve_rx.c feat = block->napi.dev->features; features 1243 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; features 1244 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c ndev->vlan_features |= ndev->features; features 481 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (unlikely(!(netdev->features & NETIF_F_RXCSUM))) features 1783 drivers/net/ethernet/hisilicon/hns/hns_enet.c netdev_features_t features) features 1789 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (features & (NETIF_F_TSO | NETIF_F_TSO6)) features 1793 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (features & (NETIF_F_TSO | NETIF_F_TSO6)) { features 1804 drivers/net/ethernet/hisilicon/hns/hns_enet.c netdev->features = features; features 1809 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct net_device *netdev, netdev_features_t features) features 1815 drivers/net/ethernet/hisilicon/hns/hns_enet.c features &= ~(NETIF_F_TSO | NETIF_F_TSO6 | features 1821 drivers/net/ethernet/hisilicon/hns/hns_enet.c return features; features 2179 drivers/net/ethernet/hisilicon/hns/hns_enet.c if ((netdev->features & NETIF_F_TSO) || features 2180 drivers/net/ethernet/hisilicon/hns/hns_enet.c (netdev->features & NETIF_F_TSO6)) { features 2338 drivers/net/ethernet/hisilicon/hns/hns_enet.c ndev->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | features 2349 drivers/net/ethernet/hisilicon/hns/hns_enet.c ndev->features |= NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_NTUPLE; features 995 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c !(handle->kinfo.netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) { features 1448 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev_features_t features) features 1450 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev_features_t changed = netdev->features ^ features; features 1457 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c enable = !!(features & NETIF_F_GRO_HW); features 1465 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c enable = !!(features & NETIF_F_HW_VLAN_CTAG_FILTER); features 1471 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c enable = !!(features & NETIF_F_HW_VLAN_CTAG_RX); features 1478 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c enable = !!(features & NETIF_F_NTUPLE); features 1482 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev->features = features; features 2087 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | features 2111 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev->features |= NETIF_F_GRO_HW; features 2115 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev->features |= NETIF_F_NTUPLE; features 2530 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (!(netdev->features & NETIF_F_RXCSUM)) features 2817 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) { features 343 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c dis_vlan_filter = (ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) && features 72 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev_features_t features, bool force_change); features 792 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev_features_t features) features 796 drivers/net/ethernet/huawei/hinic/hinic_main.c return set_features(nic_dev, nic_dev->netdev->features, features 797 drivers/net/ethernet/huawei/hinic/hinic_main.c features, false); features 801 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev_features_t features) features 806 drivers/net/ethernet/huawei/hinic/hinic_main.c if (!(features & NETIF_F_RXCSUM)) { features 808 drivers/net/ethernet/huawei/hinic/hinic_main.c features &= ~NETIF_F_LRO; features 811 drivers/net/ethernet/huawei/hinic/hinic_main.c return features; features 839 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; features 895 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev_features_t features, bool force_change) features 897 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev_features_t changed = force_change ? ~0 : pre_features ^ features; features 902 drivers/net/ethernet/huawei/hinic/hinic_main.c err = hinic_port_set_tso(nic_dev, (features & NETIF_F_TSO) ? features 910 drivers/net/ethernet/huawei/hinic/hinic_main.c !!(features & NETIF_F_LRO), features 917 drivers/net/ethernet/huawei/hinic/hinic_main.c !!(features & features 1023 drivers/net/ethernet/huawei/hinic/hinic_main.c err = set_features(nic_dev, 0, nic_dev->netdev->features, true); features 109 drivers/net/ethernet/huawei/hinic/hinic_rx.c if (!(netdev->features & NETIF_F_RXCSUM)) features 381 drivers/net/ethernet/huawei/hinic/hinic_rx.c if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 2994 drivers/net/ethernet/ibm/ehea/ehea_main.c dev->features = NETIF_F_SG | NETIF_F_TSO | features 2044 drivers/net/ethernet/ibm/emac/core.c supported = dev->phy.features; features 2068 drivers/net/ethernet/ibm/emac/core.c u32 f = dev->phy.features; features 2153 drivers/net/ethernet/ibm/emac/core.c if ((dev->phy.features & SUPPORTED_Autoneg) && features 2648 drivers/net/ethernet/ibm/emac/core.c ethtool_convert_link_mode_to_legacy_u32(&dev->phy.features, features 2693 drivers/net/ethernet/ibm/emac/core.c dev->phy.features = SUPPORTED_MII; features 2695 drivers/net/ethernet/ibm/emac/core.c dev->phy.features |= SUPPORTED_1000baseT_Full; features 2697 drivers/net/ethernet/ibm/emac/core.c dev->phy.features |= SUPPORTED_100baseT_Full; features 2814 drivers/net/ethernet/ibm/emac/core.c dev->phy.def->features &= ~dev->phy_feat_exc; features 2815 drivers/net/ethernet/ibm/emac/core.c dev->phy.features &= ~dev->phy_feat_exc; features 2818 drivers/net/ethernet/ibm/emac/core.c if (dev->phy.features & SUPPORTED_Autoneg) { features 2819 drivers/net/ethernet/ibm/emac/core.c adv = dev->phy.features; features 2825 drivers/net/ethernet/ibm/emac/core.c u32 f = dev->phy.def->features; features 2906 drivers/net/ethernet/ibm/emac/core.c dev->features |= (EMAC_FTR_EMAC4 | EMAC_FTR_EMAC4SYNC); features 2909 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_460EX_PHY_CLK_FIX; features 2912 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_440EP_PHY_CLK_FIX; features 2914 drivers/net/ethernet/ibm/emac/core.c dev->features |= (EMAC_APM821XX_REQ_JUMBO_FRAME_SIZE | features 2919 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_EMAC4; features 2921 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_440GX_PHY_CLK_FIX; features 2925 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_440EP_PHY_CLK_FIX; features 2928 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_NO_FLOW_CONTROL_40x; features 2940 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_STACR_OC_INVERT; features 2942 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_HAS_NEW_STACR; features 2946 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_HAS_NEW_STACR | features 2952 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_HAS_TAH; features 2961 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_HAS_ZMII; features 2970 drivers/net/ethernet/ibm/emac/core.c dev->features |= EMAC_FTR_HAS_RGMII; features 2999 drivers/net/ethernet/ibm/emac/core.c DBG(dev, "features : 0x%08x / 0x%08x\n", dev->features, EMAC_FTRS_POSSIBLE); features 3173 drivers/net/ethernet/ibm/emac/core.c ndev->features |= ndev->hw_features | NETIF_F_RXCSUM; features 225 drivers/net/ethernet/ibm/emac/core.h unsigned int features; features 364 drivers/net/ethernet/ibm/emac/core.h (EMAC_FTRS_POSSIBLE & dev->features & feature); features 573 drivers/net/ethernet/ibm/emac/mal.c mal->features |= (MAL_FTR_CLEAR_ICINTSTAT | features 210 drivers/net/ethernet/ibm/emac/mal.h unsigned int features; features 252 drivers/net/ethernet/ibm/emac/mal.h (MAL_FTRS_POSSIBLE & dev->features & feature); features 148 drivers/net/ethernet/ibm/emac/phy.c if (phy->features & features 228 drivers/net/ethernet/ibm/emac/phy.c if (phy->features & features 539 drivers/net/ethernet/ibm/emac/phy.c phy->features = def->features; features 540 drivers/net/ethernet/ibm/emac/phy.c if (!phy->features) { features 543 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_Autoneg; features 545 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_10baseT_Half; features 547 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_10baseT_Full; features 549 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_100baseT_Half; features 551 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_100baseT_Full; features 555 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_1000baseT_Full; features 557 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_1000baseT_Half; features 559 drivers/net/ethernet/ibm/emac/phy.c phy->features |= SUPPORTED_MII; features 563 drivers/net/ethernet/ibm/emac/phy.c phy->advertising = phy->features; features 41 drivers/net/ethernet/ibm/emac/phy.h u32 features; /* Ethtool SUPPORTED_* defines or features 52 drivers/net/ethernet/ibm/emac/phy.h u32 features; /* Copied from mii_phy_def.features features 746 drivers/net/ethernet/ibm/ibmveth.c netdev_features_t features) features 757 drivers/net/ethernet/ibm/ibmveth.c if (!(features & NETIF_F_RXCSUM)) features 758 drivers/net/ethernet/ibm/ibmveth.c features &= ~NETIF_F_CSUM_MASK; features 760 drivers/net/ethernet/ibm/ibmveth.c return features; features 808 drivers/net/ethernet/ibm/ibmveth.c dev->features &= ~NETIF_F_IP_CSUM; features 826 drivers/net/ethernet/ibm/ibmveth.c dev->features &= ~NETIF_F_IPV6_CSUM; features 886 drivers/net/ethernet/ibm/ibmveth.c dev->features &= ~(NETIF_F_TSO | NETIF_F_TSO6); features 898 drivers/net/ethernet/ibm/ibmveth.c dev->features &= ~NETIF_F_TSO6; features 911 drivers/net/ethernet/ibm/ibmveth.c netdev_features_t features) features 914 drivers/net/ethernet/ibm/ibmveth.c int rx_csum = !!(features & NETIF_F_RXCSUM); features 915 drivers/net/ethernet/ibm/ibmveth.c int large_send = !!(features & (NETIF_F_TSO | NETIF_F_TSO6)); features 921 drivers/net/ethernet/ibm/ibmveth.c dev->features = features 922 drivers/net/ethernet/ibm/ibmveth.c features & ~(NETIF_F_CSUM_MASK | features 929 drivers/net/ethernet/ibm/ibmveth.c dev->features = features 930 drivers/net/ethernet/ibm/ibmveth.c features & ~(NETIF_F_TSO | NETIF_F_TSO6); features 1664 drivers/net/ethernet/ibm/ibmveth.c netdev->features |= netdev->hw_features; features 1672 drivers/net/ethernet/ibm/ibmveth.c netdev->features |= netdev->hw_features; features 1681 drivers/net/ethernet/ibm/ibmveth.c netdev->features |= NETIF_F_FRAGLIST; features 1708 drivers/net/ethernet/ibm/ibmveth.c ibmveth_set_features(netdev, netdev->features); features 2359 drivers/net/ethernet/ibm/ibmvnic.c netdev_features_t features) features 2368 drivers/net/ethernet/ibm/ibmvnic.c features &= ~NETIF_F_GSO_MASK; features 2371 drivers/net/ethernet/ibm/ibmvnic.c return features; features 3958 drivers/net/ethernet/ibm/ibmvnic.c if ((adapter->netdev->features & features 3968 drivers/net/ethernet/ibm/ibmvnic.c adapter->netdev->features |= adapter->netdev->hw_features; features 3973 drivers/net/ethernet/ibm/ibmvnic.c adapter->netdev->features &= adapter->netdev->hw_features; features 3977 drivers/net/ethernet/ibm/ibmvnic.c adapter->netdev->features |= features 4334 drivers/net/ethernet/ibm/ibmvnic.c netdev->features |= NETIF_F_HW_VLAN_STAG_TX; features 1120 drivers/net/ethernet/intel/e100.c if (unlikely(netdev->features & NETIF_F_RXFCS)) features 1147 drivers/net/ethernet/intel/e100.c if (netdev->features & NETIF_F_RXALL) { features 1994 drivers/net/ethernet/intel/e100.c if (unlikely(dev->features & NETIF_F_RXFCS)) features 2025 drivers/net/ethernet/intel/e100.c if (unlikely(dev->features & NETIF_F_RXALL)) { features 2790 drivers/net/ethernet/intel/e100.c netdev_features_t features) features 2793 drivers/net/ethernet/intel/e100.c netdev_features_t changed = features ^ netdev->features; features 2798 drivers/net/ethernet/intel/e100.c netdev->features = features; features 2886 drivers/net/ethernet/intel/e100.c netdev->features |= NETIF_F_VLAN_CHALLENGED; features 145 drivers/net/ethernet/intel/e1000/e1000_main.c netdev_features_t features); features 790 drivers/net/ethernet/intel/e1000/e1000_main.c netdev_features_t features) features 795 drivers/net/ethernet/intel/e1000/e1000_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 796 drivers/net/ethernet/intel/e1000/e1000_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 798 drivers/net/ethernet/intel/e1000/e1000_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 800 drivers/net/ethernet/intel/e1000/e1000_main.c return features; features 804 drivers/net/ethernet/intel/e1000/e1000_main.c netdev_features_t features) features 807 drivers/net/ethernet/intel/e1000/e1000_main.c netdev_features_t changed = features ^ netdev->features; features 810 drivers/net/ethernet/intel/e1000/e1000_main.c e1000_vlan_mode(netdev, features); features 815 drivers/net/ethernet/intel/e1000/e1000_main.c netdev->features = features; features 816 drivers/net/ethernet/intel/e1000/e1000_main.c adapter->rx_csum = !!(features & NETIF_F_RXCSUM); features 1040 drivers/net/ethernet/intel/e1000/e1000_main.c netdev->features = NETIF_F_HW_VLAN_CTAG_TX | features 1050 drivers/net/ethernet/intel/e1000/e1000_main.c netdev->features |= netdev->hw_features; features 1056 drivers/net/ethernet/intel/e1000/e1000_main.c netdev->features |= NETIF_F_HIGHDMA; features 1821 drivers/net/ethernet/intel/e1000/e1000_main.c if (adapter->netdev->features & NETIF_F_RXALL) { features 4172 drivers/net/ethernet/intel/e1000/e1000_main.c } else if (netdev->features & NETIF_F_RXALL) { features 4223 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(!(netdev->features & NETIF_F_RXFCS))) features 4269 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(!(netdev->features & NETIF_F_RXFCS))) features 4424 drivers/net/ethernet/intel/e1000/e1000_main.c } else if (netdev->features & NETIF_F_RXALL) { features 4436 drivers/net/ethernet/intel/e1000/e1000_main.c if (likely(!(netdev->features & NETIF_F_RXFCS))) features 4876 drivers/net/ethernet/intel/e1000/e1000_main.c netdev_features_t features) features 4882 drivers/net/ethernet/intel/e1000/e1000_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) { features 4900 drivers/net/ethernet/intel/e1000/e1000_main.c __e1000_vlan_mode(adapter, adapter->netdev->features); features 4921 drivers/net/ethernet/intel/e1000/e1000_main.c netdev_features_t features) features 4928 drivers/net/ethernet/intel/e1000/e1000_main.c __e1000_vlan_mode(adapter, features); features 583 drivers/net/ethernet/intel/e1000e/netdev.c if (!(adapter->netdev->features & NETIF_F_RXCSUM)) features 896 drivers/net/ethernet/intel/e1000e/netdev.c if (netdev->features & NETIF_F_RXHASH) features 976 drivers/net/ethernet/intel/e1000e/netdev.c !(netdev->features & NETIF_F_RXALL))) { features 988 drivers/net/ethernet/intel/e1000e/netdev.c if (netdev->features & NETIF_F_RXFCS) features 1360 drivers/net/ethernet/intel/e1000e/netdev.c !(netdev->features & NETIF_F_RXALL))) { features 1411 drivers/net/ethernet/intel/e1000e/netdev.c if (!(netdev->features & NETIF_F_RXFCS)) features 1440 drivers/net/ethernet/intel/e1000e/netdev.c if (!(netdev->features & NETIF_F_RXFCS)) features 1556 drivers/net/ethernet/intel/e1000e/netdev.c !(netdev->features & NETIF_F_RXALL)))) { features 3156 drivers/net/ethernet/intel/e1000e/netdev.c if (adapter->netdev->features & NETIF_F_RXALL) { features 3261 drivers/net/ethernet/intel/e1000e/netdev.c if (adapter->netdev->features & NETIF_F_RXCSUM) features 3442 drivers/net/ethernet/intel/e1000e/netdev.c if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 3753 drivers/net/ethernet/intel/e1000e/netdev.c if (adapter->netdev->features & NETIF_F_RXHASH) features 5281 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features &= ~NETIF_F_TSO; features 5282 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features &= ~NETIF_F_TSO6; features 5285 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features |= NETIF_F_TSO; features 5286 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features |= NETIF_F_TSO6; features 6965 drivers/net/ethernet/intel/e1000e/netdev.c netdev_features_t features) features 6972 drivers/net/ethernet/intel/e1000e/netdev.c features &= ~NETIF_F_RXFCS; features 6977 drivers/net/ethernet/intel/e1000e/netdev.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 6978 drivers/net/ethernet/intel/e1000e/netdev.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 6980 drivers/net/ethernet/intel/e1000e/netdev.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 6982 drivers/net/ethernet/intel/e1000e/netdev.c return features; features 6986 drivers/net/ethernet/intel/e1000e/netdev.c netdev_features_t features) features 6989 drivers/net/ethernet/intel/e1000e/netdev.c netdev_features_t changed = features ^ netdev->features; features 7000 drivers/net/ethernet/intel/e1000e/netdev.c if (features & NETIF_F_RXFCS) { features 7013 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features = features; features 7203 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features = (NETIF_F_SG | features 7213 drivers/net/ethernet/intel/e1000e/netdev.c netdev->hw_features = netdev->features; features 7219 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 7229 drivers/net/ethernet/intel/e1000e/netdev.c netdev->features |= NETIF_F_HIGHDMA; features 366 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!(ring->netdev->features & NETIF_F_RXCSUM)) features 402 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!(ring->netdev->features & NETIF_F_RXHASH)) features 793 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->netdev->features &= ~NETIF_F_GSO_UDP_TUNNEL; features 1622 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c netdev_features_t features) features 1625 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c return features; features 1627 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 1674 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dev->features |= NETIF_F_IP_CSUM | features 1693 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dev->features |= NETIF_F_GSO_UDP_TUNNEL; features 1697 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c hw_features = dev->features; features 1703 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dev->vlan_features |= dev->features; features 1709 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dev->features |= NETIF_F_HW_VLAN_CTAG_TX | features 310 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netdev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; features 312 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netdev->features |= NETIF_F_HW_VLAN_CTAG_RX; features 2012 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netdev->features |= NETIF_F_HIGHDMA; features 1036 drivers/net/ethernet/intel/i40e/i40e.h bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features); features 129 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nd->features); features 2942 drivers/net/ethernet/intel/i40e/i40e_main.c if (vsi->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 12028 drivers/net/ethernet/intel/i40e/i40e_main.c bool i40e_set_ntuple(struct i40e_pf *pf, netdev_features_t features) features 12035 drivers/net/ethernet/intel/i40e/i40e_main.c if (features & NETIF_F_NTUPLE) { features 12097 drivers/net/ethernet/intel/i40e/i40e_main.c netdev_features_t features) features 12104 drivers/net/ethernet/intel/i40e/i40e_main.c if (features & NETIF_F_RXHASH && !(netdev->features & NETIF_F_RXHASH)) features 12106 drivers/net/ethernet/intel/i40e/i40e_main.c else if (!(features & NETIF_F_RXHASH) && features 12107 drivers/net/ethernet/intel/i40e/i40e_main.c netdev->features & NETIF_F_RXHASH) features 12110 drivers/net/ethernet/intel/i40e/i40e_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 12115 drivers/net/ethernet/intel/i40e/i40e_main.c if (!(features & NETIF_F_HW_TC) && pf->num_cloud_filters) { features 12121 drivers/net/ethernet/intel/i40e/i40e_main.c if (!(features & NETIF_F_HW_L2FW_DOFFLOAD) && vsi->macvlan_cnt) features 12124 drivers/net/ethernet/intel/i40e/i40e_main.c need_reset = i40e_set_ntuple(pf, features); features 12451 drivers/net/ethernet/intel/i40e/i40e_main.c netdev_features_t features) features 12460 drivers/net/ethernet/intel/i40e/i40e_main.c return features; features 12466 drivers/net/ethernet/intel/i40e/i40e_main.c features &= ~NETIF_F_GSO_MASK; features 12496 drivers/net/ethernet/intel/i40e/i40e_main.c return features; features 12498 drivers/net/ethernet/intel/i40e/i40e_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 12946 drivers/net/ethernet/intel/i40e/i40e_main.c netdev->features |= hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; features 1655 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (!(vsi->netdev->features & NETIF_F_RXCSUM)) features 1757 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (!(ring->netdev->features & NETIF_F_RXHASH)) features 2820 drivers/net/ethernet/intel/i40e/i40e_txrx.c !(tx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) { features 1854 drivers/net/ethernet/intel/iavf/iavf_main.c if (netdev->features & NETIF_F_GRO) features 3285 drivers/net/ethernet/intel/iavf/iavf_main.c netdev_features_t features) features 3293 drivers/net/ethernet/intel/iavf/iavf_main.c if ((netdev->features ^ features) & NETIF_F_HW_VLAN_CTAG_RX) features 3295 drivers/net/ethernet/intel/iavf/iavf_main.c } else if ((netdev->features ^ features) & NETIF_F_HW_VLAN_CTAG_RX) { features 3296 drivers/net/ethernet/intel/iavf/iavf_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 3315 drivers/net/ethernet/intel/iavf/iavf_main.c netdev_features_t features) features 3324 drivers/net/ethernet/intel/iavf/iavf_main.c return features; features 3330 drivers/net/ethernet/intel/iavf/iavf_main.c features &= ~NETIF_F_GSO_MASK; features 3360 drivers/net/ethernet/intel/iavf/iavf_main.c return features; features 3362 drivers/net/ethernet/intel/iavf/iavf_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 3373 drivers/net/ethernet/intel/iavf/iavf_main.c netdev_features_t features) features 3378 drivers/net/ethernet/intel/iavf/iavf_main.c features &= ~(NETIF_F_HW_VLAN_CTAG_TX | features 3382 drivers/net/ethernet/intel/iavf/iavf_main.c return features; features 3520 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features |= hw_features; features 3523 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 3533 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features &= ~NETIF_F_TSO; features 3536 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features &= ~NETIF_F_TSO6; features 3538 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features &= ~NETIF_F_TSO_ECN; features 3540 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features &= ~NETIF_F_GRO; features 3542 drivers/net/ethernet/intel/iavf/iavf_main.c netdev->features &= ~NETIF_F_GSO; features 865 drivers/net/ethernet/intel/iavf/iavf_txrx.c if ((rx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 966 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (!(vsi->netdev->features & NETIF_F_RXCSUM)) features 1061 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (ring->netdev->features & NETIF_F_RXHASH) features 1810 drivers/net/ethernet/intel/iavf/iavf_txrx.c !(tx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) { features 1985 drivers/net/ethernet/intel/ice/ice_main.c netdev->features = NETIF_F_SG | NETIF_F_HIGHDMA; features 1986 drivers/net/ethernet/intel/ice/ice_main.c netdev->hw_features = netdev->features; features 2010 drivers/net/ethernet/intel/ice/ice_main.c netdev->features |= netdev->hw_features; features 3425 drivers/net/ethernet/intel/ice/ice_main.c ice_set_features(struct net_device *netdev, netdev_features_t features) features 3441 drivers/net/ethernet/intel/ice/ice_main.c if (features & NETIF_F_RXHASH && !(netdev->features & NETIF_F_RXHASH)) features 3443 drivers/net/ethernet/intel/ice/ice_main.c else if (!(features & NETIF_F_RXHASH) && features 3444 drivers/net/ethernet/intel/ice/ice_main.c netdev->features & NETIF_F_RXHASH) features 3447 drivers/net/ethernet/intel/ice/ice_main.c if ((features & NETIF_F_HW_VLAN_CTAG_RX) && features 3448 drivers/net/ethernet/intel/ice/ice_main.c !(netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) features 3450 drivers/net/ethernet/intel/ice/ice_main.c else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && features 3451 drivers/net/ethernet/intel/ice/ice_main.c (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) features 3454 drivers/net/ethernet/intel/ice/ice_main.c if ((features & NETIF_F_HW_VLAN_CTAG_TX) && features 3455 drivers/net/ethernet/intel/ice/ice_main.c !(netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) features 3457 drivers/net/ethernet/intel/ice/ice_main.c else if (!(features & NETIF_F_HW_VLAN_CTAG_TX) && features 3458 drivers/net/ethernet/intel/ice/ice_main.c (netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) features 3461 drivers/net/ethernet/intel/ice/ice_main.c if ((features & NETIF_F_HW_VLAN_CTAG_FILTER) && features 3462 drivers/net/ethernet/intel/ice/ice_main.c !(netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) features 3464 drivers/net/ethernet/intel/ice/ice_main.c else if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER) && features 3465 drivers/net/ethernet/intel/ice/ice_main.c (netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) features 3479 drivers/net/ethernet/intel/ice/ice_main.c if (vsi->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 3481 drivers/net/ethernet/intel/ice/ice_main.c if (vsi->netdev->features & NETIF_F_HW_VLAN_CTAG_TX) features 4815 drivers/net/ethernet/intel/ice/ice_main.c netdev_features_t features) features 4824 drivers/net/ethernet/intel/ice/ice_main.c return features; features 4830 drivers/net/ethernet/intel/ice/ice_main.c features &= ~NETIF_F_GSO_MASK; features 4851 drivers/net/ethernet/intel/ice/ice_main.c return features; features 4853 drivers/net/ethernet/intel/ice/ice_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 870 drivers/net/ethernet/intel/ice/ice_txrx.c if (!(rx_ring->netdev->features & NETIF_F_RXHASH)) features 908 drivers/net/ethernet/intel/ice/ice_txrx.c if (!(ring->netdev->features & NETIF_F_RXCSUM)) features 987 drivers/net/ethernet/intel/ice/ice_txrx.c if ((rx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 1850 drivers/net/ethernet/intel/ice/ice_txrx.c !(tx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) { features 152 drivers/net/ethernet/intel/igb/igb_main.c netdev_features_t features); features 2439 drivers/net/ethernet/intel/igb/igb_main.c netdev_features_t features) features 2444 drivers/net/ethernet/intel/igb/igb_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 2445 drivers/net/ethernet/intel/igb/igb_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 2447 drivers/net/ethernet/intel/igb/igb_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 2449 drivers/net/ethernet/intel/igb/igb_main.c return features; features 2453 drivers/net/ethernet/intel/igb/igb_main.c netdev_features_t features) features 2455 drivers/net/ethernet/intel/igb/igb_main.c netdev_features_t changed = netdev->features ^ features; features 2459 drivers/net/ethernet/intel/igb/igb_main.c igb_vlan_mode(netdev, features); features 2464 drivers/net/ethernet/intel/igb/igb_main.c if (!(features & NETIF_F_NTUPLE)) { features 2479 drivers/net/ethernet/intel/igb/igb_main.c netdev->features = features; features 2512 drivers/net/ethernet/intel/igb/igb_main.c netdev_features_t features) features 2519 drivers/net/ethernet/intel/igb/igb_main.c return features & ~(NETIF_F_HW_CSUM | features 2527 drivers/net/ethernet/intel/igb/igb_main.c return features & ~(NETIF_F_HW_CSUM | features 2535 drivers/net/ethernet/intel/igb/igb_main.c if (skb->encapsulation && !(features & NETIF_F_TSO_MANGLEID)) features 2536 drivers/net/ethernet/intel/igb/igb_main.c features &= ~NETIF_F_TSO; features 2538 drivers/net/ethernet/intel/igb/igb_main.c return features; features 3117 drivers/net/ethernet/intel/igb/igb_main.c netdev->features |= NETIF_F_SG | features 3125 drivers/net/ethernet/intel/igb/igb_main.c netdev->features |= NETIF_F_SCTP_CRC; features 3128 drivers/net/ethernet/intel/igb/igb_main.c netdev->features |= NETIF_F_HW_TC; features 3138 drivers/net/ethernet/intel/igb/igb_main.c netdev->features |= NETIF_F_GSO_PARTIAL | IGB_GSO_PARTIAL_FEATURES; features 3141 drivers/net/ethernet/intel/igb/igb_main.c netdev->hw_features |= netdev->features | features 3150 drivers/net/ethernet/intel/igb/igb_main.c netdev->features |= NETIF_F_HIGHDMA; features 3152 drivers/net/ethernet/intel/igb/igb_main.c netdev->vlan_features |= netdev->features | NETIF_F_TSO_MANGLEID; features 3157 drivers/net/ethernet/intel/igb/igb_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | features 4379 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->netdev->features & NETIF_F_RXALL) { features 4858 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->netdev->features & NETIF_F_NTUPLE) features 5030 drivers/net/ethernet/intel/igb/igb_main.c (netdev->features & NETIF_F_RXALL)) { features 8119 drivers/net/ethernet/intel/igb/igb_main.c if (!(ring->netdev->features & NETIF_F_RXCSUM)) features 8152 drivers/net/ethernet/intel/igb/igb_main.c if (ring->netdev->features & NETIF_F_RXHASH) features 8207 drivers/net/ethernet/intel/igb/igb_main.c if (!(netdev->features & NETIF_F_RXALL)) { features 8244 drivers/net/ethernet/intel/igb/igb_main.c if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 8595 drivers/net/ethernet/intel/igb/igb_main.c static void igb_vlan_mode(struct net_device *netdev, netdev_features_t features) features 8600 drivers/net/ethernet/intel/igb/igb_main.c bool enable = !!(features & NETIF_F_HW_VLAN_CTAG_RX); features 8658 drivers/net/ethernet/intel/igb/igb_main.c igb_vlan_mode(adapter->netdev, adapter->netdev->features); features 2633 drivers/net/ethernet/intel/igbvf/netdev.c netdev_features_t features) features 2637 drivers/net/ethernet/intel/igbvf/netdev.c if (features & NETIF_F_RXCSUM) features 2650 drivers/net/ethernet/intel/igbvf/netdev.c netdev_features_t features) features 2657 drivers/net/ethernet/intel/igbvf/netdev.c return features & ~(NETIF_F_HW_CSUM | features 2665 drivers/net/ethernet/intel/igbvf/netdev.c return features & ~(NETIF_F_HW_CSUM | features 2673 drivers/net/ethernet/intel/igbvf/netdev.c if (skb->encapsulation && !(features & NETIF_F_TSO_MANGLEID)) features 2674 drivers/net/ethernet/intel/igbvf/netdev.c features &= ~NETIF_F_TSO; features 2676 drivers/net/ethernet/intel/igbvf/netdev.c return features; features 2813 drivers/net/ethernet/intel/igbvf/netdev.c netdev->features = netdev->hw_features; features 2816 drivers/net/ethernet/intel/igbvf/netdev.c netdev->features |= NETIF_F_HIGHDMA; features 2818 drivers/net/ethernet/intel/igbvf/netdev.c netdev->vlan_features |= netdev->features | NETIF_F_TSO_MANGLEID; features 2823 drivers/net/ethernet/intel/igbvf/netdev.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | features 734 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->netdev->features & NETIF_F_RXALL) { features 1170 drivers/net/ethernet/intel/igc/igc_main.c if (ring->netdev->features & NETIF_F_RXHASH) features 1454 drivers/net/ethernet/intel/igc/igc_main.c if (!(netdev->features & NETIF_F_RXALL)) { features 2243 drivers/net/ethernet/intel/igc/igc_main.c netdev_features_t features) features 2248 drivers/net/ethernet/intel/igc/igc_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 2249 drivers/net/ethernet/intel/igc/igc_main.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 2251 drivers/net/ethernet/intel/igc/igc_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 2253 drivers/net/ethernet/intel/igc/igc_main.c return features; features 2257 drivers/net/ethernet/intel/igc/igc_main.c netdev_features_t features) features 2259 drivers/net/ethernet/intel/igc/igc_main.c netdev_features_t changed = netdev->features ^ features; features 2266 drivers/net/ethernet/intel/igc/igc_main.c if (!(features & NETIF_F_NTUPLE)) { features 2281 drivers/net/ethernet/intel/igc/igc_main.c netdev->features = features; features 2293 drivers/net/ethernet/intel/igc/igc_main.c netdev_features_t features) features 2300 drivers/net/ethernet/intel/igc/igc_main.c return features & ~(NETIF_F_HW_CSUM | features 2308 drivers/net/ethernet/intel/igc/igc_main.c return features & ~(NETIF_F_HW_CSUM | features 2316 drivers/net/ethernet/intel/igc/igc_main.c if (skb->encapsulation && !(features & NETIF_F_TSO_MANGLEID)) features 2317 drivers/net/ethernet/intel/igc/igc_main.c features &= ~NETIF_F_TSO; features 2319 drivers/net/ethernet/intel/igc/igc_main.c return features; features 4214 drivers/net/ethernet/intel/igc/igc_main.c netdev->features |= NETIF_F_HW_CSUM; features 4223 drivers/net/ethernet/intel/igc/igc_main.c netdev->hw_features |= netdev->features; features 301 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_fix_features(struct net_device *netdev, netdev_features_t features) features 307 drivers/net/ethernet/intel/ixgb/ixgb_main.c if (!(features & NETIF_F_HW_VLAN_CTAG_RX)) features 308 drivers/net/ethernet/intel/ixgb/ixgb_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 310 drivers/net/ethernet/intel/ixgb/ixgb_main.c return features; features 314 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_set_features(struct net_device *netdev, netdev_features_t features) features 317 drivers/net/ethernet/intel/ixgb/ixgb_main.c netdev_features_t changed = features ^ netdev->features; features 322 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->rx_csum = !!(features & NETIF_F_RXCSUM); features 446 drivers/net/ethernet/intel/ixgb/ixgb_main.c netdev->features = netdev->hw_features | features 451 drivers/net/ethernet/intel/ixgb/ixgb_main.c netdev->features |= NETIF_F_HIGHDMA; features 1107 drivers/net/ethernet/intel/ixgb/ixgb_main.c if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 322 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (adapter->netdev->features & NETIF_F_FCOE_MTU) features 2307 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c !(netdev->features & NETIF_F_LRO)) features 646 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!(adapter->netdev->features & NETIF_F_FCOE_CRC)) features 860 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c netdev->features |= NETIF_F_FCOE_MTU; features 900 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c netdev->features &= ~NETIF_F_FCOE_MTU; features 982 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c if (adapter->netdev->features & NETIF_F_FCOE_MTU) { features 1428 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(ring->netdev->features & NETIF_F_RXHASH)) features 1478 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(ring->netdev->features & NETIF_F_RXCSUM)) features 1697 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 1894 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c !(netdev->features & NETIF_F_RXALL)))) { features 4915 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev_features_t features = netdev->features; features 4933 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; features 4972 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (features & NETIF_F_RXALL) { features 4985 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 4990 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) features 5055 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (adapter->netdev->features & NETIF_F_FCOE_MTU) features 5112 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((dev->features & NETIF_F_FCOE_MTU) && features 5173 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((dev->features & NETIF_F_FCOE_MTU) && features 8710 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (tx_ring->netdev->features & (NETIF_F_FSO | NETIF_F_FCOE_CRC))) { features 9683 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev_features_t features) features 9688 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(features & NETIF_F_RXCSUM)) features 9689 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c features &= ~NETIF_F_LRO; features 9693 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c features &= ~NETIF_F_LRO; features 9695 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (adapter->xdp_prog && (features & NETIF_F_LRO)) { features 9697 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c features &= ~NETIF_F_LRO; features 9700 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return features; features 9720 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev_features_t features) features 9723 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev_features_t changed = netdev->features ^ features; features 9727 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(features & NETIF_F_LRO)) { features 9737 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c } else if ((changed ^ features) & NETIF_F_LRO) { features 9747 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((features & NETIF_F_NTUPLE) || (features & NETIF_F_HW_TC)) { features 9777 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features = features; features 9780 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (features & NETIF_F_RXCSUM) { features 9790 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (features & NETIF_F_RXCSUM) { features 10201 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev_features_t features) features 10208 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return features & ~(NETIF_F_HW_CSUM | features 10216 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return features & ~(NETIF_F_HW_CSUM | features 10226 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (skb->encapsulation && !(features & NETIF_F_TSO_MANGLEID)) { features 10230 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c features &= ~NETIF_F_TSO; features 10233 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return features; features 10913 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features = NETIF_F_SG | features 10928 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= NETIF_F_GSO_PARTIAL | features 10932 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= NETIF_F_SCTP_CRC; features 10940 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= IXGBE_ESP_FEATURES; features 10943 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->hw_features |= netdev->features | features 10955 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= NETIF_F_HIGHDMA; features 10957 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->vlan_features |= netdev->features | NETIF_F_TSO_MANGLEID; features 10966 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | features 10996 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= NETIF_F_FSO | features 11007 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->features |= NETIF_F_LRO; features 490 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (dev->features & NETIF_F_FCOE_MTU) features 874 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (dev->features & NETIF_F_FCOE_MTU) features 107 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (!(adapter->netdev->features & NETIF_F_HW_ESP)) features 646 drivers/net/ethernet/intel/ixgbevf/ipsec.c adapter->netdev->features |= IXGBEVF_ESP_FEATURES; features 449 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (!(ring->netdev->features & NETIF_F_RXHASH)) features 476 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (!(ring->netdev->features & NETIF_F_RXCSUM)) features 747 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (!(netdev->features & NETIF_F_RXALL)) { features 4416 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netdev_features_t features) features 4423 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c return features & ~(NETIF_F_HW_CSUM | features 4431 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c return features & ~(NETIF_F_HW_CSUM | features 4439 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (skb->encapsulation && !(features & NETIF_F_TSO_MANGLEID)) features 4440 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c features &= ~NETIF_F_TSO; features 4442 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c return features; features 4637 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netdev->features = netdev->hw_features; features 4640 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netdev->features |= NETIF_F_HIGHDMA; features 4642 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netdev->vlan_features |= netdev->features | NETIF_F_TSO_MANGLEID; features 4651 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | features 718 drivers/net/ethernet/jme.c if (jme->dev->features & NETIF_F_HIGHDMA) features 2029 drivers/net/ethernet/jme.c bool hidma = jme->dev->features & NETIF_F_HIGHDMA; features 2686 drivers/net/ethernet/jme.c jme_fix_features(struct net_device *netdev, netdev_features_t features) features 2689 drivers/net/ethernet/jme.c features &= ~(NETIF_F_ALL_TSO | NETIF_F_CSUM_MASK); features 2690 drivers/net/ethernet/jme.c return features; features 2694 drivers/net/ethernet/jme.c jme_set_features(struct net_device *netdev, netdev_features_t features) features 2699 drivers/net/ethernet/jme.c if (features & NETIF_F_RXCSUM) features 2986 drivers/net/ethernet/jme.c netdev->features = NETIF_F_IP_CSUM | features 2994 drivers/net/ethernet/jme.c netdev->features |= NETIF_F_HIGHDMA; features 3058 drivers/net/ethernet/jme.c netdev->features |= NETIF_F_RXCSUM; features 1681 drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_set_features(struct net_device *dev, netdev_features_t features) features 1684 drivers/net/ethernet/marvell/mv643xx_eth.c bool rx_csum = features & NETIF_F_RXCSUM; features 2361 drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_set_features(mp->dev, mp->dev->features); features 3190 drivers/net/ethernet/marvell/mv643xx_eth.c dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; features 3191 drivers/net/ethernet/marvell/mv643xx_eth.c dev->vlan_features = dev->features; features 3193 drivers/net/ethernet/marvell/mv643xx_eth.c dev->features |= NETIF_F_RXCSUM; features 3194 drivers/net/ethernet/marvell/mv643xx_eth.c dev->hw_features = dev->features; features 1743 drivers/net/ethernet/marvell/mvneta.c if ((pp->dev->features & NETIF_F_RXCSUM) && features 3325 drivers/net/ethernet/marvell/mvneta.c netdev_features_t features) features 3330 drivers/net/ethernet/marvell/mvneta.c features &= ~(NETIF_F_IP_CSUM | NETIF_F_TSO); features 3336 drivers/net/ethernet/marvell/mvneta.c return features; features 4686 drivers/net/ethernet/marvell/mvneta.c dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | features 4688 drivers/net/ethernet/marvell/mvneta.c dev->hw_features |= dev->features; features 4689 drivers/net/ethernet/marvell/mvneta.c dev->vlan_features |= dev->features; features 957 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c port->dev->features &= ~csums; features 960 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c port->dev->features |= csums; features 1005 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c dev->wanted_features = dev->features; features 3777 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (!enable && (port->dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) features 3998 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c netdev_features_t features) features 4000 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c netdev_features_t changed = dev->features ^ features; features 4004 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) { features 4017 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (features & NETIF_F_RXHASH) features 5201 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c netdev_features_t features; features 5371 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | features 5373 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c dev->features = features | NETIF_F_RXCSUM; features 5374 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c dev->hw_features |= features | NETIF_F_RXCSUM | NETIF_F_GRO | features 5379 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c dev->features |= NETIF_F_NTUPLE; features 5385 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c dev->vlan_features |= features; features 3110 drivers/net/ethernet/marvell/skge.c if (dev->features & NETIF_F_RXCSUM) { features 3826 drivers/net/ethernet/marvell/skge.c dev->features |= NETIF_F_HIGHDMA; features 3859 drivers/net/ethernet/marvell/skge.c dev->features |= dev->hw_features; features 1275 drivers/net/ethernet/marvell/sky2.c (sky2->netdev->features & NETIF_F_RXCSUM) features 1280 drivers/net/ethernet/marvell/sky2.c static void rx_set_rss(struct net_device *dev, netdev_features_t features) features 1293 drivers/net/ethernet/marvell/sky2.c if (features & NETIF_F_RXHASH) { features 1402 drivers/net/ethernet/marvell/sky2.c static void sky2_vlan_mode(struct net_device *dev, netdev_features_t features) features 1408 drivers/net/ethernet/marvell/sky2.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 1415 drivers/net/ethernet/marvell/sky2.c if (features & NETIF_F_HW_VLAN_CTAG_TX) { features 1542 drivers/net/ethernet/marvell/sky2.c rx_set_rss(sky2->netdev, sky2->netdev->features); features 1704 drivers/net/ethernet/marvell/sky2.c sky2_vlan_mode(sky2->netdev, sky2->netdev->features); features 2679 drivers/net/ethernet/marvell/sky2.c sky2->netdev->features &= ~NETIF_F_RXCSUM; features 2745 drivers/net/ethernet/marvell/sky2.c if ((dev->features & NETIF_F_RXCSUM) && features 2769 drivers/net/ethernet/marvell/sky2.c if (likely(dev->features & NETIF_F_RXCSUM)) features 4356 drivers/net/ethernet/marvell/sky2.c netdev_features_t features) features 4366 drivers/net/ethernet/marvell/sky2.c features &= ~(NETIF_F_TSO | NETIF_F_SG | NETIF_F_CSUM_MASK); features 4370 drivers/net/ethernet/marvell/sky2.c if ( (features & NETIF_F_RXHASH) && features 4371 drivers/net/ethernet/marvell/sky2.c !(features & NETIF_F_RXCSUM) && features 4374 drivers/net/ethernet/marvell/sky2.c features |= NETIF_F_RXCSUM; features 4377 drivers/net/ethernet/marvell/sky2.c return features; features 4380 drivers/net/ethernet/marvell/sky2.c static int sky2_set_features(struct net_device *dev, netdev_features_t features) features 4383 drivers/net/ethernet/marvell/sky2.c netdev_features_t changed = dev->features ^ features; features 4389 drivers/net/ethernet/marvell/sky2.c (features & NETIF_F_RXCSUM) features 4394 drivers/net/ethernet/marvell/sky2.c rx_set_rss(dev, features); features 4397 drivers/net/ethernet/marvell/sky2.c sky2_vlan_mode(dev, features); features 4768 drivers/net/ethernet/marvell/sky2.c dev->features |= NETIF_F_HIGHDMA; features 4780 drivers/net/ethernet/marvell/sky2.c dev->features |= dev->hw_features; features 1308 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX && features 1973 drivers/net/ethernet/mediatek/mtk_eth_soc.c netdev_features_t features) features 1975 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (!(features & NETIF_F_LRO)) { features 1982 drivers/net/ethernet/mediatek/mtk_eth_soc.c features |= NETIF_F_LRO; features 1986 drivers/net/ethernet/mediatek/mtk_eth_soc.c return features; features 1989 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_set_features(struct net_device *dev, netdev_features_t features) features 1993 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (!((dev->features ^ features) & NETIF_F_LRO)) features 1996 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (!(features & NETIF_F_LRO)) features 2866 drivers/net/ethernet/mediatek/mtk_eth_soc.c eth->netdev[id]->features |= eth->soc->hw_features; features 1218 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!(dev->features & NETIF_F_RXHASH)) features 1224 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (dev->features & NETIF_F_RXHASH) features 102 drivers/net/ethernet/mellanox/mlx4/en_main.c netdev_features_t features) features 106 drivers/net/ethernet/mellanox/mlx4/en_main.c if (features & NETIF_F_LOOPBACK) features 118 drivers/net/ethernet/mellanox/mlx4/en_main.c !(features & NETIF_F_LOOPBACK) && !priv->validate_loopback) features 133 drivers/net/ethernet/mellanox/mlx4/en_main.c int loopback = !!(features & NETIF_F_LOOPBACK); features 2457 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (mlx4_en_reset_config(dev, config, dev->features)) { features 2487 drivers/net/ethernet/mellanox/mlx4/en_netdev.c netdev_features_t features) features 2496 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (features & NETIF_F_HW_VLAN_CTAG_RX && features 2498 drivers/net/ethernet/mellanox/mlx4/en_netdev.c features |= NETIF_F_HW_VLAN_STAG_RX; features 2500 drivers/net/ethernet/mellanox/mlx4/en_netdev.c features &= ~NETIF_F_HW_VLAN_STAG_RX; features 2502 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return features; features 2506 drivers/net/ethernet/mellanox/mlx4/en_netdev.c netdev_features_t features) features 2512 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXFCS)) { features 2514 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (features & NETIF_F_RXFCS) ? "ON" : "OFF"); features 2518 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXALL)) { features 2519 drivers/net/ethernet/mellanox/mlx4/en_netdev.c u8 ignore_fcs_value = (features & NETIF_F_RXALL) ? 1 : 0; features 2529 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_RX)) { features 2531 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (features & NETIF_F_HW_VLAN_CTAG_RX) ? "ON" : "OFF"); features 2535 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_TX)) features 2537 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (features & NETIF_F_HW_VLAN_CTAG_TX) ? "ON" : "OFF"); features 2539 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_STAG_TX)) features 2541 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (features & NETIF_F_HW_VLAN_STAG_TX) ? "ON" : "OFF"); features 2543 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_LOOPBACK)) { features 2545 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (features & NETIF_F_LOOPBACK) ? "ON" : "OFF"); features 2546 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_update_loopback_state(netdev, features); features 2551 drivers/net/ethernet/mellanox/mlx4/en_netdev.c features); features 2726 drivers/net/ethernet/mellanox/mlx4/en_netdev.c netdev_features_t features) features 2728 drivers/net/ethernet/mellanox/mlx4/en_netdev.c features = vlan_features_check(skb, features); features 2729 drivers/net/ethernet/mellanox/mlx4/en_netdev.c features = vxlan_features_check(skb, features); features 2742 drivers/net/ethernet/mellanox/mlx4/en_netdev.c features &= ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 2745 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return features; features 3416 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features |= NETIF_F_GSO_UDP_TUNNEL | features 3431 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features = dev->hw_features | NETIF_F_HIGHDMA | features 3438 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features |= NETIF_F_HW_VLAN_STAG_RX | features 3459 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features &= ~(NETIF_F_HW_VLAN_CTAG_TX | features 3509 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_update_loopback_state(priv->dev, priv->dev->features); features 3573 drivers/net/ethernet/mellanox/mlx4/en_netdev.c netdev_features_t features) features 3584 drivers/net/ethernet/mellanox/mlx4/en_netdev.c !DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX) && features 3585 drivers/net/ethernet/mellanox/mlx4/en_netdev.c !DEV_FEATURE_CHANGED(dev, features, NETIF_F_RXFCS)) features 3588 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX) && features 3589 drivers/net/ethernet/mellanox/mlx4/en_netdev.c (features & NETIF_F_HW_VLAN_CTAG_RX) && features 3615 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX)) { features 3616 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 3617 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features |= NETIF_F_HW_VLAN_CTAG_RX; features 3619 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; features 3625 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features |= NETIF_F_HW_VLAN_CTAG_RX; features 3627 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; features 3630 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_RXFCS)) { features 3631 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (features & NETIF_F_RXFCS) features 3632 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features |= NETIF_F_RXFCS; features 3634 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features &= ~NETIF_F_RXFCS; features 3642 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (dev->features & NETIF_F_HW_VLAN_CTAG_RX) features 3644 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; features 79 drivers/net/ethernet/mellanox/mlx4/en_resources.c if (!(dev->features & NETIF_F_LOOPBACK)) features 84 drivers/net/ethernet/mellanox/mlx4/en_resources.c if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX)) features 834 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (likely(dev->features & NETIF_F_RXCSUM)) { features 857 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (check_csum(cqe, skb, va, dev->features)) features 870 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (dev->features & NETIF_F_RXHASH) features 877 drivers/net/ethernet/mellanox/mlx4/en_rx.c (dev->features & NETIF_F_HW_VLAN_CTAG_RX)) features 882 drivers/net/ethernet/mellanox/mlx4/en_rx.c (dev->features & NETIF_F_HW_VLAN_STAG_RX)) features 1084 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (priv->dev->features & NETIF_F_RXFCS) features 88 drivers/net/ethernet/mellanox/mlx4/en_selftest.c mlx4_en_update_loopback_state(priv->dev, priv->dev->features); features 111 drivers/net/ethernet/mellanox/mlx4/en_selftest.c mlx4_en_update_loopback_state(priv->dev, priv->dev->features); features 669 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h netdev_features_t features); features 788 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h ((dev->features & feature) ^ (new_features & feature)) features 1198 drivers/net/ethernet/mellanox/mlx5/core/en.h netdev_features_t features); features 1199 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_set_features(struct net_device *netdev, netdev_features_t features); features 529 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c netdev->features |= NETIF_F_HW_ESP; features 537 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c netdev->features |= NETIF_F_HW_ESP_TX_CSUM; features 547 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c netdev->features |= NETIF_F_GSO_ESP; features 365 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c netdev_features_t features) features 50 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h netdev_features_t features); features 90 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c netdev->features |= NETIF_F_HW_TLS_TX; features 205 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c netdev->features |= NETIF_F_HW_TLS_TX; features 210 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c netdev->features |= NETIF_F_HW_TLS_RX; features 215 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c netdev->features &= ~NETIF_F_LRO; features 452 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c arfs_enabled = priv->netdev->features & NETIF_F_NTUPLE; features 3648 drivers/net/ethernet/mellanox/mlx5/core/en_main.c #define MLX5E_SET_FEATURE(features, feature, enable) \ features 3651 drivers/net/ethernet/mellanox/mlx5/core/en_main.c *features |= feature; \ features 3653 drivers/net/ethernet/mellanox/mlx5/core/en_main.c *features &= ~feature; \ features 3795 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t *features, features 3800 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t changes = wanted_features ^ netdev->features; features 3814 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5E_SET_FEATURE(features, feature, enable); features 3818 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int mlx5e_set_features(struct net_device *netdev, netdev_features_t features) features 3820 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t oper_features = netdev->features; features 3824 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_handle_feature(netdev, &oper_features, features, feature, handler) features 3840 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features = oper_features; features 3848 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t features) features 3859 drivers/net/ethernet/mellanox/mlx5/core/en_main.c features &= ~NETIF_F_HW_VLAN_CTAG_RX; features 3864 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (features & NETIF_F_LRO) { features 3866 drivers/net/ethernet/mellanox/mlx5/core/en_main.c features &= ~NETIF_F_LRO; features 3871 drivers/net/ethernet/mellanox/mlx5/core/en_main.c features &= ~NETIF_F_RXHASH; features 3872 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (netdev->features & NETIF_F_RXHASH) features 3878 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4267 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t features) features 4287 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4291 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4299 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4304 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4310 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 4315 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t features) features 4319 drivers/net/ethernet/mellanox/mlx5/core/en_main.c features = vlan_features_check(skb, features); features 4320 drivers/net/ethernet/mellanox/mlx5/core/en_main.c features = vxlan_features_check(skb, features); features 4323 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (mlx5e_ipsec_feature_check(skb, netdev, features)) features 4324 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4329 drivers/net/ethernet/mellanox/mlx5/core/en_main.c (features & NETIF_F_CSUM_MASK || features & NETIF_F_GSO_MASK)) features 4330 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5e_tunnel_features_check(priv, skb, features); features 4332 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return features; features 4954 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features |= NETIF_F_GSO_UDP_L4; features 4964 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features = netdev->hw_features; features 4966 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features &= ~NETIF_F_LRO; features 4969 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features &= ~NETIF_F_RXALL; features 4972 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features &= ~NETIF_F_RXFCS; features 4976 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features &= ~NETIF_F_RXHASH; features 4991 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features |= NETIF_F_HIGHDMA; features 4992 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->features |= NETIF_F_HW_VLAN_STAG_FILTER; features 1469 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c netdev->features |= NETIF_F_NETNS_LOCAL; features 1483 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c netdev->features |= NETIF_F_VLAN_CHALLENGED; features 1485 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c netdev->features |= netdev->hw_features; features 916 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (unlikely(!(netdev->features & NETIF_F_RXCSUM))) features 1008 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (likely(netdev->features & NETIF_F_RXHASH)) features 1482 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (netdev->features & NETIF_F_RXCSUM) { features 1497 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (likely(netdev->features & NETIF_F_RXHASH)) features 4098 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c !(priv->netdev->features & NETIF_F_HW_TC)) features 573 drivers/net/ethernet/mellanox/mlxsw/core.c if (!(mlxsw_core->bus->features & MLXSW_BUS_F_TXRX)) features 614 drivers/net/ethernet/mellanox/mlxsw/core.c if (!(mlxsw_core->bus->features & MLXSW_BUS_F_TXRX)) features 992 drivers/net/ethernet/mellanox/mlxsw/core.c if (!(mlxsw_core->bus->features & MLXSW_BUS_F_RESET)) features 373 drivers/net/ethernet/mellanox/mlxsw/core.h u8 features; features 1755 drivers/net/ethernet/mellanox/mlxsw/pci.c .features = MLXSW_BUS_F_TXRX | MLXSW_BUS_F_RESET, features 1800 drivers/net/ethernet/mellanox/mlxsw/spectrum.c netdev_features_t changes = wanted_features ^ dev->features; features 1815 drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev->features |= feature; features 1817 drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev->features &= ~feature; features 1822 drivers/net/ethernet/mellanox/mlxsw/spectrum.c netdev_features_t features) features 1824 drivers/net/ethernet/mellanox/mlxsw/spectrum.c netdev_features_t oper_features = dev->features; features 1827 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, features 1829 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_LOOPBACK, features 1833 drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev->features = oper_features; features 3691 drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_LLTX | NETIF_F_SG | features 1015 drivers/net/ethernet/mellanox/mlxsw/switchx2.c dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_LLTX | NETIF_F_SG | features 1301 drivers/net/ethernet/micrel/ksz884x.c uint features; features 3258 drivers/net/ethernet/micrel/ksz884x.c if ((hw->features & HALF_DUPLEX_SIGNAL_BUG) && features 3729 drivers/net/ethernet/micrel/ksz884x.c hw->features |= SMALL_PACKET_TX_BUG; features 3731 drivers/net/ethernet/micrel/ksz884x.c hw->features |= HALF_DUPLEX_SIGNAL_BUG; features 4290 drivers/net/ethernet/micrel/ksz884x.c if (hw->features & STP_SUPPORT) features 4836 drivers/net/ethernet/micrel/ksz884x.c if (hw->features & SMALL_PACKET_TX_BUG) { features 5273 drivers/net/ethernet/micrel/ksz884x.c hw->features |= LINK_INT_WORKING; features 5365 drivers/net/ethernet/micrel/ksz884x.c if (hw->features & STP_SUPPORT) { features 5404 drivers/net/ethernet/micrel/ksz884x.c if (hw->features & STP_SUPPORT) features 5417 drivers/net/ethernet/micrel/ksz884x.c if (hw->features & RX_HUGE_FRAME) features 5423 drivers/net/ethernet/micrel/ksz884x.c if (hw->features & RX_HUGE_FRAME) { features 5696 drivers/net/ethernet/micrel/ksz884x.c if ((hw->features & STP_SUPPORT) && !promiscuous && features 5801 drivers/net/ethernet/micrel/ksz884x.c hw->features |= RX_HUGE_FRAME; features 5804 drivers/net/ethernet/micrel/ksz884x.c hw->features &= ~RX_HUGE_FRAME; features 6579 drivers/net/ethernet/micrel/ksz884x.c netdev_features_t features) features 6588 drivers/net/ethernet/micrel/ksz884x.c if (features & NETIF_F_RXCSUM) features 6716 drivers/net/ethernet/micrel/ksz884x.c if (!(hw->features & LINK_INT_WORKING)) features 6794 drivers/net/ethernet/micrel/ksz884x.c dev->features |= dev->hw_features; features 2793 drivers/net/ethernet/microchip/lan743x_main.c adapter->netdev->features = NETIF_F_SG | NETIF_F_TSO | NETIF_F_HW_CSUM; features 2794 drivers/net/ethernet/microchip/lan743x_main.c adapter->netdev->hw_features = adapter->netdev->features; features 173 drivers/net/ethernet/mscc/ocelot.c netdev_features_t features) features 181 drivers/net/ethernet/mscc/ocelot.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) features 954 drivers/net/ethernet/mscc/ocelot.c netdev_features_t features) features 957 drivers/net/ethernet/mscc/ocelot.c netdev_features_t changed = dev->features ^ features; features 959 drivers/net/ethernet/mscc/ocelot.c if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && features 967 drivers/net/ethernet/mscc/ocelot.c ocelot_vlan_mode(port, features); features 2033 drivers/net/ethernet/mscc/ocelot.c dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_TC; features 149 drivers/net/ethernet/mscc/ocelot_board.c if (unlikely(dev->features & NETIF_F_RXFCS)) { features 246 drivers/net/ethernet/myricom/myri10ge/myri10ge.c u32 features; features 690 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_TSO; features 695 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->features |= NETIF_F_TSO6; features 1295 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) == features 1374 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (dev->features & NETIF_F_RXCSUM) { features 2900 drivers/net/ethernet/myricom/myri10ge/myri10ge.c segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6); features 3901 drivers/net/ethernet/myricom/myri10ge/myri10ge.c netdev->hw_features = mgp->features | NETIF_F_RXCSUM; features 3906 drivers/net/ethernet/myricom/myri10ge/myri10ge.c netdev->features = netdev->hw_features; features 3909 drivers/net/ethernet/myricom/myri10ge/myri10ge.c netdev->features |= NETIF_F_HIGHDMA; features 3911 drivers/net/ethernet/myricom/myri10ge/myri10ge.c netdev->vlan_features |= mgp->features; features 47 drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h unsigned features; features 2141 drivers/net/ethernet/natsemi/ns83820.c ndev->features |= NETIF_F_SG; features 2142 drivers/net/ethernet/natsemi/ns83820.c ndev->features |= NETIF_F_IP_CSUM; features 2148 drivers/net/ethernet/natsemi/ns83820.c ndev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; features 2154 drivers/net/ethernet/natsemi/ns83820.c ndev->features |= NETIF_F_HIGHDMA; features 2162 drivers/net/ethernet/natsemi/ns83820.c (ndev->features & NETIF_F_HIGHDMA) ? "h,sg" : "sg" features 6561 drivers/net/ethernet/neterion/s2io.c static int s2io_set_features(struct net_device *dev, netdev_features_t features) features 6564 drivers/net/ethernet/neterion/s2io.c netdev_features_t changed = (features ^ dev->features) & NETIF_F_LRO; features 6571 drivers/net/ethernet/neterion/s2io.c dev->features = features; features 7120 drivers/net/ethernet/neterion/s2io.c ring->lro = !!(dev->features & NETIF_F_LRO); features 7154 drivers/net/ethernet/neterion/s2io.c if (dev->features & NETIF_F_LRO) { features 7368 drivers/net/ethernet/neterion/s2io.c (dev->features & NETIF_F_RXCSUM)) { features 7866 drivers/net/ethernet/neterion/s2io.c dev->features |= dev->hw_features | features 7869 drivers/net/ethernet/neterion/s2io.c dev->features |= NETIF_F_HIGHDMA; features 492 drivers/net/ethernet/neterion/vxge/vxge-main.c (dev->features & NETIF_F_RXCSUM) && /* Offload Rx side CSUM */ features 2652 drivers/net/ethernet/neterion/vxge/vxge-main.c netdev_features_t features) features 2654 drivers/net/ethernet/neterion/vxge/vxge-main.c netdev_features_t changed = dev->features ^ features; features 2661 drivers/net/ethernet/neterion/vxge/vxge-main.c features ^= NETIF_F_RXHASH; features 2663 drivers/net/ethernet/neterion/vxge/vxge-main.c return features; features 2666 drivers/net/ethernet/neterion/vxge/vxge-main.c static int vxge_set_features(struct net_device *dev, netdev_features_t features) features 2669 drivers/net/ethernet/neterion/vxge/vxge-main.c netdev_features_t changed = dev->features ^ features; features 2676 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->devh->config.rth_en = !!(features & NETIF_F_RXHASH); features 2678 drivers/net/ethernet/neterion/vxge/vxge-main.c dev->features = features ^ NETIF_F_RXHASH; features 2679 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->devh->config.rth_en = !!(dev->features & NETIF_F_RXHASH); features 3415 drivers/net/ethernet/neterion/vxge/vxge-main.c ndev->features |= ndev->hw_features | features 3441 drivers/net/ethernet/neterion/vxge/vxge-main.c ndev->features |= NETIF_F_HIGHDMA; features 512 drivers/net/ethernet/netronome/nfp/crypto/tls.c netdev->features |= NETIF_F_HW_TLS_RX; features 516 drivers/net/ethernet/netronome/nfp/crypto/tls.c netdev->features |= NETIF_F_HW_TLS_TX; features 670 drivers/net/ethernet/netronome/nfp/flower/main.c u64 version, features, ctx_count, num_mems; features 751 drivers/net/ethernet/netronome/nfp/flower/main.c features = nfp_rtsym_read_le(app->pf->rtbl, features 756 drivers/net/ethernet/netronome/nfp/flower/main.c app_priv->flower_ext_feats = features; features 1595 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (!(dp->netdev->features & NETIF_F_RXCSUM)) features 1639 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (!(netdev->features & NETIF_F_RXHASH)) features 3410 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netdev_features_t features) features 3412 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netdev_features_t changed = netdev->features ^ features; features 3422 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & NETIF_F_RXCSUM) features 3429 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) features 3436 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & (NETIF_F_TSO | NETIF_F_TSO6)) features 3444 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 3451 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & NETIF_F_HW_VLAN_CTAG_TX) features 3458 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) features 3465 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (features & NETIF_F_SG) features 3471 drivers/net/ethernet/netronome/nfp/nfp_net_common.c err = nfp_port_set_features(netdev, features); features 3476 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netdev->features, features, changed); features 3494 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netdev_features_t features) features 3499 drivers/net/ethernet/netronome/nfp/nfp_net_common.c features &= vlan_features_check(skb, features); features 3502 drivers/net/ethernet/netronome/nfp/nfp_net_common.c return features; features 3515 drivers/net/ethernet/netronome/nfp/nfp_net_common.c features &= ~NETIF_F_GSO_MASK; features 3527 drivers/net/ethernet/netronome/nfp/nfp_net_common.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 3536 drivers/net/ethernet/netronome/nfp/nfp_net_common.c return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 3538 drivers/net/ethernet/netronome/nfp/nfp_net_common.c return features; features 4036 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netdev->features = netdev->hw_features; features 4042 drivers/net/ethernet/netronome/nfp/nfp_net_common.c netdev->features &= ~(NETIF_F_TSO | NETIF_F_TSO6); features 235 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) features 238 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c netdev_features_t old_features = features; features 244 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c lower_features = lower_dev->features; features 248 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c features = netdev_intersect_features(features, lower_features); features 249 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); features 250 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c features |= NETIF_F_LLTX; features 252 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c return features; features 363 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c netdev->features = netdev->hw_features; features 366 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c netdev->features &= ~(NETIF_F_TSO | NETIF_F_TSO6); features 370 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c netdev->features |= NETIF_F_LLTX; features 373 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c netdev->features |= NETIF_F_HW_TC; features 61 drivers/net/ethernet/netronome/nfp/nfp_port.c int nfp_port_set_features(struct net_device *netdev, netdev_features_t features) features 69 drivers/net/ethernet/netronome/nfp/nfp_port.c if ((netdev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC) && features 106 drivers/net/ethernet/netronome/nfp/nfp_port.h nfp_port_set_features(struct net_device *netdev, netdev_features_t features); features 1298 drivers/net/ethernet/ni/nixge.c ndev->features = NETIF_F_SG; features 3021 drivers/net/ethernet/nvidia/forcedeth.c if (dev->features & NETIF_F_HW_VLAN_CTAG_RX && features 4834 drivers/net/ethernet/nvidia/forcedeth.c static int nv_set_loopback(struct net_device *dev, netdev_features_t features) features 4843 drivers/net/ethernet/nvidia/forcedeth.c if (features & NETIF_F_LOOPBACK) { features 4890 drivers/net/ethernet/nvidia/forcedeth.c netdev_features_t features) features 4893 drivers/net/ethernet/nvidia/forcedeth.c if (features & (NETIF_F_HW_VLAN_CTAG_TX|NETIF_F_HW_VLAN_CTAG_RX)) features 4894 drivers/net/ethernet/nvidia/forcedeth.c features |= NETIF_F_RXCSUM; features 4896 drivers/net/ethernet/nvidia/forcedeth.c return features; features 4899 drivers/net/ethernet/nvidia/forcedeth.c static void nv_vlan_mode(struct net_device *dev, netdev_features_t features) features 4905 drivers/net/ethernet/nvidia/forcedeth.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 4910 drivers/net/ethernet/nvidia/forcedeth.c if (features & NETIF_F_HW_VLAN_CTAG_TX) features 4920 drivers/net/ethernet/nvidia/forcedeth.c static int nv_set_features(struct net_device *dev, netdev_features_t features) features 4924 drivers/net/ethernet/nvidia/forcedeth.c netdev_features_t changed = dev->features ^ features; features 4928 drivers/net/ethernet/nvidia/forcedeth.c retval = nv_set_loopback(dev, features); features 4936 drivers/net/ethernet/nvidia/forcedeth.c if (features & NETIF_F_RXCSUM) features 4948 drivers/net/ethernet/nvidia/forcedeth.c nv_vlan_mode(dev, features); features 5578 drivers/net/ethernet/nvidia/forcedeth.c if (dev->features & NETIF_F_LOOPBACK) features 5579 drivers/net/ethernet/nvidia/forcedeth.c nv_set_loopback(dev, dev->features); features 5755 drivers/net/ethernet/nvidia/forcedeth.c dev->features |= NETIF_F_HIGHDMA; features 5788 drivers/net/ethernet/nvidia/forcedeth.c dev->features |= dev->hw_features; features 6076 drivers/net/ethernet/nvidia/forcedeth.c nv_vlan_mode(dev, dev->features); features 6082 drivers/net/ethernet/nvidia/forcedeth.c dev->features & NETIF_F_HIGHDMA ? "highdma " : "", features 6083 drivers/net/ethernet/nvidia/forcedeth.c dev->features & (NETIF_F_IP_CSUM | NETIF_F_SG) ? features 6085 drivers/net/ethernet/nvidia/forcedeth.c dev->features & (NETIF_F_HW_VLAN_CTAG_RX | features 6088 drivers/net/ethernet/nvidia/forcedeth.c dev->features & (NETIF_F_LOOPBACK) ? features 2233 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c netdev_features_t features) features 2236 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c netdev_features_t changed = features ^ netdev->features; features 2553 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c netdev->features = netdev->hw_features; features 480 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c dev->features &= ~NETIF_F_RXCSUM; features 492 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c dev->features &= ~NETIF_F_CSUM_MASK; features 1698 drivers/net/ethernet/pasemi/pasemi_mac.c dev->features = NETIF_F_IP_CSUM | NETIF_F_LLTX | NETIF_F_SG | features 363 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1316 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1331 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1358 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1416 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1441 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1480 drivers/net/ethernet/pensando/ionic/ionic_if.h __le64 features; features 1024 drivers/net/ethernet/pensando/ionic/ionic_lif.c static __le64 ionic_netdev_features_to_nic(netdev_features_t features) features 1028 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_HW_VLAN_CTAG_TX) features 1030 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 1032 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) features 1034 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_RXHASH) features 1036 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_RXCSUM) features 1038 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_SG) features 1040 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_HW_CSUM) features 1042 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_TSO) features 1044 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_TSO6) features 1046 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_TSO_ECN) features 1048 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_GSO_GRE) features 1050 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_GSO_GRE_CSUM) features 1052 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_GSO_IPXIP4) features 1054 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_GSO_IPXIP6) features 1056 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_GSO_UDP_TUNNEL) features 1058 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (features & NETIF_F_GSO_UDP_TUNNEL_CSUM) features 1065 drivers/net/ethernet/pensando/ionic/ionic_lif.c netdev_features_t features) features 1081 drivers/net/ethernet/pensando/ionic/ionic_lif.c ctx.cmd.lif_setattr.features = ionic_netdev_features_to_nic(features); features 1086 drivers/net/ethernet/pensando/ionic/ionic_lif.c lif->hw_features = le64_to_cpu(ctx.cmd.lif_setattr.features & features 1087 drivers/net/ethernet/pensando/ionic/ionic_lif.c ctx.comp.lif_setattr.features); features 1089 drivers/net/ethernet/pensando/ionic/ionic_lif.c if ((vlan_flags & features) && features 1090 drivers/net/ethernet/pensando/ionic/ionic_lif.c !(vlan_flags & le64_to_cpu(ctx.comp.lif_setattr.features))) features 1132 drivers/net/ethernet/pensando/ionic/ionic_lif.c netdev_features_t features; features 1136 drivers/net/ethernet/pensando/ionic/ionic_lif.c features = NETIF_F_HW_VLAN_CTAG_TX | features 1147 drivers/net/ethernet/pensando/ionic/ionic_lif.c err = ionic_set_nic_features(lif, features); features 1152 drivers/net/ethernet/pensando/ionic/ionic_lif.c netdev->features |= NETIF_F_HIGHDMA; features 1189 drivers/net/ethernet/pensando/ionic/ionic_lif.c netdev->features |= netdev->hw_features; features 1197 drivers/net/ethernet/pensando/ionic/ionic_lif.c netdev_features_t features) features 1203 drivers/net/ethernet/pensando/ionic/ionic_lif.c __func__, (u64)lif->netdev->features, (u64)features); features 1205 drivers/net/ethernet/pensando/ionic/ionic_lif.c err = ionic_set_nic_features(lif, features); features 1498 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (lif->netdev->features & NETIF_F_RXHASH) features 2190 drivers/net/ethernet/pensando/ionic/ionic_lif.c le64_to_cpu(lid->eth.config.features)); features 118 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (netdev->features & NETIF_F_RXHASH) { features 135 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (netdev->features & NETIF_F_RXCSUM) { features 150 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) { features 1501 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (likely((adapter->netdev->features & NETIF_F_RXCSUM) features 521 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netdev_features_t features) features 523 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (!(features & NETIF_F_RXCSUM)) { features 526 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c features &= ~NETIF_F_LRO; features 529 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c return features; features 533 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netdev_features_t features) features 538 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (!((dev->features ^ features) & NETIF_F_LRO)) features 541 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c hw_lro = (features & NETIF_F_LRO) ? NETXEN_NIC_LRO_ENABLED features 547 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (!(features & NETIF_F_LRO) && netxen_send_lro_cleanup(adapter)) features 1126 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (netdev->features & NETIF_F_LRO) features 1362 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netdev->features |= NETIF_F_HIGHDMA; features 1372 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netdev->features |= netdev->hw_features; features 1882 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if ((netdev->features & (NETIF_F_TSO | NETIF_F_TSO6)) && features 722 drivers/net/ethernet/qlogic/qed/qed.h struct qed_dbg_feature features[DBG_FEATURE_NUM]; features 368 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_app = &p_hwfn->p_dcbx_info->operational.features.app; features 371 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_ets = &p_hwfn->p_dcbx_info->operational.features.ets; features 635 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_feat = &p_hwfn->p_dcbx_info->local_admin.features; features 647 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_feat = &p_hwfn->p_dcbx_info->remote.features; features 680 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_feat = &p_hwfn->p_dcbx_info->operational.features; features 1203 drivers/net/ethernet/qlogic/qed/qed_dcbx.c memcpy(&local_admin->features, features 1204 drivers/net/ethernet/qlogic/qed/qed_dcbx.c &p_hwfn->p_dcbx_info->operational.features, features 1205 drivers/net/ethernet/qlogic/qed/qed_dcbx.c sizeof(local_admin->features)); features 1218 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_set_pfc_data(p_hwfn, &local_admin->features.pfc, features 1222 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_set_ets_data(p_hwfn, &local_admin->features.ets, features 1226 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_set_app_data(p_hwfn, &local_admin->features.app, features 7787 drivers/net/ethernet/qlogic/qed/qed_debug.c &p_hwfn->cdev->dbg_params.features[feature_idx]; features 7855 drivers/net/ethernet/qlogic/qed/qed_debug.c &p_hwfn->cdev->dbg_params.features[feature_idx]; features 8295 drivers/net/ethernet/qlogic/qed/qed_debug.c &cdev->dbg_params.features[feature]; features 8318 drivers/net/ethernet/qlogic/qed/qed_debug.c *num_dumped_bytes = cdev->dbg_params.features[feature].dumped_dwords * features 8332 drivers/net/ethernet/qlogic/qed/qed_debug.c &cdev->dbg_params.features[feature]; features 8382 drivers/net/ethernet/qlogic/qed/qed_debug.c feature = &cdev->dbg_params.features[feature_idx]; features 12081 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct dcbx_features features; features 12087 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct dcbx_features features; features 13253 drivers/net/ethernet/qlogic/qed/qed_hsi.h u32 features; features 3680 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mcp_resp, mcp_param, features; features 3682 drivers/net/ethernet/qlogic/qed/qed_mcp.c features = DRV_MB_PARAM_FEATURE_SUPPORT_PORT_EEE | features 3686 drivers/net/ethernet/qlogic/qed/qed_mcp.c features, &mcp_resp, &mcp_param); features 511 drivers/net/ethernet/qlogic/qede/qede.h netdev_features_t features; features 523 drivers/net/ethernet/qlogic/qede/qede.h netdev_features_t features); features 542 drivers/net/ethernet/qlogic/qede/qede.h netdev_features_t features); features 543 drivers/net/ethernet/qlogic/qede/qede.h int qede_set_features(struct net_device *dev, netdev_features_t features); features 1067 drivers/net/ethernet/qlogic/qede/qede_ethtool.c ndev->features &= ~NETIF_F_GRO_HW; features 934 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->ndev->features = args->u.features; features 938 drivers/net/ethernet/qlogic/qede/qede_filter.c netdev_features_t features) features 943 drivers/net/ethernet/qlogic/qede/qede_filter.c !(features & NETIF_F_GRO)) features 944 drivers/net/ethernet/qlogic/qede/qede_filter.c features &= ~NETIF_F_GRO_HW; features 946 drivers/net/ethernet/qlogic/qede/qede_filter.c return features; features 949 drivers/net/ethernet/qlogic/qede/qede_filter.c int qede_set_features(struct net_device *dev, netdev_features_t features) features 952 drivers/net/ethernet/qlogic/qede/qede_filter.c netdev_features_t changes = features ^ dev->features; features 961 drivers/net/ethernet/qlogic/qede/qede_filter.c args.u.features = features; features 1706 drivers/net/ethernet/qlogic/qede/qede_fp.c netdev_features_t features) features 1719 drivers/net/ethernet/qlogic/qede/qede_fp.c return features; features 1738 drivers/net/ethernet/qlogic/qede/qede_fp.c return features & ~(NETIF_F_CSUM_MASK | features 1743 drivers/net/ethernet/qlogic/qede/qede_fp.c return features; features 796 drivers/net/ethernet/qlogic/qede/qede_main.c ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | features 1409 drivers/net/ethernet/qlogic/qede/qede_main.c edev->ndev->features &= ~NETIF_F_GRO_HW; features 1454 drivers/net/ethernet/qlogic/qede/qede_main.c edev->gro_disable = !(edev->ndev->features & NETIF_F_GRO_HW); features 2506 drivers/net/ethernet/qlogic/qede/qede_main.c if (edev->ndev->features & NETIF_F_IP_CSUM) features 2508 drivers/net/ethernet/qlogic/qede/qede_main.c if (edev->ndev->features & NETIF_F_TSO) features 3823 drivers/net/ethernet/qlogic/qla3xxx.c ndev->features |= NETIF_F_HIGHDMA; features 3825 drivers/net/ethernet/qlogic/qla3xxx.c ndev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; features 1632 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h netdev_features_t features); features 1633 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h int qlcnic_set_features(struct net_device *netdev, netdev_features_t features); features 1029 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c netdev_features_t features) features 1034 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | features 1039 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features &= ~NETIF_F_TSO; features 1041 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features |= NETIF_F_TSO; features 1044 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features &= ~NETIF_F_TSO6; features 1046 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features |= NETIF_F_TSO6; features 1049 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features &= ~(NETIF_F_RXCSUM | features 1054 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features &= ~(NETIF_F_TSO | NETIF_F_TSO6); features 1058 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c return features; features 1062 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c netdev_features_t features) features 1070 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features = qlcnic_process_flags(adapter, features); features 1072 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c changed = features ^ netdev->features; features 1073 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features ^= changed & (NETIF_F_RXCSUM | features 1081 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if (!(features & NETIF_F_RXCSUM)) features 1082 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c features &= ~NETIF_F_LRO; features 1084 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c return features; features 1088 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c int qlcnic_set_features(struct net_device *netdev, netdev_features_t features) features 1091 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c netdev_features_t changed = netdev->features ^ features; features 1092 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c int hw_lro = (features & NETIF_F_LRO) ? QLCNIC_LRO_ENABLED : 0; features 1097 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c netdev->features ^= NETIF_F_LRO; features 1155 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (likely((adapter->netdev->features & NETIF_F_RXCSUM) && features 519 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev_features_t features) features 521 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c features = vlan_features_check(skb, features); features 522 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c return vxlan_features_check(skb, features); features 1914 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (netdev->features & NETIF_F_LRO) features 2303 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= (NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM | features 2310 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= (NETIF_F_TSO | NETIF_F_TSO6); features 2315 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= NETIF_F_HIGHDMA; features 2320 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= (NETIF_F_HW_VLAN_CTAG_TX); features 2323 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 2326 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= NETIF_F_LRO; features 2329 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->features |= NETIF_F_GSO_UDP_TUNNEL; features 2341 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c netdev->hw_features = netdev->features; features 289 drivers/net/ethernet/qualcomm/emac/emac-mac.c if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 1146 drivers/net/ethernet/qualcomm/emac/emac-mac.c if (netdev->features & NETIF_F_RXCSUM) features 175 drivers/net/ethernet/qualcomm/emac/emac.c netdev_features_t features) features 177 drivers/net/ethernet/qualcomm/emac/emac.c netdev_features_t changed = features ^ netdev->features; features 192 drivers/net/ethernet/qualcomm/emac/emac.c netdev->features = features; features 670 drivers/net/ethernet/qualcomm/emac/emac.c netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | features 673 drivers/net/ethernet/qualcomm/emac/emac.c netdev->hw_features = netdev->features; features 357 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (unlikely(!(skb->dev->features & NETIF_F_RXCSUM))) { features 399 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (unlikely(!(orig_dev->features & features 1459 drivers/net/ethernet/realtek/8139cp.c static int cp_set_features(struct net_device *dev, netdev_features_t features) features 1464 drivers/net/ethernet/realtek/8139cp.c if (!((dev->features ^ features) & NETIF_F_RXCSUM)) features 1469 drivers/net/ethernet/realtek/8139cp.c if (features & NETIF_F_RXCSUM) features 1474 drivers/net/ethernet/realtek/8139cp.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 1858 drivers/net/ethernet/realtek/8139cp.c netdev_features_t features) features 1861 drivers/net/ethernet/realtek/8139cp.c features &= ~NETIF_F_TSO; features 1863 drivers/net/ethernet/realtek/8139cp.c return vlan_features_check(skb, features); features 1971 drivers/net/ethernet/realtek/8139cp.c dev->features |= NETIF_F_RXCSUM; features 1997 drivers/net/ethernet/realtek/8139cp.c dev->features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | features 2001 drivers/net/ethernet/realtek/8139cp.c dev->features |= NETIF_F_HIGHDMA; features 900 drivers/net/ethernet/realtek/8139too.c static int rtl8139_set_features(struct net_device *dev, netdev_features_t features) features 904 drivers/net/ethernet/realtek/8139too.c netdev_features_t changed = features ^ dev->features; features 914 drivers/net/ethernet/realtek/8139too.c if (features & NETIF_F_RXALL) features 1010 drivers/net/ethernet/realtek/8139too.c dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA; features 1011 drivers/net/ethernet/realtek/8139too.c dev->vlan_features = dev->features; features 1971 drivers/net/ethernet/realtek/8139too.c if (likely(!(dev->features & NETIF_F_RXFCS))) features 2012 drivers/net/ethernet/realtek/8139too.c if ((dev->features & NETIF_F_RXALL) && features 2583 drivers/net/ethernet/realtek/8139too.c if (dev->features & NETIF_F_RXALL) features 1567 drivers/net/ethernet/realtek/r8169_main.c netdev_features_t features) features 1572 drivers/net/ethernet/realtek/r8169_main.c features &= ~NETIF_F_ALL_TSO; features 1576 drivers/net/ethernet/realtek/r8169_main.c features &= ~NETIF_F_IP_CSUM; features 1578 drivers/net/ethernet/realtek/r8169_main.c return features; features 1582 drivers/net/ethernet/realtek/r8169_main.c netdev_features_t features) features 1590 drivers/net/ethernet/realtek/r8169_main.c if (features & NETIF_F_RXALL) features 1596 drivers/net/ethernet/realtek/r8169_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 1604 drivers/net/ethernet/realtek/r8169_main.c if (features & NETIF_F_RXCSUM) features 1610 drivers/net/ethernet/realtek/r8169_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 4340 drivers/net/ethernet/realtek/r8169_main.c if (dev->features & NETIF_F_RXALL) features 5991 drivers/net/ethernet/realtek/r8169_main.c netdev_features_t features) features 5999 drivers/net/ethernet/realtek/r8169_main.c features &= ~NETIF_F_ALL_TSO; features 6007 drivers/net/ethernet/realtek/r8169_main.c features &= ~NETIF_F_CSUM_MASK; features 6016 drivers/net/ethernet/realtek/r8169_main.c features &= ~NETIF_F_CSUM_MASK; features 6019 drivers/net/ethernet/realtek/r8169_main.c return vlan_features_check(skb, features); features 6173 drivers/net/ethernet/realtek/r8169_main.c dev->features & NETIF_F_RXALL) { features 6182 drivers/net/ethernet/realtek/r8169_main.c if (likely(!(dev->features & NETIF_F_RXFCS))) features 7141 drivers/net/ethernet/realtek/r8169_main.c dev->features |= NETIF_F_HIGHDMA; features 7172 drivers/net/ethernet/realtek/r8169_main.c dev->features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM | features 7194 drivers/net/ethernet/realtek/r8169_main.c dev->features |= NETIF_F_IPV6_CSUM; features 404 drivers/net/ethernet/renesas/ravb_main.c (ndev->features & NETIF_F_RXCSUM ? ECMR_RCSC : 0) | features 602 drivers/net/ethernet/renesas/ravb_main.c if (ndev->features & NETIF_F_RXCSUM) features 1835 drivers/net/ethernet/renesas/ravb_main.c netdev_features_t features) features 1837 drivers/net/ethernet/renesas/ravb_main.c netdev_features_t changed = ndev->features ^ features; features 1840 drivers/net/ethernet/renesas/ravb_main.c ravb_set_rx_csum(ndev, features & NETIF_F_RXCSUM); features 1842 drivers/net/ethernet/renesas/ravb_main.c ndev->features = features; features 2012 drivers/net/ethernet/renesas/ravb_main.c ndev->features = NETIF_F_RXCSUM; features 1542 drivers/net/ethernet/renesas/sh_eth.c (ndev->features & NETIF_F_RXCSUM ? ECMR_RCSC : 0) | features 1692 drivers/net/ethernet/renesas/sh_eth.c if (ndev->features & NETIF_F_RXCSUM) features 2972 drivers/net/ethernet/renesas/sh_eth.c netdev_features_t features) features 2974 drivers/net/ethernet/renesas/sh_eth.c netdev_features_t changed = ndev->features ^ features; features 2978 drivers/net/ethernet/renesas/sh_eth.c sh_eth_set_rx_csum(ndev, features & NETIF_F_RXCSUM); features 2980 drivers/net/ethernet/renesas/sh_eth.c ndev->features = features; features 3316 drivers/net/ethernet/renesas/sh_eth.c ndev->features = NETIF_F_RXCSUM; features 3369 drivers/net/ethernet/renesas/sh_eth.c ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 2618 drivers/net/ethernet/rocker/rocker_main.c dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_SG; features 870 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c struct sxgbe_hw_features *features = &priv->hw_cap; features 875 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->pmt_remote_wake_up = features 877 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->pmt_magic_frame = SXGBE_HW_FEAT_PMT_MAGIC_PKT(rval); features 878 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->atime_stamp = SXGBE_HW_FEAT_IEEE1500_2008(rval); features 879 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->tx_csum_offload = features 881 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->rx_csum_offload = features 883 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->multi_macaddr = SXGBE_HW_FEAT_MACADDR_COUNT(rval); features 884 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->tstamp_srcselect = SXGBE_HW_FEAT_TSTMAP_SRC(rval); features 885 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->sa_vlan_insert = SXGBE_HW_FEAT_SRCADDR_VLAN(rval); features 886 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->eee = SXGBE_HW_FEAT_EEE(rval); features 892 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->rxfifo_size = SXGBE_HW_FEAT_RX_FIFO_SIZE(rval); features 893 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->txfifo_size = SXGBE_HW_FEAT_TX_FIFO_SIZE(rval); features 894 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->atstmap_hword = SXGBE_HW_FEAT_TX_FIFO_SIZE(rval); features 895 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->dcb_enable = SXGBE_HW_FEAT_DCB(rval); features 896 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->splithead_enable = SXGBE_HW_FEAT_SPLIT_HDR(rval); features 897 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->tcpseg_offload = SXGBE_HW_FEAT_TSO(rval); features 898 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->debug_mem = SXGBE_HW_FEAT_DEBUG_MEM_IFACE(rval); features 899 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->rss_enable = SXGBE_HW_FEAT_RSS(rval); features 900 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->hash_tsize = SXGBE_HW_FEAT_HASH_TABLE_SIZE(rval); features 901 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->l3l4_filer_size = SXGBE_HW_FEAT_L3L4_FILTER_NUM(rval); features 907 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->rx_mtl_queues = SXGBE_HW_FEAT_RX_MTL_QUEUES(rval); features 908 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->tx_mtl_queues = SXGBE_HW_FEAT_TX_MTL_QUEUES(rval); features 909 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->rx_dma_channels = SXGBE_HW_FEAT_RX_DMA_CHANNELS(rval); features 910 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->tx_dma_channels = SXGBE_HW_FEAT_TX_DMA_CHANNELS(rval); features 911 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->pps_output_count = SXGBE_HW_FEAT_PPS_OUTPUTS(rval); features 912 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c features->aux_input_count = SXGBE_HW_FEAT_AUX_SNAPSHOTS(rval); features 1768 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c netdev_features_t features) features 1771 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c netdev_features_t changed = dev->features ^ features; features 1774 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (features & NETIF_F_RXCSUM) { features 2103 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; features 3451 drivers/net/ethernet/sfc/ef10.c if (!(efx->net_dev->features & NETIF_F_RXALL)) { features 4991 drivers/net/ethernet/sfc/ef10.c net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; features 5005 drivers/net/ethernet/sfc/ef10.c !!(efx->net_dev->features & NETIF_F_HW_VLAN_CTAG_FILTER); features 5735 drivers/net/ethernet/sfc/ef10.c vlan_filter = !!(net_dev->features & NETIF_F_HW_VLAN_CTAG_FILTER); features 641 drivers/net/ethernet/sfc/efx.c netdev_features_t old_features = efx->net_dev->features; features 689 drivers/net/ethernet/sfc/efx.c efx->net_dev->hw_features |= efx->net_dev->features; features 691 drivers/net/ethernet/sfc/efx.c efx->net_dev->features |= efx->fixed_features; features 692 drivers/net/ethernet/sfc/efx.c if (efx->net_dev->features != old_features) features 2357 drivers/net/ethernet/sfc/efx.c if (net_dev->features & ~data & NETIF_F_NTUPLE) { features 2366 drivers/net/ethernet/sfc/efx.c if ((net_dev->features ^ data) & (NETIF_F_HW_VLAN_CTAG_FILTER | features 3512 drivers/net/ethernet/sfc/efx.c net_dev->features |= (efx->type->offload_features | NETIF_F_SG | features 3515 drivers/net/ethernet/sfc/efx.c net_dev->features |= NETIF_F_TSO6; features 3518 drivers/net/ethernet/sfc/efx.c net_dev->features &= ~NETIF_F_ALL_TSO; features 3524 drivers/net/ethernet/sfc/efx.c net_dev->hw_features |= net_dev->features & ~efx->fixed_features; features 3527 drivers/net/ethernet/sfc/efx.c net_dev->features &= ~NETIF_F_RXALL; features 3533 drivers/net/ethernet/sfc/efx.c net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; features 3534 drivers/net/ethernet/sfc/efx.c net_dev->features |= efx->fixed_features; features 595 drivers/net/ethernet/sfc/falcon/efx.c netdev_features_t old_features = efx->net_dev->features; features 643 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->hw_features |= efx->net_dev->features; features 645 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->features |= efx->fixed_features; features 646 drivers/net/ethernet/sfc/falcon/efx.c if (efx->net_dev->features != old_features) features 2198 drivers/net/ethernet/sfc/falcon/efx.c if (net_dev->features & ~data & NETIF_F_NTUPLE) { features 2205 drivers/net/ethernet/sfc/falcon/efx.c if ((net_dev->features ^ data) & NETIF_F_HW_VLAN_CTAG_FILTER) { features 2950 drivers/net/ethernet/sfc/falcon/efx.c net_dev->features |= (efx->type->offload_features | NETIF_F_SG | features 2956 drivers/net/ethernet/sfc/falcon/efx.c net_dev->hw_features = net_dev->features & ~efx->fixed_features; features 2962 drivers/net/ethernet/sfc/falcon/efx.c net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; features 2963 drivers/net/ethernet/sfc/falcon/efx.c net_dev->features |= efx->fixed_features; features 1305 drivers/net/ethernet/sfc/falcon/net_driver.h return net_dev->features | net_dev->hw_features; features 439 drivers/net/ethernet/sfc/falcon/rx.c if (efx->net_dev->features & NETIF_F_RXHASH) features 668 drivers/net/ethernet/sfc/falcon/rx.c if (unlikely(!(efx->net_dev->features & NETIF_F_RXCSUM))) features 922 drivers/net/ethernet/sfc/farch.c if (efx->net_dev->features & NETIF_F_RXALL) features 1196 drivers/net/ethernet/sfc/mcdi_port.c !!(efx->net_dev->features & NETIF_F_RXFCS)); features 1595 drivers/net/ethernet/sfc/net_driver.h return net_dev->features | net_dev->hw_features; features 427 drivers/net/ethernet/sfc/rx.c if (efx->net_dev->features & NETIF_F_RXHASH) features 666 drivers/net/ethernet/sfc/rx.c if (unlikely(!(efx->net_dev->features & NETIF_F_RXCSUM))) features 575 drivers/net/ethernet/sgi/ioc3-eth.c if (likely(dev->features & NETIF_F_RXCSUM)) features 1208 drivers/net/ethernet/sgi/ioc3-eth.c dev->features |= NETIF_F_HIGHDMA; features 1291 drivers/net/ethernet/sgi/ioc3-eth.c dev->features = NETIF_F_IP_CSUM; features 1438 drivers/net/ethernet/silan/sc92031.c dev->features = NETIF_F_SG | NETIF_F_HIGHDMA | features 286 drivers/net/ethernet/sis/sis190.c u32 features; features 992 drivers/net/ethernet/sis/sis190.c if ((tp->features & F_HAS_RGMII) && features 993 drivers/net/ethernet/sis/sis190.c (tp->features & F_PHY_BCM5461)) { features 1003 drivers/net/ethernet/sis/sis190.c if (tp->features & F_HAS_RGMII) { features 1340 drivers/net/ethernet/sis/sis190.c tp->features |= p->feature; features 1355 drivers/net/ethernet/sis/sis190.c if (tp->features & F_PHY_88E1111) { features 1363 drivers/net/ethernet/sis/sis190.c p = (tp->features & F_HAS_RGMII) ? reg[0] : reg[1]; features 1571 drivers/net/ethernet/sis/sis190.c tp->features |= (reg & 0x80) ? F_HAS_RGMII : 0; features 1900 drivers/net/ethernet/sis/sis190.c (tp->features & F_HAS_RGMII) ? "RGMII" : "GMII"); features 1724 drivers/net/ethernet/socionext/netsec.c netdev_features_t features) features 1728 drivers/net/ethernet/socionext/netsec.c priv->rx_cksum_offload_flag = !!(features & NETIF_F_RXCSUM); features 2084 drivers/net/ethernet/socionext/netsec.c ndev->features |= NETIF_F_HIGHDMA | NETIF_F_RXCSUM | NETIF_F_GSO | features 2086 drivers/net/ethernet/socionext/netsec.c ndev->hw_features = ndev->features; features 1598 drivers/net/ethernet/socionext/sni_ave.c ndev->features |= (NETIF_F_IP_CSUM | NETIF_F_RXCSUM); features 2445 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (priv->dev->features & NETIF_F_RXHASH) features 3357 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c dev->features & NETIF_F_HW_VLAN_CTAG_RX) || features 3359 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c dev->features & NETIF_F_HW_VLAN_STAG_RX)) { features 3780 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c netdev_features_t features) features 3785 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c features &= ~NETIF_F_RXCSUM; features 3788 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c features &= ~NETIF_F_CSUM_MASK; features 3796 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c features &= ~NETIF_F_CSUM_MASK; features 3800 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (features & NETIF_F_TSO) features 3806 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c return features; features 3810 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c netdev_features_t features) features 3817 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (features & NETIF_F_RXCSUM) features 4577 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; features 4581 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX; features 4583 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 4584 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= NETIF_F_HW_VLAN_STAG_FILTER; features 4587 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_TX; features 4589 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= NETIF_F_HW_VLAN_STAG_TX; features 4601 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->features |= NETIF_F_RXHASH; features 5102 drivers/net/ethernet/sun/cassini.c dev->features |= NETIF_F_HW_CSUM | NETIF_F_SG; features 5105 drivers/net/ethernet/sun/cassini.c dev->features |= NETIF_F_HIGHDMA; features 253 drivers/net/ethernet/sun/ldmvsw.c dev->features = dev->hw_features; features 3475 drivers/net/ethernet/sun/niu.c if (np->dev->features & NETIF_F_RXHASH) features 9708 drivers/net/ethernet/sun/niu.c dev->features |= dev->hw_features | NETIF_F_RXCSUM; features 9776 drivers/net/ethernet/sun/niu.c dev->features |= NETIF_F_HIGHDMA; features 856 drivers/net/ethernet/sun/sungem.c if (likely(dev->features & NETIF_F_RXCSUM)) { features 1259 drivers/net/ethernet/sun/sungem.c u32 advertise, features; features 1275 drivers/net/ethernet/sun/sungem.c features = gp->phy_mii.def->features; features 1277 drivers/net/ethernet/sun/sungem.c features = 0; features 1279 drivers/net/ethernet/sun/sungem.c advertise = features & ADVERTISE_MASK; features 1301 drivers/net/ethernet/sun/sungem.c if ((features & SUPPORTED_Autoneg) == 0) features 1304 drivers/net/ethernet/sun/sungem.c !(features & (SUPPORTED_1000baseT_Half | SUPPORTED_1000baseT_Full))) features 1307 drivers/net/ethernet/sun/sungem.c !(features & (SUPPORTED_100baseT_Half | SUPPORTED_100baseT_Full))) features 1310 drivers/net/ethernet/sun/sungem.c !(features & (SUPPORTED_1000baseT_Full | features 2536 drivers/net/ethernet/sun/sungem.c supported = gp->phy_mii.def->features; features 2991 drivers/net/ethernet/sun/sungem.c dev->features = dev->hw_features; features 2993 drivers/net/ethernet/sun/sungem.c dev->features |= NETIF_F_HIGHDMA; features 2830 drivers/net/ethernet/sun/sunhme.c dev->features |= dev->hw_features | NETIF_F_RXCSUM; features 3145 drivers/net/ethernet/sun/sunhme.c dev->features |= dev->hw_features | NETIF_F_RXCSUM; features 317 drivers/net/ethernet/sun/sunvnet.c dev->features = dev->hw_features; features 1277 drivers/net/ethernet/sun/sunvnet_common.c segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO); features 208 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c netdev->features |= netdev->hw_features; features 209 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c pdata->netdev_features = netdev->features; features 266 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER) features 407 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (pdata->netdev->features & NETIF_F_RXCSUM) features 428 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER) features 433 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 2436 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (pdata->netdev->features & NETIF_F_RXHASH) features 2763 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (netdev->features & NETIF_F_RXCSUM) features 2782 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) { features 880 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c netdev_features_t features) features 892 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if ((features & NETIF_F_RXHASH) && !rxhash) features 894 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c else if (!(features & NETIF_F_RXHASH) && rxhash) features 899 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if ((features & NETIF_F_RXCSUM) && !rxcsum) features 901 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c else if (!(features & NETIF_F_RXCSUM) && rxcsum) features 904 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if ((features & NETIF_F_HW_VLAN_CTAG_RX) && !rxvlan) features 906 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && rxvlan) features 909 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if ((features & NETIF_F_HW_VLAN_CTAG_FILTER) && !rxvlan_filter) features 911 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c else if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER) && rxvlan_filter) features 914 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c pdata->netdev_features = features; features 1222 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (!(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && features 1999 drivers/net/ethernet/tehuti/tehuti.c ndev->features = NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO features 2007 drivers/net/ethernet/tehuti/tehuti.c ndev->features |= NETIF_F_HIGHDMA; features 2044 drivers/net/ethernet/tehuti/tehuti.c ndev->features |= NETIF_F_LLTX; features 2730 drivers/net/ethernet/ti/cpsw.c ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_VLAN_CTAG_RX; features 2901 drivers/net/ethernet/ti/cpsw.c ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_VLAN_CTAG_RX; features 1980 drivers/net/ethernet/ti/netcp_core.c ndev->features |= NETIF_F_SG; features 1981 drivers/net/ethernet/ti/netcp_core.c ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 1982 drivers/net/ethernet/ti/netcp_core.c ndev->hw_features = ndev->features; features 1964 drivers/net/ethernet/ti/netcp_ethss.c u32 features; features 1970 drivers/net/ethernet/ti/netcp_ethss.c features = advertising & supported; features 1983 drivers/net/ethernet/ti/netcp_ethss.c if ((port == PORT_TP) && !(features & ADVERTISED_TP)) features 1986 drivers/net/ethernet/ti/netcp_ethss.c if ((port == PORT_AUI) && !(features & ADVERTISED_AUI)) features 1989 drivers/net/ethernet/ti/netcp_ethss.c if ((port == PORT_BNC) && !(features & ADVERTISED_BNC)) features 1992 drivers/net/ethernet/ti/netcp_ethss.c if ((port == PORT_MII) && !(features & ADVERTISED_MII)) features 1995 drivers/net/ethernet/ti/netcp_ethss.c if ((port == PORT_FIBRE) && !(features & ADVERTISED_FIBRE)) features 941 drivers/net/ethernet/toshiba/ps3_gelic_net.c if (netdev->features & NETIF_F_RXCSUM) { features 1466 drivers/net/ethernet/toshiba/ps3_gelic_net.c netdev->features = NETIF_F_IP_CSUM; features 1468 drivers/net/ethernet/toshiba/ps3_gelic_net.c netdev->features |= NETIF_F_RXCSUM; features 1488 drivers/net/ethernet/toshiba/ps3_gelic_net.c netdev->features |= NETIF_F_VLAN_CHALLENGED; features 959 drivers/net/ethernet/toshiba/spider_net.c if (netdev->features & NETIF_F_RXCSUM) { features 2261 drivers/net/ethernet/toshiba/spider_net.c netdev->features |= NETIF_F_RXCSUM; features 2262 drivers/net/ethernet/toshiba/spider_net.c netdev->features |= NETIF_F_IP_CSUM | NETIF_F_LLTX; features 1612 drivers/net/ethernet/tundra/tsi108_eth.c dev->features = NETIF_F_HIGHDMA; features 975 drivers/net/ethernet/via/via-rhine.c dev->features |= NETIF_F_SG|NETIF_F_HW_CSUM; features 978 drivers/net/ethernet/via/via-rhine.c dev->features |= NETIF_F_HW_VLAN_CTAG_TX | features 2846 drivers/net/ethernet/via/via-velocity.c netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | features 1142 drivers/net/ethernet/wiznet/w5100.c ndev->features |= NETIF_F_VLAN_CHALLENGED; features 611 drivers/net/ethernet/wiznet/w5300.c ndev->features |= NETIF_F_VLAN_CHALLENGED; features 1292 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features = NETIF_F_SG; features 1296 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_IP_CSUM; /* Can checksum TCP/UDP over IPv4. */ features 1297 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_HW_CSUM; /* Can checksum all the packets. */ features 1298 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_IPV6_CSUM; /* Can checksum IPV6 TCP/UDP */ features 1299 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_HIGHDMA; /* Can DMA to high memory. */ features 1300 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_TX; /* Transmit VLAN hw accel */ features 1301 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; /* Receive VLAN hw acceleration */ features 1302 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; /* Receive VLAN filtering */ features 1303 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_VLAN_CHALLENGED; /* cannot handle VLAN pkts */ features 1304 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_GSO; /* Enable software GSO. */ features 1305 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_MULTI_QUEUE; /* Has multiple TX/RX queues */ features 1306 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_LRO; /* large receive offload */ features 1376 drivers/net/ethernet/xilinx/ll_temac_main.c ndev->features |= NETIF_F_IP_CSUM; features 446 drivers/net/ethernet/xilinx/xilinx_axienet.h u32 features; features 644 drivers/net/ethernet/xilinx/xilinx_axienet_main.c if (lp->features & XAE_FEATURE_FULL_TX_CSUM) { features 647 drivers/net/ethernet/xilinx/xilinx_axienet_main.c } else if (lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) { features 725 drivers/net/ethernet/xilinx/xilinx_axienet_main.c if (lp->features & XAE_FEATURE_FULL_RX_CSUM) { features 732 drivers/net/ethernet/xilinx/xilinx_axienet_main.c } else if ((lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) != 0 && features 1666 drivers/net/ethernet/xilinx/xilinx_axienet_main.c ndev->features = NETIF_F_SG; features 1691 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->features = 0; features 1699 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->features |= XAE_FEATURE_PARTIAL_TX_CSUM; features 1701 drivers/net/ethernet/xilinx/xilinx_axienet_main.c ndev->features |= NETIF_F_IP_CSUM; features 1706 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->features |= XAE_FEATURE_FULL_TX_CSUM; features 1708 drivers/net/ethernet/xilinx/xilinx_axienet_main.c ndev->features |= NETIF_F_IP_CSUM; features 1720 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->features |= XAE_FEATURE_PARTIAL_RX_CSUM; features 1725 drivers/net/ethernet/xilinx/xilinx_axienet_main.c lp->features |= XAE_FEATURE_FULL_RX_CSUM; features 1351 drivers/net/fjes/fjes_main.c netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 1135 drivers/net/geneve.c dev->features |= NETIF_F_LLTX; features 1136 drivers/net/geneve.c dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; features 1137 drivers/net/geneve.c dev->features |= NETIF_F_RXCSUM; features 1138 drivers/net/geneve.c dev->features |= NETIF_F_GSO_SOFTWARE; features 632 drivers/net/gtp.c dev->features |= NETIF_F_LLTX; features 442 drivers/net/hamradio/bpqether.c dev->features = NETIF_F_LLTX; /* Allow recursion */ features 799 drivers/net/hyperv/netvsc_drv.c if (csum_info && (net->features & NETIF_F_RXCSUM)) { features 1076 drivers/net/hyperv/netvsc_drv.c dev->features = NETIF_F_LRO; features 1790 drivers/net/hyperv/netvsc_drv.c netdev_features_t features) features 1792 drivers/net/hyperv/netvsc_drv.c netdev_features_t change = features ^ ndev->features; features 1807 drivers/net/hyperv/netvsc_drv.c if (features & NETIF_F_LRO) { features 1818 drivers/net/hyperv/netvsc_drv.c features ^= NETIF_F_LRO; features 1819 drivers/net/hyperv/netvsc_drv.c ndev->features = features; features 1826 drivers/net/hyperv/netvsc_drv.c vf_netdev->wanted_features = features; features 2208 drivers/net/hyperv/netvsc_drv.c vf_netdev->wanted_features = ndev->features; features 2342 drivers/net/hyperv/netvsc_drv.c net->features = net->hw_features | features 2345 drivers/net/hyperv/netvsc_drv.c net->vlan_features = net->features; features 1258 drivers/net/hyperv/rndis_filter.c if (net->features & NETIF_F_LRO) { features 1270 drivers/net/hyperv/rndis_filter.c net->features &= ~NETVSC_SUPPORTED_HW_FEATURES | net->hw_features; features 218 drivers/net/ifb.c dev->features |= IFB_FEATURES; features 219 drivers/net/ifb.c dev->hw_features |= dev->features; features 220 drivers/net/ifb.c dev->hw_enc_features |= dev->features; features 127 drivers/net/ipvlan/ipvlan_main.c dev->features = phy_dev->features & IPVLAN_FEATURES; features 128 drivers/net/ipvlan/ipvlan_main.c dev->features |= NETIF_F_LLTX | NETIF_F_VLAN_CHALLENGED; features 129 drivers/net/ipvlan/ipvlan_main.c dev->hw_enc_features |= dev->features; features 224 drivers/net/ipvlan/ipvlan_main.c netdev_features_t features) features 228 drivers/net/ipvlan/ipvlan_main.c return features & (ipvlan->sfeatures | ~IPVLAN_FEATURES); features 735 drivers/net/ipvlan/ipvlan_main.c ipvlan->dev->features = dev->features & IPVLAN_FEATURES; features 68 drivers/net/ipvlan/ipvtap.c netdev_features_t features) features 73 drivers/net/ipvlan/ipvtap.c vlan->sfeatures = features; features 176 drivers/net/loopback.c dev->features = NETIF_F_SG | NETIF_F_FRAGLIST features 2771 drivers/net/macsec.c dev->features = real_dev->features & MACSEC_FEATURES; features 2772 drivers/net/macsec.c dev->features |= NETIF_F_LLTX | NETIF_F_GSO_SOFTWARE; features 2796 drivers/net/macsec.c netdev_features_t features) features 2801 drivers/net/macsec.c features &= (real_dev->features & MACSEC_FEATURES) | features 2803 drivers/net/macsec.c features |= NETIF_F_LLTX; features 2805 drivers/net/macsec.c return features; features 618 drivers/net/macvlan.c if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD) features 882 drivers/net/macvlan.c dev->features = lowerdev->features & MACVLAN_FEATURES; features 883 drivers/net/macvlan.c dev->features |= ALWAYS_ON_FEATURES; features 887 drivers/net/macvlan.c dev->hw_enc_features |= dev->features; features 1056 drivers/net/macvlan.c netdev_features_t features) features 1059 drivers/net/macvlan.c netdev_features_t lowerdev_features = vlan->lowerdev->features; features 1062 drivers/net/macvlan.c features |= NETIF_F_ALL_FOR_ALL; features 1063 drivers/net/macvlan.c features &= (vlan->set_features | ~MACVLAN_FEATURES); features 1064 drivers/net/macvlan.c mask = features; features 1066 drivers/net/macvlan.c lowerdev_features &= (features | ~NETIF_F_LRO); features 1067 drivers/net/macvlan.c features = netdev_increment_features(lowerdev_features, features, mask); features 1068 drivers/net/macvlan.c features |= ALWAYS_ON_FEATURES; features 1069 drivers/net/macvlan.c features &= (ALWAYS_ON_FEATURES | MACVLAN_FEATURES); features 1071 drivers/net/macvlan.c return features; features 72 drivers/net/macvtap.c netdev_features_t features) features 77 drivers/net/macvtap.c vlan->set_features = features; features 488 drivers/net/net_failover.c if (failover_dev->features & NETIF_F_VLAN_CHALLENGED && features 738 drivers/net/net_failover.c failover_dev->features |= NETIF_F_LLTX; features 741 drivers/net/net_failover.c failover_dev->features |= NETIF_F_NETNS_LOCAL; features 749 drivers/net/net_failover.c failover_dev->features |= failover_dev->hw_features; features 283 drivers/net/netdevsim/ipsec.c ns->netdev->features |= NSIM_ESP_FEATURES; features 225 drivers/net/netdevsim/netdev.c nsim_set_features(struct net_device *dev, netdev_features_t features) features 229 drivers/net/netdevsim/netdev.c if ((dev->features & NETIF_F_HW_TC) > (features & NETIF_F_HW_TC)) features 273 drivers/net/netdevsim/netdev.c dev->features |= NETIF_F_HIGHDMA | features 113 drivers/net/nlmon.c dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | features 423 drivers/net/ntb_netdev.c ndev->features = NETIF_F_HIGHDMA; features 427 drivers/net/ntb_netdev.c ndev->hw_features = ndev->features; features 82 drivers/net/phy/cortina.c .features = PHY_10GBIT_FEATURES, features 2322 drivers/net/phy/marvell.c .features = PHY_GBIT_FIBRE_FEATURES, features 219 drivers/net/phy/microchip_t1.c .features = PHY_BASIC_T1_FEATURES, features 361 drivers/net/phy/nxp-tja11xx.c .features = PHY_BASIC_T1_FEATURES, features 376 drivers/net/phy/nxp-tja11xx.c .features = PHY_BASIC_T1_FEATURES, features 226 drivers/net/phy/phy.c unsigned long *features) features 228 drivers/net/phy/phy.c return !!phy_lookup_setting(speed, duplex, features, true); features 2220 drivers/net/phy/phy_device.c if (phydrv->features) { features 2221 drivers/net/phy/phy_device.c linkmode_copy(phydev->supported, phydrv->features); features 2313 drivers/net/phy/phy_device.c if (WARN_ON(new_driver->features && new_driver->get_features)) { features 80 drivers/net/phy/teranetics.c .features = PHY_10GBIT_FEATURES, features 1382 drivers/net/ppp/ppp_generic.c dev->features |= NETIF_F_LLTX; features 515 drivers/net/rionet.c ndev->features = NETIF_F_LLTX; features 903 drivers/net/sungem_phy.c .features = MII_BASIC_FEATURES, features 922 drivers/net/sungem_phy.c .features = MII_BASIC_FEATURES, features 940 drivers/net/sungem_phy.c .features = MII_BASIC_FEATURES, features 959 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 978 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 997 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1017 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1036 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1055 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1074 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1104 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1112 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1120 drivers/net/sungem_phy.c .features = MII_GBIT_FEATURES, features 1137 drivers/net/sungem_phy.c .features = MII_BASIC_FEATURES, features 324 drivers/net/tap.c netdev_features_t features = TAP_FEATURES; features 341 drivers/net/tap.c features |= tap->tap_features; features 342 drivers/net/tap.c if (netif_needs_gso(skb, features)) { features 343 drivers/net/tap.c struct sk_buff *segs = __skb_gso_segment(skb, features, false); features 373 drivers/net/tap.c !(features & NETIF_F_CSUM_MASK) && features 541 drivers/net/tap.c if ((tap->dev->features & NETIF_F_HIGHDMA) && (tap->dev->features & NETIF_F_SG)) features 928 drivers/net/tap.c netdev_features_t features; features 935 drivers/net/tap.c features = tap->dev->features; features 959 drivers/net/tap.c features |= RX_OFFLOADS; features 961 drivers/net/tap.c features &= ~RX_OFFLOADS; features 968 drivers/net/tap.c tap->update_features(tap, features); features 1166 drivers/net/team/team.c if (port_dev->features & NETIF_F_VLAN_CHALLENGED && features 1231 drivers/net/team/team.c if (!(dev->features & NETIF_F_LRO)) features 1998 drivers/net/team/team.c netdev_features_t features) features 2004 drivers/net/team/team.c mask = features; features 2005 drivers/net/team/team.c features &= ~NETIF_F_ONE_FOR_ALL; features 2006 drivers/net/team/team.c features |= NETIF_F_ALL_FOR_ALL; features 2010 drivers/net/team/team.c features = netdev_increment_features(features, features 2011 drivers/net/team/team.c port->dev->features, features 2016 drivers/net/team/team.c features = netdev_add_tso_features(features, mask); features 2018 drivers/net/team/team.c return features; features 2166 drivers/net/team/team.c dev->features |= NETIF_F_LLTX; features 2167 drivers/net/team/team.c dev->features |= NETIF_F_GRO; features 2170 drivers/net/team/team.c dev->features |= NETIF_F_NETNS_LOCAL; features 2177 drivers/net/team/team.c dev->features |= dev->hw_features; features 2178 drivers/net/team/team.c dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; features 1234 drivers/net/thunderbolt.c dev->features = dev->hw_features | NETIF_F_HIGHDMA; features 1138 drivers/net/tun.c netdev_features_t features) features 1142 drivers/net/tun.c return (features & tun->set_features) | (features & ~TUN_USER_FEATURES); features 2837 drivers/net/tun.c dev->features = dev->hw_features | NETIF_F_LLTX; features 2838 drivers/net/tun.c dev->vlan_features = dev->features & features 2902 drivers/net/tun.c netdev_features_t features = 0; features 2905 drivers/net/tun.c features |= NETIF_F_HW_CSUM; features 2910 drivers/net/tun.c features |= NETIF_F_TSO_ECN; features 2914 drivers/net/tun.c features |= NETIF_F_TSO; features 2916 drivers/net/tun.c features |= NETIF_F_TSO6; features 2928 drivers/net/tun.c tun->set_features = features; features 2930 drivers/net/tun.c tun->dev->wanted_features |= features; features 566 drivers/net/usb/aqc111.c netdev_features_t features) features 570 drivers/net/usb/aqc111.c netdev_features_t changed = net->features ^ features; features 590 drivers/net/usb/aqc111.c if (features & NETIF_F_RXCSUM) { features 604 drivers/net/usb/aqc111.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) { features 735 drivers/net/usb/aqc111.c dev->net->features |= AQ_SUPPORT_FEATURE; features 884 drivers/net/usb/aqc111.c if (dev->net->features & NETIF_F_RXCSUM) { features 891 drivers/net/usb/aqc111.c if (dev->net->features & NETIF_F_IP_CSUM) features 894 drivers/net/usb/aqc111.c if (dev->net->features & NETIF_F_IPV6_CSUM) features 911 drivers/net/usb/aqc111.c if (dev->net->features & NETIF_F_HW_VLAN_CTAG_FILTER) features 1000 drivers/net/usb/aqc111.c dev->net->features |= AQ_SUPPORT_FEATURE; features 1212 drivers/net/usb/aqc111.c if (!dev->can_dma_sg && (dev->net->features & NETIF_F_SG) && features 873 drivers/net/usb/ax88179_178a.c ax88179_set_features(struct net_device *net, netdev_features_t features) features 877 drivers/net/usb/ax88179_178a.c netdev_features_t changed = net->features ^ features; features 1274 drivers/net/usb/ax88179_178a.c dev->net->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | features 1560 drivers/net/usb/ax88179_178a.c dev->net->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | features 277 drivers/net/usb/cdc-phonet.c dev->features = 0; features 186 drivers/net/usb/cdc_mbim.c dev->net->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_FILTER; features 2340 drivers/net/usb/lan78xx.c netdev_features_t features) features 2349 drivers/net/usb/lan78xx.c if (features & NETIF_F_RXCSUM) { features 2357 drivers/net/usb/lan78xx.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 2362 drivers/net/usb/lan78xx.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) features 2544 drivers/net/usb/lan78xx.c lan78xx_set_features(dev->net, dev->net->features); features 2963 drivers/net/usb/lan78xx.c dev->net->features = 0; features 2966 drivers/net/usb/lan78xx.c dev->net->features |= NETIF_F_HW_CSUM; features 2969 drivers/net/usb/lan78xx.c dev->net->features |= NETIF_F_RXCSUM; features 2972 drivers/net/usb/lan78xx.c dev->net->features |= NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_SG; features 2975 drivers/net/usb/lan78xx.c dev->net->features |= NETIF_F_HW_VLAN_CTAG_RX; features 2978 drivers/net/usb/lan78xx.c dev->net->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 2980 drivers/net/usb/lan78xx.c dev->net->hw_features = dev->net->features; features 3047 drivers/net/usb/lan78xx.c if (!(dev->net->features & NETIF_F_RXCSUM) || features 3050 drivers/net/usb/lan78xx.c !(dev->net->features & NETIF_F_HW_VLAN_CTAG_RX))) { features 3062 drivers/net/usb/lan78xx.c if ((dev->net->features & NETIF_F_HW_VLAN_CTAG_RX) && features 3674 drivers/net/usb/lan78xx.c netdev_features_t features) features 3677 drivers/net/usb/lan78xx.c features &= ~NETIF_F_GSO_MASK; features 3679 drivers/net/usb/lan78xx.c features = vlan_features_check(skb, features); features 3680 drivers/net/usb/lan78xx.c features = vxlan_features_check(skb, features); features 3682 drivers/net/usb/lan78xx.c return features; features 377 drivers/net/usb/pegasus.c if (pegasus->features & PEGASUS_II) { features 397 drivers/net/usb/pegasus.c if (mii_mode && (pegasus->features & HAS_HOME_PNA)) features 401 drivers/net/usb/pegasus.c set_register(pegasus, Gpio0, pegasus->features); features 1069 drivers/net/usb/pegasus.c if ((pegasus->features & HAS_HOME_PNA) && mii_mode) features 1086 drivers/net/usb/pegasus.c if (pegasus->features & HAS_HOME_PNA && mii_mode) features 1188 drivers/net/usb/pegasus.c pegasus->features = usb_dev_id[dev_index].private; features 1196 drivers/net/usb/pegasus.c if (pegasus->features & PEGASUS_II) { features 85 drivers/net/usb/pegasus.h unsigned features; features 1712 drivers/net/usb/r8152.c netdev_features_t features = tp->netdev->features; features 1716 drivers/net/usb/r8152.c features &= ~(NETIF_F_SG | NETIF_F_IPV6_CSUM | NETIF_F_TSO6); features 1717 drivers/net/usb/r8152.c segs = skb_gso_segment(skb, features); features 1977 drivers/net/usb/r8152.c if (!(tp->netdev->features & NETIF_F_RXCSUM)) features 2389 drivers/net/usb/r8152.c netdev_features_t features) features 2396 drivers/net/usb/r8152.c features &= ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 2398 drivers/net/usb/r8152.c features &= ~NETIF_F_GSO_MASK; features 2400 drivers/net/usb/r8152.c return features; features 2750 drivers/net/usb/r8152.c netdev_features_t features) features 2752 drivers/net/usb/r8152.c netdev_features_t changed = features ^ dev->features; features 2763 drivers/net/usb/r8152.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 3463 drivers/net/usb/r8152.c rtl_rx_vlan_en(tp, tp->netdev->features & NETIF_F_HW_VLAN_CTAG_RX); features 3767 drivers/net/usb/r8152.c rtl_rx_vlan_en(tp, tp->netdev->features & NETIF_F_HW_VLAN_CTAG_RX); features 5706 drivers/net/usb/r8152.c netdev->features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | features 5719 drivers/net/usb/r8152.c netdev->features &= ~NETIF_F_RXCSUM; features 935 drivers/net/usb/smsc75xx.c netdev_features_t features) features 944 drivers/net/usb/smsc75xx.c if (features & NETIF_F_RXCSUM) features 1319 drivers/net/usb/smsc75xx.c smsc75xx_set_features(dev->net, dev->net->features); features 1474 drivers/net/usb/smsc75xx.c dev->net->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; features 1477 drivers/net/usb/smsc75xx.c dev->net->features |= NETIF_F_RXCSUM; features 2163 drivers/net/usb/smsc75xx.c if (!(dev->net->features & NETIF_F_RXCSUM) || features 61 drivers/net/usb/smsc95xx.c u8 features; features 659 drivers/net/usb/smsc95xx.c netdev_features_t features) features 669 drivers/net/usb/smsc95xx.c if (features & NETIF_F_IP_CSUM) features 674 drivers/net/usb/smsc95xx.c if (features & NETIF_F_RXCSUM) features 1193 drivers/net/usb/smsc95xx.c ret = smsc95xx_set_features(dev->net, dev->net->features); features 1279 drivers/net/usb/smsc95xx.c dev->net->features |= NETIF_F_IP_CSUM; features 1281 drivers/net/usb/smsc95xx.c dev->net->features |= NETIF_F_RXCSUM; features 1301 drivers/net/usb/smsc95xx.c pdata->features = (FEATURE_8_WAKEUP_FILTERS | features 1305 drivers/net/usb/smsc95xx.c pdata->features = FEATURE_8_WAKEUP_FILTERS; features 1431 drivers/net/usb/smsc95xx.c if (pdata->features & FEATURE_PHY_NLP_CROSSOVER) features 1546 drivers/net/usb/smsc95xx.c if (!(pdata->features & FEATURE_PHY_NLP_CROSSOVER)) { features 1601 drivers/net/usb/smsc95xx.c (pdata->features & FEATURE_REMOTE_WAKEUP)) { features 1663 drivers/net/usb/smsc95xx.c (pdata->features & FEATURE_8_WAKEUP_FILTERS) ? features 1957 drivers/net/usb/smsc95xx.c if (dev->net->features & NETIF_F_RXCSUM) features 1975 drivers/net/usb/smsc95xx.c if (dev->net->features & NETIF_F_RXCSUM) features 2075 drivers/net/usb/smsc95xx.c if (pdata->features & FEATURE_REMOTE_WAKEUP) features 1026 drivers/net/veth.c netdev_features_t features) features 1036 drivers/net/veth.c features &= ~NETIF_F_GSO_SOFTWARE; features 1039 drivers/net/veth.c return features; features 1198 drivers/net/veth.c dev->features |= NETIF_F_LLTX; features 1199 drivers/net/veth.c dev->features |= VETH_FEATURES; features 1200 drivers/net/veth.c dev->vlan_features = dev->features & features 2562 drivers/net/virtio_net.c netdev_features_t features) features 2568 drivers/net/virtio_net.c if ((dev->features ^ features) & NETIF_F_LRO) { features 2572 drivers/net/virtio_net.c if (features & NETIF_F_LRO) features 2811 drivers/net/virtio_net.c vi->dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 3017 drivers/net/virtio_net.c dev->features = NETIF_F_HIGHDMA; features 3027 drivers/net/virtio_net.c dev->features |= NETIF_F_HW_CSUM | NETIF_F_SG; features 3041 drivers/net/virtio_net.c dev->features |= NETIF_F_GSO_ROBUST; features 3044 drivers/net/virtio_net.c dev->features |= dev->hw_features & NETIF_F_ALL_TSO; features 3048 drivers/net/virtio_net.c dev->features |= NETIF_F_RXCSUM; features 3051 drivers/net/virtio_net.c dev->features |= NETIF_F_LRO; features 3055 drivers/net/virtio_net.c dev->vlan_features = dev->features; features 3284 drivers/net/virtio_net.c static unsigned int features[] = { features 3295 drivers/net/virtio_net.c .feature_table = features, features 3296 drivers/net/virtio_net.c .feature_table_size = ARRAY_SIZE(features), features 1169 drivers/net/vmxnet3/vmxnet3_drv.c if (!gdesc->rcd.cnc && adapter->netdev->features & NETIF_F_RXCSUM) { features 1416 drivers/net/vmxnet3/vmxnet3_drv.c (adapter->netdev->features & NETIF_F_RXHASH)) features 1501 drivers/net/vmxnet3/vmxnet3_drv.c !(adapter->netdev->features & NETIF_F_LRO)) features 1532 drivers/net/vmxnet3/vmxnet3_drv.c if (adapter->netdev->features & NETIF_F_LRO) features 2425 drivers/net/vmxnet3/vmxnet3_drv.c if (adapter->netdev->features & NETIF_F_RXCSUM) features 2428 drivers/net/vmxnet3/vmxnet3_drv.c if (adapter->netdev->features & NETIF_F_LRO) { features 2432 drivers/net/vmxnet3/vmxnet3_drv.c if (adapter->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) features 3050 drivers/net/vmxnet3/vmxnet3_drv.c netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; features 3454 drivers/net/vmxnet3/vmxnet3_drv.c netdev->features |= NETIF_F_RXHASH; features 261 drivers/net/vmxnet3/vmxnet3_ethtool.c netdev_features_t features) features 264 drivers/net/vmxnet3/vmxnet3_ethtool.c if (!(features & NETIF_F_RXCSUM)) features 265 drivers/net/vmxnet3/vmxnet3_ethtool.c features &= ~NETIF_F_LRO; features 267 drivers/net/vmxnet3/vmxnet3_ethtool.c return features; features 270 drivers/net/vmxnet3/vmxnet3_ethtool.c int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) features 274 drivers/net/vmxnet3/vmxnet3_ethtool.c netdev_features_t changed = features ^ netdev->features; features 278 drivers/net/vmxnet3/vmxnet3_ethtool.c if (features & NETIF_F_RXCSUM) features 286 drivers/net/vmxnet3/vmxnet3_ethtool.c if (features & NETIF_F_LRO) features 293 drivers/net/vmxnet3/vmxnet3_ethtool.c if (features & NETIF_F_HW_VLAN_CTAG_RX) features 458 drivers/net/vmxnet3/vmxnet3_int.h vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features); features 461 drivers/net/vmxnet3/vmxnet3_int.h vmxnet3_set_features(struct net_device *netdev, netdev_features_t features); features 1268 drivers/net/vrf.c dev->features |= NETIF_F_LLTX; features 1271 drivers/net/vrf.c dev->features |= NETIF_F_NETNS_LOCAL; features 1274 drivers/net/vrf.c dev->features |= NETIF_F_VLAN_CHALLENGED; features 1277 drivers/net/vrf.c dev->features |= NETIF_F_GSO_SOFTWARE; features 1278 drivers/net/vrf.c dev->features |= NETIF_F_RXCSUM | NETIF_F_HW_CSUM | NETIF_F_SCTP_CRC; features 1279 drivers/net/vrf.c dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA; features 1281 drivers/net/vrf.c dev->hw_features = dev->features; features 1282 drivers/net/vrf.c dev->hw_enc_features = dev->features; features 135 drivers/net/vsockmon.c dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | features 3038 drivers/net/vxlan.c dev->features |= NETIF_F_LLTX; features 3039 drivers/net/vxlan.c dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; features 3040 drivers/net/vxlan.c dev->features |= NETIF_F_RXCSUM; features 3041 drivers/net/vxlan.c dev->features |= NETIF_F_GSO_SOFTWARE; features 3043 drivers/net/vxlan.c dev->vlan_features = dev->features; features 590 drivers/net/wimax/i2400m/netdev.c net_dev->features = features 8799 drivers/net/wireless/ath/ath10k/mac.c ar->hw->wiphy->features |= NL80211_FEATURE_STATIC_SMPS; features 8803 drivers/net/wireless/ath/ath10k/mac.c ar->hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS; features 8859 drivers/net/wireless/ath/ath10k/mac.c ar->hw->wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE | features 8980 drivers/net/wireless/ath/ath10k/mac.c ar->hw->wiphy->features |= features 6588 drivers/net/wireless/ath/ath10k/wmi.c u32 len, val, features; features 6649 drivers/net/wireless/ath/ath10k/wmi.c features = WMI_10_2_RX_BATCH_MODE; features 6653 drivers/net/wireless/ath/ath10k/wmi.c features |= WMI_10_2_COEX_GPIO; features 6656 drivers/net/wireless/ath/ath10k/wmi.c features |= WMI_10_2_PEER_STATS; features 6659 drivers/net/wireless/ath/ath10k/wmi.c features |= WMI_10_2_BSS_CHAN_INFO; features 6661 drivers/net/wireless/ath/ath10k/wmi.c cmd->resource_config.feature_mask = __cpu_to_le32(features); features 3887 drivers/net/wireless/ath/ath6kl/cfg80211.c ar->wiphy->features |= NL80211_FEATURE_CELL_BASE_REG_HINTS; features 3985 drivers/net/wireless/ath/ath6kl/cfg80211.c ar->wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER; features 1120 drivers/net/wireless/ath/ath6kl/main.c netdev_features_t features) features 1126 drivers/net/wireless/ath/ath6kl/main.c if ((features & NETIF_F_RXCSUM) && features 1133 drivers/net/wireless/ath/ath6kl/main.c dev->features = features & ~NETIF_F_RXCSUM; features 1136 drivers/net/wireless/ath/ath6kl/main.c } else if (!(features & NETIF_F_RXCSUM) && features 1143 drivers/net/wireless/ath/ath6kl/main.c dev->features = features | NETIF_F_RXCSUM; features 394 drivers/net/wireless/ath/ath6kl/txrx.c if ((dev->features & NETIF_F_IP_CSUM) && features 413 drivers/net/wireless/ath/ath6kl/txrx.c if ((dev->features & NETIF_F_IP_CSUM) && features 396 drivers/net/wireless/ath/ath9k/dynack.c ah->hw->wiphy->features |= NL80211_FEATURE_ACKTO_ESTIMATION; features 945 drivers/net/wireless/ath/ath9k/init.c hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR | features 258 drivers/net/wireless/ath/carl9170/carl9170.h kernel_ulong_t features; features 175 drivers/net/wireless/ath/carl9170/led.c if (ar->features & CARL9170_ONE_LED) features 1510 drivers/net/wireless/ath/carl9170/main.c if (!(ar->features & CARL9170_WPS_BUTTON)) features 1055 drivers/net/wireless/ath/carl9170/usb.c ar->features = id->driver_info; features 2663 drivers/net/wireless/ath/wil6210/cfg80211.c wiphy->features |= NL80211_FEATURE_SK_TX_STATUS; features 1240 drivers/net/wireless/ath/wil6210/main.c int features; features 1267 drivers/net/wireless/ath/wil6210/main.c features = (test_bit(WMI_FW_CAPABILITY_REF_CLOCK_CONTROL, features 1274 drivers/net/wireless/ath/wil6210/main.c features |= BIT(WIL_PLATFORM_FEATURE_TRIPLE_MSI); features 1276 drivers/net/wireless/ath/wil6210/main.c wil->platform_ops.set_features(wil->platform_handle, features); features 353 drivers/net/wireless/ath/wil6210/netdev.c ndev->features |= ndev->hw_features; features 54 drivers/net/wireless/ath/wil6210/wil_platform.h void (*set_features)(void *handle, int features); features 7171 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wiphy->features |= NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR; features 7175 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c wiphy->features |= NL80211_FEATURE_ND_RANDOM_MAC_ADDR; features 610 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c ndev->features |= NETIF_F_IP_CSUM; features 612 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c ndev->features &= ~NETIF_F_IP_CSUM; features 5743 drivers/net/wireless/intel/iwlegacy/4965-mac.c hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS | features 170 drivers/net/wireless/intel/iwlwifi/cfg/22000.c .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM, \ features 141 drivers/net/wireless/intel/iwlwifi/cfg/8000.c .features = NETIF_F_RXCSUM, \ features 136 drivers/net/wireless/intel/iwlwifi/cfg/9000.c .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM, \ features 118 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS | features 434 drivers/net/wireless/intel/iwlwifi/iwl-config.h netdev_features_t features; features 515 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= features 534 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_HT_IBSS; features 621 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_P2P_GO_CTWIN | features 631 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_TX_POWER_INSERTION; features 634 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_QUIET; features 638 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= features 643 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_WFA_TPC_IE_IN_PROBES; features 720 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->wiphy->features |= NL80211_FEATURE_TDLS_CHANNEL_SWITCH; features 723 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw->netdev_features |= mvm->cfg->features; features 1464 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->features |= hw->netdev_features; features 469 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h netdev_features_t features; features 331 drivers/net/wireless/intel/iwlwifi/mvm/rx.c if (mvmvif->features & NETIF_F_RXCSUM && features 406 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (mvmvif->features & NETIF_F_RXCSUM && features 2912 drivers/net/wireless/mac80211_hwsim.c hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR | features 4389 drivers/net/wireless/marvell/mwifiex/cfg80211.c wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER | features 4394 drivers/net/wireless/marvell/mwifiex/cfg80211.c wiphy->features |= NL80211_FEATURE_HT_IBSS; features 4397 drivers/net/wireless/marvell/mwifiex/cfg80211.c wiphy->features |= NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR | features 4402 drivers/net/wireless/marvell/mwifiex/cfg80211.c wiphy->features |= NL80211_FEATURE_TDLS_CHANNEL_SWITCH; features 4405 drivers/net/wireless/marvell/mwifiex/cfg80211.c wiphy->features |= NL80211_FEATURE_SK_TX_STATUS; features 306 drivers/net/wireless/mediatek/mt76/mac80211.c wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; features 809 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int ret, i, features = BIT(BSS_INFO_BASIC), ntlv = 1; features 816 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c features |= BIT(BSS_INFO_OMAC); features 819 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c features |= BIT(BSS_INFO_EXT_BSS); features 867 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int tag = ffs(features & BIT(i)) - 1; features 611 drivers/net/wireless/mediatek/mt7601u/init.c wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; features 1138 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER; features 1141 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c wiphy->features |= NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR; features 1144 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c wiphy->features |= NL80211_FEATURE_NEED_OBSS_SCAN; features 1147 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c wiphy->features |= NL80211_FEATURE_SAE; features 1253 drivers/net/wireless/realtek/rtw88/main.c hw->wiphy->features |= NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR; features 2093 drivers/net/wireless/rsi/rsi_91x_mac80211.c wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER; features 6273 drivers/net/wireless/ti/wlcore/main.c wl->hw->wiphy->features |= NL80211_FEATURE_AP_SCAN; features 333 drivers/net/xen-netback/interface.c netdev_features_t features) features 338 drivers/net/xen-netback/interface.c features &= ~NETIF_F_SG; features 340 drivers/net/xen-netback/interface.c features &= ~NETIF_F_TSO; features 342 drivers/net/xen-netback/interface.c features &= ~NETIF_F_TSO6; features 344 drivers/net/xen-netback/interface.c features &= ~NETIF_F_IP_CSUM; features 346 drivers/net/xen-netback/interface.c features &= ~NETIF_F_IPV6_CSUM; features 348 drivers/net/xen-netback/interface.c return features; features 493 drivers/net/xen-netback/interface.c dev->features = dev->hw_features | NETIF_F_RXCSUM; features 254 drivers/net/xen-netback/rx.c extra->u.gso.features = 0; features 229 drivers/net/xen-netfront.c return dev->features & NETIF_F_SG; features 665 drivers/net/xen-netfront.c gso->u.gso.features = 0; features 1186 drivers/net/xen-netfront.c netdev_features_t features) features 1190 drivers/net/xen-netfront.c if (features & NETIF_F_SG && features 1192 drivers/net/xen-netfront.c features &= ~NETIF_F_SG; features 1194 drivers/net/xen-netfront.c if (features & NETIF_F_IPV6_CSUM && features 1197 drivers/net/xen-netfront.c features &= ~NETIF_F_IPV6_CSUM; features 1199 drivers/net/xen-netfront.c if (features & NETIF_F_TSO && features 1201 drivers/net/xen-netfront.c features &= ~NETIF_F_TSO; features 1203 drivers/net/xen-netfront.c if (features & NETIF_F_TSO6 && features 1205 drivers/net/xen-netfront.c features &= ~NETIF_F_TSO6; features 1207 drivers/net/xen-netfront.c return features; features 1211 drivers/net/xen-netfront.c netdev_features_t features) features 1213 drivers/net/xen-netfront.c if (!(features & NETIF_F_SG) && dev->mtu > ETH_DATA_LEN) { features 1314 drivers/net/xen-netfront.c netdev->features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM | features 1326 drivers/net/xen-netfront.c netdev->features |= netdev->hw_features; features 1179 drivers/nvme/host/core.c c.features.opcode = op; features 1180 drivers/nvme/host/core.c c.features.fid = cpu_to_le32(fid); features 1181 drivers/nvme/host/core.c c.features.dword11 = cpu_to_le32(dword11); features 1855 drivers/nvme/host/pci.c c.features.opcode = nvme_admin_set_features; features 1856 drivers/nvme/host/pci.c c.features.fid = cpu_to_le32(NVME_FEAT_HOST_MEM_BUF); features 1857 drivers/nvme/host/pci.c c.features.dword11 = cpu_to_le32(bits); features 1858 drivers/nvme/host/pci.c c.features.dword12 = cpu_to_le32(dev->host_mem_size >> features 1860 drivers/nvme/host/pci.c c.features.dword13 = cpu_to_le32(lower_32_bits(dma_addr)); features 1861 drivers/nvme/host/pci.c c.features.dword14 = cpu_to_le32(upper_32_bits(dma_addr)); features 1862 drivers/nvme/host/pci.c c.features.dword15 = cpu_to_le32(dev->nr_host_mem_descs); features 124 drivers/parport/parport_ip32.c static unsigned int features = ~0U; features 2070 drivers/parport/parport_ip32.c features &= ~PARPORT_IP32_ENABLE_SPP; features 2071 drivers/parport/parport_ip32.c features &= ~PARPORT_IP32_ENABLE_ECP; features 2073 drivers/parport/parport_ip32.c features &= ~PARPORT_IP32_ENABLE_DMA; features 2077 drivers/parport/parport_ip32.c if (features & PARPORT_IP32_ENABLE_IRQ) { features 2083 drivers/parport/parport_ip32.c features &= ~PARPORT_IP32_ENABLE_DMA; features 2092 drivers/parport/parport_ip32.c if (features & PARPORT_IP32_ENABLE_DMA) { features 2103 drivers/parport/parport_ip32.c if (features & PARPORT_IP32_ENABLE_SPP) { features 2109 drivers/parport/parport_ip32.c if (features & PARPORT_IP32_ENABLE_EPP) { features 2118 drivers/parport/parport_ip32.c if (features & PARPORT_IP32_ENABLE_ECP) { features 2220 drivers/parport/parport_ip32.c module_param(features, uint, S_IRUGO); features 2221 drivers/parport/parport_ip32.c MODULE_PARM_DESC(features, features 295 drivers/pci/ats.c int pci_enable_pasid(struct pci_dev *pdev, int features) features 314 drivers/pci/ats.c if ((supported & features) != features) features 317 drivers/pci/ats.c control = PCI_PASID_CTRL_ENABLE | features; features 318 drivers/pci/ats.c pdev->pasid_features = features; features 562 drivers/pci/controller/vmd.c static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) features 580 drivers/pci/controller/vmd.c if (features & VMD_FEAT_HAS_MEMBAR_SHADOW) { features 607 drivers/pci/controller/vmd.c if (features & VMD_FEAT_HAS_BUS_RESTRICTIONS) { features 339 drivers/pcmcia/at91_cf.c cf->socket.features = SS_CAP_PCCARD | SS_CAP_STATIC_MAP features 381 drivers/pcmcia/bcm63xx_pcmcia.c sock->features = SS_CAP_STATIC_MAP | SS_CAP_PCCARD; features 388 drivers/pcmcia/bcm63xx_pcmcia.c sock->features |= SS_CAP_CARDBUS; features 91 drivers/pcmcia/cistpl.c if (!(s->features & SS_CAP_STATIC_MAP) && (mem->res == NULL)) { features 101 drivers/pcmcia/cistpl.c if (!(s->features & SS_CAP_STATIC_MAP) && (!s->cis_virt)) features 114 drivers/pcmcia/cistpl.c if (s->features & SS_CAP_STATIC_MAP) { features 1080 drivers/pcmcia/cistpl.c u_char *p, *q, features; features 1106 drivers/pcmcia/cistpl.c features = *p; p++; features 1109 drivers/pcmcia/cistpl.c if ((features & 3) > 0) { features 1115 drivers/pcmcia/cistpl.c if ((features & 3) > 1) { features 1121 drivers/pcmcia/cistpl.c if ((features & 3) > 2) { features 1129 drivers/pcmcia/cistpl.c if (features & 0x04) { features 1140 drivers/pcmcia/cistpl.c if (features & 0x08) { features 1148 drivers/pcmcia/cistpl.c if (features & 0x10) { features 1155 drivers/pcmcia/cistpl.c switch (features & 0x60) { features 1185 drivers/pcmcia/cistpl.c if (features & 0x80) { features 141 drivers/pcmcia/cs.c socket->features &= ~SS_CAP_CARDBUS; features 361 drivers/pcmcia/cs.c if (!(skt->features & SS_CAP_CARDBUS)) { features 539 drivers/pcmcia/db1xxx_ss.c sock->socket.features = SS_CAP_STATIC_MAP | SS_CAP_PCCARD; features 283 drivers/pcmcia/electra_cf.c cf->socket.features = SS_CAP_PCCARD | SS_CAP_STATIC_MAP | features 109 drivers/pcmcia/i82092.c sockets[i].socket.features |= SS_CAP_PCCARD; features 728 drivers/pcmcia/i82365.c t[i].socket.features |= SS_CAP_PCCARD; features 292 drivers/pcmcia/omap_cf.c cf->socket.features = SS_CAP_PCCARD | SS_CAP_STATIC_MAP features 853 drivers/pcmcia/pcmcia_resource.c align = (s->features & SS_CAP_MEM_ALIGN) ? res->end : s->map_size; features 858 drivers/pcmcia/pcmcia_resource.c if ((res->start && (s->features & SS_CAP_STATIC_MAP)) || features 879 drivers/pcmcia/pcmcia_resource.c if (!(s->features & SS_CAP_STATIC_MAP)) { features 904 drivers/pcmcia/pcmcia_resource.c if (s->features & SS_CAP_STATIC_MAP) features 683 drivers/pcmcia/pd6729.c socket[i].socket.features |= SS_CAP_PAGE_REGS | SS_CAP_PCCARD; features 572 drivers/pcmcia/rsrc_nonstatic.c if (s->features & SS_CAP_PAGE_REGS) features 812 drivers/pcmcia/rsrc_nonstatic.c low = low || !(s->features & SS_CAP_PAGE_REGS); features 839 drivers/pcmcia/soc_common.c skt->socket.features = SS_CAP_STATIC_MAP|SS_CAP_PCCARD; features 410 drivers/pcmcia/tcic.c socket_table[sockets].socket.features = SS_CAP_PCCARD | SS_CAP_MEM_ALIGN; features 227 drivers/pcmcia/vrc4171_card.c sock->features |= SS_CAP_PCCARD | SS_CAP_PAGE_REGS; features 131 drivers/pcmcia/vrc4173_cardu.c socket->cap.features |= SS_CAP_PCCARD | SS_CAP_PAGE_REGS; features 266 drivers/pcmcia/xxs1500_ss.c sock->socket.features = SS_CAP_STATIC_MAP | SS_CAP_PCCARD; features 1170 drivers/pcmcia/yenta_socket.c socket->socket.features = SS_CAP_PAGE_REGS | SS_CAP_PCCARD; features 1245 drivers/pcmcia/yenta_socket.c socket->socket.features |= SS_CAP_CARDBUS; features 68 drivers/perf/arm_spe_pmu.c u64 features; features 106 drivers/perf/arm_spe_pmu.c return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); features 691 drivers/perf/arm_spe_pmu.c !(spe_pmu->features & SPE_PMU_FEAT_FILT_EVT)) features 695 drivers/perf/arm_spe_pmu.c !(spe_pmu->features & SPE_PMU_FEAT_FILT_TYP)) features 699 drivers/perf/arm_spe_pmu.c !(spe_pmu->features & SPE_PMU_FEAT_FILT_LAT)) features 961 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_FILT_EVT; features 964 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_FILT_TYP; features 967 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_FILT_LAT; features 970 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_ARCH_INST; features 973 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_LDS; features 976 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_ERND; features 1032 drivers/perf/arm_spe_pmu.c spe_pmu->max_record_sz, spe_pmu->align, spe_pmu->features); features 1034 drivers/perf/arm_spe_pmu.c spe_pmu->features |= SPE_PMU_FEAT_DEV_PROBED; features 1102 drivers/perf/arm_spe_pmu.c if (ret || !(spe_pmu->features & SPE_PMU_FEAT_DEV_PROBED)) features 42 drivers/phy/ti/phy-gmii-sel.c u32 features; features 106 drivers/phy/ti/phy-gmii-sel.c if (soc_data->features & BIT(PHY_GMII_SEL_RGMII_ID_MODE) && features 114 drivers/phy/ti/phy-gmii-sel.c if (soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN) && features 141 drivers/phy/ti/phy-gmii-sel.c .features = BIT(PHY_GMII_SEL_RGMII_ID_MODE) | features 169 drivers/phy/ti/phy-gmii-sel.c .features = BIT(PHY_GMII_SEL_RGMII_ID_MODE), features 209 drivers/phy/ti/phy-gmii-sel.c if (priv->soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN) && features 218 drivers/phy/ti/phy-gmii-sel.c if (priv->soc_data->features & BIT(PHY_GMII_SEL_RMII_IO_CLK_EN)) features 169 drivers/pinctrl/intel/pinctrl-intel.c nregs = (community->features & PINCTRL_FEATURE_DEBOUNCE) ? 4 : 2; features 598 drivers/pinctrl/intel/pinctrl-intel.c if (!(community->features & PINCTRL_FEATURE_1K_PD)) features 695 drivers/pinctrl/intel/pinctrl-intel.c if (!(community->features & PINCTRL_FEATURE_1K_PD)) { features 1407 drivers/pinctrl/intel/pinctrl-intel.c if (!community->features) { features 1412 drivers/pinctrl/intel/pinctrl-intel.c community->features |= PINCTRL_FEATURE_DEBOUNCE; features 1413 drivers/pinctrl/intel/pinctrl-intel.c community->features |= PINCTRL_FEATURE_1K_PD; features 107 drivers/pinctrl/intel/pinctrl-intel.h unsigned int features; features 118 drivers/platform/mellanox/mlxbf-tmfifo.c u64 features; features 878 drivers/platform/mellanox/mlxbf-tmfifo.c return tm_vdev->features; features 886 drivers/platform/mellanox/mlxbf-tmfifo.c tm_vdev->features = vdev->features; features 1040 drivers/platform/mellanox/mlxbf-tmfifo.c int vdev_id, u64 features, features 1065 drivers/platform/mellanox/mlxbf-tmfifo.c tm_vdev->features = features; features 51 drivers/regulator/twl-regulator.c unsigned long features; features 299 drivers/regulator/twl-regulator.c !((info)->features & TWL4030_ALLOW_UNSUPPORTED)) features 36 drivers/regulator/twl6030-regulator.c unsigned long features; features 126 drivers/regulator/twl6030-regulator.c if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) { features 151 drivers/regulator/twl6030-regulator.c if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) features 168 drivers/regulator/twl6030-regulator.c if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) features 212 drivers/regulator/twl6030-regulator.c if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) features 240 drivers/remoteproc/remoteproc_virtio.c BUG_ON((u32)vdev->features != vdev->features); features 246 drivers/remoteproc/remoteproc_virtio.c rsc->gfeatures = vdev->features; features 118 drivers/rpmsg/qcom_glink_native.c unsigned long features; features 349 drivers/rpmsg/qcom_glink_native.c msg.param2 = cpu_to_le32(glink->features); features 360 drivers/rpmsg/qcom_glink_native.c msg.param2 = cpu_to_le32(glink->features); features 549 drivers/rpmsg/qcom_glink_native.c u32 features) features 555 drivers/rpmsg/qcom_glink_native.c glink->features &= features; features 576 drivers/rpmsg/qcom_glink_native.c u32 features) features 583 drivers/rpmsg/qcom_glink_native.c if (features == glink->features) features 586 drivers/rpmsg/qcom_glink_native.c glink->features &= features; features 1578 drivers/rpmsg/qcom_glink_native.c unsigned long features, features 1595 drivers/rpmsg/qcom_glink_native.c glink->features = features; features 30 drivers/rpmsg/qcom_glink_native.h unsigned long features, features 1029 drivers/rpmsg/virtio_rpmsg_bus.c static unsigned int features[] = { features 1034 drivers/rpmsg/virtio_rpmsg_bus.c .feature_table = features, features 1035 drivers/rpmsg/virtio_rpmsg_bus.c .feature_table_size = ARRAY_SIZE(features), features 147 drivers/rtc/rtc-m41t80.c unsigned long features; features 251 drivers/rtc/rtc-m41t80.c if (clientdata->features & M41T80_FEATURE_SQ_ALT) { features 289 drivers/rtc/rtc-m41t80.c if (clientdata->features & M41T80_FEATURE_BL) { features 445 drivers/rtc/rtc-m41t80.c int reg_sqw = (m41t80->features & M41T80_FEATURE_SQ_ALT) ? features 477 drivers/rtc/rtc-m41t80.c int reg_sqw = (m41t80->features & M41T80_FEATURE_SQ_ALT) ? features 635 drivers/rtc/rtc-m41t80.c if (clientdata->features & M41T80_FEATURE_WD) features 894 drivers/rtc/rtc-m41t80.c m41t80_data->features = (unsigned long) features 897 drivers/rtc/rtc-m41t80.c m41t80_data->features = id->driver_data; features 938 drivers/rtc/rtc-m41t80.c if (m41t80_data->features & M41T80_FEATURE_HT) { features 964 drivers/rtc/rtc-m41t80.c if (m41t80_data->features & M41T80_FEATURE_HT) { features 977 drivers/rtc/rtc-m41t80.c if (m41t80_data->features & M41T80_FEATURE_SQ) features 993 drivers/rtc/rtc-m41t80.c if (clientdata->features & M41T80_FEATURE_HT) { features 440 drivers/s390/block/dasd.c if ((device->features & DASD_FEATURE_USERAW)) { features 471 drivers/s390/block/dasd.c if (device->block && !(device->features & DASD_FEATURE_USERAW)) { features 1755 drivers/s390/block/dasd.c if (device->features & DASD_FEATURE_ERPLOG) features 3096 drivers/s390/block/dasd.c if (basedev->stopped && !(basedev->features & DASD_FEATURE_FAILFAST)) { features 3103 drivers/s390/block/dasd.c if (basedev->features & DASD_FEATURE_READONLY && features 3112 drivers/s390/block/dasd.c (basedev->features & DASD_FEATURE_FAILFAST || features 3341 drivers/s390/block/dasd.c (base->features & DASD_FEATURE_READONLY))) { features 3572 drivers/s390/block/dasd.c if (device->features & DASD_FEATURE_USEDIAG) { features 1459 drivers/s390/block/dasd_3990_erp.c if (cqr->startdev->features & DASD_FEATURE_ERPLOG) { features 2217 drivers/s390/block/dasd_3990_erp.c if (!(device->features & DASD_FEATURE_PATH_AUTODISABLE)) { features 2778 drivers/s390/block/dasd_3990_erp.c if (device->features & DASD_FEATURE_ERPLOG) { features 2829 drivers/s390/block/dasd_3990_erp.c if (device->features & DASD_FEATURE_ERPLOG) { features 670 drivers/s390/block/dasd_alias.c if (unlikely(!(private->features.feature[8] & 0x01))) { features 51 drivers/s390/block/dasd_devmap.c unsigned short features; features 184 drivers/s390/block/dasd_devmap.c int features, len, rc; features 186 drivers/s390/block/dasd_devmap.c features = 0; features 196 drivers/s390/block/dasd_devmap.c features |= DASD_FEATURE_READONLY; features 198 drivers/s390/block/dasd_devmap.c features |= DASD_FEATURE_USEDIAG; features 200 drivers/s390/block/dasd_devmap.c features |= DASD_FEATURE_USERAW; features 202 drivers/s390/block/dasd_devmap.c features |= DASD_FEATURE_ERPLOG; features 204 drivers/s390/block/dasd_devmap.c features |= DASD_FEATURE_FAILFAST; features 216 drivers/s390/block/dasd_devmap.c return rc ? : features; features 314 drivers/s390/block/dasd_devmap.c int features; features 351 drivers/s390/block/dasd_devmap.c features = dasd_feature_list(features_str); features 352 drivers/s390/block/dasd_devmap.c if (features < 0) { features 357 drivers/s390/block/dasd_devmap.c features |= DASD_FEATURE_INITIAL_ONLINE; features 360 drivers/s390/block/dasd_devmap.c devmap = dasd_add_busid(bus_id, features); features 410 drivers/s390/block/dasd_devmap.c dasd_add_busid(const char *bus_id, int features) features 430 drivers/s390/block/dasd_devmap.c new->features = features; features 561 drivers/s390/block/dasd_devmap.c device->features = devmap->features; features 723 drivers/s390/block/dasd_devmap.c ff_flag = (devmap->features & DASD_FEATURE_FAILFAST) != 0; features 759 drivers/s390/block/dasd_devmap.c ro_flag = !!(devmap->features & DASD_FEATURE_READONLY); features 826 drivers/s390/block/dasd_devmap.c erplog = (devmap->features & DASD_FEATURE_ERPLOG) != 0; features 861 drivers/s390/block/dasd_devmap.c use_diag = (devmap->features & DASD_FEATURE_USEDIAG) != 0; features 885 drivers/s390/block/dasd_devmap.c if (!devmap->device && !(devmap->features & DASD_FEATURE_USERAW)) { features 887 drivers/s390/block/dasd_devmap.c devmap->features |= DASD_FEATURE_USEDIAG; features 889 drivers/s390/block/dasd_devmap.c devmap->features &= ~DASD_FEATURE_USEDIAG; features 910 drivers/s390/block/dasd_devmap.c use_raw = (devmap->features & DASD_FEATURE_USERAW) != 0; features 934 drivers/s390/block/dasd_devmap.c if (!devmap->device && !(devmap->features & DASD_FEATURE_USEDIAG)) { features 936 drivers/s390/block/dasd_devmap.c devmap->features |= DASD_FEATURE_USERAW; features 938 drivers/s390/block/dasd_devmap.c devmap->features &= ~DASD_FEATURE_USERAW; features 1414 drivers/s390/block/dasd_devmap.c if (devmap->features & DASD_FEATURE_FAILONSLCK) features 1569 drivers/s390/block/dasd_devmap.c flag = (devmap->features & DASD_FEATURE_PATH_AUTODISABLE) != 0; features 1752 drivers/s390/block/dasd_devmap.c return ((devmap->features & feature) != 0); features 1770 drivers/s390/block/dasd_devmap.c devmap->features |= feature; features 1772 drivers/s390/block/dasd_devmap.c devmap->features &= ~feature; features 1774 drivers/s390/block/dasd_devmap.c devmap->device->features = devmap->features; features 563 drivers/s390/block/dasd_diag.c block->base->features & DASD_FEATURE_FAILFAST) features 1178 drivers/s390/block/dasd_eckd.c fcx_in_features = private->features.feature[40] & 0x80; features 1469 drivers/s390/block/dasd_eckd.c struct dasd_rssd_features *features; features 1474 drivers/s390/block/dasd_eckd.c memset(&private->features, 0, sizeof(struct dasd_rssd_features)); features 1504 drivers/s390/block/dasd_eckd.c features = (struct dasd_rssd_features *) (prssdp + 1); features 1505 drivers/s390/block/dasd_eckd.c memset(features, 0, sizeof(struct dasd_rssd_features)); features 1510 drivers/s390/block/dasd_eckd.c ccw->cda = (__u32)(addr_t) features; features 1517 drivers/s390/block/dasd_eckd.c features = (struct dasd_rssd_features *) (prssdp + 1); features 1518 drivers/s390/block/dasd_eckd.c memcpy(&private->features, features, features 2077 drivers/s390/block/dasd_eckd.c if ((device->features & DASD_FEATURE_USERAW) && features 2271 drivers/s390/block/dasd_eckd.c if (device->features & DASD_FEATURE_USERAW) { features 2515 drivers/s390/block/dasd_eckd.c use_prefix = base_priv->features.feature[8] & 0x01; features 2622 drivers/s390/block/dasd_eckd.c use_prefix = base_priv->features.feature[8] & 0x01; features 3409 drivers/s390/block/dasd_eckd.c if ((private->features.feature[40] & 0x04) && features 3555 drivers/s390/block/dasd_eckd.c if (device->features & DASD_FEATURE_FAILONSLCK) features 3636 drivers/s390/block/dasd_eckd.c struct dasd_rssd_features *features; features 3655 drivers/s390/block/dasd_eckd.c features = &private->features; features 3683 drivers/s390/block/dasd_eckd.c ras_data->op_flags.guarantee_init = !!(features->feature[56] & 0x01); features 3879 drivers/s390/block/dasd_eckd.c use_prefix = private->features.feature[8] & 0x01; features 3997 drivers/s390/block/dasd_eckd.c block->base->features & DASD_FEATURE_FAILFAST) features 4176 drivers/s390/block/dasd_eckd.c block->base->features & DASD_FEATURE_FAILFAST) features 4499 drivers/s390/block/dasd_eckd.c block->base->features & DASD_FEATURE_FAILFAST) features 4557 drivers/s390/block/dasd_eckd.c fcx_multitrack = private->features.feature[40] & 0x20; features 4566 drivers/s390/block/dasd_eckd.c cmdrtd = private->features.feature[9] & 0x20; features 4567 drivers/s390/block/dasd_eckd.c cmdwtd = private->features.feature[12] & 0x40; features 4568 drivers/s390/block/dasd_eckd.c use_prefix = private->features.feature[8] & 0x01; features 4670 drivers/s390/block/dasd_eckd.c use_prefix = base_priv->features.feature[8] & 0x01; features 4743 drivers/s390/block/dasd_eckd.c block->base->features & DASD_FEATURE_FAILFAST) features 4862 drivers/s390/block/dasd_eckd.c if ((base->features & DASD_FEATURE_USERAW)) features 5959 drivers/s390/block/dasd_eckd.c if (!(private->features.feature[14] & 0x80)) features 6636 drivers/s390/block/dasd_eckd.c if (device->features & DASD_FEATURE_USERAW) { features 674 drivers/s390/block/dasd_eckd.h struct dasd_rssd_features features; features 423 drivers/s390/block/dasd_fba.c block->base->features & DASD_FEATURE_FAILFAST) features 552 drivers/s390/block/dasd_fba.c block->base->features & DASD_FEATURE_FAILFAST) features 63 drivers/s390/block/dasd_fba.h } __attribute__ ((packed)) features; features 72 drivers/s390/block/dasd_genhd.c if (base->features & DASD_FEATURE_READONLY || features 490 drivers/s390/block/dasd_int.h unsigned short features; /* copy of devmap-features (read-only!) */ features 275 drivers/s390/block/dasd_ioctl.c if (base->features & DASD_FEATURE_READONLY || features 364 drivers/s390/block/dasd_ioctl.c if (base->features & DASD_FEATURE_READONLY || features 514 drivers/s390/block/dasd_ioctl.c dasd_info->features |= features 515 drivers/s390/block/dasd_ioctl.c ((base->features & DASD_FEATURE_READONLY) != 0); features 71 drivers/s390/block/dasd_proc.c substr = (device->features & DASD_FEATURE_READONLY) ? "(ro)" : " "; features 949 drivers/s390/net/qeth_core.h if ((card->dev->features & NETIF_F_RXCSUM) && features 1089 drivers/s390/net/qeth_core.h netdev_features_t features); features 5616 drivers/s390/net/qeth_core_main.c dev->features |= NETIF_F_SG; features 5907 drivers/s390/net/qeth_core_main.c u32 *features = reply->param; features 5912 drivers/s390/net/qeth_core_main.c *features = cmd->data.setassparms.data.flags_32bit; features 5929 drivers/s390/net/qeth_core_main.c u32 features; features 5942 drivers/s390/net/qeth_core_main.c rc = qeth_send_ipa_cmd(card, iob, qeth_start_csum_cb, &features); features 5946 drivers/s390/net/qeth_core_main.c if ((required_features & features) != required_features) { features 5959 drivers/s390/net/qeth_core_main.c if (features & QETH_IPA_CHECKSUM_LP2LP) features 6098 drivers/s390/net/qeth_core_main.c netdev_features_t features; features 6100 drivers/s390/net/qeth_core_main.c features = dev->features; features 6104 drivers/s390/net/qeth_core_main.c dev->features &= ~dev->hw_features; features 6107 drivers/s390/net/qeth_core_main.c dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; features 6111 drivers/s390/net/qeth_core_main.c if (features != dev->features) features 6117 drivers/s390/net/qeth_core_main.c int qeth_set_features(struct net_device *dev, netdev_features_t features) features 6120 drivers/s390/net/qeth_core_main.c netdev_features_t changed = dev->features ^ features; features 6124 drivers/s390/net/qeth_core_main.c QETH_CARD_HEX(card, 2, &features, sizeof(features)); features 6127 drivers/s390/net/qeth_core_main.c rc = qeth_set_ipa_csum(card, features & NETIF_F_IP_CSUM, features 6133 drivers/s390/net/qeth_core_main.c rc = qeth_set_ipa_csum(card, features & NETIF_F_IPV6_CSUM, features 6139 drivers/s390/net/qeth_core_main.c rc = qeth_set_ipa_rx_csum(card, features & NETIF_F_RXCSUM); features 6144 drivers/s390/net/qeth_core_main.c rc = qeth_set_ipa_tso(card, features & NETIF_F_TSO, features 6150 drivers/s390/net/qeth_core_main.c rc = qeth_set_ipa_tso(card, features & NETIF_F_TSO6, features 6157 drivers/s390/net/qeth_core_main.c if ((dev->features ^ features) == changed) features 6160 drivers/s390/net/qeth_core_main.c dev->features ^= changed; features 6166 drivers/s390/net/qeth_core_main.c netdev_features_t features) features 6172 drivers/s390/net/qeth_core_main.c features &= ~NETIF_F_IP_CSUM; features 6174 drivers/s390/net/qeth_core_main.c features &= ~NETIF_F_IPV6_CSUM; features 6177 drivers/s390/net/qeth_core_main.c features &= ~NETIF_F_RXCSUM; features 6179 drivers/s390/net/qeth_core_main.c features &= ~NETIF_F_TSO; features 6181 drivers/s390/net/qeth_core_main.c features &= ~NETIF_F_TSO6; features 6183 drivers/s390/net/qeth_core_main.c QETH_CARD_HEX(card, 2, &features, sizeof(features)); features 6184 drivers/s390/net/qeth_core_main.c return features; features 6190 drivers/s390/net/qeth_core_main.c netdev_features_t features) features 6199 drivers/s390/net/qeth_core_main.c if (netif_needs_gso(skb, features)) { features 6207 drivers/s390/net/qeth_core_main.c features &= ~NETIF_F_SG; features 6210 drivers/s390/net/qeth_core_main.c return vlan_features_check(skb, features); features 718 drivers/s390/net/qeth_l2_main.c card->dev->features |= NETIF_F_VLAN_CHALLENGED; features 722 drivers/s390/net/qeth_l2_main.c card->dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 726 drivers/s390/net/qeth_l2_main.c card->dev->features |= NETIF_F_SG; features 2115 drivers/s390/net/qeth_l3_main.c netdev_features_t features) features 2118 drivers/s390/net/qeth_l3_main.c features &= ~NETIF_F_HW_VLAN_CTAG_TX; features 2119 drivers/s390/net/qeth_l3_main.c return qeth_features_check(skb, dev, features); features 2191 drivers/s390/net/qeth_l3_main.c card->dev->features |= NETIF_F_SG; features 2226 drivers/s390/net/qeth_l3_main.c card->dev->features |= NETIF_F_HW_VLAN_CTAG_TX | features 102 drivers/s390/virtio/virtio_ccw.c __le32 features; features 759 drivers/s390/virtio/virtio_ccw.c struct virtio_feature_desc *features; features 768 drivers/s390/virtio/virtio_ccw.c features = ccw_device_dma_zalloc(vcdev->cdev, sizeof(*features)); features 769 drivers/s390/virtio/virtio_ccw.c if (!features) { features 774 drivers/s390/virtio/virtio_ccw.c features->index = 0; features 777 drivers/s390/virtio/virtio_ccw.c ccw->count = sizeof(*features); features 778 drivers/s390/virtio/virtio_ccw.c ccw->cda = (__u32)(unsigned long)features; features 785 drivers/s390/virtio/virtio_ccw.c rc = le32_to_cpu(features->features); features 791 drivers/s390/virtio/virtio_ccw.c features->index = 1; features 794 drivers/s390/virtio/virtio_ccw.c ccw->count = sizeof(*features); features 795 drivers/s390/virtio/virtio_ccw.c ccw->cda = (__u32)(unsigned long)features; features 798 drivers/s390/virtio/virtio_ccw.c rc |= (u64)le32_to_cpu(features->features) << 32; features 801 drivers/s390/virtio/virtio_ccw.c ccw_device_dma_free(vcdev->cdev, features, sizeof(*features)); features 816 drivers/s390/virtio/virtio_ccw.c struct virtio_feature_desc *features; features 831 drivers/s390/virtio/virtio_ccw.c features = ccw_device_dma_zalloc(vcdev->cdev, sizeof(*features)); features 832 drivers/s390/virtio/virtio_ccw.c if (!features) { features 842 drivers/s390/virtio/virtio_ccw.c features->index = 0; features 843 drivers/s390/virtio/virtio_ccw.c features->features = cpu_to_le32((u32)vdev->features); features 847 drivers/s390/virtio/virtio_ccw.c ccw->count = sizeof(*features); features 848 drivers/s390/virtio/virtio_ccw.c ccw->cda = (__u32)(unsigned long)features; features 856 drivers/s390/virtio/virtio_ccw.c features->index = 1; features 857 drivers/s390/virtio/virtio_ccw.c features->features = cpu_to_le32(vdev->features >> 32); features 861 drivers/s390/virtio/virtio_ccw.c ccw->count = sizeof(*features); features 862 drivers/s390/virtio/virtio_ccw.c ccw->cda = (__u32)(unsigned long)features; features 866 drivers/s390/virtio/virtio_ccw.c ccw_device_dma_free(vcdev->cdev, features, sizeof(*features)); features 1132 drivers/scsi/3w-9xxx.c tw_initconnect->features = set_features; features 1135 drivers/scsi/3w-9xxx.c tw_initconnect->features |= sizeof(dma_addr_t) > 4 ? 1 : 0; features 1137 drivers/scsi/3w-9xxx.c tw_initconnect->features = cpu_to_le32(tw_initconnect->features); features 557 drivers/scsi/3w-9xxx.h u32 features; features 994 drivers/scsi/3w-sas.c tw_initconnect->features = set_features; features 997 drivers/scsi/3w-sas.c tw_initconnect->features |= sizeof(dma_addr_t) > 4 ? 1 : 0; features 999 drivers/scsi/3w-sas.c tw_initconnect->features = cpu_to_le32(tw_initconnect->features); features 288 drivers/scsi/3w-sas.h u32 features; features 379 drivers/scsi/3w-xxxx.h unsigned short features; features 192 drivers/scsi/aic7xxx/aic7770.c if ((ahc->features & AHC_WIDE) != 0) { features 318 drivers/scsi/aic7xxx/aic7770.c max_targ = (ahc->features & AHC_WIDE) != 0 ? 16 : 8; features 380 drivers/scsi/aic7xxx/aic7770.c ahc->features = AHC_AIC7770_FE; features 1132 drivers/scsi/aic7xxx/aic79xx.h ahd_feature features; features 1011 drivers/scsi/aic7xxx/aic79xx_core.c if (intstat == 0xFF && (ahd->features & AHD_REMOVABLE) != 0) { features 1614 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_NEW_DFCNTRL_OPTS) != 0) { features 3815 drivers/scsi/aic7xxx/aic79xx_core.c if (ahd->features & AHD_WIDE) { features 3854 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_WIDE) != 0) features 4152 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_NEW_IOCELL_OPTS) != 0 features 4191 drivers/scsi/aic7xxx/aic79xx_core.c if (ahd->features & AHD_AIC79XXB_SLOWCRC) { features 4567 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_WIDE) != 0) features 6097 drivers/scsi/aic7xxx/aic79xx_core.c ahd->features = AHD_FENONE; features 6326 drivers/scsi/aic7xxx/aic79xx_core.c ahd->features &= ~AHD_WIDE; features 6328 drivers/scsi/aic7xxx/aic79xx_core.c ahd->features |= AHD_WIDE; features 6988 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_WIDE) != 0) { features 7068 drivers/scsi/aic7xxx/aic79xx_core.c ahd->features &= ~AHD_TARGETMODE; features 7081 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_TARGETMODE) != 0) features 7118 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_TARGETMODE) != 0) { features 7404 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_NEW_IOCELL_OPTS) == 0) { features 7455 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_TARGETMODE) != 0) { features 7562 drivers/scsi/aic7xxx/aic79xx_core.c if (ahd->features & AHD_AIC79XXB_SLOWCRC) { features 7628 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_RTI) != 0) features 7729 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_RTI) != 0) features 7892 drivers/scsi/aic7xxx/aic79xx_core.c && (intstat != 0xFF || (ahd->features & AHD_REMOVABLE) == 0) features 8772 drivers/scsi/aic7xxx/aic79xx_core.c max_scsiid = (ahd->features & AHD_WIDE) ? 15 : 7; features 9455 drivers/scsi/aic7xxx/aic79xx_core.c ahd_name(ahd), ahd->features, ahd->bugs, ahd->flags); features 10232 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_TARGETMODE) == 0) features 10246 drivers/scsi/aic7xxx/aic79xx_core.c max_id = (ahd->features & AHD_WIDE) ? 16 : 8; features 10288 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_MULTIROLE) != 0) { features 10293 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_MULTI_TID) != 0 features 10338 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_MULTIROLE) == 0) features 10414 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_MULTI_TID) != 0) { features 10440 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_TWIN) == 0) features 10530 drivers/scsi/aic7xxx/aic79xx_core.c if (ahd->features & AHD_MULTI_TID) { features 10560 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_MULTIROLE) == 0) { features 10586 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_MULTI_TID) == 0) features 10595 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_ULTRA2) != 0) features 10612 drivers/scsi/aic7xxx/aic79xx_core.c if ((ahd->features & AHD_ULTRA2) != 0) features 636 drivers/scsi/aic7xxx/aic79xx_osm.c if ((ahd->features & AHD_RTI) == 0) features 1243 drivers/scsi/aic7xxx/aic79xx_osm.c host->max_id = (ahd->features & AHD_WIDE) ? 16 : 8; features 1294 drivers/scsi/aic7xxx/aic79xx_osm.c numtarg = (ahd->features & AHD_WIDE) ? 16 : 8; features 2697 drivers/scsi/aic7xxx/aic79xx_osm.c if ((ahd->features & AHD_RTI) == 0) { features 218 drivers/scsi/aic7xxx/aic79xx_osm_pci.c if ((ahd->features & AHD_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0) features 907 drivers/scsi/aic7xxx/aic79xx_pci.c ahd->features = AHD_AIC7901_FE; features 916 drivers/scsi/aic7xxx/aic79xx_pci.c ahd->features = AHD_AIC7901A_FE; features 924 drivers/scsi/aic7xxx/aic79xx_pci.c ahd->features = AHD_AIC7902_FE; features 971 drivers/scsi/aic7xxx/aic79xx_pci.c ahd->features |= AHD_RTI|AHD_NEW_IOCELL_OPTS features 978 drivers/scsi/aic7xxx/aic79xx_pci.c ahd->features |= AHD_AIC79XXB_SLOWCRC; features 983 drivers/scsi/aic7xxx/aic79xx_pci.c if ((ahd->features & AHD_MULTI_FUNC) != 0) features 306 drivers/scsi/aic7xxx/aic79xx_proc.c if ((ahd->features & AHD_WIDE) == 0) features 69 drivers/scsi/aic7xxx/aic7xxx.h (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \ features 74 drivers/scsi/aic7xxx/aic7xxx.h ((((ahc)->features & AHC_TWIN) != 0) \ features 983 drivers/scsi/aic7xxx/aic7xxx.h ahc_feature features; features 310 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 635 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_QUEUE_REGS) != 0) { features 638 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_AUTOPAUSE) == 0) features 641 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_AUTOPAUSE) == 0) features 786 drivers/scsi/aic7xxx/aic7xxx_core.c if (intstat == 0xFF && (ahc->features & AHC_REMOVABLE) != 0) { features 836 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_CMD_CHAN) != 0) { features 1317 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) == 0) { features 1424 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 1537 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) != 0 features 1544 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 1550 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) != 0) { features 1574 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0 features 1664 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0) { features 1680 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0 features 2039 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0) features 2055 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0) { features 2216 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 2225 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((ahc->features & AHC_ULTRA) != 0) { features 2269 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) == 0) features 2279 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & (AHC_DT | AHC_ULTRA2)) == 0 features 2282 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & (AHC_DT | AHC_ULTRA2 | AHC_ULTRA)) == 0 features 2294 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0 features 2325 drivers/scsi/aic7xxx/aic7xxx_core.c || ((ahc->features & AHC_ULTRA2) != 0 features 2344 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 2350 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) == 0 && maxsync < AHC_SYNCRATE_ULTRA2) features 2352 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & (AHC_DT | AHC_ULTRA2)) == 0 features 2355 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & (AHC_DT | AHC_ULTRA2 | AHC_ULTRA)) == 0 features 2363 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 2391 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((ahc->features & AHC_ULTRA2) != 0) { features 2418 drivers/scsi/aic7xxx/aic7xxx_core.c if (ahc->features & AHC_WIDE) { features 2457 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_WIDE) != 0) features 2533 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 2571 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 2775 drivers/scsi/aic7xxx/aic7xxx_core.c && (ahc->features & AHC_MULTI_TID) != 0 features 2780 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((ahc->features & AHC_ULTRA2) != 0) features 2857 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) == 0) features 3007 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_WIDE) != 0) features 4304 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) == 0) { features 4429 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->features = AHC_FENONE; features 4635 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->features |= AHC_WIDE; features 4639 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->features |= AHC_TWIN; features 4654 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) != 0) { features 5033 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) != 0) features 5043 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA) != 0) { features 5045 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((ahc->features & AHC_DT) != 0) { features 5047 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((ahc->features & AHC_ULTRA2) != 0) { features 5050 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_WIDE) != 0) { features 5081 drivers/scsi/aic7xxx/aic7xxx_core.c if (ahc->features & AHC_TWIN) { features 5092 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 5101 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 5109 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 5137 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTI_TID) != 0) { features 5171 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_HS_MAILBOX) != 0) features 5175 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TARGETMODE) != 0) { features 5182 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_QUEUE_REGS) != 0) { features 5232 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 5278 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MORE_SRAM) != 0) { features 5311 drivers/scsi/aic7xxx/aic7xxx_core.c ahc->features &= ~AHC_TARGETMODE; features 5325 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TARGETMODE) != 0) features 5356 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TARGETMODE) != 0) { features 5387 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) != 0) { features 5416 drivers/scsi/aic7xxx/aic7xxx_core.c if (ahc->features & AHC_TWIN) { features 5438 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA) != 0) features 5443 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & (AHC_ULTRA|AHC_ULTRA2)) != 0) features 5448 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0) features 5461 drivers/scsi/aic7xxx/aic7xxx_core.c if (i > 7 && (ahc->features & AHC_TWIN) != 0) { features 5471 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_WIDE) != 0) features 5487 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 5507 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0) features 5516 drivers/scsi/aic7xxx/aic7xxx_core.c && (ahc->features & AHC_DT) != 0) features 5537 drivers/scsi/aic7xxx/aic7xxx_core.c && (ahc->features & AHC_WIDE) != 0) features 5540 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0) features 5610 drivers/scsi/aic7xxx/aic7xxx_core.c && (intstat != 0xFF || (ahc->features & AHC_REMOVABLE) == 0) features 5790 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_QUEUE_REGS) != 0) { features 5819 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_QUEUE_REGS) != 0) { features 5845 drivers/scsi/aic7xxx/aic7xxx_core.c have_qregs = (ahc->features & AHC_QUEUE_REGS) != 0; features 5915 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_QUEUE_REGS) != 0) { features 6500 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) != 0 features 6555 drivers/scsi/aic7xxx/aic7xxx_core.c max_scsiid = (ahc->features & AHC_WIDE) ? 15 : 7; features 6920 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_name(ahc), ahc->features, ahc->bugs, ahc->flags); features 7029 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_CMD_CHAN) == 0 features 7046 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) { features 7172 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_DT) != 0) features 7202 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_QUEUE_REGS) != 0) { features 7295 drivers/scsi/aic7xxx/aic7xxx_core.c maxtarget = (ahc->features & (AHC_WIDE|AHC_TWIN)) ? 15 : 7; features 7325 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TARGETMODE) == 0) features 7339 drivers/scsi/aic7xxx/aic7xxx_core.c max_id = (ahc->features & AHC_WIDE) ? 16 : 8; features 7407 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTIROLE) != 0) { features 7409 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTI_TID) != 0 features 7430 drivers/scsi/aic7xxx/aic7xxx_core.c } else if ((ahc->features & AHC_MULTI_TID) == 0 features 7460 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTIROLE) == 0) features 7552 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTI_TID) != 0) { features 7582 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_TWIN) == 0) features 7675 drivers/scsi/aic7xxx/aic7xxx_core.c if (ahc->features & AHC_MULTI_TID) { features 7710 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTIROLE) == 0) { features 7737 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_MULTI_TID) == 0) features 7746 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 7763 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_ULTRA2) != 0) features 7779 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_AUTOPAUSE) != 0) features 7805 drivers/scsi/aic7xxx/aic7xxx_core.c if ((ahc->features & AHC_HS_MAILBOX) != 0) { features 603 drivers/scsi/aic7xxx/aic7xxx_osm.c if ((ahc->features & AHC_ULTRA2) != 0) { features 1106 drivers/scsi/aic7xxx/aic7xxx_osm.c host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8; features 1108 drivers/scsi/aic7xxx/aic7xxx_osm.c host->max_channel = (ahc->features & AHC_TWIN) ? 1 : 0; features 1159 drivers/scsi/aic7xxx/aic7xxx_osm.c numtarg = (ahc->features & AHC_WIDE) ? 16 : 8; features 1161 drivers/scsi/aic7xxx/aic7xxx_osm.c if ((ahc->features & AHC_TWIN) != 0) { features 1187 drivers/scsi/aic7xxx/aic7xxx_osm.c if (i > 7 && (ahc->features & AHC_TWIN) != 0) { features 1444 drivers/scsi/aic7xxx/aic7xxx_osm.c && (ahc->features & AHC_SCB_BTT) == 0) { features 2516 drivers/scsi/aic7xxx/aic7xxx_osm.c if (!(ahc->features & AHC_ULTRA2)) { features 2519 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc->features & AHC_HVD ? features 241 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c && ahc->features & AHC_LARGE_SCBS features 264 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c if ((ahc->features & AHC_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0) features 788 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 804 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_DT) != 0) { features 821 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) { features 859 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA) != 0) { features 865 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features &= ~AHC_ULTRA; features 877 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) { features 935 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_DT) != 0) { features 946 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_MULTI_FUNC) != 0) features 949 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 981 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 1010 drivers/scsi/aic7xxx/aic7xxx_pci.c if (ahc->features & AHC_MULTI_FUNC) { features 1022 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) { features 1124 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_LARGE_SCBS) != 0) { features 1380 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_SPIOCAP) != 0) { features 1448 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) { features 1490 drivers/scsi/aic7xxx/aic7xxx_pci.c if (ahc->features & AHC_ULTRA features 1542 drivers/scsi/aic7xxx/aic7xxx_pci.c || (ahc->features & AHC_NEW_TERMCTL) != 0) { features 1557 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_NEW_TERMCTL) != 0) { features 1582 drivers/scsi/aic7xxx/aic7xxx_pci.c } else if ((ahc->features & AHC_SPIOCAP) != 0) { features 1595 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_WIDE) == 0) features 1599 drivers/scsi/aic7xxx/aic7xxx_pci.c && (ahc->features & AHC_ULTRA2) == 0) { features 1604 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_WIDE) != 0) features 1634 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) == 0 features 1653 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_WIDE) != 0 features 1673 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 1719 drivers/scsi/aic7xxx/aic7xxx_pci.c (ahc->features & AHC_ULTRA2) ? "Primary " features 1724 drivers/scsi/aic7xxx/aic7xxx_pci.c && (ahc->features & AHC_WIDE) != 0) { features 1729 drivers/scsi/aic7xxx/aic7xxx_pci.c (ahc->features & AHC_ULTRA2) features 1739 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_WIDE) != 0) features 1836 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_SPIOCAP) != 0 features 1875 drivers/scsi/aic7xxx/aic7xxx_pci.c } else if ((ahc->features & AHC_ULTRA2) != 0) { features 1885 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 1891 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 1908 drivers/scsi/aic7xxx/aic7xxx_pci.c } else if ((ahc->features & AHC_ULTRA2) != 0) { features 1991 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_DT) != 0) { features 2002 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_MULTI_FUNC) != 0) features 2005 drivers/scsi/aic7xxx/aic7xxx_pci.c if ((ahc->features & AHC_ULTRA2) != 0) features 2054 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7850_FE; features 2072 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7860_FE; features 2089 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_REMOVABLE; features 2099 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7870_FE; features 2110 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_HVD; features 2131 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_HVD; features 2163 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_HVD; features 2177 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7880_FE; features 2194 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_HVD; features 2224 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_HVD; features 2249 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7890_FE; features 2264 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7892_FE; features 2285 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7895C_FE; features 2290 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7895_FE; features 2332 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_HVD; features 2345 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7896_FE; features 2360 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features = AHC_AIC7899_FE; features 2375 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->features |= AHC_REMOVABLE; features 145 drivers/scsi/aic7xxx/aic7xxx_proc.c if ((ahc->features & AHC_TWIN) != 0) features 321 drivers/scsi/aic7xxx/aic7xxx_proc.c if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0) features 332 drivers/scsi/aic7xxx/aic7xxx_proc.c if (i > 7 && (ahc->features & AHC_TWIN) != 0) { features 258 drivers/scsi/esas2r/atvda.h u16 features; features 307 drivers/scsi/esas2r/atvda.h u16 features; features 419 drivers/scsi/esas2r/atvda.h u16 features; features 473 drivers/scsi/esas2r/atvda.h u8 features; features 673 drivers/scsi/esas2r/atvda.h u32 features; features 848 drivers/scsi/esas2r/esas2r_disc.c if (le16_to_cpu(devinfo->features) & VDADEVFEAT_PHYS_ID) { features 1352 drivers/scsi/esas2r/esas2r_main.c d->features = le16_to_cpu(d->features); features 1378 drivers/scsi/esas2r/esas2r_main.c g->features = le16_to_cpu(g->features); features 657 drivers/scsi/fcoe/fcoe.c if (netdev->features & NETIF_F_SG) features 662 drivers/scsi/fcoe/fcoe.c if (netdev->features & NETIF_F_FCOE_CRC) { features 669 drivers/scsi/fcoe/fcoe.c if (netdev->features & NETIF_F_FSO) { features 726 drivers/scsi/fcoe/fcoe.c if (netdev->features & NETIF_F_FCOE_MTU) { features 1554 drivers/scsi/fcoe/fcoe.c fcoe->realdev->features & NETIF_F_HW_VLAN_CTAG_TX) { features 1877 drivers/scsi/fcoe/fcoe.c if (netdev->features & NETIF_F_FCOE_MTU) features 443 drivers/scsi/gdth.h u16 features; /* channel features */ features 81 drivers/scsi/hisi_sas/hisi_sas_main.c switch (fis->features) { features 176 drivers/scsi/ibmvscsi/ibmvfc.h __be16 features; features 651 drivers/scsi/isci/request.c h2d_fis->features |= ATAPI_PKT_DMA; features 339 drivers/scsi/isci/scu_task_context.h u32 features:8; features 1673 drivers/scsi/ncr53c8xx.c u32 features; /* Chip features map */ features 3573 drivers/scsi/ncr53c8xx.c if ((opcode & SCR_NO_FLUSH) && !(np->features & FE_PFEN)) { features 3758 drivers/scsi/ncr53c8xx.c np->maxwide = (np->features & FE_WIDE)? 1 : 0; features 3763 drivers/scsi/ncr53c8xx.c if (np->features & FE_ULTRA) features 3771 drivers/scsi/ncr53c8xx.c if (np->features & FE_QUAD) features 3773 drivers/scsi/ncr53c8xx.c else if (np->features & FE_DBLR) features 3782 drivers/scsi/ncr53c8xx.c if (np->features & FE_VARCLK) features 3812 drivers/scsi/ncr53c8xx.c if (np->minsync < 25 && !(np->features & FE_ULTRA)) features 3850 drivers/scsi/ncr53c8xx.c if (np->features & FE_ERL) features 3852 drivers/scsi/ncr53c8xx.c if (np->features & FE_BOF) features 3854 drivers/scsi/ncr53c8xx.c if (np->features & FE_ERMP) features 3856 drivers/scsi/ncr53c8xx.c if (np->features & FE_PFEN) features 3858 drivers/scsi/ncr53c8xx.c if (np->features & FE_CLSE) features 3860 drivers/scsi/ncr53c8xx.c if (np->features & FE_WRIE) features 3862 drivers/scsi/ncr53c8xx.c if (np->features & FE_DFS) features 3864 drivers/scsi/ncr53c8xx.c if (np->features & FE_MUX) features 3866 drivers/scsi/ncr53c8xx.c if (np->features & FE_EA) features 3868 drivers/scsi/ncr53c8xx.c if (np->features & FE_EHP) features 3905 drivers/scsi/ncr53c8xx.c if (np->features & FE_DIFF) { features 3940 drivers/scsi/ncr53c8xx.c !(np->features & FE_LEDC) && !(np->sv_gpcntl & 0x01)) features 3941 drivers/scsi/ncr53c8xx.c np->features |= FE_LED0; features 4511 drivers/scsi/ncr53c8xx.c if (!(np->features & FE_WIDE)) features 4520 drivers/scsi/ncr53c8xx.c (np->features & FE_WIDE) ? "dp1,d15-8," : "", features 5180 drivers/scsi/ncr53c8xx.c if (np->features & FE_EHP) features 5182 drivers/scsi/ncr53c8xx.c if (np->features & FE_MUX) features 5298 drivers/scsi/ncr53c8xx.c if (np->features & FE_LED0) { features 7310 drivers/scsi/ncr53c8xx.c ncrcmd copy_4 = np->features & FE_PFEN ? SCR_COPY(4) : SCR_COPY_F(4); features 7399 drivers/scsi/ncr53c8xx.c ncrcmd copy_1 = np->features & FE_PFEN ? SCR_COPY(1) : SCR_COPY_F(1); features 7487 drivers/scsi/ncr53c8xx.c ncrcmd copy_4 = np->features & FE_PFEN ? SCR_COPY(4) : SCR_COPY_F(4); features 8337 drivers/scsi/ncr53c8xx.c np->features = device->chip.features; features 8356 drivers/scsi/ncr53c8xx.c np->paddr2 = (np->features & FE_RAM) ? device->slot.base_2 : 0; features 8418 drivers/scsi/ncr53c8xx.c if (np->features & FE_LED0) { features 463 drivers/scsi/ncr53c8xx.h unsigned int features; features 44 drivers/scsi/sym53c8xx_2/sym_defs.h u_int features; features 106 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_LED0)) { features 150 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_LED0)) { features 190 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_C10)) { features 335 drivers/scsi/sym53c8xx_2/sym_fw.c if (chip->features & FE_LDSTR) features 338 drivers/scsi/sym53c8xx_2/sym_fw.c else if (!(chip->features & (FE_PFEN|FE_NOPM|FE_DAC))) features 419 drivers/scsi/sym53c8xx_2/sym_fw.c !(np->features & FE_PFEN)) { features 427 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_WIDE)) features 435 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_WIDE)) features 445 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_WIDE)) features 454 drivers/scsi/sym53c8xx_2/sym_fw.c if (!(np->features & FE_WIDE)) features 1285 drivers/scsi/sym53c8xx_2/sym_glue.c np->features = dev->chip.features; features 1301 drivers/scsi/sym53c8xx_2/sym_glue.c if ((SYM_CONF_DMA_ADDRESSING_MODE > 0) && (np->features & FE_DAC) && features 1447 drivers/scsi/sym53c8xx_2/sym_glue.c if (device->chip.features & FE_RAM8K) features 1473 drivers/scsi/sym53c8xx_2/sym_glue.c chip->features |= (FE_WRIE | FE_CLSE); features 1477 drivers/scsi/sym53c8xx_2/sym_glue.c if (chip->features & FE_WRIE) { features 1494 drivers/scsi/sym53c8xx_2/sym_glue.c if (chip->features & FE_66MHZ) { features 1496 drivers/scsi/sym53c8xx_2/sym_glue.c chip->features &= ~FE_66MHZ; features 1520 drivers/scsi/sym53c8xx_2/sym_glue.c if (device->chip.features & FE_RAM) { features 1794 drivers/scsi/sym53c8xx_2/sym_glue.c if (!(chip->features & FE_66MHZ) && (status_reg & PCI_STATUS_66MHZ)) { features 1825 drivers/scsi/sym53c8xx_2/sym_glue.c if (np->features & FE_WRIE) { features 144 drivers/scsi/sym53c8xx_2/sym_hipd.c if (!(np->features & FE_ISTAT1) || !(INB(np, nc_istat1) & SCRUN)) features 219 drivers/scsi/sym53c8xx_2/sym_hipd.c (np->features & FE_WIDE) ? "dp1,d15-8," : "", features 250 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_LCKFRQ) { features 318 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) { features 331 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) { features 351 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) features 442 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_66MHZ) { features 500 drivers/scsi/sym53c8xx_2/sym_hipd.c if ((np->features & (FE_C10|FE_U3EN)) == FE_C10) { features 626 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) { /* Always large DMA fifo + ultra3 */ features 647 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & (FE_ULTRA2|FE_ULTRA3)) features 649 drivers/scsi/sym53c8xx_2/sym_hipd.c else if (np->features & FE_DIFF) { features 677 drivers/scsi/sym53c8xx_2/sym_hipd.c np->maxwide = (np->features & FE_WIDE) ? 1 : 0; features 682 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & (FE_ULTRA3 | FE_ULTRA2)) features 684 drivers/scsi/sym53c8xx_2/sym_hipd.c else if (np->features & FE_ULTRA) features 692 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_QUAD) features 694 drivers/scsi/sym53c8xx_2/sym_hipd.c else if (np->features & FE_DBLR) features 703 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_VARCLK) features 722 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) features 740 drivers/scsi/sym53c8xx_2/sym_hipd.c !(np->features & (FE_ULTRA|FE_ULTRA2|FE_ULTRA3))) features 743 drivers/scsi/sym53c8xx_2/sym_hipd.c !(np->features & (FE_ULTRA2|FE_ULTRA3))) features 755 drivers/scsi/sym53c8xx_2/sym_hipd.c if ((np->features & (FE_C10|FE_ULTRA3)) == (FE_C10|FE_ULTRA3)) { features 766 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_DAC) { features 778 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_NOPM) features 814 drivers/scsi/sym53c8xx_2/sym_hipd.c np->features &= ~(FE_WRIE|FE_ERL|FE_ERMP); features 822 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_ERL) features 824 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_BOF) features 826 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_ERMP) features 829 drivers/scsi/sym53c8xx_2/sym_hipd.c if ((np->features & FE_PFEN) && !np->ram_ba) features 831 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_PFEN) features 834 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_CLSE) features 836 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_WRIE) features 838 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_DFS) features 880 drivers/scsi/sym53c8xx_2/sym_hipd.c !(np->features & FE_LEDC) && !(np->sv_gpcntl & 0x01)) features 881 drivers/scsi/sym53c8xx_2/sym_hipd.c np->features |= FE_LED0; features 920 drivers/scsi/sym53c8xx_2/sym_hipd.c (np->features & FE_ULTRA3) ? 80 : features 921 drivers/scsi/sym53c8xx_2/sym_hipd.c (np->features & FE_ULTRA2) ? 40 : features 922 drivers/scsi/sym53c8xx_2/sym_hipd.c (np->features & FE_ULTRA) ? 20 : 10, features 934 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_NOPM) features 1154 drivers/scsi/sym53c8xx_2/sym_hipd.c (np->features & FE_C10) ? (unsigned)INB(np, nc_scntl4) : 0, features 1376 drivers/scsi/sym53c8xx_2/sym_hipd.c if ((np->scsi_mode != SMODE_LVD) || !(np->features & FE_U3EN)) features 1774 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) features 1814 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & (FE_DAC|FE_NOPM)) { features 1835 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_NOPM) { features 1844 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_LED0) features 1846 drivers/scsi/sym53c8xx_2/sym_hipd.c else if (np->features & FE_LEDC) features 1860 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & (FE_ULTRA2|FE_ULTRA3)) { features 1906 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_RAM8K) { features 1951 drivers/scsi/sym53c8xx_2/sym_hipd.c if (!(np->features & FE_C10)) features 1961 drivers/scsi/sym53c8xx_2/sym_hipd.c if (!(np->features & FE_C10)) features 1980 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) { features 1983 drivers/scsi/sym53c8xx_2/sym_hipd.c assert(np->features & FE_U3EN); features 2006 drivers/scsi/sym53c8xx_2/sym_hipd.c if (per < 50 && !(np->features & FE_C10)) features 2015 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) { features 2029 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_C10) { features 2425 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_DFBC) features 2455 drivers/scsi/sym53c8xx_2/sym_hipd.c if (!(np->features & FE_C10)) features 2460 drivers/scsi/sym53c8xx_2/sym_hipd.c if (!(np->features & FE_C10)) features 4082 drivers/scsi/sym53c8xx_2/sym_hipd.c if (!wide || !(np->features & FE_U3EN)) features 5611 drivers/scsi/sym53c8xx_2/sym_hipd.c if (i > 37000 && !(np->features & FE_66MHZ)) features 5685 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->features & FE_RAM8K) { features 666 drivers/scsi/sym53c8xx_2/sym_hipd.h if (np->features & FE_LDSTR) \ features 672 drivers/scsi/sym53c8xx_2/sym_hipd.h scr_to_cpu((np->features & FE_LDSTR) ? \ features 910 drivers/scsi/sym53c8xx_2/sym_hipd.h u_int features; /* Chip features map */ features 959 drivers/scsi/virtio_scsi.c static unsigned int features[] = { features 968 drivers/scsi/virtio_scsi.c .feature_table = features, features 969 drivers/scsi/virtio_scsi.c .feature_table_size = ARRAY_SIZE(features), features 45 drivers/scsi/zalon.c .features = FE_WIDE | FE_DIFF | FE_EHP| FE_MUX | FE_EA, features 63 drivers/soc/qcom/smp2p.c unsigned features:24; features 38 drivers/staging/kpc2000/kpc2000_i2c.c unsigned int features; features 368 drivers/staging/kpc2000/kpc2000_i2c.c } else if (!(priv->features & FEATURE_I2C_BLOCK_READ)) { features 387 drivers/staging/kpc2000/kpc2000_i2c.c if ((priv->features & FEATURE_BLOCK_BUFFER) && command != I2C_SMBUS_I2C_BLOCK_DATA && i801_set_block_buffer_mode(priv) == 0) features 409 drivers/staging/kpc2000/kpc2000_i2c.c hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && size != I2C_SMBUS_I2C_BLOCK_DATA; features 541 drivers/staging/kpc2000/kpc2000_i2c.c ((priv->features & FEATURE_SMBUS_PEC) ? I2C_FUNC_SMBUS_PEC : 0) | /* 0x00000008 */ features 553 drivers/staging/kpc2000/kpc2000_i2c.c ((priv->features & FEATURE_I2C_BLOCK_READ) ? I2C_FUNC_SMBUS_READ_I2C_BLOCK : 0) | /* 0x04000000 */ features 600 drivers/staging/kpc2000/kpc2000_i2c.c priv->features |= FEATURE_IDF; features 601 drivers/staging/kpc2000/kpc2000_i2c.c priv->features |= FEATURE_I2C_BLOCK_READ; features 602 drivers/staging/kpc2000/kpc2000_i2c.c priv->features |= FEATURE_SMBUS_PEC; features 603 drivers/staging/kpc2000/kpc2000_i2c.c priv->features |= FEATURE_BLOCK_BUFFER; features 428 drivers/staging/octeon/ethernet.c dev->features |= NETIF_F_SG | NETIF_F_IP_CSUM; features 431 drivers/staging/octeon/ethernet.c dev->features |= NETIF_F_LLTX; features 413 drivers/staging/qlge/qlge_main.c if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) features 1477 drivers/staging/qlge/qlge_main.c if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) features 1595 drivers/staging/qlge/qlge_main.c if ((ndev->features & NETIF_F_RXCSUM) && features 1710 drivers/staging/qlge/qlge_main.c if ((ndev->features & NETIF_F_RXCSUM) && features 2021 drivers/staging/qlge/qlge_main.c if ((ndev->features & NETIF_F_RXCSUM) && features 2059 drivers/staging/qlge/qlge_main.c (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX)) ? features 2340 drivers/staging/qlge/qlge_main.c static void qlge_vlan_mode(struct net_device *ndev, netdev_features_t features) features 2344 drivers/staging/qlge/qlge_main.c if (features & NETIF_F_HW_VLAN_CTAG_RX) { features 2357 drivers/staging/qlge/qlge_main.c netdev_features_t features) features 2373 drivers/staging/qlge/qlge_main.c ndev->features = features; features 2388 drivers/staging/qlge/qlge_main.c netdev_features_t features) features 2390 drivers/staging/qlge/qlge_main.c netdev_features_t changed = ndev->features ^ features; features 2395 drivers/staging/qlge/qlge_main.c err = qlge_update_hw_vlan_features(ndev, features); features 2399 drivers/staging/qlge/qlge_main.c qlge_vlan_mode(ndev, features); features 3767 drivers/staging/qlge/qlge_main.c if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) { features 4768 drivers/staging/qlge/qlge_main.c ndev->features = ndev->hw_features; features 4776 drivers/staging/qlge/qlge_main.c ndev->features |= NETIF_F_HIGHDMA; features 1053 drivers/staging/unisys/visorhba/visorhba_main.c u64 features; features 1105 drivers/staging/unisys/visorhba/visorhba_main.c channel_header.features); features 1106 drivers/staging/unisys/visorhba/visorhba_main.c err = visorbus_read_channel(dev, channel_offset, &features, 8); features 1109 drivers/staging/unisys/visorhba/visorhba_main.c features |= VISOR_CHANNEL_IS_POLLING; features 1110 drivers/staging/unisys/visorhba/visorhba_main.c err = visorbus_write_channel(dev, channel_offset, &features, 8); features 1788 drivers/staging/unisys/visornic/visornic_main.c u64 features; features 1901 drivers/staging/unisys/visornic/visornic_main.c channel_header.features); features 1902 drivers/staging/unisys/visornic/visornic_main.c err = visorbus_read_channel(dev, channel_offset, &features, 8); features 1910 drivers/staging/unisys/visornic/visornic_main.c features |= VISOR_CHANNEL_IS_POLLING; features 1911 drivers/staging/unisys/visornic/visornic_main.c features |= VISOR_DRIVER_ENHANCED_RCVBUF_CHECKING; features 1912 drivers/staging/unisys/visornic/visornic_main.c err = visorbus_write_channel(dev, channel_offset, &features, 8); features 320 drivers/thermal/ti-soc-thermal/dra752-thermal-data.c .features = TI_BANDGAP_FEATURE_FREEZE_BIT | features 69 drivers/thermal/ti-soc-thermal/omap3-thermal-data.c .features = TI_BANDGAP_FEATURE_CLK_CTRL | TI_BANDGAP_FEATURE_UNRELIABLE, features 137 drivers/thermal/ti-soc-thermal/omap3-thermal-data.c .features = TI_BANDGAP_FEATURE_CLK_CTRL | TI_BANDGAP_FEATURE_UNRELIABLE, features 58 drivers/thermal/ti-soc-thermal/omap4-thermal-data.c .features = TI_BANDGAP_FEATURE_MODE_CONFIG | features 184 drivers/thermal/ti-soc-thermal/omap4-thermal-data.c .features = TI_BANDGAP_FEATURE_TSHUT | features 215 drivers/thermal/ti-soc-thermal/omap4-thermal-data.c .features = TI_BANDGAP_FEATURE_TSHUT | features 266 drivers/thermal/ti-soc-thermal/omap5-thermal-data.c .features = TI_BANDGAP_FEATURE_TSHUT_CONFIG | features 291 drivers/thermal/ti-soc-thermal/ti-bandgap.h ((b)->conf->features & TI_BANDGAP_FEATURE_ ## f) features 314 drivers/thermal/ti-soc-thermal/ti-bandgap.h unsigned int features; features 160 drivers/tty/serial/omap-serial.c u32 features; features 782 drivers/tty/serial/omap-serial.c if (up->features & OMAP_UART_WER_HAS_TX_WAKEUP) features 1574 drivers/tty/serial/omap-serial.c up->features |= OMAP_UART_WER_HAS_TX_WAKEUP; features 1578 drivers/tty/serial/omap-serial.c up->features |= OMAP_UART_WER_HAS_TX_WAKEUP; features 270 drivers/usb/gadget/function/f_phonet.c dev->features = 0; features 948 drivers/usb/serial/mxuport.c unsigned long features = (unsigned long)usb_get_serial_data(serial); features 952 drivers/usb/serial/mxuport.c if (features & MX_UPORT_2_PORT) { features 954 drivers/usb/serial/mxuport.c } else if (features & MX_UPORT_4_PORT) { features 956 drivers/usb/serial/mxuport.c } else if (features & MX_UPORT_8_PORT) { features 958 drivers/usb/serial/mxuport.c } else if (features & MX_UPORT_16_PORT) { features 281 drivers/usb/typec/ucsi/ucsi.c override = !!(con->ucsi->cap.features & UCSI_CAP_ALT_MODE_OVERRIDE); features 356 drivers/usb/typec/ucsi/ucsi.c if (!(con->ucsi->cap.features & UCSI_CAP_ALT_MODE_DETAILS)) features 245 drivers/usb/typec/ucsi/ucsi.h u32 features:24; features 1614 drivers/vhost/net.c static int vhost_net_set_backend_features(struct vhost_net *n, u64 features) features 1621 drivers/vhost/net.c n->vqs[i].vq.acked_backend_features = features; features 1629 drivers/vhost/net.c static int vhost_net_set_features(struct vhost_net *n, u64 features) features 1634 drivers/vhost/net.c hdr_len = (features & ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | features 1638 drivers/vhost/net.c if (features & (1 << VHOST_NET_F_VIRTIO_NET_HDR)) { features 1648 drivers/vhost/net.c if ((features & (1 << VHOST_F_LOG_ALL)) && features 1652 drivers/vhost/net.c if ((features & (1ULL << VIRTIO_F_IOMMU_PLATFORM))) { features 1659 drivers/vhost/net.c n->vqs[i].vq.acked_features = features; features 1700 drivers/vhost/net.c u64 features; features 1709 drivers/vhost/net.c features = VHOST_NET_FEATURES; features 1710 drivers/vhost/net.c if (copy_to_user(featurep, &features, sizeof features)) features 1714 drivers/vhost/net.c if (copy_from_user(&features, featurep, sizeof features)) features 1716 drivers/vhost/net.c if (features & ~VHOST_NET_FEATURES) features 1718 drivers/vhost/net.c return vhost_net_set_features(n, features); features 1720 drivers/vhost/net.c features = VHOST_NET_BACKEND_FEATURES; features 1721 drivers/vhost/net.c if (copy_to_user(featurep, &features, sizeof(features))) features 1725 drivers/vhost/net.c if (copy_from_user(&features, featurep, sizeof(features))) features 1727 drivers/vhost/net.c if (features & ~VHOST_NET_BACKEND_FEATURES) features 1729 drivers/vhost/net.c return vhost_net_set_backend_features(n, features); features 1574 drivers/vhost/scsi.c static int vhost_scsi_set_features(struct vhost_scsi *vs, u64 features) features 1579 drivers/vhost/scsi.c if (features & ~VHOST_SCSI_FEATURES) features 1583 drivers/vhost/scsi.c if ((features & (1 << VHOST_F_LOG_ALL)) && features 1592 drivers/vhost/scsi.c vq->acked_features = features; features 1673 drivers/vhost/scsi.c u64 features; features 1711 drivers/vhost/scsi.c features = VHOST_SCSI_FEATURES; features 1712 drivers/vhost/scsi.c if (copy_to_user(featurep, &features, sizeof features)) features 1716 drivers/vhost/scsi.c if (copy_from_user(&features, featurep, sizeof features)) features 1718 drivers/vhost/scsi.c return vhost_scsi_set_features(vs, features); features 248 drivers/vhost/test.c static int vhost_test_set_features(struct vhost_test *n, u64 features) features 253 drivers/vhost/test.c if ((features & (1 << VHOST_F_LOG_ALL)) && features 260 drivers/vhost/test.c vq->acked_features = features; features 273 drivers/vhost/test.c u64 features; features 281 drivers/vhost/test.c features = VHOST_FEATURES; features 282 drivers/vhost/test.c if (copy_to_user(featurep, &features, sizeof features)) features 287 drivers/vhost/test.c if (copy_from_user(&features, featurep, sizeof features)) features 290 drivers/vhost/test.c if (features & ~VHOST_FEATURES) features 293 drivers/vhost/test.c return vhost_test_set_features(n, features); features 606 drivers/vhost/vringh.c int vringh_init_user(struct vringh *vrh, u64 features, features 618 drivers/vhost/vringh.c vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); features 619 drivers/vhost/vringh.c vrh->event_indices = (features & (1 << VIRTIO_RING_F_EVENT_IDX)); features 873 drivers/vhost/vringh.c int vringh_init_kern(struct vringh *vrh, u64 features, features 885 drivers/vhost/vringh.c vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); features 886 drivers/vhost/vringh.c vrh->event_indices = (features & (1 << VIRTIO_RING_F_EVENT_IDX)); features 703 drivers/vhost/vsock.c static int vhost_vsock_set_features(struct vhost_vsock *vsock, u64 features) features 708 drivers/vhost/vsock.c if (features & ~VHOST_VSOCK_FEATURES) features 712 drivers/vhost/vsock.c if ((features & (1 << VHOST_F_LOG_ALL)) && features 721 drivers/vhost/vsock.c vq->acked_features = features; features 734 drivers/vhost/vsock.c u64 features; features 751 drivers/vhost/vsock.c features = VHOST_VSOCK_FEATURES; features 752 drivers/vhost/vsock.c if (copy_to_user(argp, &features, sizeof(features))) features 756 drivers/vhost/vsock.c if (copy_from_user(&features, argp, sizeof(features))) features 758 drivers/vhost/vsock.c return vhost_vsock_set_features(vsock, features); features 105 drivers/video/fbdev/aty/atyfb.h u8 features; features 139 drivers/video/fbdev/aty/atyfb.h u32 features; features 197 drivers/video/fbdev/aty/atyfb.h #define M64_HAS(feature) ((par)->features & (M64F_##feature)) features 369 drivers/video/fbdev/aty/atyfb_base.c u32 features; features 459 drivers/video/fbdev/aty/atyfb_base.c par->features = aty_chips[i].features; features 487 drivers/video/fbdev/aty/atyfb_base.c par->features = ATI_CHIP_264VT; features 495 drivers/video/fbdev/aty/atyfb_base.c par->features = ATI_CHIP_264VT | M64F_MAGIC_POSTDIV; features 505 drivers/video/fbdev/aty/atyfb_base.c par->features = ATI_CHIP_264VTB; features 513 drivers/video/fbdev/aty/atyfb_base.c par->features = ATI_CHIP_264VT3; features 525 drivers/video/fbdev/aty/atyfb_base.c par->features = ATI_CHIP_264GTB; features 533 drivers/video/fbdev/aty/atyfb_base.c par->features = ATI_CHIP_264GTB; features 1893 drivers/video/fbdev/aty/atyfb_base.c if (get_user(par->features, (u32 __user *) arg)) features 1897 drivers/video/fbdev/aty/atyfb_base.c if (put_user(par->features, (u32 __user *) arg)) features 35 drivers/video/fbdev/matrox/g450_pll.c return (minfo->features.pll.ref_freq * n + (m >> 1)) / m; features 99 drivers/video/fbdev/matrox/g450_pll.c n = ((tvco * (m+1) + minfo->features.pll.ref_freq) / (minfo->features.pll.ref_freq * 2)) - 2; features 181 drivers/video/fbdev/matrox/matroxfb_DAC1064.c } else if (minfo->crtc2.pixclock == minfo->features.pll.ref_freq) { features 376 drivers/video/fbdev/matrox/matroxfb_DAC1064.c hw->DACreg[POS1064_XVREFCTRL] = minfo->features.DAC1064.xvrefctrl; features 589 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.vco_freq_min = 62000; features 590 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.ref_freq = 14318; features 591 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.feed_div_min = 100; features 592 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.feed_div_max = 127; features 593 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.in_div_min = 1; features 594 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.in_div_max = 31; features 595 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.post_shift_max = 3; features 596 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.DAC1064.xvrefctrl = DAC1064_XVREFCTRL_EXTERNAL; features 854 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.vco_freq_min = 130000; /* my sample: >118 */ features 856 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.vco_freq_min = 62000; features 858 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (!minfo->features.pll.ref_freq) { features 859 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.ref_freq = 27000; features 861 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.feed_div_min = 7; features 862 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.feed_div_max = 127; features 863 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.in_div_min = 1; features 864 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.in_div_max = 31; features 865 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.pll.post_shift_max = 3; features 866 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->features.DAC1064.xvrefctrl = DAC1064_XVREFCTRL_G100_DEFAULT; features 546 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.vco_freq_min = 110000; features 547 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.ref_freq = 114545; features 548 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.feed_div_min = 2; features 549 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.feed_div_max = 24; features 550 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.in_div_min = 2; features 551 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.in_div_max = 63; features 552 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->features.pll.post_shift_max = 3; features 413 drivers/video/fbdev/matrox/matroxfb_base.h } features; features 547 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 14318; features 557 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 14318; features 571 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 14318; features 582 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 14318; features 599 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = (bd->pins[52] & 0x20) ? 14318 : 27000; features 612 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 27000; features 630 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = (bd->pins[ 92] & 0x01) ? 14318 : 27000; features 644 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 27000; features 668 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = (bd->pins[110] & 0x01) ? 14318 : 27000; features 702 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->features.pll.ref_freq = 27000; features 15 drivers/video/fbdev/matrox/matroxfb_misc.h return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); features 33 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c const enum dss_feat_id *features; features 614 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap2_dss_feat_list, features 635 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap3430_dss_feat_list, features 659 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = am35xx_dss_feat_list, features 679 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = am43xx_dss_feat_list, features 699 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap3630_dss_feat_list, features 721 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap4430_es1_0_dss_feat_list, features 742 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap4430_es2_0_1_2_dss_feat_list, features 763 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap4_dss_feat_list, features 784 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c .features = omap5_dss_feat_list, features 870 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c const enum dss_feat_id *features = omap_current_dss_features->features; features 874 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c if (features[i] == id) features 764 drivers/virt/vboxguest/vboxguest_core.c gdev->host_features = req->features; features 769 drivers/virt/vboxguest/vboxguest_core.c if (!(req->features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST)) { features 1574 drivers/virt/vboxguest/vboxguest_core.c int vbg_core_set_mouse_status(struct vbg_dev *gdev, u32 features) features 1584 drivers/virt/vboxguest/vboxguest_core.c req->mouse_features = features; features 168 drivers/virt/vboxguest/vboxguest_core.h int vbg_core_set_mouse_status(struct vbg_dev *gdev, u32 features); features 176 drivers/virt/vboxguest/vmmdev.h u32 features; features 54 drivers/virtio/virtio.c for (i = 0; i < sizeof(dev->features)*8; i++) features 60 drivers/virtio/virtio.c static DEVICE_ATTR_RO(features); features 229 drivers/virtio/virtio.c dev->features = driver_features & device_features; features 231 drivers/virtio/virtio.c dev->features = driver_features_legacy & device_features; features 1054 drivers/virtio/virtio_balloon.c static unsigned int features[] = { features 1063 drivers/virtio/virtio_balloon.c .feature_table = features, features 1064 drivers/virtio/virtio_balloon.c .feature_table_size = ARRAY_SIZE(features), features 362 drivers/virtio/virtio_input.c static unsigned int features[] = { features 373 drivers/virtio/virtio_input.c .feature_table = features, features 374 drivers/virtio/virtio_input.c .feature_table_size = ARRAY_SIZE(features), features 110 drivers/virtio/virtio_mmio.c u64 features; features 113 drivers/virtio/virtio_mmio.c features = readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); features 114 drivers/virtio/virtio_mmio.c features <<= 32; features 117 drivers/virtio/virtio_mmio.c features |= readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); features 119 drivers/virtio/virtio_mmio.c return features; features 137 drivers/virtio/virtio_mmio.c writel((u32)(vdev->features >> 32), features 141 drivers/virtio/virtio_mmio.c writel((u32)vdev->features, features 38 drivers/virtio/virtio_pci_legacy.c BUG_ON((u32)vdev->features != vdev->features); features 41 drivers/virtio/virtio_pci_legacy.c iowrite32(vdev->features, vp_dev->ioaddr + VIRTIO_PCI_GUEST_FEATURES); features 143 drivers/virtio/virtio_pci_modern.c u64 features; features 146 drivers/virtio/virtio_pci_modern.c features = vp_ioread32(&vp_dev->common->device_feature); features 148 drivers/virtio/virtio_pci_modern.c features |= ((u64)vp_ioread32(&vp_dev->common->device_feature) << 32); features 150 drivers/virtio/virtio_pci_modern.c return features; features 153 drivers/virtio/virtio_pci_modern.c static void vp_transport_features(struct virtio_device *vdev, u64 features) features 158 drivers/virtio/virtio_pci_modern.c if ((features & BIT_ULL(VIRTIO_F_SR_IOV)) && features 167 drivers/virtio/virtio_pci_modern.c u64 features = vdev->features; features 173 drivers/virtio/virtio_pci_modern.c vp_transport_features(vdev, features); features 182 drivers/virtio/virtio_pci_modern.c vp_iowrite32((u32)vdev->features, &vp_dev->common->guest_feature); features 184 drivers/virtio/virtio_pci_modern.c vp_iowrite32(vdev->features >> 32, &vp_dev->common->guest_feature); features 413 drivers/visorbus/controlvmchannel.h enum visor_chipset_feature features; features 300 drivers/visorbus/visorchipset.c enum visor_chipset_feature features) features 305 drivers/visorbus/visorchipset.c outmsg.cmd.init_chipset.features = features; features 313 drivers/visorbus/visorchipset.c enum visor_chipset_feature features = 0; features 328 drivers/visorbus/visorchipset.c features = inmsg->cmd.init_chipset.features & features 330 drivers/visorbus/visorchipset.c features |= VISOR_CHIPSET_FEATURE_REPLY; features 334 drivers/visorbus/visorchipset.c res = controlvm_respond_chipset_init(&inmsg->hdr, rc, features); features 254 drivers/watchdog/mlx_wdt.c if ((pdata->features & MLXREG_CORE_WD_FEATURE_NOWAYOUT)) features 263 drivers/watchdog/mlx_wdt.c if ((pdata->features & MLXREG_CORE_WD_FEATURE_START_AT_BOOT)) { features 354 drivers/xen/sys-hypervisor.c HYPERVISOR_ATTR_RO(features); features 469 drivers/xen/sys-hypervisor.c uint32_t features; features 472 drivers/xen/sys-hypervisor.c ret = kstrtou32(buffer, 0, &features); features 476 drivers/xen/sys-hypervisor.c xp.val = features; features 3209 fs/btrfs/ctree.h u64 features; features 3212 fs/btrfs/ctree.h features = btrfs_super_incompat_flags(disk_super); features 3213 fs/btrfs/ctree.h if (!(features & flag)) { features 3215 fs/btrfs/ctree.h features = btrfs_super_incompat_flags(disk_super); features 3216 fs/btrfs/ctree.h if (!(features & flag)) { features 3217 fs/btrfs/ctree.h features |= flag; features 3218 fs/btrfs/ctree.h btrfs_set_super_incompat_flags(disk_super, features); features 3235 fs/btrfs/ctree.h u64 features; features 3238 fs/btrfs/ctree.h features = btrfs_super_incompat_flags(disk_super); features 3239 fs/btrfs/ctree.h if (features & flag) { features 3241 fs/btrfs/ctree.h features = btrfs_super_incompat_flags(disk_super); features 3242 fs/btrfs/ctree.h if (features & flag) { features 3243 fs/btrfs/ctree.h features &= ~flag; features 3244 fs/btrfs/ctree.h btrfs_set_super_incompat_flags(disk_super, features); features 3271 fs/btrfs/ctree.h u64 features; features 3274 fs/btrfs/ctree.h features = btrfs_super_compat_ro_flags(disk_super); features 3275 fs/btrfs/ctree.h if (!(features & flag)) { features 3277 fs/btrfs/ctree.h features = btrfs_super_compat_ro_flags(disk_super); features 3278 fs/btrfs/ctree.h if (!(features & flag)) { features 3279 fs/btrfs/ctree.h features |= flag; features 3280 fs/btrfs/ctree.h btrfs_set_super_compat_ro_flags(disk_super, features); features 3297 fs/btrfs/ctree.h u64 features; features 3300 fs/btrfs/ctree.h features = btrfs_super_compat_ro_flags(disk_super); features 3301 fs/btrfs/ctree.h if (features & flag) { features 3303 fs/btrfs/ctree.h features = btrfs_super_compat_ro_flags(disk_super); features 3304 fs/btrfs/ctree.h if (features & flag) { features 3305 fs/btrfs/ctree.h features &= ~flag; features 3306 fs/btrfs/ctree.h btrfs_set_super_compat_ro_flags(disk_super, features); features 2588 fs/btrfs/disk-io.c u64 features; features 2843 fs/btrfs/disk-io.c features = btrfs_super_flags(disk_super); features 2844 fs/btrfs/disk-io.c if (features & BTRFS_SUPER_FLAG_CHANGING_FSID_V2) { features 2845 fs/btrfs/disk-io.c features &= ~BTRFS_SUPER_FLAG_CHANGING_FSID_V2; features 2846 fs/btrfs/disk-io.c btrfs_set_super_flags(disk_super, features); features 2887 fs/btrfs/disk-io.c features = btrfs_super_incompat_flags(disk_super) & features 2889 fs/btrfs/disk-io.c if (features) { features 2892 fs/btrfs/disk-io.c features); features 2897 fs/btrfs/disk-io.c features = btrfs_super_incompat_flags(disk_super); features 2898 fs/btrfs/disk-io.c features |= BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF; features 2900 fs/btrfs/disk-io.c features |= BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO; features 2902 fs/btrfs/disk-io.c features |= BTRFS_FEATURE_INCOMPAT_COMPRESS_ZSTD; features 2904 fs/btrfs/disk-io.c if (features & BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) features 2912 fs/btrfs/disk-io.c if (!(features & BTRFS_FEATURE_INCOMPAT_BIG_METADATA)) features 2915 fs/btrfs/disk-io.c features |= BTRFS_FEATURE_INCOMPAT_BIG_METADATA; features 2933 fs/btrfs/disk-io.c if ((features & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) && features 2945 fs/btrfs/disk-io.c btrfs_set_super_incompat_flags(disk_super, features); features 2947 fs/btrfs/disk-io.c features = btrfs_super_compat_ro_flags(disk_super) & features 2949 fs/btrfs/disk-io.c if (!sb_rdonly(sb) && features) { features 2952 fs/btrfs/disk-io.c features); features 5245 fs/btrfs/ioctl.c static const struct btrfs_ioctl_feature_flags features[3] = { features 5251 fs/btrfs/ioctl.c if (copy_to_user(arg, &features, sizeof(features))) features 5262 fs/btrfs/ioctl.c struct btrfs_ioctl_feature_flags features; features 5264 fs/btrfs/ioctl.c features.compat_flags = btrfs_super_compat_flags(super_block); features 5265 fs/btrfs/ioctl.c features.compat_ro_flags = btrfs_super_compat_ro_flags(super_block); features 5266 fs/btrfs/ioctl.c features.incompat_flags = btrfs_super_incompat_flags(super_block); features 5268 fs/btrfs/ioctl.c if (copy_to_user(arg, &features, sizeof(features))) features 80 fs/btrfs/space-info.c u64 features; features 89 fs/btrfs/space-info.c features = btrfs_super_incompat_flags(disk_super); features 90 fs/btrfs/space-info.c if (features & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) features 101 fs/btrfs/sysfs.c enum btrfs_feature_set set, u64 features) features 105 fs/btrfs/sysfs.c btrfs_set_super_compat_flags(disk_super, features); features 107 fs/btrfs/sysfs.c btrfs_set_super_compat_ro_flags(disk_super, features); features 109 fs/btrfs/sysfs.c btrfs_set_super_incompat_flags(disk_super, features); features 150 fs/btrfs/sysfs.c u64 features = get_features(fs_info, fa->feature_set); features 151 fs/btrfs/sysfs.c if (features & fa->feature_bit) features 165 fs/btrfs/sysfs.c u64 features, set, clear; features 191 fs/btrfs/sysfs.c features = get_features(fs_info, fa->feature_set); features 194 fs/btrfs/sysfs.c if ((val && (features & fa->feature_bit)) || features 195 fs/btrfs/sysfs.c (!val && !(features & fa->feature_bit))) features 210 fs/btrfs/sysfs.c features = get_features(fs_info, fa->feature_set); features 212 fs/btrfs/sysfs.c features |= fa->feature_bit; features 214 fs/btrfs/sysfs.c features &= ~fa->feature_bit; features 215 fs/btrfs/sysfs.c set_features(fs_info, fa->feature_set, features); features 235 fs/btrfs/sysfs.c u64 features; features 238 fs/btrfs/sysfs.c features = get_features(fs_info, fa->feature_set); features 242 fs/btrfs/sysfs.c else if (!(features & fa->feature_bit)) features 666 fs/btrfs/sysfs.c u64 features = get_features(fs_info, set); features 667 fs/btrfs/sysfs.c features &= ~supported_feature_masks[set]; features 669 fs/btrfs/sysfs.c if (!features) features 676 fs/btrfs/sysfs.c if (!(features & (1ULL << i))) features 1112 fs/btrfs/sysfs.c u64 features; features 1118 fs/btrfs/sysfs.c features = get_features(fs_info, set); features 578 fs/btrfs/tree-checker.c u64 features; features 648 fs/btrfs/tree-checker.c features = btrfs_super_incompat_flags(fs_info->super_copy); features 649 fs/btrfs/tree-checker.c if (features & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) features 98 fs/ceph/mds_client.c u64 features) features 103 fs/ceph/mds_client.c if (features == (u64)-1) { features 135 fs/ceph/mds_client.c if (features == (u64)-1) { features 179 fs/ceph/mds_client.c if (features & CEPH_FEATURE_MDS_INLINE_DATA) { features 188 fs/ceph/mds_client.c if (features & CEPH_FEATURE_MDS_QUOTA) { features 199 fs/ceph/mds_client.c if (features & CEPH_FEATURE_FS_FILE_LAYOUT_V2) { features 208 fs/ceph/mds_client.c if (features & CEPH_FEATURE_FS_BTIME) { features 226 fs/ceph/mds_client.c u64 features) features 228 fs/ceph/mds_client.c if (features == (u64)-1) { features 247 fs/ceph/mds_client.c if (features == (u64)-1) features 256 fs/ceph/mds_client.c u64 features) features 258 fs/ceph/mds_client.c if (features == (u64)-1) { features 275 fs/ceph/mds_client.c if (features == (u64)-1) features 288 fs/ceph/mds_client.c u64 features) features 293 fs/ceph/mds_client.c err = parse_reply_info_in(p, end, &info->diri, features); features 297 fs/ceph/mds_client.c err = parse_reply_info_dir(p, end, &info->dirfrag, features); features 306 fs/ceph/mds_client.c err = parse_reply_info_lease(p, end, &info->dlease, features); features 312 fs/ceph/mds_client.c err = parse_reply_info_in(p, end, &info->targeti, features); features 333 fs/ceph/mds_client.c u64 features) features 338 fs/ceph/mds_client.c err = parse_reply_info_dir(p, end, &info->dir_dir, features); features 373 fs/ceph/mds_client.c err = parse_reply_info_lease(p, end, &rde->lease, features); features 377 fs/ceph/mds_client.c err = parse_reply_info_in(p, end, &rde->inode, features); features 403 fs/ceph/mds_client.c u64 features) features 422 fs/ceph/mds_client.c u64 features) features 424 fs/ceph/mds_client.c if (features == (u64)-1 || features 425 fs/ceph/mds_client.c (features & CEPH_FEATURE_REPLY_CREATE_INODE)) { features 450 fs/ceph/mds_client.c u64 features) features 455 fs/ceph/mds_client.c return parse_reply_info_filelock(p, end, info, features); features 457 fs/ceph/mds_client.c return parse_reply_info_readdir(p, end, info, features); features 459 fs/ceph/mds_client.c return parse_reply_info_create(p, end, info, features); features 469 fs/ceph/mds_client.c u64 features) features 483 fs/ceph/mds_client.c err = parse_reply_info_trace(&p, p+len, info, features); features 492 fs/ceph/mds_client.c err = parse_reply_info_extra(&p, p+len, info, features); features 3075 fs/ceph/mds_client.c u64 seq, features = 0; features 3094 fs/ceph/mds_client.c ceph_decode_64_safe(&p, end, features, bad); features 3095 fs/ceph/mds_client.c p += len - sizeof(features); features 3123 fs/ceph/mds_client.c session->s_features = features; features 839 fs/ext2/super.c __le32 features; features 952 fs/ext2/super.c features = EXT2_HAS_INCOMPAT_FEATURE(sb, ~EXT2_FEATURE_INCOMPAT_SUPP); features 953 fs/ext2/super.c if (features) { features 956 fs/ext2/super.c le32_to_cpu(features)); features 959 fs/ext2/super.c if (!sb_rdonly(sb) && (features = EXT2_HAS_RO_COMPAT_FEATURE(sb, ~EXT2_FEATURE_RO_COMPAT_SUPP))){ features 962 fs/ext2/super.c le32_to_cpu(features)); features 479 fs/f2fs/sysfs.c F2FS_GENERAL_RO_ATTR(features); features 544 fs/f2fs/sysfs.c ATTR_LIST(features), features 3968 fs/io_uring.c p->features = IORING_FEAT_SINGLE_MMAP; features 872 fs/nilfs2/super.c __u64 features; features 874 fs/nilfs2/super.c features = le64_to_cpu(sbp->s_feature_incompat) & features 876 fs/nilfs2/super.c if (features) { features 879 fs/nilfs2/super.c (unsigned long long)features); features 882 fs/nilfs2/super.c features = le64_to_cpu(sbp->s_feature_compat_ro) & features 884 fs/nilfs2/super.c if (!sb_rdonly(sb) && features) { features 887 fs/nilfs2/super.c (unsigned long long)features); features 1145 fs/nilfs2/super.c __u64 features; features 1154 fs/nilfs2/super.c features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & features 1157 fs/nilfs2/super.c if (features) { features 1160 fs/nilfs2/super.c (unsigned long long)features); features 281 fs/nilfs2/the_nilfs.c __u64 features; features 288 fs/nilfs2/the_nilfs.c features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & features 290 fs/nilfs2/the_nilfs.c if (features) { features 293 fs/nilfs2/the_nilfs.c (unsigned long long)features); features 1224 fs/ocfs2/ocfs2_trace.h unsigned int id_count, unsigned int features), features 1225 fs/ocfs2/ocfs2_trace.h TP_ARGS(ino, pos, copied, id_count, features), features 1231 fs/ocfs2/ocfs2_trace.h __field(unsigned int, features) features 1238 fs/ocfs2/ocfs2_trace.h __entry->features = features; features 1242 fs/ocfs2/ocfs2_trace.h __entry->id_count, __entry->features) features 97 fs/orangefs/downcall.h __u64 features; features 121 fs/orangefs/downcall.h struct orangefs_features_response features; features 289 fs/orangefs/super.c new_op->upcall.req.features.features = 0; features 294 fs/orangefs/super.c new_op->downcall.resp.features.features; features 571 fs/orangefs/super.c new_op->upcall.req.features.features = 0; features 573 fs/orangefs/super.c orangefs_features = new_op->downcall.resp.features.features; features 217 fs/orangefs/upcall.h __u64 features; features 256 fs/orangefs/upcall.h struct orangefs_features_request_s features; features 70 fs/userfaultfd.c unsigned int features; features 193 fs/userfaultfd.c unsigned int features) features 217 fs/userfaultfd.c if (features & UFFD_FEATURE_THREAD_ID) features 390 fs/userfaultfd.c if (ctx->features & UFFD_FEATURE_SIGBUS) features 461 fs/userfaultfd.c ctx->features); features 677 fs/userfaultfd.c if (!octx || !(octx->features & UFFD_FEATURE_EVENT_FORK)) { features 703 fs/userfaultfd.c ctx->features = octx->features; features 754 fs/userfaultfd.c if (ctx->features & UFFD_FEATURE_EVENT_REMAP) { features 798 fs/userfaultfd.c if (!ctx || !(ctx->features & UFFD_FEATURE_EVENT_REMOVE)) features 837 fs/userfaultfd.c if (!ctx || !(ctx->features & UFFD_FEATURE_EVENT_UNMAP) || features 1828 fs/userfaultfd.c __u64 features; features 1836 fs/userfaultfd.c features = uffdio_api.features; features 1838 fs/userfaultfd.c if (uffdio_api.api != UFFD_API || (features & ~UFFD_API_FEATURES)) features 1841 fs/userfaultfd.c if ((features & UFFD_FEATURE_EVENT_FORK) && !capable(CAP_SYS_PTRACE)) features 1844 fs/userfaultfd.c uffdio_api.features = UFFD_API_FEATURES; features 1851 fs/userfaultfd.c ctx->features = uffd_ctx_features(features); features 1917 fs/userfaultfd.c pending, total, UFFD_API, ctx->features, features 1968 fs/userfaultfd.c ctx->features = 0; features 29 include/asm-generic/mshyperv.h u32 features; features 301 include/drm/drm_edid.h u8 features; features 32 include/kvm/arm_psci.h if (test_bit(KVM_ARM_VCPU_PSCI_0_2, vcpu->arch.features)) { features 1112 include/linux/blkdev.h unsigned int features); features 100 include/linux/ceph/msgr.h __le64 features; /* supported feature bits */ features 112 include/linux/ceph/msgr.h __le64 features; /* feature bits for this session */ features 299 include/linux/clk/ti.h void ti_clk_setup_features(struct ti_clk_features *features); features 110 include/linux/clockchips.h unsigned int features; features 169 include/linux/device-mapper.h uint64_t features; features 210 include/linux/device-mapper.h #define dm_target_needs_singleton(type) ((type)->features & DM_TARGET_SINGLETON) features 217 include/linux/device-mapper.h ((type)->features & DM_TARGET_ALWAYS_WRITEABLE) features 224 include/linux/device-mapper.h #define dm_target_is_immutable(type) ((type)->features & DM_TARGET_IMMUTABLE) features 231 include/linux/device-mapper.h #define dm_target_is_wildcard(type) ((type)->features & DM_TARGET_WILDCARD) features 237 include/linux/device-mapper.h #define dm_target_has_integrity(type) ((type)->features & DM_TARGET_INTEGRITY) features 243 include/linux/device-mapper.h #define dm_target_passes_integrity(type) ((type)->features & DM_TARGET_PASSES_INTEGRITY) features 249 include/linux/device-mapper.h #define dm_target_supports_zoned_hm(type) ((type)->features & DM_TARGET_ZONED_HM) features 113 include/linux/greybus/greybus_manifest.h __u8 features; features 40 include/linux/greybus/interface.h u8 features; /* Feature flags set in the manifest */ features 46 include/linux/if_tap.h void (*update_features)(struct tap_dev *tap, netdev_features_t features); features 311 include/linux/if_vlan.h static inline bool vlan_hw_offload_capable(netdev_features_t features, features 314 include/linux/if_vlan.h if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) features 316 include/linux/if_vlan.h if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) features 564 include/linux/if_vlan.h if (skb->dev->features & NETIF_F_HW_VLAN_CTAG_TX) { features 716 include/linux/if_vlan.h netdev_features_t features) features 724 include/linux/if_vlan.h features &= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | features 729 include/linux/if_vlan.h return features; features 30 include/linux/mfd/cros_ec.h u32 features[2]; features 46 include/linux/mfd/palmas.h ((b)->features & PALMAS_PMIC_FEATURE_ ## f) features 70 include/linux/mfd/palmas.h unsigned int features; features 621 include/linux/mfd/twl.h unsigned long features; features 752 include/linux/mfd/twl.h unsigned long features; features 29 include/linux/mtd/jedec.h __le16 features; features 59 include/linux/mtd/onfi.h __le16 features; features 1258 include/linux/netdevice.h netdev_features_t features); features 1367 include/linux/netdevice.h netdev_features_t features); features 1369 include/linux/netdevice.h netdev_features_t features); features 1816 include/linux/netdevice.h netdev_features_t features; features 2074 include/linux/netdevice.h if (!(dev->features & NETIF_F_GRO) || dev->xdp_prog) features 2374 include/linux/netdevice.h netdev_features_t features); features 4020 include/linux/netdevice.h if ((dev->features & NETIF_F_LLTX) == 0) { \ features 4028 include/linux/netdevice.h (((dev->features & NETIF_F_LLTX) == 0) ? \ features 4033 include/linux/netdevice.h if ((dev->features & NETIF_F_LLTX) == 0) { \ features 4346 include/linux/netdevice.h const netdev_features_t features); features 4349 include/linux/netdevice.h netdev_features_t features, bool tx_path); features 4351 include/linux/netdevice.h netdev_features_t features); features 4367 include/linux/netdevice.h struct sk_buff *skb_gso_segment(struct sk_buff *skb, netdev_features_t features) features 4369 include/linux/netdevice.h return __skb_gso_segment(skb, features, true); features 4373 include/linux/netdevice.h static inline bool can_checksum_protocol(netdev_features_t features, features 4377 include/linux/netdevice.h return !!(features & NETIF_F_FCOE_CRC); features 4381 include/linux/netdevice.h if (features & NETIF_F_HW_CSUM) { features 4388 include/linux/netdevice.h return !!(features & NETIF_F_IP_CSUM); features 4390 include/linux/netdevice.h return !!(features & NETIF_F_IPV6_CSUM); features 4477 include/linux/netdevice.h return (dev->features & ~dev->hw_features) | dev->wanted_features; features 4486 include/linux/netdevice.h static inline netdev_features_t netdev_add_tso_features(netdev_features_t features, features 4489 include/linux/netdevice.h return netdev_increment_features(features, NETIF_F_ALL_TSO, mask); features 4501 include/linux/netdevice.h netdev_features_t features); features 4504 include/linux/netdevice.h static inline bool net_gso_ok(netdev_features_t features, int gso_type) features 4528 include/linux/netdevice.h return (features & feature) == feature; features 4531 include/linux/netdevice.h static inline bool skb_gso_ok(struct sk_buff *skb, netdev_features_t features) features 4533 include/linux/netdevice.h return net_gso_ok(features, skb_shinfo(skb)->gso_type) && features 4534 include/linux/netdevice.h (!skb_has_frag_list(skb) || (features & NETIF_F_FRAGLIST)); features 4538 include/linux/netdevice.h netdev_features_t features) features 4540 include/linux/netdevice.h return skb_is_gso(skb) && (!skb_gso_ok(skb, features) || features 219 include/linux/netfilter/ipset/ip_set.h u16 features; features 379 include/linux/netfilter/ipset/ip_set.h (set->type->features & IPSET_TYPE_NOMATCH) && features 1217 include/linux/nvme.h struct nvme_features features; features 38 include/linux/pci-ats.h int pci_enable_pasid(struct pci_dev *pdev, int features); features 47 include/linux/pci-ats.h static inline int pci_enable_pasid(struct pci_dev *pdev, int features) features 475 include/linux/phy.h const unsigned long * const features; features 65 include/linux/platform_data/hsmmc-omap.h unsigned features; features 136 include/linux/platform_data/mlxreg.h u32 features; features 81 include/linux/platform_data/mmc-omap.h unsigned features; features 3527 include/linux/skbuff.h struct sk_buff *skb_segment(struct sk_buff *skb, netdev_features_t features); features 3596 include/linux/skbuff.h netdev_features_t features) features 3599 include/linux/skbuff.h ((skb_has_frag_list(skb) && !(features & NETIF_F_FRAGLIST)) || features 3600 include/linux/skbuff.h (skb_shinfo(skb)->nr_frags && !(features & NETIF_F_SG))); features 24 include/linux/sungem_phy.h u32 features; /* Ethtool SUPPORTED_* defines */ features 119 include/linux/virtio.h u64 features; features 113 include/linux/virtio_config.h return vdev->features & BIT_ULL(fbit); features 130 include/linux/virtio_config.h vdev->features |= BIT_ULL(fbit); features 147 include/linux/virtio_config.h vdev->features &= ~BIT_ULL(fbit); features 106 include/linux/visorbus.h u64 features; features 162 include/linux/visorbus.h u64 features; features 99 include/linux/vringh.h int vringh_init_user(struct vringh *vrh, u64 features, features 161 include/linux/vringh.h int vringh_init_kern(struct vringh *vrh, u64 features, features 1194 include/net/bluetooth/hci.h __u8 features[8]; features 1205 include/net/bluetooth/hci.h __u8 features[8]; features 1360 include/net/bluetooth/hci.h __u8 features[8]; features 1787 include/net/bluetooth/hci.h __u8 features[8]; features 1919 include/net/bluetooth/hci.h __u8 features[8]; features 2028 include/net/bluetooth/hci.h __u8 features[8]; features 2151 include/net/bluetooth/hci.h __u8 features[8]; features 238 include/net/bluetooth/hci_core.h __u8 features[HCI_MAX_PAGES][8]; features 473 include/net/bluetooth/hci_core.h __u8 features[HCI_MAX_PAGES][8]; features 1157 include/net/bluetooth/hci_core.h #define lmp_encrypt_capable(dev) ((dev)->features[0][0] & LMP_ENCRYPT) features 1158 include/net/bluetooth/hci_core.h #define lmp_rswitch_capable(dev) ((dev)->features[0][0] & LMP_RSWITCH) features 1159 include/net/bluetooth/hci_core.h #define lmp_hold_capable(dev) ((dev)->features[0][0] & LMP_HOLD) features 1160 include/net/bluetooth/hci_core.h #define lmp_sniff_capable(dev) ((dev)->features[0][0] & LMP_SNIFF) features 1161 include/net/bluetooth/hci_core.h #define lmp_park_capable(dev) ((dev)->features[0][1] & LMP_PARK) features 1162 include/net/bluetooth/hci_core.h #define lmp_inq_rssi_capable(dev) ((dev)->features[0][3] & LMP_RSSI_INQ) features 1163 include/net/bluetooth/hci_core.h #define lmp_esco_capable(dev) ((dev)->features[0][3] & LMP_ESCO) features 1164 include/net/bluetooth/hci_core.h #define lmp_bredr_capable(dev) (!((dev)->features[0][4] & LMP_NO_BREDR)) features 1165 include/net/bluetooth/hci_core.h #define lmp_le_capable(dev) ((dev)->features[0][4] & LMP_LE) features 1166 include/net/bluetooth/hci_core.h #define lmp_sniffsubr_capable(dev) ((dev)->features[0][5] & LMP_SNIFF_SUBR) features 1167 include/net/bluetooth/hci_core.h #define lmp_pause_enc_capable(dev) ((dev)->features[0][5] & LMP_PAUSE_ENC) features 1168 include/net/bluetooth/hci_core.h #define lmp_ext_inq_capable(dev) ((dev)->features[0][6] & LMP_EXT_INQ) features 1169 include/net/bluetooth/hci_core.h #define lmp_le_br_capable(dev) (!!((dev)->features[0][6] & LMP_SIMUL_LE_BR)) features 1170 include/net/bluetooth/hci_core.h #define lmp_ssp_capable(dev) ((dev)->features[0][6] & LMP_SIMPLE_PAIR) features 1171 include/net/bluetooth/hci_core.h #define lmp_no_flush_capable(dev) ((dev)->features[0][6] & LMP_NO_FLUSH) features 1172 include/net/bluetooth/hci_core.h #define lmp_lsto_capable(dev) ((dev)->features[0][7] & LMP_LSTO) features 1173 include/net/bluetooth/hci_core.h #define lmp_inq_tx_pwr_capable(dev) ((dev)->features[0][7] & LMP_INQ_TX_PWR) features 1174 include/net/bluetooth/hci_core.h #define lmp_ext_feat_capable(dev) ((dev)->features[0][7] & LMP_EXTFEATURES) features 1175 include/net/bluetooth/hci_core.h #define lmp_transp_capable(dev) ((dev)->features[0][2] & LMP_TRANSPARENT) features 1176 include/net/bluetooth/hci_core.h #define lmp_edr_2m_capable(dev) ((dev)->features[0][3] & LMP_EDR_2M) features 1177 include/net/bluetooth/hci_core.h #define lmp_edr_3m_capable(dev) ((dev)->features[0][3] & LMP_EDR_3M) features 1178 include/net/bluetooth/hci_core.h #define lmp_edr_3slot_capable(dev) ((dev)->features[0][4] & LMP_EDR_3SLOT) features 1179 include/net/bluetooth/hci_core.h #define lmp_edr_5slot_capable(dev) ((dev)->features[0][5] & LMP_EDR_5SLOT) features 1182 include/net/bluetooth/hci_core.h #define lmp_csb_master_capable(dev) ((dev)->features[2][0] & LMP_CSB_MASTER) features 1183 include/net/bluetooth/hci_core.h #define lmp_csb_slave_capable(dev) ((dev)->features[2][0] & LMP_CSB_SLAVE) features 1184 include/net/bluetooth/hci_core.h #define lmp_sync_train_capable(dev) ((dev)->features[2][0] & LMP_SYNC_TRAIN) features 1185 include/net/bluetooth/hci_core.h #define lmp_sync_scan_capable(dev) ((dev)->features[2][0] & LMP_SYNC_SCAN) features 1186 include/net/bluetooth/hci_core.h #define lmp_sc_capable(dev) ((dev)->features[2][1] & LMP_SC) features 1187 include/net/bluetooth/hci_core.h #define lmp_ping_capable(dev) ((dev)->features[2][1] & LMP_PING) features 1190 include/net/bluetooth/hci_core.h #define lmp_host_ssp_capable(dev) ((dev)->features[1][0] & LMP_HOST_SSP) features 1191 include/net/bluetooth/hci_core.h #define lmp_host_sc_capable(dev) ((dev)->features[1][0] & LMP_HOST_SC) features 1192 include/net/bluetooth/hci_core.h #define lmp_host_le_capable(dev) (!!((dev)->features[1][0] & LMP_HOST_LE)) features 1193 include/net/bluetooth/hci_core.h #define lmp_host_le_br_capable(dev) (!!((dev)->features[1][0] & LMP_HOST_LE_BREDR)) features 117 include/net/bluetooth/hci_sock.h __u8 features[8]; features 4563 include/net/cfg80211.h u32 flags, regulatory_flags, features; features 52 include/net/inet_common.h netdev_features_t features); features 364 include/net/netfilter/nf_tables.h u32 features, features 387 include/net/netfilter/nf_tables.h u32 features; features 572 include/net/pkt_cls.h return dev->features & NETIF_F_HW_TC; features 1925 include/net/tcp.h netdev_features_t features); features 174 include/net/udp.h netdev_features_t features); features 297 include/net/udp.h netdev_features_t features, features 470 include/net/udp.h netdev_features_t features = NETIF_F_SG; features 477 include/net/udp.h features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; features 492 include/net/udp.h segs = __skb_gso_segment(skb, features, false); features 296 include/net/vxlan.h netdev_features_t features) features 301 include/net/vxlan.h return features; features 311 include/net/vxlan.h return features; features 320 include/net/vxlan.h !can_checksum_protocol(features, inner_eth_hdr(skb)->h_proto)))) features 321 include/net/vxlan.h return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 323 include/net/vxlan.h return features; features 418 include/net/xfrm.h int (*xmit)(struct xfrm_state *, struct sk_buff *pskb, netdev_features_t features); features 1850 include/net/xfrm.h struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again); features 1910 include/net/xfrm.h static inline struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again) features 153 include/pcmcia/ss.h u_int features; features 222 include/scsi/sas.h u8 features; features 473 include/uapi/linux/audit.h __u32 features; /* which feature to enable/disable */ features 368 include/uapi/linux/cec.h __u8 features[CEC_MAX_LOG_ADDRS][12]; features 1187 include/uapi/linux/ethtool.h struct ethtool_get_features_block features[0]; features 1209 include/uapi/linux/ethtool.h struct ethtool_set_features_block features[0]; features 133 include/uapi/linux/io_uring.h __u32 features; features 179 include/uapi/linux/userfaultfd.h __u64 features; features 872 include/xen/interface/io/netif.h uint16_t features; features 159 kernel/audit.c .features = 0, features 1070 kernel/audit.c return af.features & AUDIT_FEATURE_TO_MASK(i); features 1119 kernel/audit.c old_feature = af.features & feature; features 1120 kernel/audit.c new_feature = uaf->features & feature; features 1140 kernel/audit.c old_feature = af.features & feature; features 1141 kernel/audit.c new_feature = uaf->features & feature; features 1150 kernel/audit.c af.features |= feature; features 1152 kernel/audit.c af.features &= ~feature; features 6508 kernel/cgroup/cgroup.c static struct kobj_attribute cgroup_features_attr = __ATTR_RO(features); features 94 kernel/time/clockevents.c if (dev->features & CLOCK_EVT_FEAT_DUMMY) features 109 kernel/time/clockevents.c if (!(dev->features & CLOCK_EVT_FEAT_PERIODIC)) features 117 kernel/time/clockevents.c if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) features 323 kernel/time/clockevents.c if (dev->features & CLOCK_EVT_FEAT_KTIME) features 476 kernel/time/clockevents.c if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) features 85 kernel/time/tick-broadcast-hrtimer.c .features = CLOCK_EVT_FEAT_ONESHOT | features 79 kernel/time/tick-broadcast.c if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || features 80 kernel/time/tick-broadcast.c (newdev->features & CLOCK_EVT_FEAT_PERCPU) || features 81 kernel/time/tick-broadcast.c (newdev->features & CLOCK_EVT_FEAT_C3STOP)) features 85 kernel/time/tick-broadcast.c !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) features 118 kernel/time/tick-broadcast.c if (dev->features & CLOCK_EVT_FEAT_ONESHOT) features 191 kernel/time/tick-broadcast.c if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) features 233 kernel/time/tick-broadcast.c if (bc && !(bc->features & CLOCK_EVT_FEAT_HRTIMER)) features 289 kernel/time/tick-broadcast.c local = !(bc->features & CLOCK_EVT_FEAT_HRTIMER); features 371 kernel/time/tick-broadcast.c if (!dev || !(dev->features & CLOCK_EVT_FEAT_C3STOP)) features 396 kernel/time/tick-broadcast.c if (bc && !(bc->features & CLOCK_EVT_FEAT_HRTIMER) && features 555 kernel/time/tick-broadcast.c if (!(bc->features & CLOCK_EVT_FEAT_DYNIRQ)) features 686 kernel/time/tick-broadcast.c if (!(bc->features & CLOCK_EVT_FEAT_HRTIMER)) features 701 kernel/time/tick-broadcast.c if (bc->features & CLOCK_EVT_FEAT_HRTIMER) { features 747 kernel/time/tick-broadcast.c if (bc->features & CLOCK_EVT_FEAT_HRTIMER) features 990 kernel/time/tick-broadcast.c return bc ? bc->features & CLOCK_EVT_FEAT_ONESHOT : false; features 998 kernel/time/tick-broadcast.c if (!bc || (bc->features & CLOCK_EVT_FEAT_HRTIMER)) features 73 kernel/time/tick-common.c if (!dev || !(dev->features & CLOCK_EVT_FEAT_ONESHOT)) features 75 kernel/time/tick-common.c if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) features 156 kernel/time/tick-common.c if ((dev->features & CLOCK_EVT_FEAT_PERIODIC) && features 281 kernel/time/tick-common.c if (newdev->features & CLOCK_EVT_FEAT_ONESHOT) features 305 kernel/time/tick-common.c if (!(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) { features 306 kernel/time/tick-common.c if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) features 370 kernel/time/tick-common.c if (newdev->features & CLOCK_EVT_FEAT_ONESHOT) features 396 kernel/time/tick-common.c if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) features 37 kernel/time/tick-internal.h return !(dev->features & CLOCK_EVT_FEAT_DUMMY); features 78 kernel/time/tick-oneshot.c if (!dev || !(dev->features & CLOCK_EVT_FEAT_ONESHOT) || features 6864 lib/test_bpf.c netdev_features_t features; features 6868 lib/test_bpf.c features = NETIF_F_SG | NETIF_F_GSO_PARTIAL | NETIF_F_IP_CSUM | features 6870 lib/test_bpf.c features |= NETIF_F_RXCSUM; features 6877 lib/test_bpf.c segs = skb_segment(skb, features); features 130 net/8021q/vlan.c if (real_dev->features & NETIF_F_VLAN_CHALLENGED) { features 325 net/8021q/vlan.c if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) features 383 net/8021q/vlan.c (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) { features 389 net/8021q/vlan.c (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) features 171 net/8021q/vlan_core.c dev->features & NETIF_F_HW_VLAN_CTAG_FILTER) features 174 net/8021q/vlan_core.c dev->features & NETIF_F_HW_VLAN_STAG_FILTER) features 545 net/8021q/vlan_dev.c dev->features |= dev->hw_features | NETIF_F_LLTX; features 548 net/8021q/vlan_dev.c if (dev->features & NETIF_F_VLAN_FEATURES) features 570 net/8021q/vlan_dev.c if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) { features 605 net/8021q/vlan_dev.c netdev_features_t features) features 608 net/8021q/vlan_dev.c netdev_features_t old_features = features; features 613 net/8021q/vlan_dev.c real_dev->features); features 620 net/8021q/vlan_dev.c features = netdev_intersect_features(features, lower_features); features 621 net/8021q/vlan_dev.c features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_GSO_SOFTWARE); features 622 net/8021q/vlan_dev.c features |= NETIF_F_LLTX; features 624 net/8021q/vlan_dev.c return features; features 733 net/9p/trans_virtio.c static unsigned int features[] = { features 739 net/9p/trans_virtio.c .feature_table = features, features 740 net/9p/trans_virtio.c .feature_table_size = ARRAY_SIZE(features), features 1030 net/batman-adv/soft-interface.c dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_NETNS_LOCAL; features 1031 net/batman-adv/soft-interface.c dev->features |= NETIF_F_LLTX; features 2138 net/bluetooth/hci_core.c memcpy(&di.features, &hdev->features, sizeof(di.features)); features 96 net/bluetooth/hci_debugfs.c seq_printf(f, "%2u: %8ph\n", p, hdev->features[p]); features 104 net/bluetooth/hci_debugfs.c DEFINE_SHOW_ATTRIBUTE(features); features 501 net/bluetooth/hci_event.c hdev->features[1][0] |= LMP_HOST_SSP; features 503 net/bluetooth/hci_event.c hdev->features[1][0] &= ~LMP_HOST_SSP; features 533 net/bluetooth/hci_event.c hdev->features[1][0] |= LMP_HOST_SC; features 535 net/bluetooth/hci_event.c hdev->features[1][0] &= ~LMP_HOST_SC; features 637 net/bluetooth/hci_event.c memcpy(hdev->features, rp->features, 8); features 642 net/bluetooth/hci_event.c if (hdev->features[0][0] & LMP_3SLOT) features 645 net/bluetooth/hci_event.c if (hdev->features[0][0] & LMP_5SLOT) features 648 net/bluetooth/hci_event.c if (hdev->features[0][1] & LMP_HV2) { features 653 net/bluetooth/hci_event.c if (hdev->features[0][1] & LMP_HV3) { features 661 net/bluetooth/hci_event.c if (hdev->features[0][4] & LMP_EV4) features 664 net/bluetooth/hci_event.c if (hdev->features[0][4] & LMP_EV5) features 667 net/bluetooth/hci_event.c if (hdev->features[0][5] & LMP_EDR_ESCO_2M) features 670 net/bluetooth/hci_event.c if (hdev->features[0][5] & LMP_EDR_ESCO_3M) features 673 net/bluetooth/hci_event.c if (hdev->features[0][5] & LMP_EDR_3S_ESCO) features 691 net/bluetooth/hci_event.c memcpy(hdev->features[rp->page], rp->features, 8); features 975 net/bluetooth/hci_event.c memcpy(hdev->le_features, rp->features, 8); features 1625 net/bluetooth/hci_event.c hdev->features[1][0] |= LMP_HOST_LE; features 1628 net/bluetooth/hci_event.c hdev->features[1][0] &= ~LMP_HOST_LE; features 1634 net/bluetooth/hci_event.c hdev->features[1][0] |= LMP_HOST_LE_BREDR; features 1636 net/bluetooth/hci_event.c hdev->features[1][0] &= ~LMP_HOST_LE_BREDR; features 3094 net/bluetooth/hci_event.c memcpy(conn->features[0], ev->features, 8); features 4126 net/bluetooth/hci_event.c memcpy(conn->features[ev->page], ev->features, 8); features 4133 net/bluetooth/hci_event.c ie->data.ssp_mode = (ev->features[0] & LMP_HOST_SSP); features 4135 net/bluetooth/hci_event.c if (ev->features[0] & LMP_HOST_SSP) { features 4149 net/bluetooth/hci_event.c if (ev->features[0] & LMP_HOST_SC) features 4697 net/bluetooth/hci_event.c memcpy(conn->features[1], ev->features, 8); features 4701 net/bluetooth/hci_event.c ie->data.ssp_mode = (ev->features[0] & LMP_HOST_SSP); features 5539 net/bluetooth/hci_event.c memcpy(conn->features[0], ev->features, 8); features 627 net/bluetooth/mgmt.c if (hdev->features[0][0] & LMP_3SLOT) features 630 net/bluetooth/mgmt.c if (hdev->features[0][0] & LMP_5SLOT) features 273 net/bridge/br_device.c netdev_features_t features) features 277 net/bridge/br_device.c return br_features_recompute(br, features); features 425 net/bridge/br_device.c dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL | features 535 net/bridge/br_if.c netdev_features_t features) features 541 net/bridge/br_if.c return features; features 543 net/bridge/br_if.c mask = features; features 544 net/bridge/br_if.c features &= ~NETIF_F_ONE_FOR_ALL; features 547 net/bridge/br_if.c features = netdev_increment_features(features, features 548 net/bridge/br_if.c p->dev->features, mask); features 550 net/bridge/br_if.c features = netdev_add_tso_features(features, mask); features 552 net/bridge/br_if.c return features; features 622 net/bridge/br_private.h netdev_features_t features); features 1481 net/ceph/messenger.c con->out_connect.features = features 2059 net/ceph/messenger.c u64 server_feat = le64_to_cpu(con->in_reply.features); features 1481 net/core/dev.c if (unlikely(dev->features & NETIF_F_LRO)) features 1502 net/core/dev.c if (unlikely(dev->features & NETIF_F_GRO_HW)) features 2825 net/core/dev.c name, dev ? &dev->features : &null_features, features 2942 net/core/dev.c netdev_features_t features) features 2957 net/core/dev.c segs = ptype->callbacks.gso_segment(skb, features); features 2995 net/core/dev.c netdev_features_t features, bool tx_path) features 3012 net/core/dev.c if (features & NETIF_F_GSO_PARTIAL) { features 3016 net/core/dev.c partial_features |= dev->features & dev->gso_partial_features; features 3017 net/core/dev.c if (!skb_gso_ok(skb, features | partial_features)) features 3018 net/core/dev.c features &= ~NETIF_F_GSO_PARTIAL; features 3030 net/core/dev.c segs = skb_mac_gso_segment(skb, features); features 3058 net/core/dev.c if (!(dev->features & NETIF_F_HIGHDMA)) { features 3075 net/core/dev.c netdev_features_t features, features 3079 net/core/dev.c features &= skb->dev->mpls_features; features 3081 net/core/dev.c return features; features 3085 net/core/dev.c netdev_features_t features, features 3088 net/core/dev.c return features; features 3093 net/core/dev.c netdev_features_t features) features 3099 net/core/dev.c features = net_mpls_features(skb, features, type); features 3102 net/core/dev.c !can_checksum_protocol(features, type)) { features 3103 net/core/dev.c features &= ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); features 3106 net/core/dev.c features &= ~NETIF_F_SG; features 3108 net/core/dev.c return features; features 3113 net/core/dev.c netdev_features_t features) features 3115 net/core/dev.c return features; features 3121 net/core/dev.c netdev_features_t features) features 3123 net/core/dev.c return vlan_features_check(skb, features); features 3128 net/core/dev.c netdev_features_t features) features 3133 net/core/dev.c return features & ~NETIF_F_GSO_MASK; features 3142 net/core/dev.c features &= ~dev->gso_partial_features; features 3152 net/core/dev.c features &= ~NETIF_F_TSO_MANGLEID; features 3155 net/core/dev.c return features; features 3161 net/core/dev.c netdev_features_t features = dev->features; features 3164 net/core/dev.c features = gso_features_check(skb, dev, features); features 3171 net/core/dev.c features &= dev->hw_enc_features; features 3174 net/core/dev.c features = netdev_intersect_features(features, features 3180 net/core/dev.c features &= dev->netdev_ops->ndo_features_check(skb, dev, features 3181 net/core/dev.c features); features 3183 net/core/dev.c features &= dflt_features_check(skb, dev, features); features 3185 net/core/dev.c return harmonize_features(skb, features); features 3235 net/core/dev.c netdev_features_t features) features 3238 net/core/dev.c !vlan_hw_offload_capable(features, skb->vlan_proto)) features 3244 net/core/dev.c const netdev_features_t features) features 3247 net/core/dev.c return !!(features & NETIF_F_SCTP_CRC) ? 0 : features 3250 net/core/dev.c return !!(features & NETIF_F_CSUM_MASK) ? 0 : skb_checksum_help(skb); features 3256 net/core/dev.c netdev_features_t features; features 3258 net/core/dev.c features = netif_skb_features(skb); features 3259 net/core/dev.c skb = validate_xmit_vlan(skb, features); features 3267 net/core/dev.c if (netif_needs_gso(skb, features)) { features 3270 net/core/dev.c segs = skb_gso_segment(skb, features); features 3278 net/core/dev.c if (skb_needs_linearize(skb, features) && features 3293 net/core/dev.c if (skb_csum_hwoffload_help(skb, features)) features 3298 net/core/dev.c skb = validate_xmit_xfrm(skb, features, again); features 3912 net/core/dev.c !(dev->features & NETIF_F_NTUPLE)) features 8576 net/core/dev.c struct net_device *upper, netdev_features_t features) features 8585 net/core/dev.c && (features & feature)) { features 8588 net/core/dev.c features &= ~feature; features 8592 net/core/dev.c return features; features 8596 net/core/dev.c struct net_device *lower, netdev_features_t features) features 8604 net/core/dev.c if (!(features & feature) && (lower->features & feature)) { features 8610 net/core/dev.c if (unlikely(lower->features & feature)) features 8620 net/core/dev.c netdev_features_t features) features 8623 net/core/dev.c if ((features & NETIF_F_HW_CSUM) && features 8624 net/core/dev.c (features & (NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM))) { features 8626 net/core/dev.c features &= ~(NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM); features 8630 net/core/dev.c if ((features & NETIF_F_ALL_TSO) && !(features & NETIF_F_SG)) { features 8632 net/core/dev.c features &= ~NETIF_F_ALL_TSO; features 8635 net/core/dev.c if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) && features 8636 net/core/dev.c !(features & NETIF_F_IP_CSUM)) { features 8638 net/core/dev.c features &= ~NETIF_F_TSO; features 8639 net/core/dev.c features &= ~NETIF_F_TSO_ECN; features 8642 net/core/dev.c if ((features & NETIF_F_TSO6) && !(features & NETIF_F_HW_CSUM) && features 8643 net/core/dev.c !(features & NETIF_F_IPV6_CSUM)) { features 8645 net/core/dev.c features &= ~NETIF_F_TSO6; features 8649 net/core/dev.c if ((features & NETIF_F_TSO_MANGLEID) && !(features & NETIF_F_TSO)) features 8650 net/core/dev.c features &= ~NETIF_F_TSO_MANGLEID; features 8653 net/core/dev.c if ((features & NETIF_F_ALL_TSO) == NETIF_F_TSO_ECN) features 8654 net/core/dev.c features &= ~NETIF_F_TSO_ECN; features 8657 net/core/dev.c if ((features & NETIF_F_GSO) && !(features & NETIF_F_SG)) { features 8659 net/core/dev.c features &= ~NETIF_F_GSO; features 8663 net/core/dev.c if ((features & dev->gso_partial_features) && features 8664 net/core/dev.c !(features & NETIF_F_GSO_PARTIAL)) { features 8667 net/core/dev.c features &= ~dev->gso_partial_features; features 8670 net/core/dev.c if (!(features & NETIF_F_RXCSUM)) { features 8676 net/core/dev.c if (features & NETIF_F_GRO_HW) { features 8678 net/core/dev.c features &= ~NETIF_F_GRO_HW; features 8683 net/core/dev.c if (features & NETIF_F_RXFCS) { features 8684 net/core/dev.c if (features & NETIF_F_LRO) { features 8686 net/core/dev.c features &= ~NETIF_F_LRO; features 8689 net/core/dev.c if (features & NETIF_F_GRO_HW) { features 8691 net/core/dev.c features &= ~NETIF_F_GRO_HW; features 8695 net/core/dev.c return features; features 8701 net/core/dev.c netdev_features_t features; features 8707 net/core/dev.c features = netdev_get_wanted_features(dev); features 8710 net/core/dev.c features = dev->netdev_ops->ndo_fix_features(dev, features); features 8713 net/core/dev.c features = netdev_fix_features(dev, features); features 8717 net/core/dev.c features = netdev_sync_upper_features(dev, upper, features); features 8719 net/core/dev.c if (dev->features == features) features 8723 net/core/dev.c &dev->features, &features); features 8726 net/core/dev.c err = dev->netdev_ops->ndo_set_features(dev, features); features 8733 net/core/dev.c err, &features, &dev->features); features 8745 net/core/dev.c netdev_sync_lower_features(dev, lower, features); features 8748 net/core/dev.c netdev_features_t diff = features ^ dev->features; features 8758 net/core/dev.c if (features & NETIF_F_RX_UDP_TUNNEL_PORT) { features 8759 net/core/dev.c dev->features = features; features 8767 net/core/dev.c if (features & NETIF_F_HW_VLAN_CTAG_FILTER) { features 8768 net/core/dev.c dev->features = features; features 8776 net/core/dev.c if (features & NETIF_F_HW_VLAN_STAG_FILTER) { features 8777 net/core/dev.c dev->features = features; features 8784 net/core/dev.c dev->features = features; features 9021 net/core/dev.c if (((dev->hw_features | dev->features) & features 9040 net/core/dev.c dev->features |= NETIF_F_SOFT_FEATURES; features 9043 net/core/dev.c dev->features |= NETIF_F_RX_UDP_TUNNEL_PORT; features 9047 net/core/dev.c dev->wanted_features = dev->features & dev->hw_features; features 9723 net/core/dev.c if (dev->features & NETIF_F_NETNS_LOCAL) features 10065 net/core/dev.c if (dev->features & NETIF_F_NETNS_LOCAL) features 145 net/core/ethtool.c struct ethtool_get_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; features 154 net/core/ethtool.c features[i].available = (u32)(dev->hw_features >> (32 * i)); features 155 net/core/ethtool.c features[i].requested = (u32)(dev->wanted_features >> (32 * i)); features 156 net/core/ethtool.c features[i].active = (u32)(dev->features >> (32 * i)); features 157 net/core/ethtool.c features[i].never_changed = features 171 net/core/ethtool.c if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) features 180 net/core/ethtool.c struct ethtool_set_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; features 191 net/core/ethtool.c if (copy_from_user(features, useraddr, sizeof(features))) features 195 net/core/ethtool.c valid |= (netdev_features_t)features[i].valid << (32 * i); features 196 net/core/ethtool.c wanted |= (netdev_features_t)features[i].requested << (32 * i); features 211 net/core/ethtool.c if ((dev->wanted_features ^ dev->features) & valid) features 300 net/core/ethtool.c .data = !!(dev->features & mask), features 342 net/core/ethtool.c if (dev->features & NETIF_F_LRO) features 344 net/core/ethtool.c if (dev->features & NETIF_F_HW_VLAN_CTAG_RX) features 346 net/core/ethtool.c if (dev->features & NETIF_F_HW_VLAN_CTAG_TX) features 348 net/core/ethtool.c if (dev->features & NETIF_F_NTUPLE) features 350 net/core/ethtool.c if (dev->features & NETIF_F_RXHASH) features 358 net/core/ethtool.c netdev_features_t features = 0, changed; features 364 net/core/ethtool.c features |= NETIF_F_LRO; features 366 net/core/ethtool.c features |= NETIF_F_HW_VLAN_CTAG_RX; features 368 net/core/ethtool.c features |= NETIF_F_HW_VLAN_CTAG_TX; features 370 net/core/ethtool.c features |= NETIF_F_NTUPLE; features 372 net/core/ethtool.c features |= NETIF_F_RXHASH; features 375 net/core/ethtool.c changed = (features ^ dev->features) & ETH_ALL_FEATURES; features 380 net/core/ethtool.c (dev->wanted_features & ~changed) | (features & changed); features 2630 net/core/ethtool.c old_features = dev->features; features 2841 net/core/ethtool.c if (old_features != dev->features) features 76 net/core/netpoll.c netdev_features_t features; features 78 net/core/netpoll.c features = netif_skb_features(skb); features 81 net/core/netpoll.c !vlan_hw_offload_capable(features, skb->vlan_proto)) { features 2824 net/core/pktgen.c } else if (odev->features & (NETIF_F_HW_CSUM | NETIF_F_IP_CSUM)) { features 2959 net/core/pktgen.c } else if (odev->features & (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM)) { features 763 net/core/skbuff.c level, dev->name, &dev->features); features 3651 net/core/skbuff.c netdev_features_t features) features 3689 net/core/skbuff.c features &= ~NETIF_F_SG; features 3697 net/core/skbuff.c sg = !!(features & NETIF_F_SG); features 3698 net/core/skbuff.c csum = !!can_checksum_protocol(features, proto); features 3701 net/core/skbuff.c if (!(features & NETIF_F_GSO_PARTIAL)) { features 3706 net/core/skbuff.c !net_gso_ok(features, skb_shinfo(head_skb)->gso_type)) features 3950 net/core/skbuff.c type |= (features & NETIF_F_GSO_PARTIAL) / NETIF_F_GSO_PARTIAL * SKB_GSO_PARTIAL; features 1927 net/core/sock.c sk->sk_route_caps = dst->dev->features | sk->sk_route_forced_caps; features 477 net/dccp/ipv6.c newsk->sk_route_caps = dst->dev->features & ~(NETIF_F_IP_CSUM | features 953 net/decnet/af_decnet.c sk->sk_route_caps = dst->dev->features; features 92 net/decnet/dn_nsp_out.c sk->sk_route_caps = dst->dev->features; features 1408 net/dsa/slave.c slave_dev->features = master->vlan_features | NETIF_F_HW_TC; features 1410 net/dsa/slave.c slave_dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; features 1412 net/dsa/slave.c slave_dev->features |= NETIF_F_LLTX; features 193 net/hsr/hsr_device.c netdev_features_t features) features 198 net/hsr/hsr_device.c mask = features; features 207 net/hsr/hsr_device.c features &= ~NETIF_F_ONE_FOR_ALL; features 209 net/hsr/hsr_device.c features = netdev_increment_features(features, features 210 net/hsr/hsr_device.c port->dev->features, features 213 net/hsr/hsr_device.c return features; features 217 net/hsr/hsr_device.c netdev_features_t features) features 221 net/hsr/hsr_device.c return hsr_features_recompute(hsr, features); features 407 net/hsr/hsr_device.c dev->features = dev->hw_features; features 410 net/hsr/hsr_device.c dev->features |= NETIF_F_LLTX; features 414 net/hsr/hsr_device.c dev->features |= NETIF_F_VLAN_CHALLENGED; features 418 net/hsr/hsr_device.c dev->features |= NETIF_F_NETNS_LOCAL; features 110 net/ieee802154/6lowpan/core.c ldev->features |= NETIF_F_NETNS_LOCAL; features 207 net/ieee802154/core.c wpan_dev->netdev->features &= ~NETIF_F_NETNS_LOCAL; features 211 net/ieee802154/core.c wpan_dev->netdev->features |= NETIF_F_NETNS_LOCAL; features 223 net/ieee802154/core.c wpan_dev->netdev->features &= ~NETIF_F_NETNS_LOCAL; features 227 net/ieee802154/core.c wpan_dev->netdev->features |= NETIF_F_NETNS_LOCAL; features 272 net/ieee802154/core.c dev->features |= NETIF_F_NETNS_LOCAL; features 1298 net/ipv4/af_inet.c netdev_features_t features) features 1330 net/ipv4/af_inet.c features &= skb->dev->hw_enc_features; features 1348 net/ipv4/af_inet.c segs = ops->callbacks.gso_segment(skb, features); features 1395 net/ipv4/af_inet.c netdev_features_t features) features 1400 net/ipv4/af_inet.c return inet_gso_segment(skb, features); features 111 net/ipv4/esp4_offload.c netdev_features_t features) features 114 net/ipv4/esp4_offload.c return skb_mac_gso_segment(skb, features); features 119 net/ipv4/esp4_offload.c netdev_features_t features) features 128 net/ipv4/esp4_offload.c segs = ops->callbacks.gso_segment(skb, features); features 135 net/ipv4/esp4_offload.c netdev_features_t features) features 139 net/ipv4/esp4_offload.c return xfrm4_tunnel_gso_segment(x, skb, features); features 141 net/ipv4/esp4_offload.c return xfrm4_transport_gso_segment(x, skb, features); features 148 net/ipv4/esp4_offload.c netdev_features_t features) features 153 net/ipv4/esp4_offload.c netdev_features_t esp_features = features; features 179 net/ipv4/esp4_offload.c !(features & NETIF_F_HW_ESP)) || x->xso.dev != skb->dev) features 180 net/ipv4/esp4_offload.c esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK); features 181 net/ipv4/esp4_offload.c else if (!(features & NETIF_F_HW_ESP_TX_CSUM) && features 183 net/ipv4/esp4_offload.c esp_features = features & ~NETIF_F_CSUM_MASK; features 204 net/ipv4/esp4_offload.c static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) features 223 net/ipv4/esp4_offload.c if ((!(features & NETIF_F_HW_ESP) && features 15 net/ipv4/gre_offload.c netdev_features_t features) features 46 net/ipv4/gre_offload.c features &= skb->dev->hw_enc_features; features 49 net/ipv4/gre_offload.c segs = skb_mac_gso_segment(skb, features); features 733 net/ipv4/ip_gre.c dev->features |= NETIF_F_GSO_SOFTWARE; features 736 net/ipv4/ip_gre.c dev->features &= ~NETIF_F_GSO_SOFTWARE; features 739 net/ipv4/ip_gre.c dev->features |= NETIF_F_LLTX; features 742 net/ipv4/ip_gre.c dev->features &= ~(NETIF_F_LLTX | NETIF_F_GSO_SOFTWARE); features 930 net/ipv4/ip_gre.c dev->features |= GRE_FEATURES; features 940 net/ipv4/ip_gre.c dev->features |= NETIF_F_GSO_SOFTWARE; features 947 net/ipv4/ip_gre.c dev->features |= NETIF_F_LLTX; features 1263 net/ipv4/ip_gre.c dev->features |= GRE_FEATURES; features 243 net/ipv4/ip_output.c netdev_features_t features; features 265 net/ipv4/ip_output.c features = netif_skb_features(skb); features 267 net/ipv4/ip_output.c segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); features 1009 net/ipv4/ip_output.c rt->dst.dev->features & (NETIF_F_HW_CSUM | NETIF_F_IP_CSUM) && features 1011 net/ipv4/ip_output.c (!exthdrlen || (rt->dst.dev->features & NETIF_F_HW_ESP_TX_CSUM))) features 1019 net/ipv4/ip_output.c if (rt->dst.dev->features & NETIF_F_SG && features 1071 net/ipv4/ip_output.c !(rt->dst.dev->features&NETIF_F_SG)) features 1170 net/ipv4/ip_output.c if (!(rt->dst.dev->features&NETIF_F_SG) && features 1350 net/ipv4/ip_output.c if (!(rt->dst.dev->features&NETIF_F_SG)) features 1061 net/ipv4/ip_tunnel.c itn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; features 464 net/ipv4/ip_vti.c dev->features |= NETIF_F_LLTX; features 380 net/ipv4/ipip.c dev->features |= NETIF_F_LLTX; features 383 net/ipv4/ipip.c dev->features |= IPIP_FEATURES; features 561 net/ipv4/ipmr.c dev->features |= NETIF_F_NETNS_LOCAL; features 30 net/ipv4/tcp_offload.c netdev_features_t features) features 51 net/ipv4/tcp_offload.c return tcp_gso_segment(skb, features); features 55 net/ipv4/tcp_offload.c netdev_features_t features) features 84 net/ipv4/tcp_offload.c if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { features 98 net/ipv4/tcp_offload.c segs = skb_segment(skb, features); features 15 net/ipv4/udp_offload.c netdev_features_t features, features 17 net/ipv4/udp_offload.c netdev_features_t features), features 65 net/ipv4/udp_offload.c (skb->dev->features & features 69 net/ipv4/udp_offload.c features &= skb->dev->hw_enc_features; features 76 net/ipv4/udp_offload.c features &= ~NETIF_F_CSUM_MASK; features 78 net/ipv4/udp_offload.c features |= NETIF_F_HW_CSUM; features 82 net/ipv4/udp_offload.c segs = gso_inner_segment(skb, features); features 149 net/ipv4/udp_offload.c netdev_features_t features, features 157 net/ipv4/udp_offload.c netdev_features_t features); features 177 net/ipv4/udp_offload.c segs = __skb_udp_tunnel_segment(skb, features, gso_inner_segment, features 188 net/ipv4/udp_offload.c netdev_features_t features) features 210 net/ipv4/udp_offload.c segs = skb_segment(gso_skb, features); features 289 net/ipv4/udp_offload.c netdev_features_t features) features 300 net/ipv4/udp_offload.c segs = skb_udp_tunnel_segment(skb, features, false); features 311 net/ipv4/udp_offload.c return __udp_gso_segment(skb, features); features 338 net/ipv4/udp_offload.c features |= NETIF_F_HW_CSUM; features 343 net/ipv4/udp_offload.c segs = skb_segment(skb, features); features 96 net/ipv4/udp_tunnel.c !(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) features 114 net/ipv4/udp_tunnel.c !(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) features 141 net/ipv4/udp_tunnel.c if (!(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) features 165 net/ipv4/udp_tunnel.c if (!(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) features 145 net/ipv6/esp6_offload.c netdev_features_t features) features 148 net/ipv6/esp6_offload.c return skb_mac_gso_segment(skb, features); features 153 net/ipv6/esp6_offload.c netdev_features_t features) features 162 net/ipv6/esp6_offload.c segs = ops->callbacks.gso_segment(skb, features); features 169 net/ipv6/esp6_offload.c netdev_features_t features) features 173 net/ipv6/esp6_offload.c return xfrm6_tunnel_gso_segment(x, skb, features); features 175 net/ipv6/esp6_offload.c return xfrm6_transport_gso_segment(x, skb, features); features 182 net/ipv6/esp6_offload.c netdev_features_t features) features 187 net/ipv6/esp6_offload.c netdev_features_t esp_features = features; features 212 net/ipv6/esp6_offload.c if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) features 213 net/ipv6/esp6_offload.c esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK); features 214 net/ipv6/esp6_offload.c else if (!(features & NETIF_F_HW_ESP_TX_CSUM)) features 215 net/ipv6/esp6_offload.c esp_features = features & ~NETIF_F_CSUM_MASK; features 236 net/ipv6/esp6_offload.c static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) features 256 net/ipv6/esp6_offload.c if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) { features 387 net/ipv6/ip6_gre.c dev->features |= NETIF_F_LLTX; features 1416 net/ipv6/ip6_gre.c dev->features |= GRE6_FEATURES; features 1426 net/ipv6/ip6_gre.c dev->features |= NETIF_F_GSO_SOFTWARE; features 1433 net/ipv6/ip6_gre.c dev->features |= NETIF_F_LLTX; features 1575 net/ipv6/ip6_gre.c ign->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; features 72 net/ipv6/ip6_offload.c netdev_features_t features) features 93 net/ipv6/ip6_offload.c features &= skb->dev->hw_enc_features; features 113 net/ipv6/ip6_offload.c segs = ops->callbacks.gso_segment(skb, features); features 383 net/ipv6/ip6_offload.c netdev_features_t features) features 388 net/ipv6/ip6_offload.c return ipv6_gso_segment(skb, features); features 392 net/ipv6/ip6_offload.c netdev_features_t features) features 397 net/ipv6/ip6_offload.c return inet_gso_segment(skb, features); features 401 net/ipv6/ip6_offload.c netdev_features_t features) features 406 net/ipv6/ip6_offload.c return ipv6_gso_segment(skb, features); features 1400 net/ipv6/ip6_output.c rt->dst.dev->features & (NETIF_F_IPV6_CSUM | NETIF_F_HW_CSUM)) features 1408 net/ipv6/ip6_output.c if (rt->dst.dev->features & NETIF_F_SG && features 1476 net/ipv6/ip6_output.c !(rt->dst.dev->features&NETIF_F_SG)) features 1591 net/ipv6/ip6_output.c if (!(rt->dst.dev->features&NETIF_F_SG) && features 1806 net/ipv6/ip6_tunnel.c dev->features |= NETIF_F_LLTX; features 1809 net/ipv6/ip6_tunnel.c dev->features |= IPXIPX_FEATURES; features 2236 net/ipv6/ip6_tunnel.c ip6n->fb_tnl_dev->features |= NETIF_F_NETNS_LOCAL; features 636 net/ipv6/ip6mr.c dev->features |= NETIF_F_NETNS_LOCAL; features 1388 net/ipv6/sit.c dev->features |= NETIF_F_LLTX; features 1389 net/ipv6/sit.c dev->features |= SIT_FEATURES; features 1866 net/ipv6/sit.c sitn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; features 42 net/ipv6/tcpv6_offload.c netdev_features_t features) features 65 net/ipv6/tcpv6_offload.c return tcp_gso_segment(skb, features); features 18 net/ipv6/udp_offload.c netdev_features_t features) features 37 net/ipv6/udp_offload.c segs = skb_udp_tunnel_segment(skb, features, true); features 49 net/ipv6/udp_offload.c return __udp_gso_segment(skb, features); features 72 net/ipv6/udp_offload.c features |= NETIF_F_HW_CSUM; features 107 net/ipv6/udp_offload.c segs = skb_segment(skb, features); features 122 net/l2tp/l2tp_eth.c dev->features |= NETIF_F_LLTX; features 2322 net/mac80211/cfg.c (!(wiphy->features & NL80211_FEATURE_AP_SCAN) || features 247 net/mac80211/debugfs_netdev.c if (!(local->hw.wiphy->features & NL80211_FEATURE_STATIC_SMPS) && features 252 net/mac80211/debugfs_netdev.c if (!(local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) && features 1873 net/mac80211/iface.c ndev->features |= local->hw.netdev_features; features 567 net/mac80211/main.c wiphy->features |= NL80211_FEATURE_SK_TX_STATUS | features 579 net/mac80211/main.c wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN | features 877 net/mac80211/main.c if ((hw->wiphy->features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH) && features 4605 net/mac80211/mlme.c if (sdata->local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) features 47 net/mac80211/tdls.c bool chan_switch = local->hw.wiphy->features & features 1930 net/mac80211/tdls.c if (!(wiphy->features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH)) features 19 net/mpls/mpls_gso.c netdev_features_t features) features 43 net/mpls/mpls_gso.c mpls_features = skb->dev->mpls_features & features; features 330 net/netfilter/ipset/ip_set_bitmap_ip.c .features = IPSET_TYPE_IP, features 379 net/netfilter/ipset/ip_set_bitmap_ipmac.c .features = IPSET_TYPE_IP | IPSET_TYPE_MAC, features 263 net/netfilter/ipset/ip_set_bitmap_port.c .features = IPSET_TYPE_PORT, features 602 net/netfilter/ipset/ip_set_core.c (set->type->features & IPSET_TYPE_NOMATCH) && features 1239 net/netfilter/ipset/ip_set_core.c if (!(from->type->features == to->type->features && features 1410 net/netfilter/ipset/ip_set_core.c !!(set->type->features & IPSET_DUMP_LAST))) { features 275 net/netfilter/ipset/ip_set_hash_ip.c .features = IPSET_TYPE_IP, features 266 net/netfilter/ipset/ip_set_hash_ipmac.c .features = IPSET_TYPE_IP | IPSET_TYPE_MAC, features 272 net/netfilter/ipset/ip_set_hash_ipmark.c .features = IPSET_TYPE_IP | IPSET_TYPE_MARK, features 339 net/netfilter/ipset/ip_set_hash_ipport.c .features = IPSET_TYPE_IP | IPSET_TYPE_PORT, features 354 net/netfilter/ipset/ip_set_hash_ipportip.c .features = IPSET_TYPE_IP | IPSET_TYPE_PORT | IPSET_TYPE_IP2, features 510 net/netfilter/ipset/ip_set_hash_ipportnet.c .features = IPSET_TYPE_IP | IPSET_TYPE_PORT | IPSET_TYPE_IP2 | features 123 net/netfilter/ipset/ip_set_hash_mac.c .features = IPSET_TYPE_MAC, features 352 net/netfilter/ipset/ip_set_hash_net.c .features = IPSET_TYPE_IP | IPSET_TYPE_NOMATCH, features 454 net/netfilter/ipset/ip_set_hash_netiface.c .features = IPSET_TYPE_IP | IPSET_TYPE_IFACE | features 457 net/netfilter/ipset/ip_set_hash_netnet.c .features = IPSET_TYPE_IP | IPSET_TYPE_IP2 | IPSET_TYPE_NOMATCH, features 458 net/netfilter/ipset/ip_set_hash_netport.c .features = IPSET_TYPE_IP | IPSET_TYPE_PORT | IPSET_TYPE_NOMATCH, features 555 net/netfilter/ipset/ip_set_hash_netportnet.c .features = IPSET_TYPE_IP | IPSET_TYPE_PORT | IPSET_TYPE_IP2 | features 370 net/netfilter/ipset/ip_set_list_set.c if (s->type->features & IPSET_TYPE_NAME) { features 637 net/netfilter/ipset/ip_set_list_set.c .features = IPSET_TYPE_NAME | IPSET_DUMP_LAST, features 175 net/netfilter/ipvs/ip_vs_proto_sctp.c !(skb_dst(skb)->dev->features & NETIF_F_SCTP_CRC))) { features 3027 net/netfilter/nf_tables_api.c return (flags & type->features) == (flags & NFT_SET_FEATURES); features 282 net/netfilter/nft_set_bitmap.c static bool nft_bitmap_estimate(const struct nft_set_desc *desc, u32 features, features 401 net/netfilter/nft_set_hash.c static bool nft_rhash_estimate(const struct nft_set_desc *desc, u32 features, features 629 net/netfilter/nft_set_hash.c static bool nft_hash_estimate(const struct nft_set_desc *desc, u32 features, features 647 net/netfilter/nft_set_hash.c static bool nft_hash_fast_estimate(const struct nft_set_desc *desc, u32 features, features 667 net/netfilter/nft_set_hash.c .features = NFT_SET_MAP | NFT_SET_OBJECT | features 691 net/netfilter/nft_set_hash.c .features = NFT_SET_MAP | NFT_SET_OBJECT, features 711 net/netfilter/nft_set_hash.c .features = NFT_SET_MAP | NFT_SET_OBJECT, features 482 net/netfilter/nft_set_rbtree.c static bool nft_rbtree_estimate(const struct nft_set_desc *desc, u32 features, features 499 net/netfilter/nft_set_rbtree.c .features = NFT_SET_INTERVAL | NFT_SET_MAP | NFT_SET_OBJECT | NFT_SET_TIMEOUT, features 77 net/nsh/nsh.c netdev_features_t features) features 107 net/nsh/nsh.c features &= NETIF_F_SG; features 108 net/nsh/nsh.c segs = skb_mac_gso_segment(skb, features); features 144 net/openvswitch/vport-internal_dev.c netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | features 148 net/openvswitch/vport-internal_dev.c netdev->vlan_features = netdev->features; features 149 net/openvswitch/vport-internal_dev.c netdev->hw_enc_features = netdev->features; features 150 net/openvswitch/vport-internal_dev.c netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; features 151 net/openvswitch/vport-internal_dev.c netdev->hw_features = netdev->features & ~NETIF_F_LLTX; features 188 net/openvswitch/vport-internal_dev.c vport->dev->features |= NETIF_F_NETNS_LOCAL; features 215 net/phonet/pep-gprs.c dev->features = NETIF_F_FRAGLIST; features 1679 net/sched/sch_cake.c netdev_features_t features = netif_skb_features(skb); features 1682 net/sched/sch_cake.c segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); features 416 net/sched/sch_netem.c netdev_features_t features = netif_skb_features(skb); features 418 net/sched/sch_netem.c segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); features 148 net/sched/sch_tbf.c netdev_features_t features = netif_skb_features(skb); features 152 net/sched/sch_tbf.c segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); features 35 net/sctp/offload.c netdev_features_t features) features 49 net/sctp/offload.c if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { features 67 net/sctp/offload.c segs = skb_segment(skb, features | NETIF_F_HW_CSUM | NETIF_F_SG); features 72 net/sctp/offload.c if (!(features & NETIF_F_SCTP_CRC)) { features 523 net/sctp/output.c if (!(skb_dst(head)->dev->features & NETIF_F_SCTP_CRC) || features 47 net/sunrpc/sunrpc.h (dst->dev->features & NETIF_F_LOOPBACK)) features 1019 net/tls/tls_device.c if (!(netdev->features & NETIF_F_HW_TLS_TX)) { features 1091 net/tls/tls_device.c if (!(netdev->features & NETIF_F_HW_TLS_RX)) { features 1220 net/tls/tls_device.c !(dev->features & (NETIF_F_HW_TLS_RX | NETIF_F_HW_TLS_TX))) features 1226 net/tls/tls_device.c if ((dev->features & NETIF_F_HW_TLS_RX) && features 758 net/vmw_vsock/virtio_transport.c static unsigned int features[] = { features 762 net/vmw_vsock/virtio_transport.c .feature_table = features, features 763 net/vmw_vsock/virtio_transport.c .feature_table_size = ARRAY_SIZE(features), features 167 net/wireless/core.c wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; features 171 net/wireless/core.c wdev->netdev->features |= NETIF_F_NETNS_LOCAL; features 183 net/wireless/core.c wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; features 187 net/wireless/core.c wdev->netdev->features |= NETIF_F_NETNS_LOCAL; features 666 net/wireless/core.c if (WARN_ON((wiphy->features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH) && features 885 net/wireless/core.c rdev->wiphy.features |= NL80211_FEATURE_SCAN_FLUSH; features 1280 net/wireless/core.c dev->features |= NETIF_F_NETNS_LOCAL; features 1912 net/wireless/nl80211.c u32 features; features 2135 net/wireless/nl80211.c if (rdev->wiphy.features & features 2197 net/wireless/nl80211.c features = rdev->wiphy.features; features 2204 net/wireless/nl80211.c features |= NL80211_FEATURE_ADVERTISE_CHAN_LIMITS; features 2205 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_FEATURE_FLAGS, features)) features 2799 net/wireless/nl80211.c !(rdev->wiphy.features & features 2971 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_VIF_TXPOWER)) features 3070 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_ACKTO_ESTIMATION)) features 3433 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_ACTIVE_MONITOR)) features 3595 net/wireless/nl80211.c rdev->wiphy.features & NL80211_FEATURE_MAC_ON_CREATE) && features 4590 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_SAE) && features 4601 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_SAE) && features 4709 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_INACTIVITY_TIMER)) features 4721 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_P2P_GO_CTWIN)) features 4733 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_P2P_GO_OPPPS)) features 4768 net/wireless/nl80211.c if (!(rdev->wiphy.features & features 4773 net/wireless/nl80211.c if (!(rdev->wiphy.features & features 5472 net/wireless/nl80211.c if (!(wiphy->features & NL80211_FEATURE_FULL_AP_CLIENT_STATE) && features 5980 net/wireless/nl80211.c if (!(rdev->wiphy.features & features 6454 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_P2P_GO_CTWIN)) features 6466 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_P2P_GO_OPPPS)) features 6885 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_USERSPACE_MPM)) features 7456 net/wireless/nl80211.c !(wiphy->features & NL80211_FEATURE_LOW_PRIORITY_SCAN)) || features 7489 net/wireless/nl80211.c if (!(wiphy->features & randomness_flag) || features 9267 net/wireless/nl80211.c if (!((rdev->wiphy.features & features 9269 net/wireless/nl80211.c (rdev->wiphy.features & NL80211_FEATURE_QUIET)) && features 9492 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_HT_IBSS)) features 9498 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_HT_IBSS)) features 10024 net/wireless/nl80211.c if (!((rdev->wiphy.features & features 10026 net/wireless/nl80211.c (rdev->wiphy.features & NL80211_FEATURE_QUIET)) && features 13287 net/wireless/nl80211.c if (!(rdev->wiphy.features & NL80211_FEATURE_SUPPORTS_WMM_ADMISSION)) features 13369 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH)) features 13427 net/wireless/nl80211.c !(rdev->wiphy.features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH)) features 1848 net/wireless/reg.c return !(wiphy->features & NL80211_FEATURE_CELL_BASE_REG_HINTS); features 74 net/xfrm/xfrm_device.c struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again) features 81 net/xfrm/xfrm_device.c netdev_features_t esp_features = features; features 88 net/xfrm/xfrm_device.c if (!(features & NETIF_F_HW_ESP)) features 89 net/xfrm/xfrm_device.c esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK); features 344 net/xfrm/xfrm_device.c if ((dev->features & NETIF_F_HW_ESP_TX_CSUM) && features 345 net/xfrm/xfrm_device.c !(dev->features & NETIF_F_HW_ESP)) features 348 net/xfrm/xfrm_device.c if ((dev->features & NETIF_F_HW_ESP) && features 354 net/xfrm/xfrm_device.c if (dev->features & (NETIF_F_HW_ESP | NETIF_F_HW_ESP_TX_CSUM)) features 373 net/xfrm/xfrm_device.c if (dev->features & NETIF_F_HW_ESP) features 614 net/xfrm/xfrm_interface.c dev->features |= NETIF_F_LLTX; features 596 net/xfrm/xfrm_output.c if (x->xso.dev && x->xso.dev->features & NETIF_F_HW_ESP_TX_CSUM) features 106 tools/arch/arm/include/uapi/asm/kvm.h __u32 features[7]; features 112 tools/arch/arm64/include/uapi/asm/kvm.h __u32 features[7]; features 196 tools/arch/powerpc/include/uapi/asm/kvm.h __u32 features; /* KVM_SREGS_E_FSL_ */ features 207 tools/arch/powerpc/include/uapi/asm/kvm.h __u32 features; /* KVM_SREGS_E_ */ features 53 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c return !!(dbginfo.features & PPC_DEBUG_FEATURE_DATA_BP_DAWR); features 246 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c if (!(dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE)) features 280 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c if (!(dbginfo.features & PPC_DEBUG_FEATURE_DATA_BP_RANGE)) features 653 tools/testing/selftests/vm/userfaultfd.c static int userfaultfd_open(int features) features 666 tools/testing/selftests/vm/userfaultfd.c uffdio_api.features = features; features 913 tools/testing/selftests/vm/userfaultfd.c int err, features; features 923 tools/testing/selftests/vm/userfaultfd.c features = UFFD_FEATURE_EVENT_FORK | UFFD_FEATURE_EVENT_REMAP | features 925 tools/testing/selftests/vm/userfaultfd.c if (userfaultfd_open(features) < 0) features 973 tools/testing/selftests/vm/userfaultfd.c int err, features; features 983 tools/testing/selftests/vm/userfaultfd.c features = UFFD_FEATURE_EVENT_FORK|UFFD_FEATURE_SIGBUS; features 984 tools/testing/selftests/vm/userfaultfd.c if (userfaultfd_open(features) < 0) features 13 tools/virtio/linux/virtio.h u64 features; features 16 tools/virtio/linux/virtio_config.h return vdev->features & (1ULL << fbit); features 27 tools/virtio/linux/virtio_config.h vdev->features |= (1ULL << fbit); features 38 tools/virtio/linux/virtio_config.h vdev->features &= ~(1ULL << fbit); features 65 tools/virtio/virtio_test.c unsigned long long features = dev->vdev.features; features 73 tools/virtio/virtio_test.c r = ioctl(dev->control, VHOST_SET_FEATURES, &features); features 114 tools/virtio/virtio_test.c static void vdev_info_init(struct vdev_info* dev, unsigned long long features) features 118 tools/virtio/virtio_test.c dev->vdev.features = features; features 264 tools/virtio/virtio_test.c unsigned long long features = (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | features 278 tools/virtio/virtio_test.c features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); features 284 tools/virtio/virtio_test.c features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); features 287 tools/virtio/virtio_test.c features &= ~(1ULL << VIRTIO_F_VERSION_1); features 299 tools/virtio/virtio_test.c vdev_info_init(&dev, features); features 136 tools/virtio/vringh_test.c static int parallel_test(u64 features, features 189 tools/virtio/vringh_test.c vringh_init_user(&vrh, features, RINGSIZE, true, features 309 tools/virtio/vringh_test.c gvdev.vdev.features = features; features 455 tools/virtio/vringh_test.c vdev.features = 0; features 476 tools/virtio/vringh_test.c return parallel_test(vdev.features, getrange, fast_vringh); features 491 tools/virtio/vringh_test.c vringh_init_user(&vrh, vdev.features, RINGSIZE, true, features 345 virt/kvm/arm/arm.c bitmap_zero(vcpu->arch.features, KVM_VCPU_MAX_FEATURES); features 978 virt/kvm/arm/arm.c for (i = 0; i < sizeof(init->features) * 8; i++) { features 979 virt/kvm/arm/arm.c bool set = (init->features[i / 32] & (1 << (i % 32))); features 989 virt/kvm/arm/arm.c test_bit(i, vcpu->arch.features) != set) features 993 virt/kvm/arm/arm.c set_bit(i, vcpu->arch.features); features 1002 virt/kvm/arm/arm.c bitmap_zero(vcpu->arch.features, KVM_VCPU_MAX_FEATURES); features 1029 virt/kvm/arm/arm.c if (test_bit(KVM_ARM_VCPU_POWER_OFF, vcpu->arch.features)) features 737 virt/kvm/arm/pmu.c if (!test_bit(KVM_ARM_VCPU_PMU_V3, vcpu->arch.features)) features 803 virt/kvm/arm/pmu.c if (!test_bit(KVM_ARM_VCPU_PMU_V3, vcpu->arch.features)) features 840 virt/kvm/arm/pmu.c if (!test_bit(KVM_ARM_VCPU_PMU_V3, vcpu->arch.features)) features 860 virt/kvm/arm/pmu.c test_bit(KVM_ARM_VCPU_PMU_V3, vcpu->arch.features)) features 539 virt/kvm/arm/psci.c wants_02 = test_bit(KVM_ARM_VCPU_PSCI_0_2, vcpu->arch.features);