feature 330 arch/arm/include/asm/cputype.h int feature = (features >> field) & 15; feature 333 arch/arm/include/asm/cputype.h if (feature > 7) feature 334 arch/arm/include/asm/cputype.h feature -= 16; feature 336 arch/arm/include/asm/cputype.h return feature; feature 414 arch/arm/include/asm/kvm_host.h static inline int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int feature) feature 79 arch/arm/mach-pxa/balloon3.c int balloon3_has(enum balloon3_features feature) feature 81 arch/arm/mach-pxa/balloon3.c return (balloon3_features_present & (1 << feature)) ? 1 : 0; feature 179 arch/arm/mach-pxa/include/mach/balloon3.h extern int balloon3_has(enum balloon3_features feature); feature 38 arch/arm64/include/asm/alternative.h #define ALTINSTR_ENTRY(feature) \ feature 41 arch/arm64/include/asm/alternative.h " .hword " __stringify(feature) "\n" /* feature bit */ \ feature 45 arch/arm64/include/asm/alternative.h #define ALTINSTR_ENTRY_CB(feature, cb) \ feature 48 arch/arm64/include/asm/alternative.h " .hword " __stringify(feature) "\n" /* feature bit */ \ feature 68 arch/arm64/include/asm/alternative.h #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled) \ feature 74 arch/arm64/include/asm/alternative.h ALTINSTR_ENTRY(feature) \ feature 85 arch/arm64/include/asm/alternative.h #define __ALTERNATIVE_CFG_CB(oldinstr, feature, cfg_enabled, cb) \ feature 91 arch/arm64/include/asm/alternative.h ALTINSTR_ENTRY_CB(feature, cb) \ feature 97 arch/arm64/include/asm/alternative.h #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ feature 98 arch/arm64/include/asm/alternative.h __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg)) feature 106 arch/arm64/include/asm/alternative.h .macro altinstruction_entry orig_offset alt_offset feature orig_len alt_len feature 676 arch/arm64/include/asm/kvm_host.h int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int feature); feature 255 arch/arm64/include/asm/uaccess.h #define __get_user_asm(instr, alt_instr, reg, x, addr, err, feature) \ feature 258 arch/arm64/include/asm/uaccess.h alt_instr " " reg "1, [%2]\n", feature) \ feature 320 arch/arm64/include/asm/uaccess.h #define __put_user_asm(instr, alt_instr, reg, x, addr, err, feature) \ feature 323 arch/arm64/include/asm/uaccess.h alt_instr " " reg "1, [%2]\n", feature) \ feature 183 arch/arm64/kvm/reset.c int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int feature) feature 185 arch/arm64/kvm/reset.c switch (feature) { feature 60 arch/ia64/kernel/salinfo.c unsigned long feature; /* feature bit */ feature 608 arch/ia64/kernel/salinfo.c (void *)salinfo_entries[i].feature); feature 117 arch/mips/include/asm/octeon/octeon-feature.h static inline bool octeon_has_feature(enum octeon_feature feature) feature 119 arch/mips/include/asm/octeon/octeon-feature.h switch (feature) { feature 176 arch/mips/pmcs-msp71xx/msp_prom.c char *feature = prom_getenv(FEATURES); feature 178 arch/mips/pmcs-msp71xx/msp_prom.c if (feature == NULL) { feature 180 arch/mips/pmcs-msp71xx/msp_prom.c feature = msp_default_features; feature 183 arch/mips/pmcs-msp71xx/msp_prom.c return feature; feature 188 arch/mips/pmcs-msp71xx/msp_prom.c char *feature = get_features(); feature 190 arch/mips/pmcs-msp71xx/msp_prom.c while (*feature) { feature 191 arch/mips/pmcs-msp71xx/msp_prom.c if (*feature++ == c) feature 192 arch/mips/pmcs-msp71xx/msp_prom.c return *feature; feature 193 arch/mips/pmcs-msp71xx/msp_prom.c feature++; feature 246 arch/mips/pmcs-msp71xx/msp_prom.c char *feature = get_features(); feature 248 arch/mips/pmcs-msp71xx/msp_prom.c while (*feature) { feature 249 arch/mips/pmcs-msp71xx/msp_prom.c if (*feature++ == key && interface_num-- == 0) feature 250 arch/mips/pmcs-msp71xx/msp_prom.c return *feature; feature 251 arch/mips/pmcs-msp71xx/msp_prom.c feature++; feature 10 arch/powerpc/include/asm/cpu_has_feature.h static inline bool early_cpu_has_feature(unsigned long feature) feature 12 arch/powerpc/include/asm/cpu_has_feature.h return !!((CPU_FTRS_ALWAYS & feature) || feature 13 arch/powerpc/include/asm/cpu_has_feature.h (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature)); feature 23 arch/powerpc/include/asm/cpu_has_feature.h static __always_inline bool cpu_has_feature(unsigned long feature) feature 28 arch/powerpc/include/asm/cpu_has_feature.h BUILD_BUG_ON(!__builtin_constant_p(feature)); feature 35 arch/powerpc/include/asm/cpu_has_feature.h return early_cpu_has_feature(feature); feature 39 arch/powerpc/include/asm/cpu_has_feature.h if (CPU_FTRS_ALWAYS & feature) feature 42 arch/powerpc/include/asm/cpu_has_feature.h if (!(CPU_FTRS_POSSIBLE & feature)) feature 45 arch/powerpc/include/asm/cpu_has_feature.h i = __builtin_ctzl(feature); feature 49 arch/powerpc/include/asm/cpu_has_feature.h static inline bool cpu_has_feature(unsigned long feature) feature 51 arch/powerpc/include/asm/cpu_has_feature.h return early_cpu_has_feature(feature); feature 120 arch/powerpc/include/asm/firmware.h #define firmware_has_feature(feature) \ feature 121 arch/powerpc/include/asm/firmware.h ((FW_FEATURE_ALWAYS & (feature)) || \ feature 122 arch/powerpc/include/asm/firmware.h (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature))) feature 108 arch/powerpc/include/asm/machdep.h long (*feature_call)(unsigned int feature, ...); feature 182 arch/powerpc/include/asm/mmu.h static inline bool early_mmu_has_feature(unsigned long feature) feature 184 arch/powerpc/include/asm/mmu.h return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); feature 196 arch/powerpc/include/asm/mmu.h static __always_inline bool mmu_has_feature(unsigned long feature) feature 201 arch/powerpc/include/asm/mmu.h BUILD_BUG_ON(!__builtin_constant_p(feature)); feature 208 arch/powerpc/include/asm/mmu.h return early_mmu_has_feature(feature); feature 212 arch/powerpc/include/asm/mmu.h if (!(MMU_FTRS_POSSIBLE & feature)) feature 215 arch/powerpc/include/asm/mmu.h i = __builtin_ctzl(feature); feature 219 arch/powerpc/include/asm/mmu.h static inline void mmu_clear_feature(unsigned long feature) feature 223 arch/powerpc/include/asm/mmu.h i = __builtin_ctzl(feature); feature 224 arch/powerpc/include/asm/mmu.h cur_cpu_spec->mmu_features &= ~feature; feature 234 arch/powerpc/include/asm/mmu.h static inline bool mmu_has_feature(unsigned long feature) feature 236 arch/powerpc/include/asm/mmu.h return early_mmu_has_feature(feature); feature 239 arch/powerpc/include/asm/mmu.h static inline void mmu_clear_feature(unsigned long feature) feature 241 arch/powerpc/include/asm/mmu.h cur_cpu_spec->mmu_features &= ~feature; feature 27 arch/powerpc/include/asm/security_features.h static inline void security_ftr_set(u64 feature) feature 29 arch/powerpc/include/asm/security_features.h powerpc_security_features |= feature; feature 32 arch/powerpc/include/asm/security_features.h static inline void security_ftr_clear(u64 feature) feature 34 arch/powerpc/include/asm/security_features.h powerpc_security_features &= ~feature; feature 37 arch/powerpc/include/asm/security_features.h static inline bool security_ftr_enabled(u64 feature) feature 39 arch/powerpc/include/asm/security_features.h return !!(powerpc_security_features & feature); feature 108 arch/powerpc/platforms/pseries/firmware.c unsigned int feature; feature 127 arch/powerpc/platforms/pseries/firmware.c index = OV5_INDX(vec5_fw_features_table[i].feature); feature 128 arch/powerpc/platforms/pseries/firmware.c feat = OV5_FEAT(vec5_fw_features_table[i].feature); feature 168 arch/powerpc/sysdev/fsl_msi.c if (msi_data->feature & MSI_HW_ERRATA_ENDIAN) feature 196 arch/powerpc/sysdev/fsl_msi.c if (msi_data->feature & MSI_HW_ERRATA_ENDIAN) feature 285 arch/powerpc/sysdev/fsl_msi.c switch (msi_data->feature & FSL_PIC_IP_MASK) { feature 344 arch/powerpc/sysdev/fsl_msi.c if ((msi->feature & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) feature 464 arch/powerpc/sysdev/fsl_msi.c msi->feature = features->fsl_pic_ip; feature 469 arch/powerpc/sysdev/fsl_msi.c msi->feature |= MSI_HW_ERRATA_ENDIAN; feature 38 arch/powerpc/sysdev/fsl_msi.h u32 feature; feature 26 arch/s390/include/asm/alternative-asm.h .macro alt_entry orig_start, orig_end, alt_start, alt_end, feature feature 67 arch/s390/include/asm/alternative-asm.h .macro ALTERNATIVE oldinstr, newinstr, feature feature 39 arch/x86/include/asm/alternative-asm.h .macro altinstruction_entry orig alt feature orig_len alt_len pad_len feature 54 arch/x86/include/asm/alternative-asm.h .macro ALTERNATIVE oldinstr, newinstr, feature feature 145 arch/x86/include/asm/alternative.h #define ALTINSTR_ENTRY(feature, num) \ feature 148 arch/x86/include/asm/alternative.h " .word " __stringify(feature) "\n" /* feature bit */ \ feature 153 arch/x86/include/asm/alternative.h #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ feature 158 arch/x86/include/asm/alternative.h #define ALTERNATIVE(oldinstr, newinstr, feature) \ feature 161 arch/x86/include/asm/alternative.h ALTINSTR_ENTRY(feature, 1) \ feature 164 arch/x86/include/asm/alternative.h ALTINSTR_REPLACEMENT(newinstr, feature, 1) \ feature 203 arch/x86/include/asm/alternative.h #define alternative(oldinstr, newinstr, feature) \ feature 204 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory") feature 220 arch/x86/include/asm/alternative.h #define alternative_input(oldinstr, newinstr, feature, input...) \ feature 221 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ feature 239 arch/x86/include/asm/alternative.h #define alternative_io(oldinstr, newinstr, feature, output, input...) \ feature 240 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ feature 244 arch/x86/include/asm/alternative.h #define alternative_call(oldfunc, newfunc, feature, output, input...) \ feature 245 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE("call %P[old]", "call %P[new]", feature) \ feature 84 arch/x86/include/asm/amd_nb.h bool amd_nb_has_feature(unsigned int feature); feature 38 arch/x86/include/asm/cpu_device_id.h .feature = _feature, \ feature 206 arch/x86/include/asm/cpufeature.h : : [feature] "i" (bit), feature 126 arch/x86/include/asm/intel-family.h .feature = X86_FEATURE_ANY, \ feature 263 arch/x86/include/asm/nospec-branch.h void alternative_msr_write(unsigned int msr, u64 val, unsigned int feature) feature 265 arch/x86/include/asm/nospec-branch.h asm volatile(ALTERNATIVE("", "wrmsr", %c[feature]) feature 269 arch/x86/include/asm/nospec-branch.h [feature] "i" (feature) feature 103 arch/x86/kernel/amd_nb.c bool amd_nb_has_feature(unsigned int feature) feature 105 arch/x86/kernel/amd_nb.c return ((amd_northbridges.flags & feature) == feature); feature 497 arch/x86/kernel/cpu/common.c u32 feature; feature 513 arch/x86/kernel/cpu/common.c for (df = cpuid_dependent_features; df->feature; df++) { feature 515 arch/x86/kernel/cpu/common.c if (!cpu_has(c, df->feature)) feature 529 arch/x86/kernel/cpu/common.c clear_cpu_cap(c, df->feature); feature 534 arch/x86/kernel/cpu/common.c x86_cap_flag(df->feature), df->level); feature 8 arch/x86/kernel/cpu/cpuid-deps.c unsigned int feature; feature 75 arch/x86/kernel/cpu/cpuid-deps.c static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) feature 83 arch/x86/kernel/cpu/cpuid-deps.c clear_cpu_cap(&boot_cpu_data, feature); feature 84 arch/x86/kernel/cpu/cpuid-deps.c set_bit(feature, (unsigned long *)cpu_caps_cleared); feature 86 arch/x86/kernel/cpu/cpuid-deps.c clear_bit(feature, (unsigned long *)c->x86_capability); feature 93 arch/x86/kernel/cpu/cpuid-deps.c static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) feature 99 arch/x86/kernel/cpu/cpuid-deps.c if (WARN_ON(feature >= MAX_FEATURE_BITS)) feature 102 arch/x86/kernel/cpu/cpuid-deps.c clear_feature(c, feature); feature 106 arch/x86/kernel/cpu/cpuid-deps.c __set_bit(feature, disable); feature 111 arch/x86/kernel/cpu/cpuid-deps.c for (d = cpuid_deps; d->feature; d++) { feature 114 arch/x86/kernel/cpu/cpuid-deps.c if (__test_and_set_bit(d->feature, disable)) feature 118 arch/x86/kernel/cpu/cpuid-deps.c clear_feature(c, d->feature); feature 123 arch/x86/kernel/cpu/cpuid-deps.c void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) feature 125 arch/x86/kernel/cpu/cpuid-deps.c do_clear_cpu_cap(c, feature); feature 128 arch/x86/kernel/cpu/cpuid-deps.c void setup_clear_cpu_cap(unsigned int feature) feature 130 arch/x86/kernel/cpu/cpuid-deps.c do_clear_cpu_cap(NULL, feature); feature 38 arch/x86/kernel/cpu/match.c m->vendor | m->family | m->model | m->steppings | m->feature; feature 49 arch/x86/kernel/cpu/match.c if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) feature 14 arch/x86/kernel/cpu/scattered.c u16 feature; feature 53 arch/x86/kernel/cpu/scattered.c for (cb = cpuid_bits; cb->feature; cb++) { feature 66 arch/x86/kernel/cpu/scattered.c set_cpu_cap(c, cb->feature); feature 482 arch/x86/power/cpu.c .feature = X86_FEATURE_ANY, feature 489 arch/x86/power/cpu.c .feature = X86_FEATURE_ANY, feature 557 drivers/ata/libata-acpi.c tf->feature = gtf->tf[0]; /* 0x1f1 */ feature 575 drivers/ata/libata-acpi.c tf->feature == SETFEATURES_XFER) feature 586 drivers/ata/libata-acpi.c tf->feature == ATA_DCO_FREEZE_LOCK) feature 596 drivers/ata/libata-acpi.c (tf->feature == ATA_SET_MAX_LOCK || feature 597 drivers/ata/libata-acpi.c tf->feature == ATA_SET_MAX_FREEZE_LOCK)) feature 602 drivers/ata/libata-acpi.c tf->feature == SETFEATURES_SATA_ENABLE) { feature 684 drivers/ata/libata-acpi.c rtf.command, rtf.feature); feature 692 drivers/ata/libata-acpi.c err_mask, rtf.command, rtf.feature); feature 705 drivers/ata/libata-acpi.c tf.command, tf.feature, tf.nsect, tf.lbal, feature 546 drivers/ata/libata-core.c fis[3] = tf->feature; feature 583 drivers/ata/libata-core.c tf->feature = fis[3]; /* error */ feature 761 drivers/ata/libata-core.c tf->feature = n_block & 0xff; feature 1241 drivers/ata/libata-core.c if (err_mask == AC_ERR_DEV && (tf.feature & ATA_ABORTED)) feature 1305 drivers/ata/libata-core.c (tf.feature & (ATA_ABORTED | ATA_IDNF))) feature 1601 drivers/ata/libata-core.c qc->tf.feature |= ATAPI_DMADIR; feature 1902 drivers/ata/libata-core.c if ((err_mask == AC_ERR_DEV) && (tf.feature & ATA_ABORTED)) { feature 4819 drivers/ata/libata-core.c tf.feature = SETFEATURES_XFER; feature 4853 drivers/ata/libata-core.c unsigned int ata_dev_set_feature(struct ata_device *dev, u8 enable, u8 feature) feature 4864 drivers/ata/libata-core.c tf.feature = enable; feature 4867 drivers/ata/libata-core.c tf.nsect = feature; feature 4915 drivers/ata/libata-core.c if (err_mask == AC_ERR_DEV && (tf.feature & ATA_ABORTED)) feature 5294 drivers/ata/libata-core.c if (qc->tf.feature != SETFEATURES_WC_ON && feature 5295 drivers/ata/libata-core.c qc->tf.feature != SETFEATURES_WC_OFF && feature 5296 drivers/ata/libata-core.c qc->tf.feature != SETFEATURES_RA_ON && feature 5297 drivers/ata/libata-core.c qc->tf.feature != SETFEATURES_RA_OFF) feature 1462 drivers/ata/libata-eh.c tf->feature = buf[3]; feature 1505 drivers/ata/libata-eh.c *r_sense_key = tf.feature >> 4; feature 1601 drivers/ata/libata-eh.c tf.feature |= ATAPI_PKT_DMA; feature 1754 drivers/ata/libata-eh.c u8 stat = tf->command, err = tf->feature; feature 1791 drivers/ata/libata-eh.c qc->result_tf.feature >> 4); feature 2560 drivers/ata/libata-eh.c cmd->command, cmd->feature, cmd->nsect, feature 2565 drivers/ata/libata-eh.c res->command, res->feature, res->nsect, feature 2587 drivers/ata/libata-eh.c (res->feature & (ATA_ICRC | ATA_UNC | ATA_AMNF | feature 2590 drivers/ata/libata-eh.c res->feature & ATA_ICRC ? "ICRC " : "", feature 2591 drivers/ata/libata-eh.c res->feature & ATA_UNC ? "UNC " : "", feature 2592 drivers/ata/libata-eh.c res->feature & ATA_AMNF ? "AMNF " : "", feature 2593 drivers/ata/libata-eh.c res->feature & ATA_IDNF ? "IDNF " : "", feature 2594 drivers/ata/libata-eh.c res->feature & ATA_ABORTED ? "ABRT " : ""); feature 3086 drivers/ata/libata-eh.c tf.feature = 0x44; feature 49 drivers/ata/libata-pmp.c tf.feature = reg; feature 85 drivers/ata/libata-pmp.c tf.feature = reg; feature 888 drivers/ata/libata-scsi.c u8 stat = tf->command, err = tf->feature; feature 1087 drivers/ata/libata-scsi.c ata_to_sense_error(qc->ap->print_id, tf->command, tf->feature, feature 1117 drivers/ata/libata-scsi.c desc[3] = tf->feature; /* == error reg */ feature 1138 drivers/ata/libata-scsi.c desc[0] = tf->feature; feature 1191 drivers/ata/libata-scsi.c ata_to_sense_error(qc->ap->print_id, tf->command, tf->feature, feature 2825 drivers/ata/libata-scsi.c cmd->sense_buffer[2] = qc->tf.feature >> 4; feature 2843 drivers/ata/libata-scsi.c qc->tf.feature |= ATAPI_PKT_DMA; feature 3019 drivers/ata/libata-scsi.c qc->tf.feature |= ATAPI_PKT_DMA; feature 3024 drivers/ata/libata-scsi.c qc->tf.feature |= ATAPI_DMADIR; feature 3190 drivers/ata/libata-scsi.c tf->feature = cdb[4]; feature 3203 drivers/ata/libata-scsi.c tf->feature = cdb[3]; feature 3226 drivers/ata/libata-scsi.c tf->feature = cdb[21]; feature 3352 drivers/ata/libata-scsi.c tf->feature == SETFEATURES_XFER) { feature 3520 drivers/ata/libata-scsi.c tf->feature = size / 512; feature 3526 drivers/ata/libata-scsi.c tf->feature = ATA_DSM_TRIM; feature 3739 drivers/ata/libata-scsi.c tf->feature = sect & 0xff; feature 3744 drivers/ata/libata-scsi.c tf->feature = ATA_SUBCMD_ZAC_MGMT_IN_REPORT_ZONES; feature 3826 drivers/ata/libata-scsi.c tf->feature = ATA_SUBCMD_NCQ_NON_DATA_ZAC_MGMT_OUT; feature 3832 drivers/ata/libata-scsi.c tf->feature = sa; feature 3908 drivers/ata/libata-scsi.c tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; feature 4174 drivers/ata/libata-scsi.c tf->feature = secp; feature 425 drivers/ata/libata-sff.c iowrite8(tf->feature, ioaddr->feature_addr); feature 431 drivers/ata/libata-sff.c tf->feature, feature 465 drivers/ata/libata-sff.c tf->feature = ioread8(ioaddr->error_addr); feature 1825 drivers/ata/libata-sff.c err = tf.feature; feature 142 drivers/ata/libata-trace.c unsigned char feature, unsigned char hob_nsect) feature 168 drivers/ata/libata-trace.c switch (feature) { feature 184 drivers/ata/libata-trace.c switch (feature) { feature 191 drivers/ata/libata-trace.c switch (feature) { feature 68 drivers/ata/libata.h u8 enable, u8 feature); feature 399 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, tf->feature, feature 420 drivers/ata/pata_ep93xx.c tf->feature = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_FEATURE); feature 269 drivers/ata/pata_ns87415.c tf->feature = ioread8(ioaddr->error_addr); feature 389 drivers/ata/pata_octeon_cf.c tf->feature = blob >> 8; feature 490 drivers/ata/pata_octeon_cf.c __raw_writew(tf->feature << 8, base + 0xc); feature 494 drivers/ata/pata_octeon_cf.c tf->feature, feature 196 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->feature, ioaddr->feature_addr); feature 216 drivers/ata/pata_samsung_cf.c tf->feature = ata_inb(ap->host, ioaddr->error_addr); feature 426 drivers/ata/pata_via.c iowrite8(tf->feature, ioaddr->feature_addr); feature 432 drivers/ata/pata_via.c tf->feature, feature 322 drivers/ata/sata_dwc_460ex.c tf->feature, tf->nsect, tf->lbal, tf->lbam, tf->lbah); feature 200 drivers/ata/sata_inic162x.c u8 feature; /* ATA Feature */ feature 507 drivers/ata/sata_inic162x.c cpb->feature = qc->tf.feature; feature 560 drivers/ata/sata_inic162x.c tf->feature = readb(port_base + PORT_TF_FEATURE); feature 587 drivers/ata/sata_inic162x.c rtf->feature = tf.feature; feature 2094 drivers/ata/sata_mv.c mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); feature 2169 drivers/ata/sata_mv.c (tf->feature << 24) feature 779 drivers/ata/sata_nv.c cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature); feature 781 drivers/ata/sata_nv.c cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature | WNB); feature 494 drivers/ata/sata_promise.c unsigned int dev_sel, feature; feature 534 drivers/ata/sata_promise.c feature = PDC_FEATURE_ATAPI_PIO; feature 536 drivers/ata/sata_promise.c feature = PDC_FEATURE_ATAPI_DMA; feature 539 drivers/ata/sata_promise.c buf[21] = feature; feature 95 drivers/ata/sata_promise.h buf[i++] = tf->feature; feature 119 drivers/ata/sata_promise.h buf[i++] = tf->feature; feature 395 drivers/ata/sata_rcar.c iowrite32(tf->feature, ioaddr->feature_addr); feature 401 drivers/ata/sata_rcar.c tf->feature, feature 421 drivers/ata/sata_rcar.c tf->feature = ioread32(ioaddr->error_addr); feature 169 drivers/ata/sata_svw.c writew(tf->feature | (((u16)tf->hob_feature) << 8), feature 180 drivers/ata/sata_svw.c writew(tf->feature, ioaddr->feature_addr); feature 197 drivers/ata/sata_svw.c u16 nsect, lbal, lbam, lbah, feature; feature 201 drivers/ata/sata_svw.c feature = readw(ioaddr->error_addr); feature 207 drivers/ata/sata_svw.c tf->feature = feature; feature 214 drivers/ata/sata_svw.c tf->hob_feature = feature >> 8; feature 158 drivers/ata/sata_vsc.c writew(tf->feature | (((u16)tf->hob_feature) << 8), feature 169 drivers/ata/sata_vsc.c writew(tf->feature, ioaddr->feature_addr); feature 186 drivers/ata/sata_vsc.c u16 nsect, lbal, lbam, lbah, feature; feature 190 drivers/ata/sata_vsc.c feature = readw(ioaddr->error_addr); feature 196 drivers/ata/sata_vsc.c tf->feature = feature; feature 203 drivers/ata/sata_vsc.c tf->hob_feature = feature >> 8; feature 191 drivers/crypto/chelsio/chtls/chtls_main.c tlsdev->feature = chtls_inline_feature; feature 207 drivers/dma/fsl-qdma.c u32 feature; feature 1161 drivers/dma/fsl-qdma.c fsl_qdma->feature = of_property_read_bool(np, "big-endian"); feature 104 drivers/dma/fsldma.c snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) feature 114 drivers/dma/fsldma.c snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) feature 124 drivers/dma/fsldma.c snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX) feature 133 drivers/dma/fsldma.c snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX) feature 150 drivers/dma/fsldma.c switch (chan->feature & FSL_DMA_IP_MASK) { feature 189 drivers/dma/fsldma.c if (chan->feature & FSL_DMA_CHAN_PAUSE_EXT) { feature 196 drivers/dma/fsldma.c if (chan->feature & FSL_DMA_CHAN_START_EXT) { feature 219 drivers/dma/fsldma.c if ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) { feature 345 drivers/dma/fsldma.c chan->feature |= FSL_DMA_CHAN_PAUSE_EXT; feature 347 drivers/dma/fsldma.c chan->feature &= ~FSL_DMA_CHAN_PAUSE_EXT; feature 363 drivers/dma/fsldma.c chan->feature |= FSL_DMA_CHAN_START_EXT; feature 365 drivers/dma/fsldma.c chan->feature &= ~FSL_DMA_CHAN_START_EXT; feature 607 drivers/dma/fsldma.c if ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) { feature 1006 drivers/dma/fsldma.c gsr = (fdev->feature & FSL_DMA_BIG_ENDIAN) ? in_be32(fdev->regs) feature 1106 drivers/dma/fsldma.c struct device_node *node, u32 feature, const char *compatible) feature 1133 drivers/dma/fsldma.c chan->feature = feature; feature 1134 drivers/dma/fsldma.c if (!fdev->feature) feature 1135 drivers/dma/fsldma.c fdev->feature = chan->feature; feature 1141 drivers/dma/fsldma.c WARN_ON(fdev->feature != chan->feature); feature 1163 drivers/dma/fsldma.c switch (chan->feature & FSL_DMA_IP_MASK) { feature 125 drivers/dma/fsldma.h u32 feature; /* The same as DMA channels */ feature 176 drivers/dma/fsldma.h u32 feature; feature 248 drivers/dma/fsldma.h (((fsl_dma)->feature & FSL_DMA_BIG_ENDIAN) ? \ feature 252 drivers/dma/fsldma.h (((fsl_dma)->feature & FSL_DMA_BIG_ENDIAN) ? \ feature 257 drivers/dma/fsldma.h (((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \ feature 261 drivers/dma/fsldma.h (((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \ feature 341 drivers/firmware/psci/psci.c int feature = psci_features(psci_function_id[PSCI_FN_CPU_SUSPEND]); feature 343 drivers/firmware/psci/psci.c if (feature != PSCI_RET_NOT_SUPPORTED) feature 344 drivers/firmware/psci/psci.c psci_cpu_suspend_feature = feature; feature 390 drivers/firmware/psci/psci.c int feature; feature 392 drivers/firmware/psci/psci.c feature = psci_features(ARM_SMCCC_VERSION_FUNC_ID); feature 394 drivers/firmware/psci/psci.c if (feature != PSCI_RET_NOT_SUPPORTED) { feature 209 drivers/fpga/dfl-afu-error.c struct dfl_feature *feature) feature 217 drivers/fpga/dfl-afu-error.c struct dfl_feature *feature) feature 404 drivers/fpga/dfl-afu-main.c struct dfl_feature *feature) feature 412 drivers/fpga/dfl-afu-main.c port_hdr_ioctl(struct platform_device *pdev, struct dfl_feature *feature, feature 491 drivers/fpga/dfl-afu-main.c struct dfl_feature *feature) feature 493 drivers/fpga/dfl-afu-main.c struct resource *res = &pdev->resource[feature->resource_index]; feature 512 drivers/fpga/dfl-afu-main.c struct dfl_feature *feature) feature 514 drivers/fpga/dfl-afu-main.c struct resource *res = &pdev->resource[feature->resource_index]; feature 338 drivers/fpga/dfl-fme-error.c struct dfl_feature *feature) feature 346 drivers/fpga/dfl-fme-error.c struct dfl_feature *feature) feature 160 drivers/fpga/dfl-fme-main.c struct dfl_feature *feature, feature 178 drivers/fpga/dfl-fme-pr.c struct dfl_feature *feature) feature 184 drivers/fpga/dfl-fme-pr.c if (!feature->ioaddr) feature 187 drivers/fpga/dfl-fme-pr.c mgr_pdata.ioaddr = feature->ioaddr; feature 374 drivers/fpga/dfl-fme-pr.c struct dfl_feature *feature) feature 396 drivers/fpga/dfl-fme-pr.c mgr = dfl_fme_create_mgr(pdata, feature); feature 444 drivers/fpga/dfl-fme-pr.c struct dfl_feature *feature) feature 457 drivers/fpga/dfl-fme-pr.c struct dfl_feature *feature, feature 258 drivers/fpga/dfl.c struct dfl_feature *feature; feature 260 drivers/fpga/dfl.c dfl_fpga_dev_for_each_feature(pdata, feature) feature 261 drivers/fpga/dfl.c if (feature->ops) { feature 262 drivers/fpga/dfl.c if (feature->ops->uinit) feature 263 drivers/fpga/dfl.c feature->ops->uinit(pdev, feature); feature 264 drivers/fpga/dfl.c feature->ops = NULL; feature 271 drivers/fpga/dfl.c struct dfl_feature *feature, feature 277 drivers/fpga/dfl.c ret = drv->ops->init(pdev, feature); feature 282 drivers/fpga/dfl.c feature->ops = drv->ops; feature 287 drivers/fpga/dfl.c static bool dfl_feature_drv_match(struct dfl_feature *feature, feature 294 drivers/fpga/dfl.c if (ids->id == feature->id) feature 317 drivers/fpga/dfl.c struct dfl_feature *feature; feature 321 drivers/fpga/dfl.c dfl_fpga_dev_for_each_feature(pdata, feature) { feature 322 drivers/fpga/dfl.c if (dfl_feature_drv_match(feature, drv)) { feature 324 drivers/fpga/dfl.c feature, drv); feature 522 drivers/fpga/dfl.c struct dfl_feature *feature = &pdata->features[index]; feature 525 drivers/fpga/dfl.c feature->id = finfo->fid; feature 526 drivers/fpga/dfl.c feature->resource_index = index; feature 527 drivers/fpga/dfl.c feature->ioaddr = finfo->ioaddr; feature 271 drivers/fpga/dfl.h int (*init)(struct platform_device *pdev, struct dfl_feature *feature); feature 273 drivers/fpga/dfl.h struct dfl_feature *feature); feature 274 drivers/fpga/dfl.h long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature, feature 306 drivers/fpga/dfl.h #define dfl_fpga_dev_for_each_feature(pdata, feature) \ feature 307 drivers/fpga/dfl.h for ((feature) = (pdata)->features; \ feature 308 drivers/fpga/dfl.h (feature) < (pdata)->features + (pdata)->num; (feature)++) feature 314 drivers/fpga/dfl.h struct dfl_feature *feature; feature 316 drivers/fpga/dfl.h dfl_fpga_dev_for_each_feature(pdata, feature) feature 317 drivers/fpga/dfl.h if (feature->id == id) feature 318 drivers/fpga/dfl.h return feature; feature 326 drivers/fpga/dfl.h struct dfl_feature *feature = dfl_get_feature_by_id(dev, id); feature 328 drivers/fpga/dfl.h if (feature && feature->ioaddr) feature 329 drivers/fpga/dfl.h return feature->ioaddr; feature 211 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->vce.fb_version; feature 215 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = 0; feature 219 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = 0; feature 223 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = 0; feature 227 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.me_feature_version; feature 231 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.pfp_feature_version; feature 235 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.ce_feature_version; feature 239 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.rlc_feature_version; feature 243 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.rlc_srlc_feature_version; feature 247 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.rlc_srlg_feature_version; feature 251 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.rlc_srls_feature_version; feature 256 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.mec_feature_version; feature 259 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->gfx.mec2_feature_version; feature 265 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = 0; feature 272 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->psp.ta_xgmi_ucode_version; feature 275 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->psp.ta_ras_ucode_version; feature 282 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->sdma.instance[query_fw->index].feature_version; feature 286 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->psp.sos_feature_version; feature 290 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->psp.asd_feature_version; feature 294 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = 0; feature 1240 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1248 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1256 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1264 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1272 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1280 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1288 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1296 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1304 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1312 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1321 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1331 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1340 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1349 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1358 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c i ? "RAS" : "XGMI", fw_info.feature, fw_info.ver); feature 1367 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1377 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c i, fw_info.feature, fw_info.ver); feature 1386 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 1394 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info.feature, fw_info.ver); feature 4486 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c goto feature; feature 4514 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c feature: feature 894 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c goto feature; feature 927 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c feature: feature 1755 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c goto feature; feature 1786 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c feature: feature 452 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage = THREE_PERCENT_OF_10000; feature 458 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage = THREE_PERCENT_OF_10000; feature 511 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage = THREE_PERCENT_OF_10000; feature 515 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage = feature 521 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ++info->feature.memory_clk_ss_percentage; feature 522 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage /= 2; feature 534 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage = THREE_PERCENT_OF_10000; feature 538 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage = feature 544 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ++info->feature.engine_clk_ss_percentage; feature 545 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage /= 2; feature 596 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage = THREE_PERCENT_OF_10000; feature 600 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage = feature 606 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ++info->feature.memory_clk_ss_percentage; feature 607 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.memory_clk_ss_percentage /= 2; feature 619 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage = THREE_PERCENT_OF_10000; feature 623 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage = feature 629 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ++info->feature.engine_clk_ss_percentage; feature 630 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->feature.engine_clk_ss_percentage /= 2; feature 170 drivers/gpu/drm/amd/display/include/grph_object_ctrl_defs.h } feature; feature 53 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c const char *smu_get_feature_name(struct smu_context *smu, enum smu_feature_mask feature) feature 55 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (feature < 0 || feature >= SMU_FEATURE_COUNT) feature 57 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c return __smu_feature_names[feature]; feature 549 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_feature *feature = &smu->smu_feature; feature 555 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_lock(&feature->mutex); feature 556 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c bitmap_zero(feature->allowed, SMU_FEATURE_MAX); feature 557 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_unlock(&feature->mutex); feature 564 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_lock(&feature->mutex); feature 565 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c bitmap_or(feature->allowed, feature->allowed, feature 567 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c feature->feature_num); feature 568 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_unlock(&feature->mutex); feature 611 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_feature *feature = &smu->smu_feature; feature 622 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c WARN_ON(feature_id > feature->feature_num); feature 624 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_lock(&feature->mutex); feature 625 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = test_bit(feature_id, feature->enabled); feature 626 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_unlock(&feature->mutex); feature 634 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_feature *feature = &smu->smu_feature; feature 643 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c WARN_ON(feature_id > feature->feature_num); feature 647 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_lock(&feature->mutex); feature 653 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c test_and_set_bit(feature_id, feature->enabled); feature 655 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c test_and_clear_bit(feature_id, feature->enabled); feature 658 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_unlock(&feature->mutex); feature 665 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_feature *feature = &smu->smu_feature; feature 673 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c WARN_ON(feature_id > feature->feature_num); feature 675 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_lock(&feature->mutex); feature 676 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = test_bit(feature_id, feature->supported); feature 677 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_unlock(&feature->mutex); feature 686 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_feature *feature = &smu->smu_feature; feature 694 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c WARN_ON(feature_id > feature->feature_num); feature 696 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_lock(&feature->mutex); feature 698 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c test_and_set_bit(feature_id, feature->supported); feature 700 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c test_and_clear_bit(feature_id, feature->supported); feature 701 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c mutex_unlock(&feature->mutex); feature 834 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h const char *smu_get_feature_name(struct smu_context *smu, enum smu_feature_mask feature); feature 257 drivers/gpu/drm/amd/powerplay/inc/smu_types.h #define __SMU_DUMMY_MAP(feature) SMU_FEATURE_##feature##_BIT feature 41 drivers/gpu/drm/amd/powerplay/navi10_ppt.c #define FEATURE_MASK(feature) (1ULL << feature) feature 848 drivers/gpu/drm/amd/powerplay/smu_v11_0.c struct smu_feature *feature = &smu->smu_feature; feature 852 drivers/gpu/drm/amd/powerplay/smu_v11_0.c mutex_lock(&feature->mutex); feature 853 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (bitmap_empty(feature->allowed, SMU_FEATURE_MAX) || feature->feature_num < 64) feature 856 drivers/gpu/drm/amd/powerplay/smu_v11_0.c bitmap_copy((unsigned long *)feature_mask, feature->allowed, 64); feature 869 drivers/gpu/drm/amd/powerplay/smu_v11_0.c mutex_unlock(&feature->mutex); feature 905 drivers/gpu/drm/amd/powerplay/smu_v11_0.c struct smu_feature *feature = &smu->smu_feature; feature 920 drivers/gpu/drm/amd/powerplay/smu_v11_0.c bitmap_copy(feature->enabled, (unsigned long *)&feature_mask, feature 921 drivers/gpu/drm/amd/powerplay/smu_v11_0.c feature->feature_num); feature 922 drivers/gpu/drm/amd/powerplay/smu_v11_0.c bitmap_copy(feature->supported, (unsigned long *)&feature_mask, feature 923 drivers/gpu/drm/amd/powerplay/smu_v11_0.c feature->feature_num); feature 588 drivers/gpu/drm/amd/powerplay/vega20_ppt.c #define FEATURE_MASK(feature) (1ULL << feature) feature 35 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c unsigned int feature; feature 414 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c .feature = chipFeatures_PIPE_3D, feature 419 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c .feature = chipFeatures_PIPE_2D, feature 424 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c .feature = chipFeatures_PIPE_VG, feature 437 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c if (gpu->identity.features & meta->feature) feature 453 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c if (!(gpu->identity.features & meta->feature)) feature 100 drivers/gpu/drm/rcar-du/rcar_du_drv.h unsigned int feature) feature 102 drivers/gpu/drm/rcar-du/rcar_du_drv.h return rcdu->info->features & feature; feature 1161 drivers/gpu/drm/rockchip/rockchip_drm_vop.c !(vop_data->feature & VOP_FEATURE_OUTPUT_RGB10)) feature 1889 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (vop->data->feature & VOP_FEATURE_INTERNAL_RGB) { feature 176 drivers/gpu/drm/rockchip/rockchip_drm_vop.h u64 feature; feature 282 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_INTERNAL_RGB, feature 297 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_INTERNAL_RGB, feature 506 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_INTERNAL_RGB, feature 642 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_OUTPUT_RGB10, feature 810 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_OUTPUT_RGB10, feature 855 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_OUTPUT_RGB10, feature 922 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .feature = VOP_FEATURE_OUTPUT_RGB10, feature 835 drivers/hid/hid-logitech-hidpp.c static int hidpp_root_get_feature(struct hidpp_device *hidpp, u16 feature, feature 840 drivers/hid/hid-logitech-hidpp.c u8 params[2] = { feature >> 8, feature & 0x00FF }; feature 581 drivers/hid/hid-magicmouse.c const u8 *feature; feature 652 drivers/hid/hid-magicmouse.c feature = feature_mt_trackpad2_bt; feature 655 drivers/hid/hid-magicmouse.c feature = feature_mt_trackpad2_usb; feature 659 drivers/hid/hid-magicmouse.c feature = feature_mt; feature 662 drivers/hid/hid-magicmouse.c buf = kmemdup(feature, feature_size, GFP_KERNEL); feature 280 drivers/hid/hid-sensor-custom.c bool feature = false; feature 286 drivers/hid/hid-sensor-custom.c feature = true; feature 301 drivers/hid/hid-sensor-custom.c if (feature) { feature 335 drivers/ide/ide-acpi.c memcpy(&cmd.tf.feature, gtf, REGS_PER_GTF); feature 565 drivers/ide/ide-atapi.c cmd->tf.feature = dma; /* Use PIO/DMA */ feature 508 drivers/ide/ide-disk.c static int ide_do_setfeature(ide_drive_t *drive, u8 feature, u8 nsect) feature 513 drivers/ide/ide-disk.c cmd.tf.feature = feature; feature 16 drivers/ide/ide-disk_proc.c tf->feature = ATA_SMART_ENABLE; feature 32 drivers/ide/ide-disk_proc.c tf->feature = sub_cmd; feature 103 drivers/ide/ide-io-std.c tf_outb(tf->feature, io_ports->feature_addr); feature 142 drivers/ide/ide-ioctls.c tf->feature = args[2]; feature 167 drivers/ide/ide-ioctls.c tf->feature == SETFEATURES_XFER && feature 205 drivers/ide/ide-ioctls.c memcpy(&cmd.tf.feature, &args[1], 6); feature 213 drivers/ide/ide-ioctls.c memcpy(&args[1], &cmd.tf.feature, 6); feature 380 drivers/ide/ide-iops.c tf.feature = SETFEATURES_XFER; feature 75 drivers/ide/ide-park.c tf->feature = 0x44; feature 197 drivers/ide/ide-proc.c cmd.tf.feature = SETFEATURES_XFER; feature 51 drivers/ide/ide-taskfile.c s, cmd->tf.feature, cmd->tf.nsect, feature 115 drivers/mfd/cros_ec_dev.c static int cros_ec_check_features(struct cros_ec_dev *ec, int feature) feature 144 drivers/mfd/cros_ec_dev.c return ec->features[feature / 32] & EC_FEATURE_MASK_0(feature); feature 1732 drivers/mtd/nand/raw/nand_base.c static int nand_set_features_op(struct nand_chip *chip, u8 feature, feature 1743 drivers/mtd/nand/raw/nand_base.c NAND_OP_ADDR(1, &feature, PSEC_TO_NSEC(sdr->tADL_min)), feature 1753 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_SET_FEATURES, feature, -1); feature 1779 drivers/mtd/nand/raw/nand_base.c static int nand_get_features_op(struct nand_chip *chip, u8 feature, feature 1790 drivers/mtd/nand/raw/nand_base.c NAND_OP_ADDR(1, &feature, PSEC_TO_NSEC(sdr->tWB_max)), feature 1801 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_GET_FEATURES, feature, -1); feature 21 drivers/mtd/nand/raw/nand_macronix.c u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; feature 28 drivers/mtd/nand/raw/nand_macronix.c feature[0] = mode; feature 29 drivers/mtd/nand/raw/nand_macronix.c return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); feature 71 drivers/mtd/nand/raw/nand_micron.c u8 feature[ONFI_SUBFEATURE_PARAM_LEN] = {retry_mode}; feature 73 drivers/mtd/nand/raw/nand_micron.c return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); feature 169 drivers/mtd/nand/raw/nand_micron.c u8 feature[ONFI_SUBFEATURE_PARAM_LEN] = { 0, }; feature 179 drivers/mtd/nand/raw/nand_micron.c feature[0] |= ONFI_FEATURE_ON_DIE_ECC_EN; feature 181 drivers/mtd/nand/raw/nand_micron.c ret = nand_set_features(chip, ONFI_FEATURE_ON_DIE_ECC, feature); feature 120 drivers/net/can/usb/gs_usb.c u32 feature; feature 863 drivers/net/can/usb/gs_usb.c if (bt_const->feature & GS_CAN_FEATURE_LISTEN_ONLY) feature 866 drivers/net/can/usb/gs_usb.c if (bt_const->feature & GS_CAN_FEATURE_LOOP_BACK) feature 869 drivers/net/can/usb/gs_usb.c if (bt_const->feature & GS_CAN_FEATURE_TRIPLE_SAMPLE) feature 872 drivers/net/can/usb/gs_usb.c if (bt_const->feature & GS_CAN_FEATURE_ONE_SHOT) feature 878 drivers/net/can/usb/gs_usb.c if (bt_const->feature & GS_CAN_FEATURE_IDENTIFY) feature 1271 drivers/net/ethernet/cisco/enic/vnic_dev.c int vnic_dev_get_supported_feature_ver(struct vnic_dev *vdev, u8 feature, feature 1274 drivers/net/ethernet/cisco/enic/vnic_dev.c u64 a0 = feature; feature 185 drivers/net/ethernet/cisco/enic/vnic_dev.h int vnic_dev_get_supported_feature_ver(struct vnic_dev *vdev, u8 feature, feature 361 drivers/net/ethernet/ibm/emac/core.h unsigned long feature) feature 363 drivers/net/ethernet/ibm/emac/core.h return (EMAC_FTRS_ALWAYS & feature) || feature 364 drivers/net/ethernet/ibm/emac/core.h (EMAC_FTRS_POSSIBLE & dev->features & feature); feature 249 drivers/net/ethernet/ibm/emac/mal.h unsigned long feature) feature 251 drivers/net/ethernet/ibm/emac/mal.h return (MAL_FTRS_ALWAYS & feature) || feature 252 drivers/net/ethernet/ibm/emac/mal.h (MAL_FTRS_POSSIBLE & dev->features & feature); feature 787 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define DEV_FEATURE_CHANGED(dev, new_features, feature) \ feature 788 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h ((dev->features & feature) ^ (new_features & feature)) feature 3648 drivers/net/ethernet/mellanox/mlx5/core/en_main.c #define MLX5E_SET_FEATURE(features, feature, enable) \ feature 3651 drivers/net/ethernet/mellanox/mlx5/core/en_main.c *features |= feature; \ feature 3653 drivers/net/ethernet/mellanox/mlx5/core/en_main.c *features &= ~feature; \ feature 3797 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev_features_t feature, feature 3801 drivers/net/ethernet/mellanox/mlx5/core/en_main.c bool enable = !!(wanted_features & feature); feature 3804 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!(changes & feature)) feature 3810 drivers/net/ethernet/mellanox/mlx5/core/en_main.c enable ? "Enable" : "Disable", &feature, err); feature 3814 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5E_SET_FEATURE(features, feature, enable); feature 3823 drivers/net/ethernet/mellanox/mlx5/core/en_main.c #define MLX5E_HANDLE_FEATURE(feature, handler) \ feature 3824 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_handle_feature(netdev, &oper_features, features, feature, handler) feature 1797 drivers/net/ethernet/mellanox/mlxsw/spectrum.c netdev_features_t feature, feature 1801 drivers/net/ethernet/mellanox/mlxsw/spectrum.c bool enable = !!(wanted_features & feature); feature 1804 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!(changes & feature)) feature 1810 drivers/net/ethernet/mellanox/mlxsw/spectrum.c enable ? "Enable" : "Disable", &feature, err); feature 1815 drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev->features |= feature; feature 1817 drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev->features &= ~feature; feature 7786 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_dbg_feature *feature = feature 7798 drivers/net/ethernet/qlogic/qed/qed_debug.c results_buf_size(p_hwfn, (u32 *)feature->dump_buf, feature 7799 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dumped_dwords, &text_size_bytes); feature 7821 drivers/net/ethernet/qlogic/qed/qed_debug.c print_results(p_hwfn, (u32 *)feature->dump_buf, feature 7822 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dumped_dwords, text_buf); feature 7842 drivers/net/ethernet/qlogic/qed/qed_debug.c vfree(feature->dump_buf); feature 7843 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dump_buf = text_buf; feature 7844 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->buf_size = text_size_bytes; feature 7845 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dumped_dwords = text_size_bytes / 4; feature 7854 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_dbg_feature *feature = feature 7866 drivers/net/ethernet/qlogic/qed/qed_debug.c if (feature->dump_buf) { feature 7867 drivers/net/ethernet/qlogic/qed/qed_debug.c vfree(feature->dump_buf); feature 7868 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dump_buf = NULL; feature 7878 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->buf_size = buf_size_dwords * sizeof(u32); feature 7879 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dump_buf = vmalloc(feature->buf_size); feature 7880 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!feature->dump_buf) feature 7884 drivers/net/ethernet/qlogic/qed/qed_debug.c perform_dump(p_hwfn, p_ptt, (u32 *)feature->dump_buf, feature 7885 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->buf_size / sizeof(u32), feature 7886 drivers/net/ethernet/qlogic/qed/qed_debug.c &feature->dumped_dwords); feature 8058 drivers/net/ethernet/qlogic/qed/qed_debug.c static u32 qed_calc_regdump_header(enum debug_print_features feature, feature 8064 drivers/net/ethernet/qlogic/qed/qed_debug.c return feature_size | (feature << REGDUMP_HEADER_FEATURE_SHIFT) | feature 8290 drivers/net/ethernet/qlogic/qed/qed_debug.c enum qed_dbg_features feature, u32 *num_dumped_bytes) feature 8295 drivers/net/ethernet/qlogic/qed/qed_debug.c &cdev->dbg_params.features[feature]; feature 8306 drivers/net/ethernet/qlogic/qed/qed_debug.c dbg_rc = qed_dbg_dump(p_hwfn, p_ptt, feature); feature 8318 drivers/net/ethernet/qlogic/qed/qed_debug.c *num_dumped_bytes = cdev->dbg_params.features[feature].dumped_dwords * feature 8326 drivers/net/ethernet/qlogic/qed/qed_debug.c int qed_dbg_feature_size(struct qed_dev *cdev, enum qed_dbg_features feature) feature 8332 drivers/net/ethernet/qlogic/qed/qed_debug.c &cdev->dbg_params.features[feature]; feature 8339 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_features_lookup[feature].get_size(p_hwfn, p_ptt, feature 8375 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_dbg_feature *feature = NULL; feature 8382 drivers/net/ethernet/qlogic/qed/qed_debug.c feature = &cdev->dbg_params.features[feature_idx]; feature 8383 drivers/net/ethernet/qlogic/qed/qed_debug.c if (feature->dump_buf) { feature 8384 drivers/net/ethernet/qlogic/qed/qed_debug.c vfree(feature->dump_buf); feature 8385 drivers/net/ethernet/qlogic/qed/qed_debug.c feature->dump_buf = NULL; feature 48 drivers/net/ethernet/qlogic/qed/qed_debug.h enum qed_dbg_features feature, u32 *num_dumped_bytes); feature 49 drivers/net/ethernet/qlogic/qed/qed_debug.h int qed_dbg_feature_size(struct qed_dev *cdev, enum qed_dbg_features feature); feature 4127 drivers/net/ethernet/qlogic/qed/qed_sriov.c u64 feature; feature 4143 drivers/net/ethernet/qlogic/qed/qed_sriov.c feature = BIT(VFPF_BULLETIN_MAC_ADDR); feature 4148 drivers/net/ethernet/qlogic/qed/qed_sriov.c feature = BIT(MAC_ADDR_FORCED); feature 4156 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap |= feature; feature 4158 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_configure_vport_forced(p_hwfn, vf_info, feature); feature 4164 drivers/net/ethernet/qlogic/qed/qed_sriov.c u64 feature; feature 4185 drivers/net/ethernet/qlogic/qed/qed_sriov.c feature = BIT(VFPF_BULLETIN_MAC_ADDR); feature 4188 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap |= feature; feature 4191 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_configure_vport_forced(p_hwfn, vf_info, feature); feature 4200 drivers/net/ethernet/qlogic/qed/qed_sriov.c u64 feature; feature 4215 drivers/net/ethernet/qlogic/qed/qed_sriov.c feature = 1 << VLAN_ADDR_FORCED; feature 4218 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap |= feature; feature 4220 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap &= ~feature; feature 4222 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_configure_vport_forced(p_hwfn, vf_info, feature); feature 314 drivers/net/ethernet/sis/sis190.c u32 feature; feature 1340 drivers/net/ethernet/sis/sis190.c tp->features |= p->feature; feature 245 drivers/net/wireless/ath/carl9170/fwdesc.h static inline bool carl9170fw_supports(__le32 list, u8 feature) feature 247 drivers/net/wireless/ath/carl9170/fwdesc.h return le32_to_cpu(list) & BIT(feature); feature 632 drivers/net/wireless/broadcom/b43/debugfs.c bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature) feature 636 drivers/net/wireless/broadcom/b43/debugfs.c enabled = (dev->dfsentry && dev->dfsentry->dyn_debug[feature]); feature 77 drivers/net/wireless/broadcom/b43/debugfs.h bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature); feature 88 drivers/net/wireless/broadcom/b43/debugfs.h static inline bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature) feature 334 drivers/net/wireless/broadcom/b43legacy/debugfs.c int b43legacy_debug(struct b43legacy_wldev *dev, enum b43legacy_dyndbg feature) feature 336 drivers/net/wireless/broadcom/b43legacy/debugfs.c return !!(dev->dfsentry && dev->dfsentry->dyn_debug[feature]); feature 57 drivers/net/wireless/broadcom/b43legacy/debugfs.h enum b43legacy_dyndbg feature); feature 70 drivers/net/wireless/broadcom/b43legacy/debugfs.h enum b43legacy_dyndbg feature) feature 32 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c enum brcmf_feat_id feature; feature 193 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c id = brcmf_fwcap_map[i].feature; feature 690 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c __le32 feature; feature 196 drivers/net/wireless/ti/wl1251/acx.c struct acx_feature_config *feature; feature 201 drivers/net/wireless/ti/wl1251/acx.c feature = kzalloc(sizeof(*feature), GFP_KERNEL); feature 202 drivers/net/wireless/ti/wl1251/acx.c if (!feature) feature 206 drivers/net/wireless/ti/wl1251/acx.c feature->data_flow_options = data_flow_options; feature 207 drivers/net/wireless/ti/wl1251/acx.c feature->options = 0; feature 210 drivers/net/wireless/ti/wl1251/acx.c feature, sizeof(*feature)); feature 217 drivers/net/wireless/ti/wl1251/acx.c kfree(feature); feature 115 drivers/net/wireless/ti/wlcore/acx.c struct acx_feature_config *feature; feature 120 drivers/net/wireless/ti/wlcore/acx.c feature = kzalloc(sizeof(*feature), GFP_KERNEL); feature 121 drivers/net/wireless/ti/wlcore/acx.c if (!feature) { feature 127 drivers/net/wireless/ti/wlcore/acx.c feature->role_id = wlvif->role_id; feature 128 drivers/net/wireless/ti/wlcore/acx.c feature->data_flow_options = 0; feature 129 drivers/net/wireless/ti/wlcore/acx.c feature->options = 0; feature 132 drivers/net/wireless/ti/wlcore/acx.c feature, sizeof(*feature)); feature 139 drivers/net/wireless/ti/wlcore/acx.c kfree(feature); feature 2073 drivers/net/wireless/ti/wlcore/cmd.c u8 feature, u8 enable, u8 value) feature 2080 drivers/net/wireless/ti/wlcore/cmd.c wlvif->role_id, feature, enable, value); feature 2087 drivers/net/wireless/ti/wlcore/cmd.c cmd->feature = feature; feature 82 drivers/net/wireless/ti/wlcore/cmd.h u8 feature, u8 enable, u8 value); feature 650 drivers/net/wireless/ti/wlcore/cmd.h u8 feature; feature 142 drivers/platform/x86/fujitsu-laptop.c int func, int op, int feature, int state) feature 147 drivers/platform/x86/fujitsu-laptop.c { .integer.type = ACPI_TYPE_INTEGER, .integer.value = feature }, feature 163 drivers/platform/x86/fujitsu-laptop.c func, op, feature, state, (int)value); feature 10379 drivers/platform/x86/thinkpad_acpi.c #define TPACPI_PARAM(feature) \ feature 10380 drivers/platform/x86/thinkpad_acpi.c module_param_call(feature, set_ibm_param, NULL, NULL, 0); \ feature 10381 drivers/platform/x86/thinkpad_acpi.c MODULE_PARM_DESC(feature, "Simulates thinkpad-acpi procfs command at module load, see documentation") feature 670 drivers/s390/block/dasd_alias.c if (unlikely(!(private->features.feature[8] & 0x01))) { feature 1744 drivers/s390/block/dasd_devmap.c dasd_get_feature(struct ccw_device *cdev, int feature) feature 1752 drivers/s390/block/dasd_devmap.c return ((devmap->features & feature) != 0); feature 1760 drivers/s390/block/dasd_devmap.c dasd_set_feature(struct ccw_device *cdev, int feature, int flag) feature 1770 drivers/s390/block/dasd_devmap.c devmap->features |= feature; feature 1772 drivers/s390/block/dasd_devmap.c devmap->features &= ~feature; feature 1178 drivers/s390/block/dasd_eckd.c fcx_in_features = private->features.feature[40] & 0x80; feature 2515 drivers/s390/block/dasd_eckd.c use_prefix = base_priv->features.feature[8] & 0x01; feature 2622 drivers/s390/block/dasd_eckd.c use_prefix = base_priv->features.feature[8] & 0x01; feature 3409 drivers/s390/block/dasd_eckd.c if ((private->features.feature[40] & 0x04) && feature 3683 drivers/s390/block/dasd_eckd.c ras_data->op_flags.guarantee_init = !!(features->feature[56] & 0x01); feature 3879 drivers/s390/block/dasd_eckd.c use_prefix = private->features.feature[8] & 0x01; feature 4557 drivers/s390/block/dasd_eckd.c fcx_multitrack = private->features.feature[40] & 0x20; feature 4566 drivers/s390/block/dasd_eckd.c cmdrtd = private->features.feature[9] & 0x20; feature 4567 drivers/s390/block/dasd_eckd.c cmdwtd = private->features.feature[12] & 0x40; feature 4568 drivers/s390/block/dasd_eckd.c use_prefix = private->features.feature[8] & 0x01; feature 4670 drivers/s390/block/dasd_eckd.c use_prefix = base_priv->features.feature[8] & 0x01; feature 5959 drivers/s390/block/dasd_eckd.c if (!(private->features.feature[14] & 0x80)) feature 383 drivers/s390/block/dasd_eckd.h char feature[256]; feature 1581 drivers/scsi/be2iscsi/be_cmds.c ioctl->feature = BE_CMD_SET_FEATURE_UER; feature 779 drivers/scsi/be2iscsi/be_cmds.h u32 feature; feature 6838 drivers/scsi/ipr.c regs->feature = tf->feature; feature 7133 drivers/scsi/ipr.c tf->feature = g->error; feature 556 drivers/scsi/ipr.h u8 feature; feature 3430 drivers/scsi/lpfc/lpfc_hw.h uint32_t feature:8; feature 3437 drivers/scsi/lpfc/lpfc_hw.h uint32_t feature:8; feature 3523 drivers/scsi/lpfc/lpfc_hw4.h uint32_t feature; feature 1322 drivers/scsi/lpfc/lpfc_mbox.c phba->pcb->feature = FEATURE_INITIAL_SLI2; feature 6155 drivers/scsi/lpfc/lpfc_sli.c uint32_t feature) feature 6165 drivers/scsi/lpfc/lpfc_sli.c switch (feature) { feature 6169 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.feature = LPFC_SET_UE_RECOVERY; feature 6177 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.feature = LPFC_SET_MDS_DIAGS; feature 417 drivers/staging/rtl8723bs/core/rtw_mlme.c int is_same_network(struct wlan_bssid_ex *src, struct wlan_bssid_ex *dst, u8 feature) feature 598 drivers/staging/rtl8723bs/core/rtw_mlme.c u8 feature = 0; feature 612 drivers/staging/rtl8723bs/core/rtw_mlme.c if (is_same_network(&(pnetwork->network), target, feature)) { feature 625 drivers/staging/rtl8723bs/include/rtw_mlme.h int is_same_network(struct wlan_bssid_ex *src, struct wlan_bssid_ex *dst, u8 feature); feature 194 drivers/staging/wusbcore/rh.c static int wusbhc_rh_clear_hub_feat(struct wusbhc *wusbhc, u16 feature) feature 198 drivers/staging/wusbcore/rh.c switch (feature) { feature 232 drivers/staging/wusbcore/rh.c static int wusbhc_rh_set_port_feat(struct wusbhc *wusbhc, u16 feature, feature 240 drivers/staging/wusbcore/rh.c switch (feature) { feature 260 drivers/staging/wusbcore/rh.c port_idx, feature, selector); feature 264 drivers/staging/wusbcore/rh.c port_idx, feature, selector); feature 276 drivers/staging/wusbcore/rh.c static int wusbhc_rh_clear_port_feat(struct wusbhc *wusbhc, u16 feature, feature 286 drivers/staging/wusbcore/rh.c switch (feature) { feature 306 drivers/staging/wusbcore/rh.c port_idx, feature, selector); feature 311 drivers/staging/wusbcore/rh.c port_idx, feature, selector); feature 370 drivers/staging/wusbcore/wa-hc.h static inline int __wa_feature(struct wahc *wa, unsigned op, u16 feature) feature 375 drivers/staging/wusbcore/wa-hc.h feature, feature 381 drivers/staging/wusbcore/wa-hc.h static inline int __wa_set_feature(struct wahc *wa, u16 feature) feature 383 drivers/staging/wusbcore/wa-hc.h return __wa_feature(wa, 1, feature); feature 387 drivers/staging/wusbcore/wa-hc.h static inline int __wa_clear_feature(struct wahc *wa, u16 feature) feature 389 drivers/staging/wusbcore/wa-hc.h return __wa_feature(wa, 0, feature); feature 410 drivers/usb/core/hub.c static int clear_hub_feature(struct usb_device *hdev, int feature) feature 413 drivers/usb/core/hub.c USB_REQ_CLEAR_FEATURE, USB_RT_HUB, feature, 0, NULL, 0, 1000); feature 419 drivers/usb/core/hub.c int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) feature 422 drivers/usb/core/hub.c USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, feature 429 drivers/usb/core/hub.c static int set_port_feature(struct usb_device *hdev, int port1, int feature) feature 432 drivers/usb/core/hub.c USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, feature 3929 drivers/usb/core/hub.c int feature; feature 3933 drivers/usb/core/hub.c feature = USB_DEVICE_U1_ENABLE; feature 3936 drivers/usb/core/hub.c feature = USB_DEVICE_U2_ENABLE; feature 3960 drivers/usb/core/hub.c feature, feature 3967 drivers/usb/core/hub.c feature, feature 3984 drivers/usb/core/hub.c int feature; feature 3988 drivers/usb/core/hub.c feature = USB_PORT_FEAT_U1_TIMEOUT; feature 3991 drivers/usb/core/hub.c feature = USB_PORT_FEAT_U2_TIMEOUT; feature 4009 drivers/usb/core/hub.c feature); feature 123 drivers/usb/core/hub.h int port1, int feature); feature 226 drivers/usb/host/fhci-hub.c fhci->vroot_hub->feature &= (1 << wValue); feature 295 drivers/usb/host/fhci-hub.c fhci->vroot_hub->feature |= (1 << wValue); feature 217 drivers/usb/host/fhci.h u32 feature; /* indicates what feature has been set */ feature 86 drivers/usb/misc/lvstest.c int port1, int feature) feature 89 drivers/usb/misc/lvstest.c USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, feature 94 drivers/usb/misc/lvstest.c int port1, int feature) feature 97 drivers/usb/misc/lvstest.c USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, feature 1509 drivers/usb/serial/io_ti.c static int ti_do_config(struct edgeport_port *port, int feature, int on) feature 1515 drivers/usb/serial/io_ti.c feature, (__u8)(UMPM_UART1_PORT + port_number), feature 197 drivers/video/fbdev/aty/atyfb.h #define M64_HAS(feature) ((par)->features & (M64F_##feature)) feature 500 drivers/video/fbdev/sis/sis.h u8 feature; feature 455 drivers/video/fbdev/sis/sis_main.c monitor->feature = buffer[0x18]; feature 959 drivers/video/fbdev/sis/sis_main.c (ivideo->sisfb_thismonitor.feature & 0xe0))) { feature 1704 fs/btrfs/block-group.c u64 feature; feature 1707 fs/btrfs/block-group.c feature = btrfs_super_incompat_flags(info->super_copy); feature 1708 fs/btrfs/block-group.c mixed = !!(feature & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS); feature 62 fs/btrfs/sysfs.c #define BTRFS_FEAT_ATTR_COMPAT(name, feature) \ feature 63 fs/btrfs/sysfs.c BTRFS_FEAT_ATTR(name, FEAT_COMPAT, BTRFS_FEATURE_COMPAT, feature) feature 64 fs/btrfs/sysfs.c #define BTRFS_FEAT_ATTR_COMPAT_RO(name, feature) \ feature 65 fs/btrfs/sysfs.c BTRFS_FEAT_ATTR(name, FEAT_COMPAT_RO, BTRFS_FEATURE_COMPAT_RO, feature) feature 66 fs/btrfs/sysfs.c #define BTRFS_FEAT_ATTR_INCOMPAT(name, feature) \ feature 67 fs/btrfs/sysfs.c BTRFS_FEAT_ATTR(name, FEAT_INCOMPAT, BTRFS_FEATURE_INCOMPAT, feature) feature 84 fs/erofs/super.c const unsigned int feature = le32_to_cpu(dsb->feature_incompat); feature 86 fs/erofs/super.c EROFS_SB(sb)->feature_incompat = feature; feature 89 fs/erofs/super.c if (feature & (~EROFS_ALL_FEATURE_INCOMPAT)) { feature 92 fs/erofs/super.c feature & ~EROFS_ALL_FEATURE_INCOMPAT); feature 145 fs/ext4/sysfs.c #define EXT4_ATTR_FEATURE(_name) EXT4_ATTR(_name, 0444, feature) feature 161 fs/f2fs/f2fs.h ((raw_super->feature & cpu_to_le32(mask)) != 0) feature 164 fs/f2fs/f2fs.h (sbi->raw_super->feature |= cpu_to_le32(mask)) feature 166 fs/f2fs/f2fs.h (sbi->raw_super->feature &= ~cpu_to_le32(mask)) feature 2788 fs/f2fs/file.c u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); feature 62 fs/nilfs2/sysfs.h NILFS_COMMON_ATTR_STRUCT(feature); feature 105 fs/nilfs2/sysfs.h NILFS_INFO_ATTR(feature, name) feature 107 fs/nilfs2/sysfs.h NILFS_RO_ATTR(feature, name) feature 109 fs/nilfs2/sysfs.h NILFS_RW_ATTR(feature, name) feature 388 fs/ocfs2/quota_local.c unsigned int feature[OCFS2_MAXQUOTAS] = { feature 410 fs/ocfs2/quota_local.c if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type])) feature 879 fs/ocfs2/super.c unsigned int feature[OCFS2_MAXQUOTAS] = { feature 885 fs/ocfs2/super.c if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type])) feature 910 fs/ocfs2/super.c unsigned int feature[OCFS2_MAXQUOTAS] = { feature 921 fs/ocfs2/super.c if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type])) feature 444 fs/xfs/libxfs/xfs_format.h uint32_t feature) feature 446 fs/xfs/libxfs/xfs_format.h return (sbp->sb_features_compat & feature) != 0; feature 460 fs/xfs/libxfs/xfs_format.h uint32_t feature) feature 462 fs/xfs/libxfs/xfs_format.h return (sbp->sb_features_ro_compat & feature) != 0; feature 477 fs/xfs/libxfs/xfs_format.h uint32_t feature) feature 479 fs/xfs/libxfs/xfs_format.h return (sbp->sb_features_incompat & feature) != 0; feature 487 fs/xfs/libxfs/xfs_format.h uint32_t feature) feature 489 fs/xfs/libxfs/xfs_format.h return (sbp->sb_features_log_incompat & feature) != 0; feature 838 include/drm/drm_drv.h static inline bool drm_core_check_feature(const struct drm_device *dev, u32 feature) feature 840 include/drm/drm_drv.h return dev->driver->driver_features & dev->driver_features & feature; feature 46 include/linux/cpufeature.h { { .feature = cpu_feature(x) }, { } }; \ feature 1210 include/linux/efi.h static inline bool efi_enabled(int feature) feature 1212 include/linux/efi.h return test_bit(feature, &efi.flags) != 0; feature 1216 include/linux/efi.h static inline bool efi_enabled(int feature) feature 112 include/linux/f2fs_fs.h __le32 feature; /* defined features */ feature 316 include/linux/ide.h u8 feature; /* write: feature */ feature 8 include/linux/kvm_para.h static inline bool kvm_para_has_feature(unsigned int feature) feature 10 include/linux/kvm_para.h return !!(kvm_arch_para_features() & (1UL << feature)); feature 13 include/linux/kvm_para.h static inline bool kvm_para_has_hint(unsigned int feature) feature 15 include/linux/kvm_para.h return !!(kvm_arch_para_hints() & (1UL << feature)); feature 558 include/linux/libata.h u8 feature; feature 1726 include/linux/libata.h qc->result_tf.feature = 0; feature 670 include/linux/mod_devicetable.h __u16 feature; /* bit index */ feature 690 include/linux/mod_devicetable.h __u16 feature; feature 156 include/linux/netdev_features.h static inline int find_next_netdev_feature(u64 feature, unsigned long start) feature 161 include/linux/netdev_features.h feature &= ~0ULL >> (-start & ((sizeof(feature) * 8) - 1)); feature 163 include/linux/netdev_features.h return fls64(feature) - 1; feature 4506 include/linux/netdevice.h netdev_features_t feature = (netdev_features_t)gso_type << NETIF_F_GSO_SHIFT; feature 4528 include/linux/netdevice.h return (features & feature) == feature; feature 192 include/net/dst.h dst_feature(const struct dst_entry *dst, u32 feature) feature 194 include/net/dst.h return dst_metric(dst, RTAX_FEATURES) & feature; feature 102 include/net/tls.h int (*feature)(struct tls_device *device); feature 167 include/trace/events/libata.h __field( unsigned char, feature ) feature 191 include/trace/events/libata.h __entry->feature = qc->tf.feature; feature 202 include/trace/events/libata.h __parse_subcmd(__entry->cmd, __entry->feature, __entry->hob_nsect), feature 203 include/trace/events/libata.h __entry->cmd, __entry->feature, __entry->nsect, feature 248 include/trace/events/libata.h __entry->error = qc->result_tf.feature; feature 912 include/uapi/drm/amdgpu_drm.h __u32 feature; feature 80 include/uapi/linux/hdreg.h __u8 feature; feature 87 include/uapi/linux/hdreg.h __u8 feature; feature 98 include/uapi/linux/hdreg.h __u8 feature; feature 188 include/uapi/linux/uhid.h struct uhid_feature_req feature; feature 1112 kernel/audit.c u32 feature = AUDIT_FEATURE_TO_MASK(i); feature 1116 kernel/audit.c if (!(feature & uaf->mask)) feature 1119 kernel/audit.c old_feature = af.features & feature; feature 1120 kernel/audit.c new_feature = uaf->features & feature; feature 1121 kernel/audit.c new_lock = (uaf->lock | af.lock) & feature; feature 1122 kernel/audit.c old_lock = af.lock & feature; feature 1133 kernel/audit.c u32 feature = AUDIT_FEATURE_TO_MASK(i); feature 1137 kernel/audit.c if (!(feature & uaf->mask)) feature 1140 kernel/audit.c old_feature = af.features & feature; feature 1141 kernel/audit.c new_feature = uaf->features & feature; feature 1142 kernel/audit.c old_lock = af.lock & feature; feature 1143 kernel/audit.c new_lock = (uaf->lock | af.lock) & feature; feature 1150 kernel/audit.c af.features |= feature; feature 1152 kernel/audit.c af.features &= ~feature; feature 8579 net/core/dev.c netdev_features_t feature; feature 8583 net/core/dev.c feature = __NETIF_F_BIT(feature_bit); feature 8584 net/core/dev.c if (!(upper->wanted_features & feature) feature 8585 net/core/dev.c && (features & feature)) { feature 8587 net/core/dev.c &feature, upper->name); feature 8588 net/core/dev.c features &= ~feature; feature 8599 net/core/dev.c netdev_features_t feature; feature 8603 net/core/dev.c feature = __NETIF_F_BIT(feature_bit); feature 8604 net/core/dev.c if (!(features & feature) && (lower->features & feature)) { feature 8606 net/core/dev.c &feature, lower->name); feature 8607 net/core/dev.c lower->wanted_features &= ~feature; feature 8610 net/core/dev.c if (unlikely(lower->features & feature)) feature 8612 net/core/dev.c &feature, lower->name); feature 658 net/tls/tls_main.c if (dev->feature && dev->feature(dev)) { feature 181 scripts/mod/devicetable-offsets.c DEVID_FIELD(x86_cpu_id, feature); feature 187 scripts/mod/devicetable-offsets.c DEVID_FIELD(cpu_feature, feature); feature 1152 scripts/mod/file2alias.c DEF_FIELD(symval, x86_cpu_id, feature); feature 1162 scripts/mod/file2alias.c if (feature != X86_FEATURE_ANY) feature 1163 scripts/mod/file2alias.c sprintf(alias + strlen(alias), "%04X*", feature); feature 1170 scripts/mod/file2alias.c DEF_FIELD(symval, cpu_feature, feature); feature 1172 scripts/mod/file2alias.c sprintf(alias, "cpu:type:*:feature:*%04X*", feature); feature 354 sound/soc/samsung/s3c-i2s-v2.c if (!(i2s->feature & S3C_FEATURE_CDCLKCON)) feature 51 sound/soc/samsung/s3c-i2s-v2.h u32 feature; feature 58 sound/soc/sof/intel/hda-ctrl.c u32 cap, offset, feature; feature 69 sound/soc/sof/intel/hda-ctrl.c feature = (cap & SOF_HDA_CAP_ID_MASK) >> SOF_HDA_CAP_ID_OFF; feature 71 sound/soc/sof/intel/hda-ctrl.c switch (feature) { feature 102 sound/soc/sof/intel/hda-ctrl.c feature, offset); feature 41 tools/objtool/special.c unsigned char feature; /* ALTERNATIVE macro CPU feature */ feature 53 tools/objtool/special.c .feature = ALT_FEATURE_OFFSET, feature 90 tools/objtool/special.c if (entry->feature) { feature 91 tools/objtool/special.c unsigned short feature; feature 93 tools/objtool/special.c feature = *(unsigned short *)(sec->data->d_buf + offset + feature 94 tools/objtool/special.c entry->feature); feature 101 tools/objtool/special.c if (feature == X86_FEATURE_POPCNT) feature 113 tools/objtool/special.c if (feature == X86_FEATURE_SMAP) { feature 487 tools/perf/builtin-annotate.c .feature = process_feature_event, feature 770 tools/perf/builtin-inject.c .feature = perf_event__repipe_op2_synth, feature 1062 tools/perf/builtin-report.c .feature = process_feature_event, feature 3429 tools/perf/builtin-script.c .feature = process_feature_event, feature 528 tools/perf/util/session.c if (tool->feature == NULL) feature 529 tools/perf/util/session.c tool->feature = process_event_op2_stub; feature 1562 tools/perf/util/session.c return tool->feature(session, event); feature 75 tools/perf/util/tool.h feature; feature 12 tools/power/x86/intel-speed-select/isst-config.c char *feature; feature 1538 tools/power/x86/intel-speed-select/isst-config.c char *feature; feature 1553 tools/power/x86/intel-speed-select/isst-config.c char *feature = argv[optind]; feature 1556 tools/power/x86/intel-speed-select/isst-config.c if (!feature || !cmd) feature 1559 tools/power/x86/intel-speed-select/isst-config.c debug_printf("feature name [%s] command [%s]\n", feature, cmd); feature 1561 tools/power/x86/intel-speed-select/isst-config.c while (isst_help_cmds[i].feature) { feature 1562 tools/power/x86/intel-speed-select/isst-config.c if (!strcmp(isst_help_cmds[i].feature, feature)) { feature 1573 tools/power/x86/intel-speed-select/isst-config.c while (isst_cmds[i].feature) { feature 1574 tools/power/x86/intel-speed-select/isst-config.c if (!strcmp(isst_cmds[i].feature, feature) && feature 578 tools/power/x86/intel-speed-select/isst-display.c void isst_display_result(int cpu, FILE *outf, char *feature, char *cmd, feature 591 tools/power/x86/intel-speed-select/isst-display.c snprintf(header, sizeof(header), "%s", feature); feature 234 tools/power/x86/intel-speed-select/isst.h extern void isst_display_result(int cpu, FILE *outf, char *feature, char *cmd, feature 41 tools/virtio/linux/virtio_config.h #define virtio_has_feature(dev, feature) \ feature 42 tools/virtio/linux/virtio_config.h (__virtio_test_bit((dev), feature)) feature 298 virt/kvm/arm/psci.c u32 feature; feature 307 virt/kvm/arm/psci.c feature = smccc_get_arg1(vcpu); feature 308 virt/kvm/arm/psci.c switch(feature) { feature 394 virt/kvm/arm/psci.c u32 feature; feature 401 virt/kvm/arm/psci.c feature = smccc_get_arg1(vcpu); feature 402 virt/kvm/arm/psci.c switch(feature) {