Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 125) sorted by relevance

12345

/arch/powerpc/perf/
Dimc-pmu.c303 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local
347 ref = get_nest_pmu_ref(cpu); in ppc_nest_imc_cpu_offline()
348 if (!ref) in ppc_nest_imc_cpu_offline()
351 ref->refc = 0; in ppc_nest_imc_cpu_offline()
397 struct imc_pmu_ref *ref; in nest_imc_counters_release() local
410 ref = get_nest_pmu_ref(event->cpu); in nest_imc_counters_release()
411 if (!ref) in nest_imc_counters_release()
415 mutex_lock(&ref->lock); in nest_imc_counters_release()
416 if (ref->refc == 0) { in nest_imc_counters_release()
427 mutex_unlock(&ref->lock); in nest_imc_counters_release()
[all …]
/arch/powerpc/kvm/
De500_mmu_host.c192 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host() local
195 if (!(ref->flags & E500_TLB_VALID)) { in inval_gtlbe_on_host()
196 WARN(ref->flags & (E500_TLB_BITMAP | E500_TLB_TLB0), in inval_gtlbe_on_host()
197 "%s: flags %x\n", __func__, ref->flags); in inval_gtlbe_on_host()
201 if (tlbsel == 1 && ref->flags & E500_TLB_BITMAP) { in inval_gtlbe_on_host()
219 ref->flags &= ~(E500_TLB_BITMAP | E500_TLB_VALID); in inval_gtlbe_on_host()
223 if (tlbsel == 1 && ref->flags & E500_TLB_TLB0) { in inval_gtlbe_on_host()
229 ref->flags &= ~(E500_TLB_TLB0 | E500_TLB_VALID); in inval_gtlbe_on_host()
236 if (ref->flags & E500_TLB_VALID) in inval_gtlbe_on_host()
240 ref->flags = 0; in inval_gtlbe_on_host()
[all …]
Dbook3s_64_mmu_radix.c552 int ref = 0; in kvm_age_radix() local
559 ref = 1; in kvm_age_radix()
561 return ref; in kvm_age_radix()
571 int ref = 0; in kvm_test_age_radix() local
575 ref = 1; in kvm_test_age_radix()
576 return ref; in kvm_test_age_radix()
/arch/arm/boot/dts/
Dpicoxcell-pc3x3.dtsi51 ref-clock = <&ref_clk>, "ref";
59 ref-clock = <&ref_clk>, "ref";
67 ref-clock = <&ref_clk>, "ref";
75 ref-clock = <&ref_clk>, "ref";
83 ref-clock = <&ref_clk>, "ref";
91 ref-clock = <&ref_clk>, "ref";
99 ref-clock = <&ref_clk>, "ref";
107 ref-clock = <&ref_clk>, "ref";
115 ref-clock = <&ref_clk>, "ref";
123 ref-clock = <&ref_clk>, "ref";
[all …]
Dpicoxcell-pc3x2.dtsi44 ref-clock = <&ref_clk>, "ref";
103 ref-clock = <&pclk>, "ref";
118 ref-clock = <&pclk>, "ref";
Duniphier-ld6b-ref.dts12 #include "uniphier-ref-daughter.dtsi"
17 compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
Duniphier-pro4-ref.dts12 #include "uniphier-ref-daughter.dtsi"
17 compatible = "socionext,uniphier-pro4-ref", "socionext,uniphier-pro4";
Duniphier-sld8-ref.dts12 #include "uniphier-ref-daughter.dtsi"
17 compatible = "socionext,uniphier-sld8-ref", "socionext,uniphier-sld8";
Duniphier-ld4-ref.dts12 #include "uniphier-ref-daughter.dtsi"
17 compatible = "socionext,uniphier-ld4-ref", "socionext,uniphier-ld4";
Dwm8505-ref.dts2 * wm8505-ref.dts - Device tree file for Wondermedia WM8505 reference netbook
/arch/arm64/boot/dts/socionext/
DMakefile4 uniphier-ld11-ref.dtb \
6 uniphier-ld20-ref.dtb \
7 uniphier-pxs3-ref.dtb
Duniphier-ld20-ref.dts12 #include "uniphier-ref-daughter.dtsi"
17 compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
Duniphier-ld11-ref.dts12 #include "uniphier-ref-daughter.dtsi"
17 compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11";
Duniphier-ref-daughter.dtsi1 #include <arm/uniphier-ref-daughter.dtsi>
Duniphier-pxs3-ref.dts16 compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3";
/arch/x86/tools/
Dgen-insn-attr-x86.awk131 ref = ""
133 ref = ref $i
134 eid = escape[ref]
272 ref = ""
274 ref = ref $i
275 if (ref in escape)
276 semantic_error("Redefine escape (" ref ")")
277 escape[ref] = geid
279 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")"
/arch/x86/kernel/
Dtsc_sync.c108 struct tsc_adjust *ref, *cur = this_cpu_ptr(&tsc_adjust); in tsc_store_and_check_tsc_adjust() local
137 ref = per_cpu_ptr(&tsc_adjust, refcpu); in tsc_store_and_check_tsc_adjust()
142 if (bootval != ref->bootval) { in tsc_store_and_check_tsc_adjust()
144 refcpu, ref->bootval, cpu, bootval); in tsc_store_and_check_tsc_adjust()
152 if (bootval != ref->adjusted) { in tsc_store_and_check_tsc_adjust()
154 refcpu, ref->adjusted, cpu, bootval); in tsc_store_and_check_tsc_adjust()
155 cur->adjusted = ref->adjusted; in tsc_store_and_check_tsc_adjust()
156 wrmsrl(MSR_IA32_TSC_ADJUST, ref->adjusted); in tsc_store_and_check_tsc_adjust()
/arch/arm64/boot/dts/lg/
DMakefile2 dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb
3 dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb
Dlg1312-ref.dts17 compatible = "lge,lg1312-ref", "lge,lg1312";
Dlg1313-ref.dts17 compatible = "lge,lg1313-ref", "lge,lg1313";
/arch/mips/boot/dts/qca/
Dar9331.dtsi32 ref: ref { label
68 clocks = <&ref>;
94 clocks = <&ref>;
95 clock-names = "ref";
Dar9132.dtsi94 clock-names = "ref";
95 /* The board must provides the ref clock */
/arch/x86/events/intel/
Duncore_nhmex.c563 if (!atomic_read(&er->ref) || er->config == config) { in nhmex_mbox_get_shared_reg()
564 atomic_inc(&er->ref); in nhmex_mbox_get_shared_reg()
590 if (__BITS_VALUE(atomic_read(&er->ref), idx, 8)) { in nhmex_mbox_get_shared_reg()
597 if (!atomic_read(&er->ref) || !((er->config ^ config) & mask)) { in nhmex_mbox_get_shared_reg()
598 atomic_add(1 << (idx * 8), &er->ref); in nhmex_mbox_get_shared_reg()
620 atomic_dec(&er->ref); in nhmex_mbox_put_shared_reg()
626 atomic_sub(1 << (idx * 8), &er->ref); in nhmex_mbox_put_shared_reg()
1004 if (!atomic_read(&er->ref) || er->config == reg1->config) { in nhmex_rbox_get_constraint()
1005 atomic_inc(&er->ref); in nhmex_rbox_get_constraint()
1015 if (!__BITS_VALUE(atomic_read(&er->ref), idx - 2, 8) || in nhmex_rbox_get_constraint()
[all …]
/arch/powerpc/oprofile/cell/
Dspu_task_sync.c162 struct kref *ref; in get_cached_info() local
173 ref = spu_get_profile_private_kref(the_spu->ctx); in get_cached_info()
174 if (ref) { in get_cached_info()
175 spu_info[spu_num] = container_of(ref, struct cached_info, cache_ref); in get_cached_info()
/arch/powerpc/platforms/powermac/
Dpfunc_core.c543 struct kref ref; member
552 struct pmf_device *dev = container_of(kref, struct pmf_device, ref); in pmf_release_device()
558 kref_put(&dev->ref, pmf_release_device); in pmf_put_device()
563 kref_get(&dev->ref); in pmf_get_device()
649 kref_init(&func->ref); in pmf_add_function_prop()
727 kref_init(&dev->ref); in pmf_register_driver()
752 kref_get(&func->ref); in pmf_get_function()
760 container_of(kref, struct pmf_function, ref); in pmf_release_function()
767 kref_put(&func->ref, pmf_release_function); in __pmf_put_function()

12345