/arch/powerpc/platforms/83xx/ |
D | suspend.c | 62 u32 config1; member 124 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 134 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state() 186 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() 187 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter() 207 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() 208 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 214 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() 215 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 229 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() [all …]
|
/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 311 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_shutdown() local 312 config1.u64 = 0; in cvmx_pko_shutdown() 313 config1.s.qid7 = queue >> 7; in cvmx_pko_shutdown() 314 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_shutdown() 347 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_config_port() local 439 config1.u64 = 0; in cvmx_pko_config_port() 440 config1.s.idx3 = queue >> 3; in cvmx_pko_config_port() 441 config1.s.qid7 = (base_queue + queue) >> 7; in cvmx_pko_config_port() 543 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_config_port()
|
/arch/mips/mm/ |
D | c-octeon.c | 172 unsigned int config1; in probe_octeon() local 176 config1 = read_c0_config1(); in probe_octeon() 180 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon() 181 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon() 182 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon() 200 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
|
D | sc-mips.c | 187 unsigned int config1, config2; in mips_sc_probe() local 203 config1 = read_c0_config1(); in mips_sc_probe() 204 if (!(config1 & MIPS_CONF_M)) in mips_sc_probe()
|
D | c-r4k.c | 1080 unsigned long config1; in probe_pcache() local 1246 config1 = read_c0_config1(); in probe_pcache() 1247 lsize = (config1 >> 19) & 7; in probe_pcache() 1252 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache() 1253 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache() 1259 lsize = (config1 >> 10) & 7; in probe_pcache() 1264 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache() 1265 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache() 1297 config1 = read_c0_config1(); in probe_pcache() 1299 lsize = (config1 >> 19) & 7; in probe_pcache() [all …]
|
/arch/x86/events/intel/ |
D | uncore_nhmex.c | 372 reg1->config = event->attr.config1; in nhmex_bbox_hw_config() 457 reg1->config = event->attr.config1; in nhmex_sbox_hw_config() 674 u64 config1 = reg1->config; in nhmex_mbox_get_constraint() local 687 __BITS_VALUE(config1, i, 32))) in nhmex_mbox_get_constraint() 726 config1 = nhmex_mbox_alter_er(event, idx[0], false); in nhmex_mbox_get_constraint() 781 if (event->attr.config1 & ~er->valid_mask) in nhmex_mbox_hw_config() 798 reg1->config = event->attr.config1; in nhmex_mbox_hw_config() 986 u64 config1; in nhmex_rbox_get_constraint() local 993 config1 = reg1->config; in nhmex_rbox_get_constraint() 1016 !((er->config ^ config1) & mask)) { in nhmex_rbox_get_constraint() [all …]
|
D | uncore_snbep.c | 941 reg1->config = event->attr.config1 & snbep_cbox_filter_mask(idx); in snbep_cbox_hw_config() 996 u64 mask, config1 = reg1->config; in snbep_pcu_get_constraint() local 1006 !((config1 ^ er->config) & mask)) { in snbep_pcu_get_constraint() 1009 er->config |= config1 & mask; in snbep_pcu_get_constraint() 1017 config1 = snbep_pcu_alter_er(event, idx, false); in snbep_pcu_get_constraint() 1052 reg1->config = event->attr.config1 & (0xff << (reg1->idx * 8)); in snbep_pcu_hw_config() 1107 reg1->config = event->attr.config1; in snbep_qpi_hw_config() 1624 reg1->config = event->attr.config1 & ivbep_cbox_filter_mask(idx); in ivbep_cbox_hw_config() 2052 reg1->config = event->attr.config1 & knl_cha_filter_mask(idx); in knl_cha_hw_config() 2463 reg1->config = event->attr.config1 & HSWEP_U_MSR_PMON_BOX_FILTER_MASK; in hswep_ubox_hw_config() [all …]
|
D | uncore.h | 109 u64 config, config1, config2; member
|
D | uncore.c | 162 (er->config1 == reg1->config && er->config2 == reg2->config)) { in uncore_get_constraint() 164 er->config1 = reg1->config; in uncore_get_constraint()
|
/arch/powerpc/perf/ |
D | hv-gpci.c | 43 EVENT_DEFINE_RANGE_FORMAT(secondary_index, config1, 0, 15); 45 EVENT_DEFINE_RANGE_FORMAT(counter_info_version, config1, 16, 23); 47 EVENT_DEFINE_RANGE_FORMAT(length, config1, 24, 31); 49 EVENT_DEFINE_RANGE_FORMAT(offset, config1, 32, 63);
|
D | hv-24x7.c | 129 EVENT_DEFINE_RANGE_FORMAT(lpar, config1, 0, 15); 132 EVENT_DEFINE_RANGE(reserved2, config1, 16, 63); 1298 event->attr.config1, in h_24x7_event_init()
|
/arch/mips/kernel/ |
D | cpu-probe.c | 691 unsigned int config1; in decode_config1() local 693 config1 = read_c0_config1(); in decode_config1() 695 if (config1 & MIPS_CONF1_MD) in decode_config1() 697 if (config1 & MIPS_CONF1_PC) in decode_config1() 699 if (config1 & MIPS_CONF1_WR) in decode_config1() 701 if (config1 & MIPS_CONF1_CA) in decode_config1() 703 if (config1 & MIPS_CONF1_EP) in decode_config1() 705 if (config1 & MIPS_CONF1_FP) { in decode_config1() 710 c->tlbsize = ((config1 & MIPS_CONF1_TLBS) >> 25) + 1; in decode_config1() 715 return config1 & MIPS_CONF_M; in decode_config1() [all …]
|
/arch/mips/kvm/ |
D | trap_emul.c | 614 u32 config, config1; in kvm_trap_emul_vcpu_setup() local 646 config1 = (read_c0_config1() & ~0x7f); in kvm_trap_emul_vcpu_setup() 650 config1 &= ~MIPS_CONF1_DL; in kvm_trap_emul_vcpu_setup() 651 config1 |= ((ilog2(cpu_dcache_line_size()) - 1) << in kvm_trap_emul_vcpu_setup() 656 config1 &= ~(0x3f << 25); in kvm_trap_emul_vcpu_setup() 657 config1 |= ((KVM_MIPS_GUEST_TLB_SIZE - 1) << 25); in kvm_trap_emul_vcpu_setup() 660 config1 &= ~(MIPS_CONF1_C2 | MIPS_CONF1_MD | MIPS_CONF1_PC | in kvm_trap_emul_vcpu_setup() 662 kvm_write_c0_guest_config1(cop0, config1); in kvm_trap_emul_vcpu_setup()
|
/arch/powerpc/include/asm/ |
D | mpc52xx.h | 73 u32 config1; /* SDRAM + 0x08 */ member
|
/arch/x86/events/amd/ |
D | iommu.c | 226 hwc->conf1 = event->attr.config1; in perf_iommu_event_init()
|
/arch/mips/include/asm/ |
D | kvm_host.h | 714 __BUILD_KVM_RW_HW(config1, 32, MIPS_CP0_CONFIG, 1) 739 __BUILD_KVM_SET_SAVED(config1, 32, MIPS_CP0_CONFIG, 1)
|
D | mipsregs.h | 2846 __BUILD_SET_GC0(config1) in __BUILD_SET_C0()
|
/arch/arm/mach-imx/ |
D | mmdc.c | 348 val = event->attr.config1; in mmdc_pmu_event_start()
|
/arch/x86/events/ |
D | core.c | 127 if (event->attr.config1 & ~er->valid_mask) in x86_pmu_extra_regs() 134 reg->config = event->attr.config1; in x86_pmu_extra_regs() 332 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
|
/arch/arm64/kernel/ |
D | perf_event.c | 328 return event->attr.config1 & 0x1; in armv8pmu_event_is_64bit()
|
/arch/s390/kernel/ |
D | perf_cpum_sf.c | 840 if (attr->config1 & PERF_CPUM_SF_FULL_BLOCKS) in __hw_perf_event_init()
|