Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 136) sorted by relevance

123456

/arch/arm/mach-omap2/
Dclock.c86 struct ti_clk_features features = { 0 }; in ti_clk_init_features() local
89 features.fint_min = OMAP3430_DPLL_FINT_BAND1_MIN; in ti_clk_init_features()
90 features.fint_max = OMAP3430_DPLL_FINT_BAND2_MAX; in ti_clk_init_features()
91 features.fint_band1_max = OMAP3430_DPLL_FINT_BAND1_MAX; in ti_clk_init_features()
92 features.fint_band2_min = OMAP3430_DPLL_FINT_BAND2_MIN; in ti_clk_init_features()
94 features.fint_min = OMAP3PLUS_DPLL_FINT_MIN; in ti_clk_init_features()
95 features.fint_max = OMAP3PLUS_DPLL_FINT_MAX; in ti_clk_init_features()
100 features.dpll_bypass_vals |= in ti_clk_init_features()
104 features.dpll_bypass_vals |= in ti_clk_init_features()
109 features.dpll_bypass_vals |= in ti_clk_init_features()
[all …]
/arch/arm/mm/
Dcache-tauros2.c183 static void enable_extra_feature(unsigned int features) in enable_extra_feature() argument
189 if (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature()
194 (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature()
197 if (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature()
202 (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature()
208 static void __init tauros2_internal_init(unsigned int features) in tauros2_internal_init() argument
212 enable_extra_feature(features); in tauros2_internal_init()
285 void __init tauros2_init(unsigned int features) in tauros2_init() argument
300 features = 0; in tauros2_init()
302 features = f; in tauros2_init()
[all …]
/arch/arm/mach-s3c/
Dmach-mini2440.c643 struct mini2440_features_t *features, in mini2440_parse_features() argument
648 features->count = 0; in mini2440_parse_features()
649 features->done = 0; in mini2440_parse_features()
650 features->lcd_index = -1; in mini2440_parse_features()
657 if (features->done & FEATURE_SCREEN) { in mini2440_parse_features()
667 features->optional[features->count++] = in mini2440_parse_features()
669 features->lcd_index = li; in mini2440_parse_features()
672 features->done |= FEATURE_SCREEN; in mini2440_parse_features()
675 if (features->done & FEATURE_BACKLIGHT) in mini2440_parse_features()
679 features->optional[features->count++] = in mini2440_parse_features()
[all …]
Dmach-real6410.c250 struct real6410_features_t *features, in real6410_parse_features() argument
255 features->done = 0; in real6410_parse_features()
256 features->lcd_index = 0; in real6410_parse_features()
263 if (features->done & FEATURE_SCREEN) { in real6410_parse_features()
272 features->lcd_index = li; in real6410_parse_features()
275 features->done |= FEATURE_SCREEN; in real6410_parse_features()
284 struct real6410_features_t features = { 0 }; in real6410_machine_init() local
290 real6410_parse_features(&features, real6410_features_str); in real6410_machine_init()
293 real6410_lcd_pdata[features.lcd_index].win[0]->xres, in real6410_machine_init()
294 real6410_lcd_pdata[features.lcd_index].win[0]->yres); in real6410_machine_init()
[all …]
Dmach-mini6410.c280 struct mini6410_features_t *features, in mini6410_parse_features() argument
285 features->done = 0; in mini6410_parse_features()
286 features->lcd_index = 0; in mini6410_parse_features()
293 if (features->done & FEATURE_SCREEN) { in mini6410_parse_features()
302 features->lcd_index = li; in mini6410_parse_features()
305 features->done |= FEATURE_SCREEN; in mini6410_parse_features()
314 struct mini6410_features_t features = { 0 }; in mini6410_machine_init() local
320 mini6410_parse_features(&features, mini6410_features_str); in mini6410_machine_init()
323 mini6410_lcd_pdata[features.lcd_index].win[0]->xres, in mini6410_machine_init()
324 mini6410_lcd_pdata[features.lcd_index].win[0]->yres); in mini6410_machine_init()
[all …]
/arch/powerpc/kernel/
Dkvm.c405 u32 *features = data; in kvm_map_magic_page() local
415 *features = out[0]; in kvm_map_magic_page()
418 static void __init kvm_check_ins(u32 *inst, u32 features) in kvm_check_ins() argument
460 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
464 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
468 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
472 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
476 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
480 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
484 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
[all …]
/arch/arm64/include/asm/
Dcpufeature.h503 cpuid_feature_extract_signed_field_width(u64 features, int field, int width) in cpuid_feature_extract_signed_field_width() argument
505 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width()
509 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument
511 return cpuid_feature_extract_signed_field_width(features, field, 4); in cpuid_feature_extract_signed_field()
515 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) in cpuid_feature_extract_unsigned_field_width() argument
517 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width()
521 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument
523 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field()
532 cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) in cpuid_feature_cap_perfmon_field() argument
534 u64 val = cpuid_feature_extract_unsigned_field(features, field); in cpuid_feature_cap_perfmon_field()
[all …]
/arch/sparc/kernel/
Dtime_32.c127 ce->features = CLOCK_EVT_FEAT_PERIODIC; in setup_timer_ce()
215 unsigned int features = CLOCK_EVT_FEAT_PERIODIC; in register_percpu_ce() local
217 if (sparc_config.features & FEAT_L14_ONESHOT) in register_percpu_ce()
218 features |= CLOCK_EVT_FEAT_ONESHOT; in register_percpu_ce()
222 ce->features = features; in register_percpu_ce()
331 if (sparc_config.features & FEAT_L10_CLOCKEVENT) in sparc32_late_time_init()
333 if (sparc_config.features & FEAT_L10_CLOCKSOURCE) in sparc32_late_time_init()
348 sparc_config.features = 0; in time_init()
Dirq.h63 int features; member
/arch/x86/kernel/cpu/
Dmshyperv.c245 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
250 ms_hyperv.features, ms_hyperv.hints, ms_hyperv.misc_features); in ms_hyperv_init_platform()
274 if (ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in ms_hyperv_init_platform()
296 if (ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in ms_hyperv_init_platform()
322 if (ms_hyperv.features & HV_ACCESS_TSC_INVARIANT) { in ms_hyperv_init_platform()
354 if (ms_hyperv.features & HV_ACCESS_REENLIGHTENMENT) { in ms_hyperv_init_platform()
388 if (!(ms_hyperv.features & HV_ACCESS_TSC_INVARIANT)) in ms_hyperv_init_platform()
/arch/arm64/kvm/
Dreset.c160 if (!test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || in kvm_vcpu_enable_ptrauth()
161 !test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features) || in kvm_vcpu_enable_ptrauth()
228 if (test_bit(KVM_ARM_VCPU_SVE, vcpu->arch.features)) { in kvm_reset_vcpu()
237 if (test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || in kvm_reset_vcpu()
238 test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) { in kvm_reset_vcpu()
252 if (test_bit(KVM_ARM_VCPU_EL1_32BIT, vcpu->arch.features)) { in kvm_reset_vcpu()
/arch/ia64/kernel/
Dsetup.c670 char features[128], *cp, *sep; in show_cpuinfo() local
676 mask = c->features; in show_cpuinfo()
679 memcpy(features, "standard", 9); in show_cpuinfo()
680 cp = features; in show_cpuinfo()
681 size = sizeof(features); in show_cpuinfo()
689 size = sizeof(features) - (cp - features); in show_cpuinfo()
718 features, c->ppn, c->number, in show_cpuinfo()
821 u64 features; in identify_cpu() member
853 c->features = cpuid.field.features; in identify_cpu()
/arch/arm/kernel/
Dbios32.c276 u16 features = PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus() local
294 features &= ~PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus()
297 features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in pcibios_fixup_bus()
322 cmd |= features; in pcibios_fixup_bus()
333 if (features & PCI_COMMAND_FAST_BACK) in pcibios_fixup_bus()
335 if (features & PCI_COMMAND_PARITY) in pcibios_fixup_bus()
343 bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); in pcibios_fixup_bus()
/arch/arm/include/asm/hardware/
Dcache-tauros2.h14 extern void __init tauros2_init(unsigned int features);
/arch/um/drivers/
Dvirtio_uml.c59 u64 features; member
299 u64 *features) in vhost_user_get_features() argument
306 return vhost_user_recv_u64(vu_dev, features); in vhost_user_get_features()
310 u64 features) in vhost_user_set_features() argument
312 return vhost_user_send_u64(vu_dev, VHOST_USER_SET_FEATURES, features); in vhost_user_set_features()
441 rc = vhost_user_get_features(vu_dev, &vu_dev->features); in vhost_user_init()
445 if (vu_dev->features & BIT_ULL(VHOST_USER_F_PROTOCOL_FEATURES)) { in vhost_user_init()
712 if (!(vu_dev->features & BIT_ULL(VHOST_USER_F_PROTOCOL_FEATURES))) in vhost_user_set_vring_enable()
820 u64 features; in vu_del_vqs() local
827 WARN_ON(vhost_user_get_features(vu_dev, &features)); in vu_del_vqs()
[all …]
/arch/powerpc/sysdev/
Dfsl_msi.c405 const struct fsl_msi_feature *features; in fsl_of_msi_probe() local
413 features = match->data; in fsl_of_msi_probe()
437 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) { in fsl_of_msi_probe()
453 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
460 msi->msiir_offset = features->msiir_offset + in fsl_of_msi_probe()
466 msi->feature = features->fsl_pic_ip; in fsl_of_msi_probe()
469 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) == FSL_PIC_IP_MPIC in fsl_of_msi_probe()
/arch/powerpc/kernel/ptrace/
Dptrace-noadv.c54 dbginfo->features = PPC_DEBUG_FEATURE_DATA_BP_RANGE; in ppc_gethwdinfo()
56 dbginfo->features |= PPC_DEBUG_FEATURE_DATA_BP_DAWR; in ppc_gethwdinfo()
58 dbginfo->features = 0; in ppc_gethwdinfo()
61 dbginfo->features |= PPC_DEBUG_FEATURE_DATA_BP_ARCH_31; in ppc_gethwdinfo()
/arch/arm/mach-omap1/
Ddevices.c158 data->slots[0].features = MMC_OMAP7XX; in omap_mmc_add()
160 data->slots[0].features = MMC_OMAP15XX; in omap_mmc_add()
162 data->slots[0].features = MMC_OMAP16XX; in omap_mmc_add()
/arch/powerpc/kvm/
De500mc.c219 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_PM | in kvmppc_core_get_sregs_e500mc()
223 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500mc()
254 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) in kvmppc_core_set_sregs_e500mc()
257 if (sregs->u.e.features & KVM_SREGS_E_PM) { in kvmppc_core_set_sregs_e500mc()
262 if (sregs->u.e.features & KVM_SREGS_E_PC) { in kvmppc_core_set_sregs_e500mc()
De500.c366 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | in kvmppc_core_get_sregs_e500()
370 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500()
402 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) in kvmppc_core_set_sregs_e500()
405 if (sregs->u.e.features & KVM_SREGS_E_SPE) { in kvmppc_core_set_sregs_e500()
414 if (sregs->u.e.features & KVM_SREGS_E_PM) { in kvmppc_core_set_sregs_e500()
/arch/arm/include/asm/
Dcputype.h327 static inline int __attribute_const__ cpuid_feature_extract_field(u32 features, in cpuid_feature_extract_field() argument
330 int feature = (features >> field) & 15; in cpuid_feature_extract_field()
/arch/hexagon/kernel/
Dtime.c106 .features = CLOCK_EVT_FEAT_ONESHOT,
128 dummy_clock_dev->features = CLOCK_EVT_FEAT_DUMMY; in setup_percpu_clockdev()
/arch/x86/kernel/apic/
Dapic.c488 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_shutdown()
502 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_set_periodic_oneshot()
535 .features = CLOCK_EVT_FEAT_PERIODIC |
615 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; in setup_APIC_timer()
625 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | in setup_APIC_timer()
852 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
957 levt->features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
992 levt->features |= CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
996 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { in calibrate_APIC_clock()
1039 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in setup_boot_APIC_clock()
[all …]
/arch/x86/hyperv/
Dhv_spinlock.c69 !(ms_hyperv.features & HV_MSR_GUEST_IDLE_AVAILABLE)) { in hv_init_spinlocks()
/arch/arm64/boot/dts/marvell/
Darmada-3720-espressobin.dtsi95 * Connector J17 and J18 expose a number of different features. Some pins are
96 * multiplexed. This is the case for instance for the following features:

123456