Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 144) 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.c180 static void enable_extra_feature(unsigned int features) in enable_extra_feature() argument
186 if (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature()
191 (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature()
194 if (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature()
199 (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature()
205 static void __init tauros2_internal_init(unsigned int features) in tauros2_internal_init() argument
209 enable_extra_feature(features); in tauros2_internal_init()
282 void __init tauros2_init(unsigned int features) in tauros2_init() argument
297 features = 0; in tauros2_init()
299 features = f; in tauros2_init()
[all …]
/arch/arm/mach-s3c/
Dmach-mini2440.c647 struct mini2440_features_t *features, in mini2440_parse_features() argument
652 features->count = 0; in mini2440_parse_features()
653 features->done = 0; in mini2440_parse_features()
654 features->lcd_index = -1; in mini2440_parse_features()
661 if (features->done & FEATURE_SCREEN) { in mini2440_parse_features()
671 features->optional[features->count++] = in mini2440_parse_features()
673 features->lcd_index = li; in mini2440_parse_features()
676 features->done |= FEATURE_SCREEN; in mini2440_parse_features()
679 if (features->done & FEATURE_BACKLIGHT) in mini2440_parse_features()
683 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.h521 cpuid_feature_extract_signed_field_width(u64 features, int field, int width) in cpuid_feature_extract_signed_field_width() argument
523 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width()
527 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument
529 return cpuid_feature_extract_signed_field_width(features, field, 4); in cpuid_feature_extract_signed_field()
533 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) in cpuid_feature_extract_unsigned_field_width() argument
535 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width()
539 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument
541 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field()
550 cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) in cpuid_feature_cap_perfmon_field() argument
552 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()
/arch/x86/kernel/cpu/
Dmshyperv.c269 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
277 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in ms_hyperv_init_platform()
321 if (ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in ms_hyperv_init_platform()
343 if (ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in ms_hyperv_init_platform()
369 if (ms_hyperv.features & HV_ACCESS_TSC_INVARIANT) { in ms_hyperv_init_platform()
410 if (ms_hyperv.features & HV_ACCESS_REENLIGHTENMENT) { in ms_hyperv_init_platform()
446 if (!(ms_hyperv.features & HV_ACCESS_TSC_INVARIANT)) in ms_hyperv_init_platform()
/arch/arm64/hyperv/
Dmshyperv.c46 ms_hyperv.features = result.as32.a; in hyperv_init()
54 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in hyperv_init()
/arch/ia64/kernel/
Dsetup.c669 char features[128], *cp, *sep; in show_cpuinfo() local
675 mask = c->features; in show_cpuinfo()
678 memcpy(features, "standard", 9); in show_cpuinfo()
679 cp = features; in show_cpuinfo()
680 size = sizeof(features); in show_cpuinfo()
688 size = sizeof(features) - (cp - features); in show_cpuinfo()
717 features, c->ppn, c->number, in show_cpuinfo()
820 u64 features; in identify_cpu() member
852 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.h11 extern void __init tauros2_init(unsigned int features);
/arch/powerpc/boot/dts/
Dmicrowatt.dts28 ibm,powerpc-cpu-features {
31 device_type = "cpu-features";
32 compatible = "ibm,powerpc-cpu-features";
/arch/powerpc/sysdev/
Dfsl_msi.c401 const struct fsl_msi_feature *features; in fsl_of_msi_probe() local
409 features = match->data; in fsl_of_msi_probe()
433 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) { in fsl_of_msi_probe()
449 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
456 msi->msiir_offset = features->msiir_offset + in fsl_of_msi_probe()
462 msi->feature = features->fsl_pic_ip; in fsl_of_msi_probe()
465 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) == FSL_PIC_IP_MPIC in fsl_of_msi_probe()
/arch/powerpc/kernel/ptrace/
Dptrace-noadv.c50 dbginfo->features = PPC_DEBUG_FEATURE_DATA_BP_RANGE; in ppc_gethwdinfo()
52 dbginfo->features |= PPC_DEBUG_FEATURE_DATA_BP_DAWR; in ppc_gethwdinfo()
54 dbginfo->features = 0; in ppc_gethwdinfo()
57 dbginfo->features |= PPC_DEBUG_FEATURE_DATA_BP_ARCH_31; in ppc_gethwdinfo()
/arch/arm64/kvm/
Dreset.c252 if (test_bit(KVM_ARM_VCPU_SVE, vcpu->arch.features)) { in kvm_reset_vcpu()
261 if (test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) || in kvm_reset_vcpu()
262 test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) { in kvm_reset_vcpu()
/arch/um/drivers/
Dvirtio_uml.c57 u64 features; member
312 u64 *features) in vhost_user_get_features() argument
319 return vhost_user_recv_u64(vu_dev, features); in vhost_user_get_features()
323 u64 features) in vhost_user_set_features() argument
325 return vhost_user_send_u64(vu_dev, VHOST_USER_SET_FEATURES, features); in vhost_user_set_features()
493 rc = vhost_user_get_features(vu_dev, &vu_dev->features); in vhost_user_init()
497 if (vu_dev->features & BIT_ULL(VHOST_USER_F_PROTOCOL_FEATURES)) { in vhost_user_init()
764 if (!(vu_dev->features & BIT_ULL(VHOST_USER_F_PROTOCOL_FEATURES))) in vhost_user_set_vring_enable()
879 u64 features; in vu_del_vqs() local
886 WARN_ON(vhost_user_get_features(vu_dev, &features)); in vu_del_vqs()
[all …]
/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.h331 static inline int __attribute_const__ cpuid_feature_extract_field(u32 features, in cpuid_feature_extract_field() argument
334 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/arm64/boot/dts/qcom/
Dmsm8992.dtsi7 /* 8992 only features 2 A57 cores. */
/arch/x86/kernel/apic/
Dapic.c490 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_shutdown()
504 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_set_periodic_oneshot()
537 .features = CLOCK_EVT_FEAT_PERIODIC |
617 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; in setup_APIC_timer()
627 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | in setup_APIC_timer()
854 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
959 levt->features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
994 levt->features |= CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
998 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { in calibrate_APIC_clock()
1041 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in setup_boot_APIC_clock()
[all …]

123456